diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index e7f7c1bf..36e23887 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: caa5cc5d-fe97-4a71-b2f9-77ce0615bbd1 management: - docChecksum: 2eea255d4cf4f841a7a3ede787181539 + docChecksum: 4363cbf52782e27617b4e20a0772a70b docVersion: 0.1.0-alpha - speakeasyVersion: 1.642.1 - generationVersion: 2.731.4 - releaseVersion: 0.16.0 - configChecksum: 2bbb7ab1c0ee847138dcd47c7f711e78 + speakeasyVersion: 1.643.3 + generationVersion: 2.731.9 + releaseVersion: 0.16.1 + configChecksum: 986f09101402f14f0ec45fd2f4940c08 repoURL: https://github.com/ConductorOne/conductorone-sdk-python.git repoSubDirectory: . installationURL: https://github.com/ConductorOne/conductorone-sdk-python.git @@ -14,7 +14,7 @@ features: python: additionalDependencies: 1.0.0 additionalProperties: 1.0.1 - core: 5.23.0 + core: 5.23.2 defaultEnabledRetries: 0.2.0 deprecations: 3.0.2 enumUnions: 0.1.0 @@ -701,6 +701,7 @@ generatedFiles: - docs/models/shared/createpolicyrequest.md - docs/models/shared/createpolicyresponse.md - docs/models/shared/createrevoketasks.md + - docs/models/shared/createrevoketasksv2.md - docs/models/shared/createrisklevelattributevaluerequest.md - docs/models/shared/createrisklevelattributevalueresponse.md - docs/models/shared/createstepupproviderrequest.md @@ -775,8 +776,14 @@ generatedFiles: - docs/models/shared/emergencystatus.md - docs/models/shared/encrypteddata.md - docs/models/shared/enrollmentbehavior.md + - docs/models/shared/entitlementexclusioncriteria.md + - docs/models/shared/entitlementexclusionlist.md + - docs/models/shared/entitlementexclusionnone.md - docs/models/shared/entitlementfilter.md - docs/models/shared/entitlementgroup.md + - docs/models/shared/entitlementinclusionall.md + - docs/models/shared/entitlementinclusioncriteria.md + - docs/models/shared/entitlementinclusionlist.md - docs/models/shared/entitlementownerapproval.md - docs/models/shared/enumrules.md - docs/models/shared/erroredaction.md @@ -1172,6 +1179,7 @@ generatedFiles: - docs/models/shared/stringmapfield.md - docs/models/shared/stringrules.md - docs/models/shared/stringslicefield.md + - docs/models/shared/syncconfig.md - docs/models/shared/systemlogservicelisteventsrequest.md - docs/models/shared/systemlogservicelisteventsresponse.md - docs/models/shared/targetedappusertypes.md @@ -1976,6 +1984,7 @@ generatedFiles: - src/sdk/models/shared/createpolicyrequest.py - src/sdk/models/shared/createpolicyresponse.py - src/sdk/models/shared/createrevoketasks.py + - src/sdk/models/shared/createrevoketasksv2.py - src/sdk/models/shared/createrisklevelattributevaluerequest.py - src/sdk/models/shared/createrisklevelattributevalueresponse.py - src/sdk/models/shared/createstepupproviderrequest.py @@ -2038,7 +2047,13 @@ generatedFiles: - src/sdk/models/shared/editorvalidateresponse.py - src/sdk/models/shared/emailnotifications.py - src/sdk/models/shared/encrypteddata.py + - src/sdk/models/shared/entitlementexclusioncriteria.py + - src/sdk/models/shared/entitlementexclusionlist.py + - src/sdk/models/shared/entitlementexclusionnone.py - src/sdk/models/shared/entitlementfilter.py + - src/sdk/models/shared/entitlementinclusionall.py + - src/sdk/models/shared/entitlementinclusioncriteria.py + - src/sdk/models/shared/entitlementinclusionlist.py - src/sdk/models/shared/entitlementownerapproval.py - src/sdk/models/shared/enumrules.py - src/sdk/models/shared/erroredaction.py @@ -2367,6 +2382,7 @@ generatedFiles: - src/sdk/models/shared/stringmapfield.py - src/sdk/models/shared/stringrules.py - src/sdk/models/shared/stringslicefield.py + - src/sdk/models/shared/syncconfig.py - src/sdk/models/shared/systemlogservicelisteventsrequest.py - src/sdk/models/shared/systemlogservicelisteventsresponse.py - src/sdk/models/shared/targettask.py @@ -2624,6 +2640,8 @@ generatedFiles: examples: c1.api.accessconflict.v1.AccessConflictService.CreateMonitor: speakeasy-default-c1-api-accessconflict-v1-access-conflict-service-create-monitor: + requestBody: + application/json: {"displayName": "Hermina.Larkin"} responses: "200": application/json: {} @@ -2632,6 +2650,8 @@ examples: parameters: path: id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -2648,26 +2668,36 @@ examples: parameters: path: id: "" + requestBody: + application/json: {} responses: "200": application/json: {} c1.api.accessconflict.v1.AppEntitlementMonitorBindingService.CreateAppEntitlementMonitorBinding: speakeasy-default-c1-api-accessconflict-v1-app-entitlement-monitor-binding-service-create-app-entitlement-monitor-binding: + requestBody: + application/json: {} responses: "200": application/json: {} c1.api.accessconflict.v1.AppEntitlementMonitorBindingService.DeleteAppEntitlementMonitorBinding: speakeasy-default-c1-api-accessconflict-v1-app-entitlement-monitor-binding-service-delete-app-entitlement-monitor-binding: + requestBody: + application/json: {} responses: "200": application/json: {} c1.api.accessconflict.v1.AppEntitlementMonitorBindingService.GetAppEntitlementMonitorBinding: speakeasy-default-c1-api-accessconflict-v1-app-entitlement-monitor-binding-service-get-app-entitlement-monitor-binding: + requestBody: + application/json: {} responses: "200": application/json: {} c1.api.app.v1.Apps.Create: speakeasy-default-c1-api-app-v1-apps-create: + requestBody: + application/json: {"displayName": "Ciara.Goyette89"} responses: "200": application/json: {} @@ -2676,6 +2706,8 @@ examples: parameters: path: id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -2697,6 +2729,8 @@ examples: parameters: path: id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -2707,6 +2741,8 @@ examples: app_id: "" connector_id: "" sync_lifecycle_id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -2715,6 +2751,8 @@ examples: parameters: path: app_id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -2723,6 +2761,8 @@ examples: parameters: path: app_id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -2732,6 +2772,8 @@ examples: path: app_id: "" id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -2741,6 +2783,8 @@ examples: path: app_id: "" connector_id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -2777,6 +2821,8 @@ examples: path: app_id: "" connector_id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -2786,6 +2832,8 @@ examples: path: app_id: "" connector_id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -2796,11 +2844,15 @@ examples: app_id: "" connector_id: "" id: "" + requestBody: + application/json: {} responses: "200": application/json: {} c1.api.app.v1.ConnectorService.RotateCredential: speakeasy-default-c1-api-app-v1-connector-service-rotate-credential: + requestBody: + application/json: {} responses: "200": application/json: {} @@ -2810,6 +2862,8 @@ examples: path: app_id: "" id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -2819,11 +2873,15 @@ examples: path: connector_app_id: "" connector_id: "" + requestBody: + application/json: {} responses: "200": application/json: {} c1.api.app.v1.ConnectorService.ValidateHTTPConnectorConfig: speakeasy-default-c1-api-app-v1-connector-service-validate-HTTP-connector-config: + requestBody: + application/json: {} responses: "200": application/json: {} @@ -2832,6 +2890,8 @@ examples: parameters: path: app_id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -2840,6 +2900,8 @@ examples: parameters: path: app_id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -2879,6 +2941,8 @@ examples: application/json: {} c1.api.app.v1.AppUserService.Search: speakeasy-default-c1-api-app-v1-app-user-service-search: + requestBody: + application/json: {} responses: "200": application/json: {} @@ -2888,6 +2952,8 @@ examples: path: app_user_app_id: "" app_user_id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -2897,6 +2963,8 @@ examples: path: app_id: "" app_entitlement_id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -2906,6 +2974,8 @@ examples: path: app_id: "" app_entitlement_id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -2914,6 +2984,8 @@ examples: parameters: path: app_id: "" + requestBody: + application/json: {"displayName": "Baron.Hayes"} responses: "200": application/json: {} @@ -2923,6 +2995,8 @@ examples: path: app_id: "" app_entitlement_id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -2932,6 +3006,8 @@ examples: path: app_id: "" id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -2941,6 +3017,8 @@ examples: path: app_id: "" app_entitlement_id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -3013,6 +3091,8 @@ examples: path: app_id: "" app_entitlement_id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -3022,6 +3102,8 @@ examples: path: app_id: "" app_entitlement_id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -3031,6 +3113,8 @@ examples: path: app_id: "" id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -3040,11 +3124,15 @@ examples: path: app_id: "" app_entitlement_id: "" + requestBody: + application/json: {} responses: "200": application/json: {} c1.api.app.v1.AppEntitlementSearchService.Search: speakeasy-default-c1-api-app-v1-app-entitlement-search-service-search: + requestBody: + application/json: {} responses: "200": application/json: {} @@ -3068,6 +3156,8 @@ examples: application/json: {} c1.api.app.v1.AppEntitlementSearchService.SearchGrants: speakeasy-default-c1-api-app-v1-app-entitlement-search-service-search-grants: + requestBody: + application/json: {} responses: "200": application/json: {} @@ -3088,16 +3178,22 @@ examples: app_id: "" app_entitlement_id: "" app_user_id: "" + requestBody: + application/json: {} responses: "200": application/json: {} c1.api.app.v1.AppEntitlementUserBindingService.SearchGrantFeed: speakeasy-default-c1-api-app-v1-app-entitlement-user-binding-service-search-grant-feed: + requestBody: + application/json: {} responses: "200": application/json: {} c1.api.app.v1.AppEntitlementUserBindingService.SearchPastGrants: speakeasy-default-c1-api-app-v1-app-entitlement-user-binding-service-search-past-grants: + requestBody: + application/json: {} responses: "200": application/json: {} @@ -3108,6 +3204,8 @@ examples: app_id: "" app_entitlement_id: "" app_user_id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -3117,6 +3215,8 @@ examples: path: app_id: "" entitlement_id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -3126,6 +3226,8 @@ examples: path: app_id: "" entitlement_id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -3154,6 +3256,8 @@ examples: app_id: "" entitlement_id: "" user_id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -3163,6 +3267,8 @@ examples: path: app_id: "" entitlement_id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -3172,6 +3278,8 @@ examples: path: app_id: "" user_id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -3180,6 +3288,8 @@ examples: parameters: path: app_id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -3205,6 +3315,8 @@ examples: path: app_id: "" user_id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -3213,6 +3325,8 @@ examples: parameters: path: app_id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -3229,6 +3343,8 @@ examples: parameters: path: app_id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -3237,6 +3353,8 @@ examples: parameters: path: app_id: "" + requestBody: + application/json: {"displayName": "Vito_Goyette", "resourceType": "PROFILE_TYPE"} responses: "200": application/json: {} @@ -3246,6 +3364,8 @@ examples: path: app_id: "" id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -3272,6 +3392,8 @@ examples: path: app_id: "" id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -3281,6 +3403,8 @@ examples: path: app_id: "" app_resource_type_id: "" + requestBody: + application/json: {"displayName": "Carmella_Marks18"} responses: "200": application/json: {} @@ -3291,6 +3415,8 @@ examples: app_id: "" app_resource_type_id: "" id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -3320,6 +3446,8 @@ examples: app_id: "" app_resource_type_id: "" id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -3330,6 +3458,8 @@ examples: app_id: "" resource_type_id: "" resource_id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -3350,6 +3480,8 @@ examples: app_id: "" resource_type_id: "" resource_id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -3366,6 +3498,8 @@ examples: parameters: path: app_id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -3377,6 +3511,8 @@ examples: src_app_entitlement_id: "" dst_app_id: "" dst_app_entitlement_id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -3388,6 +3524,8 @@ examples: src_app_entitlement_id: "" dst_app_id: "" dst_app_entitlement_id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -3404,16 +3542,22 @@ examples: application/json: {} c1.api.attribute.v1.Attributes.CreateAttributeValue: speakeasy-default-c1-api-attribute-v1-attributes-create-attribute-value: + requestBody: + application/json: {} responses: "200": application/json: {} c1.api.attribute.v1.Attributes.CreateComplianceFrameworkAttributeValue: speakeasy-default-c1-api-attribute-v1-attributes-create-compliance-framework-attribute-value: + requestBody: + application/json: {} responses: "200": application/json: {} c1.api.attribute.v1.Attributes.CreateRiskLevelAttributeValue: speakeasy-default-c1-api-attribute-v1-attributes-create-risk-level-attribute-value: + requestBody: + application/json: {} responses: "200": application/json: {} @@ -3422,6 +3566,8 @@ examples: parameters: path: id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -3430,6 +3576,8 @@ examples: parameters: path: id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -3438,6 +3586,8 @@ examples: parameters: path: id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -3508,6 +3658,8 @@ examples: application/json: {} c1.api.automations.v1.AutomationExecutionSearchService.SearchAutomationExecutions: speakeasy-default-c1-api-automations-v1-automation-execution-search-service-search-automation-executions: + requestBody: + application/json: {} responses: "200": application/json: {} @@ -3516,21 +3668,29 @@ examples: parameters: path: id: "839265" + requestBody: + application/json: {} responses: "200": application/json: {} c1.api.automations.v1.AutomationSearchService.SearchAutomationTemplateVersions: speakeasy-default-c1-api-automations-v1-automation-search-service-search-automation-template-versions: + requestBody: + application/json: {} responses: "200": application/json: {} c1.api.automations.v1.AutomationSearchService.SearchAutomations: speakeasy-default-c1-api-automations-v1-automation-search-service-search-automations: + requestBody: + application/json: {} responses: "200": application/json: {} c1.api.automations.v1.AutomationService.CreateAutomation: speakeasy-default-c1-api-automations-v1-automation-service-create-automation: + requestBody: + application/json: {} responses: "200": application/json: {} @@ -3539,6 +3699,8 @@ examples: parameters: path: id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -3547,6 +3709,8 @@ examples: parameters: path: id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -3568,6 +3732,8 @@ examples: parameters: path: id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -3576,6 +3742,8 @@ examples: parameters: path: catalog_id: "" + requestBody: + application/json: {"accessEntitlements": []} responses: "200": application/json: {} @@ -3584,11 +3752,15 @@ examples: parameters: path: catalog_id: "" + requestBody: + application/json: {"appEntitlements": null} responses: "200": application/json: {} c1.api.requestcatalog.v1.RequestCatalogManagementService.Create: speakeasy-default-c1-api-requestcatalog-v1-request-catalog-management-service-create: + requestBody: + application/json: {"displayName": "Dejon_Bergnaum"} responses: "200": application/json: {} @@ -3597,6 +3769,8 @@ examples: parameters: path: request_catalog_id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -3605,6 +3779,8 @@ examples: parameters: path: id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -3613,6 +3789,8 @@ examples: parameters: path: request_catalog_id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -3621,6 +3799,8 @@ examples: parameters: path: request_catalog_id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -3674,6 +3854,8 @@ examples: parameters: path: catalog_id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -3682,6 +3864,8 @@ examples: parameters: path: catalog_id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -3690,6 +3874,8 @@ examples: parameters: path: request_catalog_id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -3698,6 +3884,8 @@ examples: parameters: path: request_catalog_id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -3706,6 +3894,8 @@ examples: parameters: path: id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -3714,16 +3904,22 @@ examples: parameters: path: catalog_id: "" + requestBody: + application/json: {"appEntitlements": [{}]} responses: "200": application/json: {} c1.api.integration.connector.v1.ConnectorCatalogService.ConfigurationSchema: speakeasy-default-c1-api-integration-connector-v1-connector-catalog-service-configuration-schema: + requestBody: + application/json: {} responses: "200": application/json: {} c1.api.directory.v1.DirectoryService.Create: speakeasy-default-c1-api-directory-v1-directory-service-create: + requestBody: + application/json: {} responses: "200": application/json: {} @@ -3732,6 +3928,8 @@ examples: parameters: path: app_id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -3753,6 +3951,8 @@ examples: parameters: path: app_id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -3761,11 +3961,15 @@ examples: parameters: path: function_id: "" + requestBody: + application/json: {} responses: "200": application/json: {} c1.api.functions.v1.FunctionsService.CreateFunction: speakeasy-default-c1-api-functions-v1-functions-service-create-function: + requestBody: + application/json: {} responses: "200": application/json: {} @@ -3774,6 +3978,8 @@ examples: parameters: path: function_id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -3782,6 +3988,8 @@ examples: parameters: path: id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -3807,6 +4015,8 @@ examples: parameters: path: function_id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -3833,11 +4043,15 @@ examples: application/json: {} c1.api.functions.v1.FunctionsService.UpdateFunction: speakeasy-default-c1-api-functions-v1-functions-service-update-function: + requestBody: + application/json: {} responses: "200": application/json: {} c1.api.iam.v1.PersonalClientService.Create: speakeasy-default-c1-api-iam-v1-personal-client-service-create: + requestBody: + application/json: {} responses: "200": application/json: {} @@ -3846,6 +4060,8 @@ examples: parameters: path: id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -3867,6 +4083,8 @@ examples: parameters: path: id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -3888,11 +4106,15 @@ examples: parameters: path: role_id: "" + requestBody: + application/json: {} responses: "200": application/json: {} c1.api.policy.v1.Policies.Create: speakeasy-default-c1-api-policy-v1-policies-create: + requestBody: + application/json: {"displayName": "Zita56"} responses: "200": application/json: {} @@ -3901,6 +4123,8 @@ examples: parameters: path: id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -3922,61 +4146,85 @@ examples: parameters: path: id: "" + requestBody: + application/json: {} responses: "200": application/json: {} c1.api.policy.v1.AccountProvisionPolicyTest.Test: speakeasy-default-c1-api-policy-v1-account-provision-policy-test-test: + requestBody: + application/json: {} responses: "200": application/json: {} c1.api.policy.v1.PolicyValidate.ValidateCEL: speakeasy-default-c1-api-policy-v1-policy-validate-validate-CEL: + requestBody: + application/json: {} responses: "200": application/json: {} c1.api.app.v1.AppResourceSearch.SearchAppResourceTypes: speakeasy-default-c1-api-app-v1-app-resource-search-search-app-resource-types: + requestBody: + application/json: {} responses: "200": application/json: {} c1.api.app.v1.AppResourceSearch.SearchAppResources: speakeasy-default-c1-api-app-v1-app-resource-search-search-app-resources: + requestBody: + application/json: {} responses: "200": application/json: {} c1.api.app.v1.AppSearch.Search: speakeasy-default-c1-api-app-v1-app-search-search: + requestBody: + application/json: {} responses: "200": application/json: {} c1.api.attribute.v1.AttributeSearch.SearchAttributeValues: speakeasy-default-c1-api-attribute-v1-attribute-search-search-attribute-values: + requestBody: + application/json: {} responses: "200": application/json: {} c1.api.functions.v1.FunctionsSearch.Search: speakeasy-default-c1-api-functions-v1-functions-search-search: + requestBody: + application/json: {} responses: "200": application/json: {} c1.api.iam.v1.PersonalClientSearchService.Search: speakeasy-default-c1-api-iam-v1-personal-client-search-service-search: + requestBody: + application/json: {} responses: "200": application/json: {} c1.api.policy.v1.PolicySearch.Search: speakeasy-default-c1-api-policy-v1-policy-search-search: + requestBody: + application/json: {} responses: "200": application/json: {} c1.api.requestcatalog.v1.RequestCatalogSearchService.SearchEntitlements: speakeasy-default-c1-api-requestcatalog-v1-request-catalog-search-service-search-entitlements: + requestBody: + application/json: {} responses: "200": application/json: {} c1.api.stepup.v1.StepUpProviderService.Create: speakeasy-default-c1-api-stepup-v1-step-up-provider-service-create: + requestBody: + application/json: {} responses: "200": application/json: {} @@ -3985,6 +4233,8 @@ examples: parameters: path: id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -4003,6 +4253,8 @@ examples: application/json: {} c1.api.stepup.v1.StepUpProviderService.Search: speakeasy-default-c1-api-stepup-v1-step-up-provider-service-search: + requestBody: + application/json: {} responses: "200": application/json: {} @@ -4011,6 +4263,8 @@ examples: parameters: path: id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -4019,6 +4273,8 @@ examples: parameters: path: id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -4027,6 +4283,8 @@ examples: parameters: path: id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -4040,26 +4298,36 @@ examples: application/json: {} c1.api.stepup.v1.StepUpTransactionService.Search: speakeasy-default-c1-api-stepup-v1-step-up-transaction-service-search: + requestBody: + application/json: {} responses: "200": application/json: {} c1.api.systemlog.v1.ExportsSearchService.Search: speakeasy-default-c1-api-systemlog-v1-exports-search-service-search: + requestBody: + application/json: {} responses: "200": application/json: {} c1.api.task.v1.TaskSearchService.Search: speakeasy-default-c1-api-task-v1-task-search-service-search: + requestBody: + application/json: {} responses: "200": application/json: {} c1.api.user.v1.UserSearch.Search: speakeasy-default-c1-api-user-v1-user-search-search: + requestBody: + application/json: {} responses: "200": application/json: {} c1.api.webhooks.v1.WebhooksSearch.Search: speakeasy-default-c1-api-webhooks-v1-webhooks-search-search: + requestBody: + application/json: {} responses: "200": application/json: {} @@ -4075,6 +4343,8 @@ examples: application/json: {} c1.api.settings.v1.OrgDomainService.Update: speakeasy-default-c1-api-settings-v1-org-domain-service-update: + requestBody: + application/json: {} responses: "200": application/json: {} @@ -4085,21 +4355,29 @@ examples: application/json: {} c1.api.settings.v1.SessionSettingsService.TestSourceIP: speakeasy-default-c1-api-settings-v1-session-settings-service-test-source-IP: + requestBody: + application/json: {} responses: "200": application/json: {} c1.api.settings.v1.SessionSettingsService.Update: speakeasy-default-c1-api-settings-v1-session-settings-service-update: + requestBody: + application/json: {} responses: "200": application/json: {} c1.api.systemlog.v1.SystemLogService.ListEvents: speakeasy-default-c1-api-systemlog-v1-system-log-service-list-events: + requestBody: + application/json: {} responses: "200": application/json: {} c1.api.systemlog.v1.ExportService.Create: speakeasy-default-c1-api-systemlog-v1-export-service-create: + requestBody: + application/json: {} responses: "200": application/json: {} @@ -4108,6 +4386,8 @@ examples: parameters: path: export_id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -4129,6 +4409,8 @@ examples: parameters: path: export_id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -4137,26 +4419,36 @@ examples: parameters: path: export_id: "" + requestBody: + application/json: {} responses: "200": application/json: {} c1.api.task.v1.TaskAudit.List: speakeasy-default-c1-api-task-v1-task-audit-list: + requestBody: + application/json: {} responses: "200": application/json: {} c1.api.task.v1.TaskService.CreateGrantTask: speakeasy-default-c1-api-task-v1-task-service-create-grant-task: + requestBody: + application/json: {"appEntitlementId": "", "appId": ""} responses: "200": application/json: {} c1.api.task.v1.TaskService.CreateOffboardingTask: speakeasy-default-c1-api-task-v1-task-service-create-offboarding-task: + requestBody: + application/json: {} responses: "200": application/json: {} c1.api.task.v1.TaskService.CreateRevokeTask: speakeasy-default-c1-api-task-v1-task-service-create-revoke-task: + requestBody: + application/json: {"appEntitlementId": "", "appId": ""} responses: "200": application/json: {} @@ -4173,6 +4465,8 @@ examples: parameters: path: task_id: "" + requestBody: + application/json: {"policyStepId": ""} responses: "200": application/json: {} @@ -4181,6 +4475,8 @@ examples: parameters: path: task_id: "" + requestBody: + application/json: {"policyStepId": "", "stepUpTransactionId": ""} responses: "200": application/json: {} @@ -4189,6 +4485,8 @@ examples: parameters: path: task_id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -4197,6 +4495,8 @@ examples: parameters: path: task_id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -4205,6 +4505,8 @@ examples: parameters: path: task_id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -4213,6 +4515,8 @@ examples: parameters: path: task_id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -4221,6 +4525,8 @@ examples: parameters: path: task_id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -4229,6 +4535,8 @@ examples: parameters: path: task_id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -4237,6 +4545,8 @@ examples: parameters: path: task_id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -4245,6 +4555,8 @@ examples: parameters: path: task_id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -4253,6 +4565,8 @@ examples: parameters: path: task_id: "" + requestBody: + application/json: {"policyStepId": ""} responses: "200": application/json: {} @@ -4261,6 +4575,8 @@ examples: parameters: path: task_id: "" + requestBody: + application/json: {"duration": ""} responses: "200": application/json: {} @@ -4269,6 +4585,8 @@ examples: parameters: path: task_id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -4295,6 +4613,8 @@ examples: application/json: {} c1.api.webhooks.v1.WebhooksService.Create: speakeasy-default-c1-api-webhooks-v1-webhooks-service-create: + requestBody: + application/json: {"displayName": "Bradley_Maggio", "url": "https://musty-kick.net"} responses: "200": application/json: {} @@ -4303,6 +4623,8 @@ examples: parameters: path: id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -4324,6 +4646,8 @@ examples: parameters: path: id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -4332,6 +4656,8 @@ examples: parameters: path: id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -4342,6 +4668,8 @@ examples: app_id: "" resource_type_id: "" resource_id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -4362,16 +4690,22 @@ examples: app_id: "" resource_type_id: "" resource_id: "" + requestBody: + application/json: {} responses: "200": application/json: {} c1.api.request_schema.v1.RequestSchemaService.Create: speakeasy-default-c1-api-request-schema-v1-request-schema-service-create: + requestBody: + application/json: {} responses: "200": application/json: {} c1.api.request_schema.v1.RequestSchemaService.CreateEntitlementBinding: speakeasy-default-c1-api-request-schema-v1-request-schema-service-create-entitlement-binding: + requestBody: + application/json: {} responses: "200": application/json: {} @@ -4380,11 +4714,15 @@ examples: parameters: path: request_schema_id: "" + requestBody: + application/json: {} responses: "200": application/json: {} c1.api.request_schema.v1.RequestSchemaService.FindBindingForAppEntitlement: speakeasy-default-c1-api-request-schema-v1-request-schema-service-find-binding-for-app-entitlement: + requestBody: + application/json: {} responses: "200": application/json: {} @@ -4398,6 +4736,8 @@ examples: application/json: {} c1.api.request_schema.v1.RequestSchemaService.RemoveEntitlementBinding: speakeasy-default-c1-api-request-schema-v1-request-schema-service-remove-entitlement-binding: + requestBody: + application/json: {} responses: "200": application/json: {} @@ -4406,6 +4746,8 @@ examples: parameters: path: request_schema_id: "" + requestBody: + application/json: {} responses: "200": application/json: {} @@ -4414,6 +4756,8 @@ examples: parameters: path: user_id: "" + requestBody: + application/json: {} responses: "200": application/json: {} diff --git a/.speakeasy/logs/naming.log b/.speakeasy/logs/naming.log index 30475bf1..250ef002 100644 --- a/.speakeasy/logs/naming.log +++ b/.speakeasy/logs/naming.log @@ -70,10 +70,11 @@ C1ApiAppV1ConnectorServiceCreateRequest (ConnectorServiceCreateRequest: Connecto C1ApiAppV1ConnectorServiceCreateResponse (ConnectorServiceCreateResponse: ConnectorServiceCreateResponse, ContentType: string, StatusCode: int32 ...) ConnectorServiceCreateResponse (ConnectorView: ConnectorView, expanded: array) ConnectorView (Connector: Connector, appPath: string, capabilitiesPath: string ...) - Connector (ConnectorStatus: ConnectorStatus, OAuth2AuthorizedAs: OAuth2AuthorizedAs, appId: string ...) + Connector (ConnectorStatus: ConnectorStatus, OAuth2AuthorizedAs: OAuth2AuthorizedAs, SyncConfig: SyncConfig ...) ConnectorStatus (completedAt: date-time, lastError: string, startedAt: date-time ...) ConnectorStatusStatus (enum: SYNC_STATUS_UNSPECIFIED, SYNC_STATUS_RUNNING, SYNC_STATUS_DONE ...) OAuth2AuthorizedAs (authEmail: string, authorizedAt: date-time) + SyncConfig (syncResourceTypeIds: array) Config (@type: string, AdditionalProperties: map) ConnectorServiceCreateResponseExpanded (@type: string, AdditionalProperties: map) C1ApiAppV1ConnectorServiceCreateDelegatedRequest (ConnectorServiceCreateDelegatedRequest: ConnectorServiceCreateDelegatedRequest, app_id: string) @@ -117,7 +118,7 @@ C1ApiAppV1ConnectorServiceRotateCredentialResponse (ConnectorServiceRotateCreden ConnectorServiceRotateCredentialResponse (ConnectorCredential: ConnectorCredential) C1ApiAppV1ConnectorServiceUpdateRequest (ConnectorServiceUpdateRequest: ConnectorServiceUpdateRequest, app_id: string, id: string) ConnectorServiceUpdateRequest (Connector: Connector_input, ConnectorExpandMask: ConnectorExpandMask, updateMask: string) - ConnectorInput (ConnectorStatus: ConnectorStatus, OAuth2AuthorizedAs: OAuth2AuthorizedAs_input, appId: string ...) + ConnectorInput (ConnectorStatus: ConnectorStatus, OAuth2AuthorizedAs: OAuth2AuthorizedAs_input, SyncConfig: SyncConfig ...) OAuth2AuthorizedAsInput (empty) C1ApiAppV1ConnectorServiceUpdateResponse (ConnectorServiceUpdateResponse: ConnectorServiceUpdateResponse, ContentType: string, StatusCode: int32 ...) ConnectorServiceUpdateResponse (ConnectorView: ConnectorView, expanded: array) @@ -579,6 +580,13 @@ C1ApiAutomationsV1AutomationSearchServiceSearchAutomationTemplateVersionsRespons UserProperties (displayNameCel: string, emailCel: string, profileAttributeCel: string ...) CreateAccessReview (accessReviewTemplateCel: string, accessReviewTemplateId: string, campaignName: string ...) CreateRevokeTasks (UserRef: UserRef, appEntitlementRefs: array, appEntitlementRefsCel: string ...) + CreateRevokeTasksV2 (EntitlementExclusionCriteria: EntitlementExclusionCriteria, EntitlementExclusionList: EntitlementExclusionList, EntitlementExclusionNone: EntitlementExclusionNone ...) + EntitlementExclusionCriteria (excludedAppIds: array, excludedComplianceFrameworkIds: array, excludedResourceTypeIds: array ...) + EntitlementExclusionList (excludedAppEntitlementRefs: array) + EntitlementExclusionNone (empty) + EntitlementInclusionAll (empty) + EntitlementInclusionCriteria (appIds: array, complianceFrameworkIds: array, resourceTypeIds: array ...) + EntitlementInclusionList (appEntitlementRefs: array) GrantEntitlements (UserRef: UserRef, appEntitlementRefs: array, appEntitlementRefsCel: string ...) RemoveFromDelegation (UserRef: UserRef, UserRef1: UserRef, replacementUserIdCel: string ...) RunAutomation (AutomationContext: AutomationContext, AutomationTemplateRef: AutomationTemplateRef, automationTemplateIdCel: string) @@ -908,16 +916,16 @@ CreatePolicyRequest (description: string, displayName: string, policySteps: map AgentMode (enum: APPROVAL_AGENT_MODE_UNSPECIFIED, APPROVAL_AGENT_MODE_FULL_CONTROL, APPROVAL_AGENT_MODE_CHANGE_POLICY_ONLY ...) AppGroupApproval (allowSelfApproval: boolean, appGroupId: string, appId: string ...) AppEntitlementReference (appEntitlementId: string, appId: string) - AppOwnerApproval (allowSelfApproval: boolean) - EntitlementOwnerApproval (allowSelfApproval: boolean, fallback: boolean, fallbackUserIds: array) + AppOwnerApproval (allowSelfApproval: boolean, requireDistinctApprovers: boolean) + EntitlementOwnerApproval (allowSelfApproval: boolean, fallback: boolean, fallbackUserIds: array ...) Escalation (ReassignToApprovers: ReassignToApprovers, ReplacePolicy: ReplacePolicy, escalationComment: string ...) ReassignToApprovers (approverIds: array) ReplacePolicy (policyId: string) ExpressionApprovalInput (allowSelfApproval: boolean, expressions: array, fallback: boolean ...) - ManagerApprovalInput (allowSelfApproval: boolean, fallback: boolean, fallbackUserIds: array) - ResourceOwnerApproval (allowSelfApproval: boolean, fallback: boolean, fallbackUserIds: array) + ManagerApprovalInput (allowSelfApproval: boolean, fallback: boolean, fallbackUserIds: array ...) + ResourceOwnerApproval (allowSelfApproval: boolean, fallback: boolean, fallbackUserIds: array ...) SelfApprovalInput (fallback: boolean, fallbackUserIds: array) - UserApproval (allowSelfApproval: boolean, userIds: array) + UserApproval (allowSelfApproval: boolean, requireDistinctApprovers: boolean, userIds: array) WebhookApproval (webhookId: string) FormInput1 (Form: Form_input) Provision (ProvisionPolicy: ProvisionPolicy_input, ProvisionTarget: ProvisionTarget, assigned: boolean) diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index b2b0a7c5..3e35f280 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,9 +1,9 @@ -speakeasyVersion: 1.642.1 +speakeasyVersion: 1.643.3 sources: my-source: sourceNamespace: my-source - sourceRevisionDigest: sha256:8fdf387d820c5c6c13e60a5a3dc4d77ed9ee83b8cbfa9d7b5f4583f4097151de - sourceBlobDigest: sha256:056d8fd2488341bc6213cbb1ebc31c8c043635aaf5c0672046ff4baa14a5c450 + sourceRevisionDigest: sha256:55d4562ba760a637efc6efcc292bc0120900d05035c9f2075e3b8776b756c8bf + sourceBlobDigest: sha256:15b1d6915d59bb2fd4d851f8fded3d3b409954424e6ed6a0da03279ee2211a99 tags: - latest - 0.1.0-alpha @@ -11,10 +11,10 @@ targets: conductorone-python: source: my-source sourceNamespace: my-source - sourceRevisionDigest: sha256:8fdf387d820c5c6c13e60a5a3dc4d77ed9ee83b8cbfa9d7b5f4583f4097151de - sourceBlobDigest: sha256:056d8fd2488341bc6213cbb1ebc31c8c043635aaf5c0672046ff4baa14a5c450 + sourceRevisionDigest: sha256:55d4562ba760a637efc6efcc292bc0120900d05035c9f2075e3b8776b756c8bf + sourceBlobDigest: sha256:15b1d6915d59bb2fd4d851f8fded3d3b409954424e6ed6a0da03279ee2211a99 codeSamplesNamespace: my-source-python-code-samples - codeSamplesRevisionDigest: sha256:ac3178b7b556972d919e132d9768e38ffdf49989f682d9dd26fd4c86744db715 + codeSamplesRevisionDigest: sha256:37e6be77bd38369f03cb68d81d407854828aa2a19dfdf02058452f0ce2befa1c workflow: workflowVersion: 1.0.0 speakeasyVersion: latest @@ -22,6 +22,8 @@ workflow: my-source: inputs: - location: https://insulator.conductor.one/api/v1/openapi.yaml + overlays: + - location: ./overlay.yaml registry: location: registry.speakeasyapi.dev/conductor-one/conductorone/my-source targets: diff --git a/.speakeasy/workflow.yaml b/.speakeasy/workflow.yaml index 761e90b9..20bde38a 100644 --- a/.speakeasy/workflow.yaml +++ b/.speakeasy/workflow.yaml @@ -4,6 +4,8 @@ sources: my-source: inputs: - location: https://insulator.conductor.one/api/v1/openapi.yaml + overlays: + - location: ./overlay.yaml registry: location: registry.speakeasyapi.dev/conductor-one/conductorone/my-source targets: diff --git a/README.md b/README.md index 0caa36eb..16354aa2 100644 --- a/README.md +++ b/README.md @@ -574,7 +574,9 @@ with SDK( res = None try: - res = s_client.access_conflict.create_monitor() + res = s_client.access_conflict.create_monitor(request={ + "display_name": "Hermina.Larkin", + }) assert res.conflict_monitor is not None @@ -640,7 +642,9 @@ with SDK( ), ) as s_client: - res = s_client.access_conflict.create_monitor() + res = s_client.access_conflict.create_monitor(request={ + "display_name": "Hermina.Larkin", + }) assert res.conflict_monitor is not None @@ -665,7 +669,9 @@ with SDK( ), ) as s_client: - res = s_client.access_conflict.create_monitor() + res = s_client.access_conflict.create_monitor(request={ + "display_name": "Hermina.Larkin", + }) assert res.conflict_monitor is not None @@ -795,7 +801,9 @@ with SDK( ), ) as s_client: - res = s_client.access_conflict.create_monitor() + res = s_client.access_conflict.create_monitor(request={ + "display_name": "Hermina.Larkin", + }) assert res.conflict_monitor is not None @@ -825,7 +833,7 @@ with SDK( ), ) as s_client: - res = s_client.app_entitlement_search.search() + res = s_client.app_entitlement_search.search(request={}) while res is not None: # Handle items @@ -854,7 +862,9 @@ with SDK( ), ) as s_client: - res = s_client.access_conflict.create_monitor(, + res = s_client.access_conflict.create_monitor(request={ + "display_name": "Hermina.Larkin", + }, RetryConfig("backoff", BackoffStrategy(1, 50, 1.1, 100), False)) assert res.conflict_monitor is not None @@ -879,7 +889,9 @@ with SDK( ), ) as s_client: - res = s_client.access_conflict.create_monitor() + res = s_client.access_conflict.create_monitor(request={ + "display_name": "Hermina.Larkin", + }) assert res.conflict_monitor is not None diff --git a/USAGE.md b/USAGE.md index 63f903ce..11ee9363 100644 --- a/USAGE.md +++ b/USAGE.md @@ -12,7 +12,9 @@ with SDK( ), ) as s_client: - res = s_client.access_conflict.create_monitor() + res = s_client.access_conflict.create_monitor(request={ + "display_name": "Hermina.Larkin", + }) assert res.conflict_monitor is not None @@ -39,7 +41,9 @@ async def main(): ), ) as s_client: - res = await s_client.access_conflict.create_monitor_async() + res = await s_client.access_conflict.create_monitor_async(request={ + "display_name": "Hermina.Larkin", + }) assert res.conflict_monitor is not None diff --git a/docs/models/operations/c1apiaccessconflictv1accessconflictservicedeletemonitorrequest.md b/docs/models/operations/c1apiaccessconflictv1accessconflictservicedeletemonitorrequest.md index bf78b4b8..265138e8 100644 --- a/docs/models/operations/c1apiaccessconflictv1accessconflictservicedeletemonitorrequest.md +++ b/docs/models/operations/c1apiaccessconflictv1accessconflictservicedeletemonitorrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | -| `conflict_monitor_delete_request` | [Optional[shared.ConflictMonitorDeleteRequest]](../../models/shared/conflictmonitordeleterequest.md) | :heavy_minus_sign: | N/A | -| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `conflict_monitor_delete_request` | [shared.ConflictMonitorDeleteRequest](../../models/shared/conflictmonitordeleterequest.md) | :heavy_check_mark: | N/A | +| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiaccessconflictv1accessconflictserviceupdatemonitorrequest.md b/docs/models/operations/c1apiaccessconflictv1accessconflictserviceupdatemonitorrequest.md index 3a4b0386..54a00d47 100644 --- a/docs/models/operations/c1apiaccessconflictv1accessconflictserviceupdatemonitorrequest.md +++ b/docs/models/operations/c1apiaccessconflictv1accessconflictserviceupdatemonitorrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | -| `conflict_monitor_update_request` | [Optional[shared.ConflictMonitorUpdateRequest]](../../models/shared/conflictmonitorupdaterequest.md) | :heavy_minus_sign: | N/A | -| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `conflict_monitor_update_request` | [shared.ConflictMonitorUpdateRequest](../../models/shared/conflictmonitorupdaterequest.md) | :heavy_check_mark: | N/A | +| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiappv1appaccessrequestsdefaultsservicecancelappaccessrequestsdefaultsrequest.md b/docs/models/operations/c1apiappv1appaccessrequestsdefaultsservicecancelappaccessrequestsdefaultsrequest.md index c4046fea..aaabc161 100644 --- a/docs/models/operations/c1apiappv1appaccessrequestsdefaultsservicecancelappaccessrequestsdefaultsrequest.md +++ b/docs/models/operations/c1apiappv1appaccessrequestsdefaultsservicecancelappaccessrequestsdefaultsrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | -| `cancel_access_request_defaults_request` | [Optional[shared.CancelAccessRequestDefaultsRequest]](../../models/shared/cancelaccessrequestdefaultsrequest.md) | :heavy_minus_sign: | N/A | -| `app_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `cancel_access_request_defaults_request` | [shared.CancelAccessRequestDefaultsRequest](../../models/shared/cancelaccessrequestdefaultsrequest.md) | :heavy_check_mark: | N/A | +| `app_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiappv1appaccessrequestsdefaultsservicecreateappaccessrequestsdefaultsrequest.md b/docs/models/operations/c1apiappv1appaccessrequestsdefaultsservicecreateappaccessrequestsdefaultsrequest.md index e0aeee4a..58259065 100644 --- a/docs/models/operations/c1apiappv1appaccessrequestsdefaultsservicecreateappaccessrequestsdefaultsrequest.md +++ b/docs/models/operations/c1apiappv1appaccessrequestsdefaultsservicecreateappaccessrequestsdefaultsrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | -| `app_access_request_defaults` | [Optional[shared.AppAccessRequestDefaults1]](../../models/shared/appaccessrequestdefaults1.md) | :heavy_minus_sign: | N/A | -| `app_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `app_access_request_defaults` | [shared.AppAccessRequestDefaults1](../../models/shared/appaccessrequestdefaults1.md) | :heavy_check_mark: | N/A | +| `app_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiappv1appentitlementownersaddrequest.md b/docs/models/operations/c1apiappv1appentitlementownersaddrequest.md index 16a15530..33ec1982 100644 --- a/docs/models/operations/c1apiappv1appentitlementownersaddrequest.md +++ b/docs/models/operations/c1apiappv1appentitlementownersaddrequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | -| `add_app_entitlement_owner_request` | [Optional[shared.AddAppEntitlementOwnerRequest]](../../models/shared/addappentitlementownerrequest.md) | :heavy_minus_sign: | N/A | -| `app_id` | *str* | :heavy_check_mark: | N/A | -| `entitlement_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `add_app_entitlement_owner_request` | [shared.AddAppEntitlementOwnerRequest](../../models/shared/addappentitlementownerrequest.md) | :heavy_check_mark: | N/A | +| `app_id` | *str* | :heavy_check_mark: | N/A | +| `entitlement_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiappv1appentitlementownersdeleterequest.md b/docs/models/operations/c1apiappv1appentitlementownersdeleterequest.md index e7121360..eec389f7 100644 --- a/docs/models/operations/c1apiappv1appentitlementownersdeleterequest.md +++ b/docs/models/operations/c1apiappv1appentitlementownersdeleterequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -| `delete_app_entitlement_owners_request` | [Optional[shared.DeleteAppEntitlementOwnersRequest]](../../models/shared/deleteappentitlementownersrequest.md) | :heavy_minus_sign: | N/A | -| `app_id` | *str* | :heavy_check_mark: | N/A | -| `entitlement_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `delete_app_entitlement_owners_request` | [shared.DeleteAppEntitlementOwnersRequest](../../models/shared/deleteappentitlementownersrequest.md) | :heavy_check_mark: | N/A | +| `app_id` | *str* | :heavy_check_mark: | N/A | +| `entitlement_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiappv1appentitlementownersremoverequest.md b/docs/models/operations/c1apiappv1appentitlementownersremoverequest.md index 1ca54ee0..240262ed 100644 --- a/docs/models/operations/c1apiappv1appentitlementownersremoverequest.md +++ b/docs/models/operations/c1apiappv1appentitlementownersremoverequest.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | -| `remove_app_entitlement_owner_request` | [Optional[shared.RemoveAppEntitlementOwnerRequest]](../../models/shared/removeappentitlementownerrequest.md) | :heavy_minus_sign: | N/A | -| `app_id` | *str* | :heavy_check_mark: | N/A | -| `entitlement_id` | *str* | :heavy_check_mark: | N/A | -| `user_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `remove_app_entitlement_owner_request` | [shared.RemoveAppEntitlementOwnerRequest](../../models/shared/removeappentitlementownerrequest.md) | :heavy_check_mark: | N/A | +| `app_id` | *str* | :heavy_check_mark: | N/A | +| `entitlement_id` | *str* | :heavy_check_mark: | N/A | +| `user_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiappv1appentitlementownerssetrequest.md b/docs/models/operations/c1apiappv1appentitlementownerssetrequest.md index baa05854..edf5fb5e 100644 --- a/docs/models/operations/c1apiappv1appentitlementownerssetrequest.md +++ b/docs/models/operations/c1apiappv1appentitlementownerssetrequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -| `set_app_entitlement_owners_request` | [Optional[shared.SetAppEntitlementOwnersRequest]](../../models/shared/setappentitlementownersrequest.md) | :heavy_minus_sign: | N/A | -| `app_id` | *str* | :heavy_check_mark: | N/A | -| `entitlement_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `set_app_entitlement_owners_request` | [shared.SetAppEntitlementOwnersRequest](../../models/shared/setappentitlementownersrequest.md) | :heavy_check_mark: | N/A | +| `app_id` | *str* | :heavy_check_mark: | N/A | +| `entitlement_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiappv1appentitlementsaddautomationexclusionrequest.md b/docs/models/operations/c1apiappv1appentitlementsaddautomationexclusionrequest.md index 74dcb611..eefe7a32 100644 --- a/docs/models/operations/c1apiappv1appentitlementsaddautomationexclusionrequest.md +++ b/docs/models/operations/c1apiappv1appentitlementsaddautomationexclusionrequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | -| `add_automation_exclusion_request` | [Optional[shared.AddAutomationExclusionRequest]](../../models/shared/addautomationexclusionrequest.md) | :heavy_minus_sign: | N/A | -| `app_entitlement_id` | *str* | :heavy_check_mark: | N/A | -| `app_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `add_automation_exclusion_request` | [shared.AddAutomationExclusionRequest](../../models/shared/addautomationexclusionrequest.md) | :heavy_check_mark: | N/A | +| `app_entitlement_id` | *str* | :heavy_check_mark: | N/A | +| `app_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiappv1appentitlementsaddmanuallymanagedmembersrequest.md b/docs/models/operations/c1apiappv1appentitlementsaddmanuallymanagedmembersrequest.md index 7309f10d..6cbd5c36 100644 --- a/docs/models/operations/c1apiappv1appentitlementsaddmanuallymanagedmembersrequest.md +++ b/docs/models/operations/c1apiappv1appentitlementsaddmanuallymanagedmembersrequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -| `add_manually_managed_users_request` | [Optional[shared.AddManuallyManagedUsersRequest]](../../models/shared/addmanuallymanagedusersrequest.md) | :heavy_minus_sign: | N/A | -| `app_entitlement_id` | *str* | :heavy_check_mark: | N/A | -| `app_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `add_manually_managed_users_request` | [shared.AddManuallyManagedUsersRequest](../../models/shared/addmanuallymanagedusersrequest.md) | :heavy_check_mark: | N/A | +| `app_entitlement_id` | *str* | :heavy_check_mark: | N/A | +| `app_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiappv1appentitlementscreateautomationrequest.md b/docs/models/operations/c1apiappv1appentitlementscreateautomationrequest.md index 2db6e261..52d7ab8f 100644 --- a/docs/models/operations/c1apiappv1appentitlementscreateautomationrequest.md +++ b/docs/models/operations/c1apiappv1appentitlementscreateautomationrequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | -| `create_automation_request` | [Optional[shared.CreateAutomationRequest]](../../models/shared/createautomationrequest.md) | :heavy_minus_sign: | N/A | -| `app_entitlement_id` | *str* | :heavy_check_mark: | N/A | -| `app_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `create_automation_request` | [shared.CreateAutomationRequest](../../models/shared/createautomationrequest.md) | :heavy_check_mark: | N/A | +| `app_entitlement_id` | *str* | :heavy_check_mark: | N/A | +| `app_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiappv1appentitlementscreaterequest.md b/docs/models/operations/c1apiappv1appentitlementscreaterequest.md index e27e6c70..81303aa0 100644 --- a/docs/models/operations/c1apiappv1appentitlementscreaterequest.md +++ b/docs/models/operations/c1apiappv1appentitlementscreaterequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -| `create_app_entitlement_request` | [Optional[shared.CreateAppEntitlementRequest]](../../models/shared/createappentitlementrequest.md) | :heavy_minus_sign: | N/A | -| `app_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `create_app_entitlement_request` | [shared.CreateAppEntitlementRequest](../../models/shared/createappentitlementrequest.md) | :heavy_check_mark: | N/A | +| `app_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiappv1appentitlementsdeleteautomationrequest.md b/docs/models/operations/c1apiappv1appentitlementsdeleteautomationrequest.md index e40dd2bc..af02b5e9 100644 --- a/docs/models/operations/c1apiappv1appentitlementsdeleteautomationrequest.md +++ b/docs/models/operations/c1apiappv1appentitlementsdeleteautomationrequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | -| `delete_automation_request` | [Optional[shared.DeleteAutomationRequest]](../../models/shared/deleteautomationrequest.md) | :heavy_minus_sign: | N/A | -| `app_entitlement_id` | *str* | :heavy_check_mark: | N/A | -| `app_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `delete_automation_request` | [shared.DeleteAutomationRequest](../../models/shared/deleteautomationrequest.md) | :heavy_check_mark: | N/A | +| `app_entitlement_id` | *str* | :heavy_check_mark: | N/A | +| `app_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiappv1appentitlementsdeleterequest.md b/docs/models/operations/c1apiappv1appentitlementsdeleterequest.md index 66f5717f..4070230f 100644 --- a/docs/models/operations/c1apiappv1appentitlementsdeleterequest.md +++ b/docs/models/operations/c1apiappv1appentitlementsdeleterequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -| `delete_app_entitlement_request` | [Optional[shared.DeleteAppEntitlementRequest]](../../models/shared/deleteappentitlementrequest.md) | :heavy_minus_sign: | N/A | -| `app_id` | *str* | :heavy_check_mark: | N/A | -| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `delete_app_entitlement_request` | [shared.DeleteAppEntitlementRequest](../../models/shared/deleteappentitlementrequest.md) | :heavy_check_mark: | N/A | +| `app_id` | *str* | :heavy_check_mark: | N/A | +| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiappv1appentitlementsproxycreaterequest.md b/docs/models/operations/c1apiappv1appentitlementsproxycreaterequest.md index a13aeef7..32455692 100644 --- a/docs/models/operations/c1apiappv1appentitlementsproxycreaterequest.md +++ b/docs/models/operations/c1apiappv1appentitlementsproxycreaterequest.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | -| `create_app_entitlement_proxy_request` | [Optional[shared.CreateAppEntitlementProxyRequest]](../../models/shared/createappentitlementproxyrequest.md) | :heavy_minus_sign: | N/A | -| `dst_app_entitlement_id` | *str* | :heavy_check_mark: | N/A | -| `dst_app_id` | *str* | :heavy_check_mark: | N/A | -| `src_app_entitlement_id` | *str* | :heavy_check_mark: | N/A | -| `src_app_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `create_app_entitlement_proxy_request` | [shared.CreateAppEntitlementProxyRequest](../../models/shared/createappentitlementproxyrequest.md) | :heavy_check_mark: | N/A | +| `dst_app_entitlement_id` | *str* | :heavy_check_mark: | N/A | +| `dst_app_id` | *str* | :heavy_check_mark: | N/A | +| `src_app_entitlement_id` | *str* | :heavy_check_mark: | N/A | +| `src_app_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiappv1appentitlementsproxydeleterequest.md b/docs/models/operations/c1apiappv1appentitlementsproxydeleterequest.md index 7c0eacaf..0b312b62 100644 --- a/docs/models/operations/c1apiappv1appentitlementsproxydeleterequest.md +++ b/docs/models/operations/c1apiappv1appentitlementsproxydeleterequest.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | -| `delete_app_entitlement_proxy_request` | [Optional[shared.DeleteAppEntitlementProxyRequest]](../../models/shared/deleteappentitlementproxyrequest.md) | :heavy_minus_sign: | N/A | -| `dst_app_entitlement_id` | *str* | :heavy_check_mark: | N/A | -| `dst_app_id` | *str* | :heavy_check_mark: | N/A | -| `src_app_entitlement_id` | *str* | :heavy_check_mark: | N/A | -| `src_app_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `delete_app_entitlement_proxy_request` | [shared.DeleteAppEntitlementProxyRequest](../../models/shared/deleteappentitlementproxyrequest.md) | :heavy_check_mark: | N/A | +| `dst_app_entitlement_id` | *str* | :heavy_check_mark: | N/A | +| `dst_app_id` | *str* | :heavy_check_mark: | N/A | +| `src_app_entitlement_id` | *str* | :heavy_check_mark: | N/A | +| `src_app_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiappv1appentitlementsremoveautomationexclusionrequest.md b/docs/models/operations/c1apiappv1appentitlementsremoveautomationexclusionrequest.md index 15fe8044..c51d3770 100644 --- a/docs/models/operations/c1apiappv1appentitlementsremoveautomationexclusionrequest.md +++ b/docs/models/operations/c1apiappv1appentitlementsremoveautomationexclusionrequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | -| `remove_automation_exclusion_request` | [Optional[shared.RemoveAutomationExclusionRequest]](../../models/shared/removeautomationexclusionrequest.md) | :heavy_minus_sign: | N/A | -| `app_entitlement_id` | *str* | :heavy_check_mark: | N/A | -| `app_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `remove_automation_exclusion_request` | [shared.RemoveAutomationExclusionRequest](../../models/shared/removeautomationexclusionrequest.md) | :heavy_check_mark: | N/A | +| `app_entitlement_id` | *str* | :heavy_check_mark: | N/A | +| `app_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiappv1appentitlementsremoveentitlementmembershiprequest.md b/docs/models/operations/c1apiappv1appentitlementsremoveentitlementmembershiprequest.md index d9390bc8..1423d4ef 100644 --- a/docs/models/operations/c1apiappv1appentitlementsremoveentitlementmembershiprequest.md +++ b/docs/models/operations/c1apiappv1appentitlementsremoveentitlementmembershiprequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | -| `remove_entitlement_membership_request` | [Optional[shared.RemoveEntitlementMembershipRequest]](../../models/shared/removeentitlementmembershiprequest.md) | :heavy_minus_sign: | N/A | -| `app_entitlement_id` | *str* | :heavy_check_mark: | N/A | -| `app_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `remove_entitlement_membership_request` | [shared.RemoveEntitlementMembershipRequest](../../models/shared/removeentitlementmembershiprequest.md) | :heavy_check_mark: | N/A | +| `app_entitlement_id` | *str* | :heavy_check_mark: | N/A | +| `app_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiappv1appentitlementsupdateautomationrequest.md b/docs/models/operations/c1apiappv1appentitlementsupdateautomationrequest.md index 0a9d6a87..d9b5d583 100644 --- a/docs/models/operations/c1apiappv1appentitlementsupdateautomationrequest.md +++ b/docs/models/operations/c1apiappv1appentitlementsupdateautomationrequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | -| `app_entitlement_service_update_automation_request` | [Optional[shared.AppEntitlementServiceUpdateAutomationRequest]](../../models/shared/appentitlementserviceupdateautomationrequest.md) | :heavy_minus_sign: | N/A | -| `app_entitlement_id` | *str* | :heavy_check_mark: | N/A | -| `app_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | +| `app_entitlement_service_update_automation_request` | [shared.AppEntitlementServiceUpdateAutomationRequest](../../models/shared/appentitlementserviceupdateautomationrequest.md) | :heavy_check_mark: | N/A | +| `app_entitlement_id` | *str* | :heavy_check_mark: | N/A | +| `app_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiappv1appentitlementsupdaterequest.md b/docs/models/operations/c1apiappv1appentitlementsupdaterequest.md index a6e71098..b10e1806 100644 --- a/docs/models/operations/c1apiappv1appentitlementsupdaterequest.md +++ b/docs/models/operations/c1apiappv1appentitlementsupdaterequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -| `update_app_entitlement_request` | [Optional[shared.UpdateAppEntitlementRequest]](../../models/shared/updateappentitlementrequest.md) | :heavy_minus_sign: | N/A | -| `app_id` | *str* | :heavy_check_mark: | N/A | -| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `update_app_entitlement_request` | [shared.UpdateAppEntitlementRequest](../../models/shared/updateappentitlementrequest.md) | :heavy_check_mark: | N/A | +| `app_id` | *str* | :heavy_check_mark: | N/A | +| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiappv1appentitlementuserbindingserviceremovegrantdurationrequest.md b/docs/models/operations/c1apiappv1appentitlementuserbindingserviceremovegrantdurationrequest.md index 8991c130..92cdd52c 100644 --- a/docs/models/operations/c1apiappv1appentitlementuserbindingserviceremovegrantdurationrequest.md +++ b/docs/models/operations/c1apiappv1appentitlementuserbindingserviceremovegrantdurationrequest.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | -| `remove_grant_duration_request` | [Optional[shared.RemoveGrantDurationRequest]](../../models/shared/removegrantdurationrequest.md) | :heavy_minus_sign: | N/A | -| `app_entitlement_id` | *str* | :heavy_check_mark: | N/A | -| `app_id` | *str* | :heavy_check_mark: | N/A | -| `app_user_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `remove_grant_duration_request` | [shared.RemoveGrantDurationRequest](../../models/shared/removegrantdurationrequest.md) | :heavy_check_mark: | N/A | +| `app_entitlement_id` | *str* | :heavy_check_mark: | N/A | +| `app_id` | *str* | :heavy_check_mark: | N/A | +| `app_user_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiappv1appentitlementuserbindingserviceupdategrantdurationrequest.md b/docs/models/operations/c1apiappv1appentitlementuserbindingserviceupdategrantdurationrequest.md index 53c8a0fe..2d93a72a 100644 --- a/docs/models/operations/c1apiappv1appentitlementuserbindingserviceupdategrantdurationrequest.md +++ b/docs/models/operations/c1apiappv1appentitlementuserbindingserviceupdategrantdurationrequest.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | -| `update_grant_duration_request` | [Optional[shared.UpdateGrantDurationRequest]](../../models/shared/updategrantdurationrequest.md) | :heavy_minus_sign: | N/A | -| `app_entitlement_id` | *str* | :heavy_check_mark: | N/A | -| `app_id` | *str* | :heavy_check_mark: | N/A | -| `app_user_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `update_grant_duration_request` | [shared.UpdateGrantDurationRequest](../../models/shared/updategrantdurationrequest.md) | :heavy_check_mark: | N/A | +| `app_entitlement_id` | *str* | :heavy_check_mark: | N/A | +| `app_id` | *str* | :heavy_check_mark: | N/A | +| `app_user_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiappv1appownersaddrequest.md b/docs/models/operations/c1apiappv1appownersaddrequest.md index c6571f09..1070b506 100644 --- a/docs/models/operations/c1apiappv1appownersaddrequest.md +++ b/docs/models/operations/c1apiappv1appownersaddrequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -| `add_app_owner_request` | [Optional[shared.AddAppOwnerRequest]](../../models/shared/addappownerrequest.md) | :heavy_minus_sign: | N/A | -| `app_id` | *str* | :heavy_check_mark: | N/A | -| `user_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `add_app_owner_request` | [shared.AddAppOwnerRequest](../../models/shared/addappownerrequest.md) | :heavy_check_mark: | N/A | +| `app_id` | *str* | :heavy_check_mark: | N/A | +| `user_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiappv1appownersdeleterequest.md b/docs/models/operations/c1apiappv1appownersdeleterequest.md index 49876533..4fd19648 100644 --- a/docs/models/operations/c1apiappv1appownersdeleterequest.md +++ b/docs/models/operations/c1apiappv1appownersdeleterequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `delete_app_owners_request` | [Optional[shared.DeleteAppOwnersRequest]](../../models/shared/deleteappownersrequest.md) | :heavy_minus_sign: | N/A | -| `app_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `delete_app_owners_request` | [shared.DeleteAppOwnersRequest](../../models/shared/deleteappownersrequest.md) | :heavy_check_mark: | N/A | +| `app_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiappv1appownersremoverequest.md b/docs/models/operations/c1apiappv1appownersremoverequest.md index 158e74c4..a0d4fc2e 100644 --- a/docs/models/operations/c1apiappv1appownersremoverequest.md +++ b/docs/models/operations/c1apiappv1appownersremoverequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -| `remove_app_owner_request` | [Optional[shared.RemoveAppOwnerRequest]](../../models/shared/removeappownerrequest.md) | :heavy_minus_sign: | N/A | -| `app_id` | *str* | :heavy_check_mark: | N/A | -| `user_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `remove_app_owner_request` | [shared.RemoveAppOwnerRequest](../../models/shared/removeappownerrequest.md) | :heavy_check_mark: | N/A | +| `app_id` | *str* | :heavy_check_mark: | N/A | +| `user_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiappv1appownerssetrequest.md b/docs/models/operations/c1apiappv1appownerssetrequest.md index 34518166..abbd8787 100644 --- a/docs/models/operations/c1apiappv1appownerssetrequest.md +++ b/docs/models/operations/c1apiappv1appownerssetrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | -| `set_app_owners_request` | [Optional[shared.SetAppOwnersRequest]](../../models/shared/setappownersrequest.md) | :heavy_minus_sign: | N/A | -| `app_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `set_app_owners_request` | [shared.SetAppOwnersRequest](../../models/shared/setappownersrequest.md) | :heavy_check_mark: | N/A | +| `app_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiappv1appreportactionservicegeneratereportrequest.md b/docs/models/operations/c1apiappv1appreportactionservicegeneratereportrequest.md index d0094752..d64cb980 100644 --- a/docs/models/operations/c1apiappv1appreportactionservicegeneratereportrequest.md +++ b/docs/models/operations/c1apiappv1appreportactionservicegeneratereportrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | -| `app_actions_service_generate_report_request` | [Optional[shared.AppActionsServiceGenerateReportRequest]](../../models/shared/appactionsservicegeneratereportrequest.md) | :heavy_minus_sign: | N/A | -| `app_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | +| `app_actions_service_generate_report_request` | [shared.AppActionsServiceGenerateReportRequest](../../models/shared/appactionsservicegeneratereportrequest.md) | :heavy_check_mark: | N/A | +| `app_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiappv1appresourceownersaddrequest.md b/docs/models/operations/c1apiappv1appresourceownersaddrequest.md index 906df379..8d99653d 100644 --- a/docs/models/operations/c1apiappv1appresourceownersaddrequest.md +++ b/docs/models/operations/c1apiappv1appresourceownersaddrequest.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | -| `add_app_resource_owner_request` | [Optional[shared.AddAppResourceOwnerRequest]](../../models/shared/addappresourceownerrequest.md) | :heavy_minus_sign: | N/A | -| `app_id` | *str* | :heavy_check_mark: | N/A | -| `resource_id` | *str* | :heavy_check_mark: | N/A | -| `resource_type_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `add_app_resource_owner_request` | [shared.AddAppResourceOwnerRequest](../../models/shared/addappresourceownerrequest.md) | :heavy_check_mark: | N/A | +| `app_id` | *str* | :heavy_check_mark: | N/A | +| `resource_id` | *str* | :heavy_check_mark: | N/A | +| `resource_type_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiappv1appresourceownersdeleterequest.md b/docs/models/operations/c1apiappv1appresourceownersdeleterequest.md index d084b922..a80e4c36 100644 --- a/docs/models/operations/c1apiappv1appresourceownersdeleterequest.md +++ b/docs/models/operations/c1apiappv1appresourceownersdeleterequest.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -| `delete_app_resource_owners_request` | [Optional[shared.DeleteAppResourceOwnersRequest]](../../models/shared/deleteappresourceownersrequest.md) | :heavy_minus_sign: | N/A | -| `app_id` | *str* | :heavy_check_mark: | N/A | -| `resource_id` | *str* | :heavy_check_mark: | N/A | -| `resource_type_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `delete_app_resource_owners_request` | [shared.DeleteAppResourceOwnersRequest](../../models/shared/deleteappresourceownersrequest.md) | :heavy_check_mark: | N/A | +| `app_id` | *str* | :heavy_check_mark: | N/A | +| `resource_id` | *str* | :heavy_check_mark: | N/A | +| `resource_type_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiappv1appresourceownersremoverequest.md b/docs/models/operations/c1apiappv1appresourceownersremoverequest.md index 191253c6..1b1a6e25 100644 --- a/docs/models/operations/c1apiappv1appresourceownersremoverequest.md +++ b/docs/models/operations/c1apiappv1appresourceownersremoverequest.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | -| `remove_app_resource_owner_request` | [Optional[shared.RemoveAppResourceOwnerRequest]](../../models/shared/removeappresourceownerrequest.md) | :heavy_minus_sign: | N/A | -| `app_id` | *str* | :heavy_check_mark: | N/A | -| `resource_id` | *str* | :heavy_check_mark: | N/A | -| `resource_type_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `remove_app_resource_owner_request` | [shared.RemoveAppResourceOwnerRequest](../../models/shared/removeappresourceownerrequest.md) | :heavy_check_mark: | N/A | +| `app_id` | *str* | :heavy_check_mark: | N/A | +| `resource_id` | *str* | :heavy_check_mark: | N/A | +| `resource_type_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiappv1appresourceownerssetrequest.md b/docs/models/operations/c1apiappv1appresourceownerssetrequest.md index 4b01c73b..10422dfc 100644 --- a/docs/models/operations/c1apiappv1appresourceownerssetrequest.md +++ b/docs/models/operations/c1apiappv1appresourceownerssetrequest.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -| `set_app_resource_owners_request` | [Optional[shared.SetAppResourceOwnersRequest]](../../models/shared/setappresourceownersrequest.md) | :heavy_minus_sign: | N/A | -| `app_id` | *str* | :heavy_check_mark: | N/A | -| `resource_id` | *str* | :heavy_check_mark: | N/A | -| `resource_type_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `set_app_resource_owners_request` | [shared.SetAppResourceOwnersRequest](../../models/shared/setappresourceownersrequest.md) | :heavy_check_mark: | N/A | +| `app_id` | *str* | :heavy_check_mark: | N/A | +| `resource_id` | *str* | :heavy_check_mark: | N/A | +| `resource_type_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiappv1appresourceservicecreatemanuallymanagedappresourcerequest.md b/docs/models/operations/c1apiappv1appresourceservicecreatemanuallymanagedappresourcerequest.md index 1ac21f83..897b6220 100644 --- a/docs/models/operations/c1apiappv1appresourceservicecreatemanuallymanagedappresourcerequest.md +++ b/docs/models/operations/c1apiappv1appresourceservicecreatemanuallymanagedappresourcerequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -| `create_manually_managed_app_resource_request` | [Optional[shared.CreateManuallyManagedAppResourceRequest]](../../models/shared/createmanuallymanagedappresourcerequest.md) | :heavy_minus_sign: | N/A | -| `app_id` | *str* | :heavy_check_mark: | N/A | -| `app_resource_type_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| `create_manually_managed_app_resource_request` | [shared.CreateManuallyManagedAppResourceRequest](../../models/shared/createmanuallymanagedappresourcerequest.md) | :heavy_check_mark: | N/A | +| `app_id` | *str* | :heavy_check_mark: | N/A | +| `app_resource_type_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiappv1appresourceservicedeletemanuallymanagedappresourcerequest.md b/docs/models/operations/c1apiappv1appresourceservicedeletemanuallymanagedappresourcerequest.md index b4cd11fd..16c566d3 100644 --- a/docs/models/operations/c1apiappv1appresourceservicedeletemanuallymanagedappresourcerequest.md +++ b/docs/models/operations/c1apiappv1appresourceservicedeletemanuallymanagedappresourcerequest.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -| `delete_manually_managed_app_resource_request` | [Optional[shared.DeleteManuallyManagedAppResourceRequest]](../../models/shared/deletemanuallymanagedappresourcerequest.md) | :heavy_minus_sign: | N/A | -| `app_id` | *str* | :heavy_check_mark: | N/A | -| `app_resource_type_id` | *str* | :heavy_check_mark: | N/A | -| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| `delete_manually_managed_app_resource_request` | [shared.DeleteManuallyManagedAppResourceRequest](../../models/shared/deletemanuallymanagedappresourcerequest.md) | :heavy_check_mark: | N/A | +| `app_id` | *str* | :heavy_check_mark: | N/A | +| `app_resource_type_id` | *str* | :heavy_check_mark: | N/A | +| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiappv1appresourceserviceupdaterequest.md b/docs/models/operations/c1apiappv1appresourceserviceupdaterequest.md index 3d9818ab..f0334557 100644 --- a/docs/models/operations/c1apiappv1appresourceserviceupdaterequest.md +++ b/docs/models/operations/c1apiappv1appresourceserviceupdaterequest.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | -| `app_resource_service_update_request` | [Optional[shared.AppResourceServiceUpdateRequest]](../../models/shared/appresourceserviceupdaterequest.md) | :heavy_minus_sign: | N/A | -| `app_id` | *str* | :heavy_check_mark: | N/A | -| `app_resource_type_id` | *str* | :heavy_check_mark: | N/A | -| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `app_resource_service_update_request` | [shared.AppResourceServiceUpdateRequest](../../models/shared/appresourceserviceupdaterequest.md) | :heavy_check_mark: | N/A | +| `app_id` | *str* | :heavy_check_mark: | N/A | +| `app_resource_type_id` | *str* | :heavy_check_mark: | N/A | +| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiappv1appresourcetypeservicecreatemanuallymanagedresourcetyperequest.md b/docs/models/operations/c1apiappv1appresourcetypeservicecreatemanuallymanagedresourcetyperequest.md index 82958002..620090ab 100644 --- a/docs/models/operations/c1apiappv1appresourcetypeservicecreatemanuallymanagedresourcetyperequest.md +++ b/docs/models/operations/c1apiappv1appresourcetypeservicecreatemanuallymanagedresourcetyperequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | -| `create_manually_managed_resource_type_request` | [Optional[shared.CreateManuallyManagedResourceTypeRequest]](../../models/shared/createmanuallymanagedresourcetyperequest.md) | :heavy_minus_sign: | N/A | -| `app_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | +| `create_manually_managed_resource_type_request` | [shared.CreateManuallyManagedResourceTypeRequest](../../models/shared/createmanuallymanagedresourcetyperequest.md) | :heavy_check_mark: | N/A | +| `app_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiappv1appresourcetypeservicedeletemanuallymanagedresourcetyperequest.md b/docs/models/operations/c1apiappv1appresourcetypeservicedeletemanuallymanagedresourcetyperequest.md index 6e08ecca..231e11ed 100644 --- a/docs/models/operations/c1apiappv1appresourcetypeservicedeletemanuallymanagedresourcetyperequest.md +++ b/docs/models/operations/c1apiappv1appresourcetypeservicedeletemanuallymanagedresourcetyperequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | -| `delete_manually_managed_resource_type_request` | [Optional[shared.DeleteManuallyManagedResourceTypeRequest]](../../models/shared/deletemanuallymanagedresourcetyperequest.md) | :heavy_minus_sign: | N/A | -| `app_id` | *str* | :heavy_check_mark: | N/A | -| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | +| `delete_manually_managed_resource_type_request` | [shared.DeleteManuallyManagedResourceTypeRequest](../../models/shared/deletemanuallymanagedresourcetyperequest.md) | :heavy_check_mark: | N/A | +| `app_id` | *str* | :heavy_check_mark: | N/A | +| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiappv1appresourcetypeserviceupdatemanuallymanagedresourcetyperequest.md b/docs/models/operations/c1apiappv1appresourcetypeserviceupdatemanuallymanagedresourcetyperequest.md index c98536a9..e7677aed 100644 --- a/docs/models/operations/c1apiappv1appresourcetypeserviceupdatemanuallymanagedresourcetyperequest.md +++ b/docs/models/operations/c1apiappv1appresourcetypeserviceupdatemanuallymanagedresourcetyperequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | -| `update_manually_managed_resource_type_request` | [Optional[shared.UpdateManuallyManagedResourceTypeRequest]](../../models/shared/updatemanuallymanagedresourcetyperequest.md) | :heavy_minus_sign: | N/A | -| `app_id` | *str* | :heavy_check_mark: | N/A | -| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | +| `update_manually_managed_resource_type_request` | [shared.UpdateManuallyManagedResourceTypeRequest](../../models/shared/updatemanuallymanagedresourcetyperequest.md) | :heavy_check_mark: | N/A | +| `app_id` | *str* | :heavy_check_mark: | N/A | +| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiappv1appsdeleterequest.md b/docs/models/operations/c1apiappv1appsdeleterequest.md index a595c946..f9fcf5f2 100644 --- a/docs/models/operations/c1apiappv1appsdeleterequest.md +++ b/docs/models/operations/c1apiappv1appsdeleterequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `delete_app_request` | [Optional[shared.DeleteAppRequest]](../../models/shared/deleteapprequest.md) | :heavy_minus_sign: | N/A | -| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `delete_app_request` | [shared.DeleteAppRequest](../../models/shared/deleteapprequest.md) | :heavy_check_mark: | N/A | +| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiappv1appsupdaterequest.md b/docs/models/operations/c1apiappv1appsupdaterequest.md index 78ed5fbc..5ce382f1 100644 --- a/docs/models/operations/c1apiappv1appsupdaterequest.md +++ b/docs/models/operations/c1apiappv1appsupdaterequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `update_app_request` | [Optional[shared.UpdateAppRequest]](../../models/shared/updateapprequest.md) | :heavy_minus_sign: | N/A | -| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `update_app_request` | [shared.UpdateAppRequest](../../models/shared/updateapprequest.md) | :heavy_check_mark: | N/A | +| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiappv1appusagecontrolsserviceupdaterequest.md b/docs/models/operations/c1apiappv1appusagecontrolsserviceupdaterequest.md index bb8bf612..0a20829c 100644 --- a/docs/models/operations/c1apiappv1appusagecontrolsserviceupdaterequest.md +++ b/docs/models/operations/c1apiappv1appusagecontrolsserviceupdaterequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | -| `update_app_usage_controls_request` | [Optional[shared.UpdateAppUsageControlsRequest]](../../models/shared/updateappusagecontrolsrequest.md) | :heavy_minus_sign: | N/A | -| `app_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `update_app_usage_controls_request` | [shared.UpdateAppUsageControlsRequest](../../models/shared/updateappusagecontrolsrequest.md) | :heavy_check_mark: | N/A | +| `app_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiappv1appuserserviceupdaterequest.md b/docs/models/operations/c1apiappv1appuserserviceupdaterequest.md index 12646562..661ef485 100644 --- a/docs/models/operations/c1apiappv1appuserserviceupdaterequest.md +++ b/docs/models/operations/c1apiappv1appuserserviceupdaterequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -| `app_user_service_update_request` | [Optional[shared.AppUserServiceUpdateRequest]](../../models/shared/appuserserviceupdaterequest.md) | :heavy_minus_sign: | N/A | -| `app_user_app_id` | *str* | :heavy_check_mark: | N/A | -| `app_user_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `app_user_service_update_request` | [shared.AppUserServiceUpdateRequest](../../models/shared/appuserserviceupdaterequest.md) | :heavy_check_mark: | N/A | +| `app_user_app_id` | *str* | :heavy_check_mark: | N/A | +| `app_user_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiappv1connectorserviceconfirmsyncvalidrequest.md b/docs/models/operations/c1apiappv1connectorserviceconfirmsyncvalidrequest.md index 798ba04d..6ec8506b 100644 --- a/docs/models/operations/c1apiappv1connectorserviceconfirmsyncvalidrequest.md +++ b/docs/models/operations/c1apiappv1connectorserviceconfirmsyncvalidrequest.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | -| `confirm_sync_valid_request` | [Optional[shared.ConfirmSyncValidRequest]](../../models/shared/confirmsyncvalidrequest.md) | :heavy_minus_sign: | N/A | -| `app_id` | *str* | :heavy_check_mark: | N/A | -| `connector_id` | *str* | :heavy_check_mark: | N/A | -| `sync_lifecycle_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `confirm_sync_valid_request` | [shared.ConfirmSyncValidRequest](../../models/shared/confirmsyncvalidrequest.md) | :heavy_check_mark: | N/A | +| `app_id` | *str* | :heavy_check_mark: | N/A | +| `connector_id` | *str* | :heavy_check_mark: | N/A | +| `sync_lifecycle_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiappv1connectorservicecreatedelegatedrequest.md b/docs/models/operations/c1apiappv1connectorservicecreatedelegatedrequest.md index c2c5246f..263bbda1 100644 --- a/docs/models/operations/c1apiappv1connectorservicecreatedelegatedrequest.md +++ b/docs/models/operations/c1apiappv1connectorservicecreatedelegatedrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | -| `connector_service_create_delegated_request` | [Optional[shared.ConnectorServiceCreateDelegatedRequest]](../../models/shared/connectorservicecreatedelegatedrequest.md) | :heavy_minus_sign: | N/A | -| `app_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | +| `connector_service_create_delegated_request` | [shared.ConnectorServiceCreateDelegatedRequest](../../models/shared/connectorservicecreatedelegatedrequest.md) | :heavy_check_mark: | N/A | +| `app_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiappv1connectorservicecreaterequest.md b/docs/models/operations/c1apiappv1connectorservicecreaterequest.md index 4fff8d17..7cd40869 100644 --- a/docs/models/operations/c1apiappv1connectorservicecreaterequest.md +++ b/docs/models/operations/c1apiappv1connectorservicecreaterequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | -| `connector_service_create_request` | [Optional[shared.ConnectorServiceCreateRequest]](../../models/shared/connectorservicecreaterequest.md) | :heavy_minus_sign: | N/A | -| `app_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `connector_service_create_request` | [shared.ConnectorServiceCreateRequest](../../models/shared/connectorservicecreaterequest.md) | :heavy_check_mark: | N/A | +| `app_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiappv1connectorservicedeleterequest.md b/docs/models/operations/c1apiappv1connectorservicedeleterequest.md index e706c270..c9c70644 100644 --- a/docs/models/operations/c1apiappv1connectorservicedeleterequest.md +++ b/docs/models/operations/c1apiappv1connectorservicedeleterequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | -| `connector_service_delete_request` | [Optional[shared.ConnectorServiceDeleteRequest]](../../models/shared/connectorservicedeleterequest.md) | :heavy_minus_sign: | N/A | -| `app_id` | *str* | :heavy_check_mark: | N/A | -| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `connector_service_delete_request` | [shared.ConnectorServiceDeleteRequest](../../models/shared/connectorservicedeleterequest.md) | :heavy_check_mark: | N/A | +| `app_id` | *str* | :heavy_check_mark: | N/A | +| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiappv1connectorserviceforcesyncrequest.md b/docs/models/operations/c1apiappv1connectorserviceforcesyncrequest.md index e5d4a4f7..633f84ca 100644 --- a/docs/models/operations/c1apiappv1connectorserviceforcesyncrequest.md +++ b/docs/models/operations/c1apiappv1connectorserviceforcesyncrequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `force_sync_request` | [Optional[shared.ForceSyncRequest]](../../models/shared/forcesyncrequest.md) | :heavy_minus_sign: | N/A | -| `app_id` | *str* | :heavy_check_mark: | N/A | -| `connector_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `force_sync_request` | [shared.ForceSyncRequest](../../models/shared/forcesyncrequest.md) | :heavy_check_mark: | N/A | +| `app_id` | *str* | :heavy_check_mark: | N/A | +| `connector_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiappv1connectorservicepausesyncrequest.md b/docs/models/operations/c1apiappv1connectorservicepausesyncrequest.md index 51b956a8..d2d731bf 100644 --- a/docs/models/operations/c1apiappv1connectorservicepausesyncrequest.md +++ b/docs/models/operations/c1apiappv1connectorservicepausesyncrequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `pause_sync_request` | [Optional[shared.PauseSyncRequest]](../../models/shared/pausesyncrequest.md) | :heavy_minus_sign: | N/A | -| `app_id` | *str* | :heavy_check_mark: | N/A | -| `connector_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `pause_sync_request` | [shared.PauseSyncRequest](../../models/shared/pausesyncrequest.md) | :heavy_check_mark: | N/A | +| `app_id` | *str* | :heavy_check_mark: | N/A | +| `connector_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiappv1connectorserviceresumesyncrequest.md b/docs/models/operations/c1apiappv1connectorserviceresumesyncrequest.md index 51f344e1..e2580bcc 100644 --- a/docs/models/operations/c1apiappv1connectorserviceresumesyncrequest.md +++ b/docs/models/operations/c1apiappv1connectorserviceresumesyncrequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `resume_sync_request` | [Optional[shared.ResumeSyncRequest]](../../models/shared/resumesyncrequest.md) | :heavy_minus_sign: | N/A | -| `app_id` | *str* | :heavy_check_mark: | N/A | -| `connector_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `resume_sync_request` | [shared.ResumeSyncRequest](../../models/shared/resumesyncrequest.md) | :heavy_check_mark: | N/A | +| `app_id` | *str* | :heavy_check_mark: | N/A | +| `connector_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiappv1connectorservicerevokecredentialrequest.md b/docs/models/operations/c1apiappv1connectorservicerevokecredentialrequest.md index 900c08a4..6df91299 100644 --- a/docs/models/operations/c1apiappv1connectorservicerevokecredentialrequest.md +++ b/docs/models/operations/c1apiappv1connectorservicerevokecredentialrequest.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -| `connector_service_revoke_credential_request` | [Optional[shared.ConnectorServiceRevokeCredentialRequest]](../../models/shared/connectorservicerevokecredentialrequest.md) | :heavy_minus_sign: | N/A | -| `app_id` | *str* | :heavy_check_mark: | N/A | -| `connector_id` | *str* | :heavy_check_mark: | N/A | -| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| `connector_service_revoke_credential_request` | [shared.ConnectorServiceRevokeCredentialRequest](../../models/shared/connectorservicerevokecredentialrequest.md) | :heavy_check_mark: | N/A | +| `app_id` | *str* | :heavy_check_mark: | N/A | +| `connector_id` | *str* | :heavy_check_mark: | N/A | +| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiappv1connectorserviceupdatedelegatedrequest.md b/docs/models/operations/c1apiappv1connectorserviceupdatedelegatedrequest.md index 05dcc17f..db924575 100644 --- a/docs/models/operations/c1apiappv1connectorserviceupdatedelegatedrequest.md +++ b/docs/models/operations/c1apiappv1connectorserviceupdatedelegatedrequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | -| `connector_service_update_delegated_request` | [Optional[shared.ConnectorServiceUpdateDelegatedRequest]](../../models/shared/connectorserviceupdatedelegatedrequest.md) | :heavy_minus_sign: | N/A | -| `connector_app_id` | *str* | :heavy_check_mark: | N/A | -| `connector_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | +| `connector_service_update_delegated_request` | [shared.ConnectorServiceUpdateDelegatedRequest](../../models/shared/connectorserviceupdatedelegatedrequest.md) | :heavy_check_mark: | N/A | +| `connector_app_id` | *str* | :heavy_check_mark: | N/A | +| `connector_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiappv1connectorserviceupdaterequest.md b/docs/models/operations/c1apiappv1connectorserviceupdaterequest.md index 34c2c4e4..41aa5ca8 100644 --- a/docs/models/operations/c1apiappv1connectorserviceupdaterequest.md +++ b/docs/models/operations/c1apiappv1connectorserviceupdaterequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | -| `connector_service_update_request` | [Optional[shared.ConnectorServiceUpdateRequest]](../../models/shared/connectorserviceupdaterequest.md) | :heavy_minus_sign: | N/A | -| `app_id` | *str* | :heavy_check_mark: | N/A | -| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `connector_service_update_request` | [shared.ConnectorServiceUpdateRequest](../../models/shared/connectorserviceupdaterequest.md) | :heavy_check_mark: | N/A | +| `app_id` | *str* | :heavy_check_mark: | N/A | +| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiattributev1attributesdeleteattributevaluerequest.md b/docs/models/operations/c1apiattributev1attributesdeleteattributevaluerequest.md index af93f751..97bad2ff 100644 --- a/docs/models/operations/c1apiattributev1attributesdeleteattributevaluerequest.md +++ b/docs/models/operations/c1apiattributev1attributesdeleteattributevaluerequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -| `delete_attribute_value_request` | [Optional[shared.DeleteAttributeValueRequest]](../../models/shared/deleteattributevaluerequest.md) | :heavy_minus_sign: | N/A | -| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `delete_attribute_value_request` | [shared.DeleteAttributeValueRequest](../../models/shared/deleteattributevaluerequest.md) | :heavy_check_mark: | N/A | +| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiattributev1attributesdeletecomplianceframeworkattributevaluerequest.md b/docs/models/operations/c1apiattributev1attributesdeletecomplianceframeworkattributevaluerequest.md index f3c94cc1..bd185fe1 100644 --- a/docs/models/operations/c1apiattributev1attributesdeletecomplianceframeworkattributevaluerequest.md +++ b/docs/models/operations/c1apiattributev1attributesdeletecomplianceframeworkattributevaluerequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | -| `delete_compliance_framework_attribute_value_request` | [Optional[shared.DeleteComplianceFrameworkAttributeValueRequest]](../../models/shared/deletecomplianceframeworkattributevaluerequest.md) | :heavy_minus_sign: | N/A | -| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | +| `delete_compliance_framework_attribute_value_request` | [shared.DeleteComplianceFrameworkAttributeValueRequest](../../models/shared/deletecomplianceframeworkattributevaluerequest.md) | :heavy_check_mark: | N/A | +| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiattributev1attributesdeleterisklevelattributevaluerequest.md b/docs/models/operations/c1apiattributev1attributesdeleterisklevelattributevaluerequest.md index 2db02b41..531b9e54 100644 --- a/docs/models/operations/c1apiattributev1attributesdeleterisklevelattributevaluerequest.md +++ b/docs/models/operations/c1apiattributev1attributesdeleterisklevelattributevaluerequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -| `delete_risk_level_attribute_value_request` | [Optional[shared.DeleteRiskLevelAttributeValueRequest]](../../models/shared/deleterisklevelattributevaluerequest.md) | :heavy_minus_sign: | N/A | -| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | +| `delete_risk_level_attribute_value_request` | [shared.DeleteRiskLevelAttributeValueRequest](../../models/shared/deleterisklevelattributevaluerequest.md) | :heavy_check_mark: | N/A | +| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiautomationsv1automationexecutionactionsserviceterminateautomationrequest.md b/docs/models/operations/c1apiautomationsv1automationexecutionactionsserviceterminateautomationrequest.md index 6acf67a2..386227d4 100644 --- a/docs/models/operations/c1apiautomationsv1automationexecutionactionsserviceterminateautomationrequest.md +++ b/docs/models/operations/c1apiautomationsv1automationexecutionactionsserviceterminateautomationrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | -| `terminate_automation_request` | [Optional[shared.TerminateAutomationRequest]](../../models/shared/terminateautomationrequest.md) | :heavy_minus_sign: | N/A | -| `id` | *int* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `terminate_automation_request` | [shared.TerminateAutomationRequest](../../models/shared/terminateautomationrequest.md) | :heavy_check_mark: | N/A | +| `id` | *int* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiautomationsv1automationservicedeleteautomationrequest.md b/docs/models/operations/c1apiautomationsv1automationservicedeleteautomationrequest.md index 55103846..09b2cc7d 100644 --- a/docs/models/operations/c1apiautomationsv1automationservicedeleteautomationrequest.md +++ b/docs/models/operations/c1apiautomationsv1automationservicedeleteautomationrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | -| `delete_automation_request` | [Optional[shared.DeleteAutomationRequest]](../../models/shared/deleteautomationrequest.md) | :heavy_minus_sign: | N/A | -| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `delete_automation_request` | [shared.DeleteAutomationRequest](../../models/shared/deleteautomationrequest.md) | :heavy_check_mark: | N/A | +| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiautomationsv1automationserviceexecuteautomationrequest.md b/docs/models/operations/c1apiautomationsv1automationserviceexecuteautomationrequest.md index ab871bc6..a00e22d0 100644 --- a/docs/models/operations/c1apiautomationsv1automationserviceexecuteautomationrequest.md +++ b/docs/models/operations/c1apiautomationsv1automationserviceexecuteautomationrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -| `execute_automation_request` | [Optional[shared.ExecuteAutomationRequest]](../../models/shared/executeautomationrequest.md) | :heavy_minus_sign: | N/A | -| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `execute_automation_request` | [shared.ExecuteAutomationRequest](../../models/shared/executeautomationrequest.md) | :heavy_check_mark: | N/A | +| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiautomationsv1automationserviceupdateautomationrequest.md b/docs/models/operations/c1apiautomationsv1automationserviceupdateautomationrequest.md index 19f04762..aeb4c55b 100644 --- a/docs/models/operations/c1apiautomationsv1automationserviceupdateautomationrequest.md +++ b/docs/models/operations/c1apiautomationsv1automationserviceupdateautomationrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | -| `update_automation_request` | [Optional[shared.UpdateAutomationRequest]](../../models/shared/updateautomationrequest.md) | :heavy_minus_sign: | N/A | -| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `update_automation_request` | [shared.UpdateAutomationRequest](../../models/shared/updateautomationrequest.md) | :heavy_check_mark: | N/A | +| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apidirectoryv1directoryservicedeleterequest.md b/docs/models/operations/c1apidirectoryv1directoryservicedeleterequest.md index 3a4c4a24..eef30360 100644 --- a/docs/models/operations/c1apidirectoryv1directoryservicedeleterequest.md +++ b/docs/models/operations/c1apidirectoryv1directoryservicedeleterequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | -| `directory_service_delete_request` | [Optional[shared.DirectoryServiceDeleteRequest]](../../models/shared/directoryservicedeleterequest.md) | :heavy_minus_sign: | N/A | -| `app_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `directory_service_delete_request` | [shared.DirectoryServiceDeleteRequest](../../models/shared/directoryservicedeleterequest.md) | :heavy_check_mark: | N/A | +| `app_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apidirectoryv1directoryserviceupdaterequest.md b/docs/models/operations/c1apidirectoryv1directoryserviceupdaterequest.md index 60a123a1..4ec6168f 100644 --- a/docs/models/operations/c1apidirectoryv1directoryserviceupdaterequest.md +++ b/docs/models/operations/c1apidirectoryv1directoryserviceupdaterequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | -| `directory_service_update_request` | [Optional[shared.DirectoryServiceUpdateRequest]](../../models/shared/directoryserviceupdaterequest.md) | :heavy_minus_sign: | N/A | -| `app_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `directory_service_update_request` | [shared.DirectoryServiceUpdateRequest](../../models/shared/directoryserviceupdaterequest.md) | :heavy_check_mark: | N/A | +| `app_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apifunctionsv1functionsservicecommitrequest.md b/docs/models/operations/c1apifunctionsv1functionsservicecommitrequest.md index 940e11f5..52de89ff 100644 --- a/docs/models/operations/c1apifunctionsv1functionsservicecommitrequest.md +++ b/docs/models/operations/c1apifunctionsv1functionsservicecommitrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | -| `functions_service_commit_request` | [Optional[shared.FunctionsServiceCommitRequest]](../../models/shared/functionsservicecommitrequest.md) | :heavy_minus_sign: | N/A | -| `function_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `functions_service_commit_request` | [shared.FunctionsServiceCommitRequest](../../models/shared/functionsservicecommitrequest.md) | :heavy_check_mark: | N/A | +| `function_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apifunctionsv1functionsservicecreatetagrequest.md b/docs/models/operations/c1apifunctionsv1functionsservicecreatetagrequest.md index 0961bf36..cbcb8321 100644 --- a/docs/models/operations/c1apifunctionsv1functionsservicecreatetagrequest.md +++ b/docs/models/operations/c1apifunctionsv1functionsservicecreatetagrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | -| `functions_service_create_tag_request` | [Optional[shared.FunctionsServiceCreateTagRequest]](../../models/shared/functionsservicecreatetagrequest.md) | :heavy_minus_sign: | N/A | -| `function_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `functions_service_create_tag_request` | [shared.FunctionsServiceCreateTagRequest](../../models/shared/functionsservicecreatetagrequest.md) | :heavy_check_mark: | N/A | +| `function_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apifunctionsv1functionsservicedeletefunctionrequest.md b/docs/models/operations/c1apifunctionsv1functionsservicedeletefunctionrequest.md index 4e47cca6..c459bb27 100644 --- a/docs/models/operations/c1apifunctionsv1functionsservicedeletefunctionrequest.md +++ b/docs/models/operations/c1apifunctionsv1functionsservicedeletefunctionrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | -| `functions_service_delete_function_request` | [Optional[shared.FunctionsServiceDeleteFunctionRequest]](../../models/shared/functionsservicedeletefunctionrequest.md) | :heavy_minus_sign: | N/A | -| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `functions_service_delete_function_request` | [shared.FunctionsServiceDeleteFunctionRequest](../../models/shared/functionsservicedeletefunctionrequest.md) | :heavy_check_mark: | N/A | +| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apifunctionsv1functionsserviceinvokerequest.md b/docs/models/operations/c1apifunctionsv1functionsserviceinvokerequest.md index a96c2edd..86bb8a51 100644 --- a/docs/models/operations/c1apifunctionsv1functionsserviceinvokerequest.md +++ b/docs/models/operations/c1apifunctionsv1functionsserviceinvokerequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | -| `functions_service_invoke_request` | [Optional[shared.FunctionsServiceInvokeRequest]](../../models/shared/functionsserviceinvokerequest.md) | :heavy_minus_sign: | N/A | -| `function_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `functions_service_invoke_request` | [shared.FunctionsServiceInvokeRequest](../../models/shared/functionsserviceinvokerequest.md) | :heavy_check_mark: | N/A | +| `function_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiiamv1personalclientservicedeleterequest.md b/docs/models/operations/c1apiiamv1personalclientservicedeleterequest.md index 54081204..00cb519e 100644 --- a/docs/models/operations/c1apiiamv1personalclientservicedeleterequest.md +++ b/docs/models/operations/c1apiiamv1personalclientservicedeleterequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | -| `personal_client_service_delete_request` | [Optional[shared.PersonalClientServiceDeleteRequest]](../../models/shared/personalclientservicedeleterequest.md) | :heavy_minus_sign: | N/A | -| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `personal_client_service_delete_request` | [shared.PersonalClientServiceDeleteRequest](../../models/shared/personalclientservicedeleterequest.md) | :heavy_check_mark: | N/A | +| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiiamv1personalclientserviceupdaterequest.md b/docs/models/operations/c1apiiamv1personalclientserviceupdaterequest.md index c888c5d6..8066b85b 100644 --- a/docs/models/operations/c1apiiamv1personalclientserviceupdaterequest.md +++ b/docs/models/operations/c1apiiamv1personalclientserviceupdaterequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | -| `personal_client_service_update_request` | [Optional[shared.PersonalClientServiceUpdateRequest]](../../models/shared/personalclientserviceupdaterequest.md) | :heavy_minus_sign: | N/A | -| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `personal_client_service_update_request` | [shared.PersonalClientServiceUpdateRequest](../../models/shared/personalclientserviceupdaterequest.md) | :heavy_check_mark: | N/A | +| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiiamv1rolesupdaterequest.md b/docs/models/operations/c1apiiamv1rolesupdaterequest.md index 4203ec85..87d11f9c 100644 --- a/docs/models/operations/c1apiiamv1rolesupdaterequest.md +++ b/docs/models/operations/c1apiiamv1rolesupdaterequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `update_role_request` | [Optional[shared.UpdateRoleRequest]](../../models/shared/updaterolerequest.md) | :heavy_minus_sign: | N/A | -| `role_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `update_role_request` | [shared.UpdateRoleRequest](../../models/shared/updaterolerequest.md) | :heavy_check_mark: | N/A | +| `role_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apipolicyv1policiesdeleterequest.md b/docs/models/operations/c1apipolicyv1policiesdeleterequest.md index 6ab314bd..3fac823b 100644 --- a/docs/models/operations/c1apipolicyv1policiesdeleterequest.md +++ b/docs/models/operations/c1apipolicyv1policiesdeleterequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | -| `delete_policy_request` | [Optional[shared.DeletePolicyRequest]](../../models/shared/deletepolicyrequest.md) | :heavy_minus_sign: | N/A | -| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `delete_policy_request` | [shared.DeletePolicyRequest](../../models/shared/deletepolicyrequest.md) | :heavy_check_mark: | N/A | +| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apipolicyv1policiesupdaterequest.md b/docs/models/operations/c1apipolicyv1policiesupdaterequest.md index 6795a31d..0b6fd7b8 100644 --- a/docs/models/operations/c1apipolicyv1policiesupdaterequest.md +++ b/docs/models/operations/c1apipolicyv1policiesupdaterequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | -| `update_policy_request` | [Optional[shared.UpdatePolicyRequest]](../../models/shared/updatepolicyrequest.md) | :heavy_minus_sign: | N/A | -| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `update_policy_request` | [shared.UpdatePolicyRequest](../../models/shared/updatepolicyrequest.md) | :heavy_check_mark: | N/A | +| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apirequestcatalogv1requestcatalogmanagementserviceaddaccessentitlementsrequest.md b/docs/models/operations/c1apirequestcatalogv1requestcatalogmanagementserviceaddaccessentitlementsrequest.md index a534b0da..12c343dd 100644 --- a/docs/models/operations/c1apirequestcatalogv1requestcatalogmanagementserviceaddaccessentitlementsrequest.md +++ b/docs/models/operations/c1apirequestcatalogv1requestcatalogmanagementserviceaddaccessentitlementsrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request_catalog_management_service_add_access_entitlements_request` | [Optional[shared.RequestCatalogManagementServiceAddAccessEntitlementsRequest]](../../models/shared/requestcatalogmanagementserviceaddaccessentitlementsrequest.md) | :heavy_minus_sign: | N/A | -| `catalog_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `request_catalog_management_service_add_access_entitlements_request` | [shared.RequestCatalogManagementServiceAddAccessEntitlementsRequest](../../models/shared/requestcatalogmanagementserviceaddaccessentitlementsrequest.md) | :heavy_check_mark: | N/A | +| `catalog_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apirequestcatalogv1requestcatalogmanagementserviceaddappentitlementsrequest.md b/docs/models/operations/c1apirequestcatalogv1requestcatalogmanagementserviceaddappentitlementsrequest.md index 8deb2a83..c812025f 100644 --- a/docs/models/operations/c1apirequestcatalogv1requestcatalogmanagementserviceaddappentitlementsrequest.md +++ b/docs/models/operations/c1apirequestcatalogv1requestcatalogmanagementserviceaddappentitlementsrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request_catalog_management_service_add_app_entitlements_request` | [Optional[shared.RequestCatalogManagementServiceAddAppEntitlementsRequest]](../../models/shared/requestcatalogmanagementserviceaddappentitlementsrequest.md) | :heavy_minus_sign: | N/A | -| `catalog_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | +| `request_catalog_management_service_add_app_entitlements_request` | [shared.RequestCatalogManagementServiceAddAppEntitlementsRequest](../../models/shared/requestcatalogmanagementserviceaddappentitlementsrequest.md) | :heavy_check_mark: | N/A | +| `catalog_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apirequestcatalogv1requestcatalogmanagementservicecreatebundleautomationrequest.md b/docs/models/operations/c1apirequestcatalogv1requestcatalogmanagementservicecreatebundleautomationrequest.md index 8b6fbf10..ad1b7b0a 100644 --- a/docs/models/operations/c1apirequestcatalogv1requestcatalogmanagementservicecreatebundleautomationrequest.md +++ b/docs/models/operations/c1apirequestcatalogv1requestcatalogmanagementservicecreatebundleautomationrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | -| `create_bundle_automation_request` | [Optional[shared.CreateBundleAutomationRequest]](../../models/shared/createbundleautomationrequest.md) | :heavy_minus_sign: | N/A | -| `request_catalog_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `create_bundle_automation_request` | [shared.CreateBundleAutomationRequest](../../models/shared/createbundleautomationrequest.md) | :heavy_check_mark: | N/A | +| `request_catalog_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apirequestcatalogv1requestcatalogmanagementservicedeletebundleautomationrequest.md b/docs/models/operations/c1apirequestcatalogv1requestcatalogmanagementservicedeletebundleautomationrequest.md index 30fbec0c..8d47c2e3 100644 --- a/docs/models/operations/c1apirequestcatalogv1requestcatalogmanagementservicedeletebundleautomationrequest.md +++ b/docs/models/operations/c1apirequestcatalogv1requestcatalogmanagementservicedeletebundleautomationrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | -| `delete_bundle_automation_request` | [Optional[shared.DeleteBundleAutomationRequest]](../../models/shared/deletebundleautomationrequest.md) | :heavy_minus_sign: | N/A | -| `request_catalog_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `delete_bundle_automation_request` | [shared.DeleteBundleAutomationRequest](../../models/shared/deletebundleautomationrequest.md) | :heavy_check_mark: | N/A | +| `request_catalog_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apirequestcatalogv1requestcatalogmanagementservicedeleterequest.md b/docs/models/operations/c1apirequestcatalogv1requestcatalogmanagementservicedeleterequest.md index 28dfd09f..6a9fc08c 100644 --- a/docs/models/operations/c1apirequestcatalogv1requestcatalogmanagementservicedeleterequest.md +++ b/docs/models/operations/c1apirequestcatalogv1requestcatalogmanagementservicedeleterequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | -| `request_catalog_management_service_delete_request` | [Optional[shared.RequestCatalogManagementServiceDeleteRequest]](../../models/shared/requestcatalogmanagementservicedeleterequest.md) | :heavy_minus_sign: | N/A | -| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | +| `request_catalog_management_service_delete_request` | [shared.RequestCatalogManagementServiceDeleteRequest](../../models/shared/requestcatalogmanagementservicedeleterequest.md) | :heavy_check_mark: | N/A | +| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apirequestcatalogv1requestcatalogmanagementserviceforcerunbundleautomationrequest.md b/docs/models/operations/c1apirequestcatalogv1requestcatalogmanagementserviceforcerunbundleautomationrequest.md index 81eba219..0f06c853 100644 --- a/docs/models/operations/c1apirequestcatalogv1requestcatalogmanagementserviceforcerunbundleautomationrequest.md +++ b/docs/models/operations/c1apirequestcatalogv1requestcatalogmanagementserviceforcerunbundleautomationrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | -| `force_run_bundle_automation_request` | [Optional[shared.ForceRunBundleAutomationRequest]](../../models/shared/forcerunbundleautomationrequest.md) | :heavy_minus_sign: | N/A | -| `request_catalog_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `force_run_bundle_automation_request` | [shared.ForceRunBundleAutomationRequest](../../models/shared/forcerunbundleautomationrequest.md) | :heavy_check_mark: | N/A | +| `request_catalog_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apirequestcatalogv1requestcatalogmanagementserviceremoveaccessentitlementsrequest.md b/docs/models/operations/c1apirequestcatalogv1requestcatalogmanagementserviceremoveaccessentitlementsrequest.md index 778f635a..9b2912a0 100644 --- a/docs/models/operations/c1apirequestcatalogv1requestcatalogmanagementserviceremoveaccessentitlementsrequest.md +++ b/docs/models/operations/c1apirequestcatalogv1requestcatalogmanagementserviceremoveaccessentitlementsrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request_catalog_management_service_remove_access_entitlements_request` | [Optional[shared.RequestCatalogManagementServiceRemoveAccessEntitlementsRequest]](../../models/shared/requestcatalogmanagementserviceremoveaccessentitlementsrequest.md) | :heavy_minus_sign: | N/A | -| `catalog_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `request_catalog_management_service_remove_access_entitlements_request` | [shared.RequestCatalogManagementServiceRemoveAccessEntitlementsRequest](../../models/shared/requestcatalogmanagementserviceremoveaccessentitlementsrequest.md) | :heavy_check_mark: | N/A | +| `catalog_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apirequestcatalogv1requestcatalogmanagementserviceremoveappentitlementsrequest.md b/docs/models/operations/c1apirequestcatalogv1requestcatalogmanagementserviceremoveappentitlementsrequest.md index 62350dfd..002d07ee 100644 --- a/docs/models/operations/c1apirequestcatalogv1requestcatalogmanagementserviceremoveappentitlementsrequest.md +++ b/docs/models/operations/c1apirequestcatalogv1requestcatalogmanagementserviceremoveappentitlementsrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request_catalog_management_service_remove_app_entitlements_request` | [Optional[shared.RequestCatalogManagementServiceRemoveAppEntitlementsRequest]](../../models/shared/requestcatalogmanagementserviceremoveappentitlementsrequest.md) | :heavy_minus_sign: | N/A | -| `catalog_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `request_catalog_management_service_remove_app_entitlements_request` | [shared.RequestCatalogManagementServiceRemoveAppEntitlementsRequest](../../models/shared/requestcatalogmanagementserviceremoveappentitlementsrequest.md) | :heavy_check_mark: | N/A | +| `catalog_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apirequestcatalogv1requestcatalogmanagementserviceresumepausedbundleautomationrequest.md b/docs/models/operations/c1apirequestcatalogv1requestcatalogmanagementserviceresumepausedbundleautomationrequest.md index 6133ad73..dcb402c0 100644 --- a/docs/models/operations/c1apirequestcatalogv1requestcatalogmanagementserviceresumepausedbundleautomationrequest.md +++ b/docs/models/operations/c1apirequestcatalogv1requestcatalogmanagementserviceresumepausedbundleautomationrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | -| `resume_paused_bundle_automation_request` | [Optional[shared.ResumePausedBundleAutomationRequest]](../../models/shared/resumepausedbundleautomationrequest.md) | :heavy_minus_sign: | N/A | -| `request_catalog_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `resume_paused_bundle_automation_request` | [shared.ResumePausedBundleAutomationRequest](../../models/shared/resumepausedbundleautomationrequest.md) | :heavy_check_mark: | N/A | +| `request_catalog_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apirequestcatalogv1requestcatalogmanagementservicesetbundleautomationrequest.md b/docs/models/operations/c1apirequestcatalogv1requestcatalogmanagementservicesetbundleautomationrequest.md index f9fe029a..fa41b44c 100644 --- a/docs/models/operations/c1apirequestcatalogv1requestcatalogmanagementservicesetbundleautomationrequest.md +++ b/docs/models/operations/c1apirequestcatalogv1requestcatalogmanagementservicesetbundleautomationrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | -| `set_bundle_automation_request` | [Optional[shared.SetBundleAutomationRequest]](../../models/shared/setbundleautomationrequest.md) | :heavy_minus_sign: | N/A | -| `request_catalog_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `set_bundle_automation_request` | [shared.SetBundleAutomationRequest](../../models/shared/setbundleautomationrequest.md) | :heavy_check_mark: | N/A | +| `request_catalog_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apirequestcatalogv1requestcatalogmanagementserviceupdateappentitlementsrequest.md b/docs/models/operations/c1apirequestcatalogv1requestcatalogmanagementserviceupdateappentitlementsrequest.md index d545b877..25ff72ad 100644 --- a/docs/models/operations/c1apirequestcatalogv1requestcatalogmanagementserviceupdateappentitlementsrequest.md +++ b/docs/models/operations/c1apirequestcatalogv1requestcatalogmanagementserviceupdateappentitlementsrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request_catalog_management_service_update_app_entitlements_request` | [Optional[shared.RequestCatalogManagementServiceUpdateAppEntitlementsRequest]](../../models/shared/requestcatalogmanagementserviceupdateappentitlementsrequest.md) | :heavy_minus_sign: | N/A | -| `catalog_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `request_catalog_management_service_update_app_entitlements_request` | [shared.RequestCatalogManagementServiceUpdateAppEntitlementsRequest](../../models/shared/requestcatalogmanagementserviceupdateappentitlementsrequest.md) | :heavy_check_mark: | N/A | +| `catalog_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apirequestcatalogv1requestcatalogmanagementserviceupdaterequest.md b/docs/models/operations/c1apirequestcatalogv1requestcatalogmanagementserviceupdaterequest.md index 00ec7659..55f541dc 100644 --- a/docs/models/operations/c1apirequestcatalogv1requestcatalogmanagementserviceupdaterequest.md +++ b/docs/models/operations/c1apirequestcatalogv1requestcatalogmanagementserviceupdaterequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | -| `request_catalog_management_service_update_request` | [Optional[shared.RequestCatalogManagementServiceUpdateRequest]](../../models/shared/requestcatalogmanagementserviceupdaterequest.md) | :heavy_minus_sign: | N/A | -| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | +| `request_catalog_management_service_update_request` | [shared.RequestCatalogManagementServiceUpdateRequest](../../models/shared/requestcatalogmanagementserviceupdaterequest.md) | :heavy_check_mark: | N/A | +| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apirequestschemav1requestschemaservicedeleterequest.md b/docs/models/operations/c1apirequestschemav1requestschemaservicedeleterequest.md index 8733cd7f..700c8c84 100644 --- a/docs/models/operations/c1apirequestschemav1requestschemaservicedeleterequest.md +++ b/docs/models/operations/c1apirequestschemav1requestschemaservicedeleterequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -| `request_schema_service_delete_request` | [Optional[shared.RequestSchemaServiceDeleteRequest]](../../models/shared/requestschemaservicedeleterequest.md) | :heavy_minus_sign: | N/A | -| `request_schema_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `request_schema_service_delete_request` | [shared.RequestSchemaServiceDeleteRequest](../../models/shared/requestschemaservicedeleterequest.md) | :heavy_check_mark: | N/A | +| `request_schema_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apirequestschemav1requestschemaserviceupdaterequest.md b/docs/models/operations/c1apirequestschemav1requestschemaserviceupdaterequest.md index d2f2b7e0..d0dd0245 100644 --- a/docs/models/operations/c1apirequestschemav1requestschemaserviceupdaterequest.md +++ b/docs/models/operations/c1apirequestschemav1requestschemaserviceupdaterequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -| `request_schema_service_update_request` | [Optional[shared.RequestSchemaServiceUpdateRequest]](../../models/shared/requestschemaserviceupdaterequest.md) | :heavy_minus_sign: | N/A | -| `request_schema_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `request_schema_service_update_request` | [shared.RequestSchemaServiceUpdateRequest](../../models/shared/requestschemaserviceupdaterequest.md) | :heavy_check_mark: | N/A | +| `request_schema_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apistepupv1stepupproviderservicedeleterequest.md b/docs/models/operations/c1apistepupv1stepupproviderservicedeleterequest.md index a35436cf..fafbc279 100644 --- a/docs/models/operations/c1apistepupv1stepupproviderservicedeleterequest.md +++ b/docs/models/operations/c1apistepupv1stepupproviderservicedeleterequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -| `delete_step_up_provider_request` | [Optional[shared.DeleteStepUpProviderRequest]](../../models/shared/deletestepupproviderrequest.md) | :heavy_minus_sign: | N/A | -| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `delete_step_up_provider_request` | [shared.DeleteStepUpProviderRequest](../../models/shared/deletestepupproviderrequest.md) | :heavy_check_mark: | N/A | +| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apistepupv1stepupproviderservicetestrequest.md b/docs/models/operations/c1apistepupv1stepupproviderservicetestrequest.md index 43765dfd..e6e3df85 100644 --- a/docs/models/operations/c1apistepupv1stepupproviderservicetestrequest.md +++ b/docs/models/operations/c1apistepupv1stepupproviderservicetestrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | -| `test_step_up_provider_request` | [Optional[shared.TestStepUpProviderRequest]](../../models/shared/teststepupproviderrequest.md) | :heavy_minus_sign: | N/A | -| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `test_step_up_provider_request` | [shared.TestStepUpProviderRequest](../../models/shared/teststepupproviderrequest.md) | :heavy_check_mark: | N/A | +| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apistepupv1stepupproviderserviceupdaterequest.md b/docs/models/operations/c1apistepupv1stepupproviderserviceupdaterequest.md index f98658f4..e3940e44 100644 --- a/docs/models/operations/c1apistepupv1stepupproviderserviceupdaterequest.md +++ b/docs/models/operations/c1apistepupv1stepupproviderserviceupdaterequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -| `update_step_up_provider_request` | [Optional[shared.UpdateStepUpProviderRequest]](../../models/shared/updatestepupproviderrequest.md) | :heavy_minus_sign: | N/A | -| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `update_step_up_provider_request` | [shared.UpdateStepUpProviderRequest](../../models/shared/updatestepupproviderrequest.md) | :heavy_check_mark: | N/A | +| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apistepupv1stepupproviderserviceupdatesecretrequest.md b/docs/models/operations/c1apistepupv1stepupproviderserviceupdatesecretrequest.md index 602f0a57..829a6d3f 100644 --- a/docs/models/operations/c1apistepupv1stepupproviderserviceupdatesecretrequest.md +++ b/docs/models/operations/c1apistepupv1stepupproviderserviceupdatesecretrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -| `update_step_up_provider_secret_request` | [Optional[shared.UpdateStepUpProviderSecretRequest]](../../models/shared/updatestepupprovidersecretrequest.md) | :heavy_minus_sign: | N/A | -| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `update_step_up_provider_secret_request` | [shared.UpdateStepUpProviderSecretRequest](../../models/shared/updatestepupprovidersecretrequest.md) | :heavy_check_mark: | N/A | +| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apisystemlogv1exportservicedeleterequest.md b/docs/models/operations/c1apisystemlogv1exportservicedeleterequest.md index 3b807390..0024bd68 100644 --- a/docs/models/operations/c1apisystemlogv1exportservicedeleterequest.md +++ b/docs/models/operations/c1apisystemlogv1exportservicedeleterequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | -| `export_service_delete_request` | [Optional[shared.ExportServiceDeleteRequest]](../../models/shared/exportservicedeleterequest.md) | :heavy_minus_sign: | N/A | -| `export_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `export_service_delete_request` | [shared.ExportServiceDeleteRequest](../../models/shared/exportservicedeleterequest.md) | :heavy_check_mark: | N/A | +| `export_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apisystemlogv1exportservicelisteventsrequest.md b/docs/models/operations/c1apisystemlogv1exportservicelisteventsrequest.md index 80854aae..c226d738 100644 --- a/docs/models/operations/c1apisystemlogv1exportservicelisteventsrequest.md +++ b/docs/models/operations/c1apisystemlogv1exportservicelisteventsrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -| `export_service_list_events_request` | [Optional[shared.ExportServiceListEventsRequest]](../../models/shared/exportservicelisteventsrequest.md) | :heavy_minus_sign: | N/A | -| `export_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `export_service_list_events_request` | [shared.ExportServiceListEventsRequest](../../models/shared/exportservicelisteventsrequest.md) | :heavy_check_mark: | N/A | +| `export_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apisystemlogv1exportserviceupdaterequest.md b/docs/models/operations/c1apisystemlogv1exportserviceupdaterequest.md index 9fa45b4e..616f6170 100644 --- a/docs/models/operations/c1apisystemlogv1exportserviceupdaterequest.md +++ b/docs/models/operations/c1apisystemlogv1exportserviceupdaterequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | -| `export_service_update_request` | [Optional[shared.ExportServiceUpdateRequest]](../../models/shared/exportserviceupdaterequest.md) | :heavy_minus_sign: | N/A | -| `export_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `export_service_update_request` | [shared.ExportServiceUpdateRequest](../../models/shared/exportserviceupdaterequest.md) | :heavy_check_mark: | N/A | +| `export_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apitaskv1taskactionsserviceapproverequest.md b/docs/models/operations/c1apitaskv1taskactionsserviceapproverequest.md index 7820f1d8..5516e346 100644 --- a/docs/models/operations/c1apitaskv1taskactionsserviceapproverequest.md +++ b/docs/models/operations/c1apitaskv1taskactionsserviceapproverequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | -| `task_actions_service_approve_request` | [Optional[shared.TaskActionsServiceApproveRequest]](../../models/shared/taskactionsserviceapproverequest.md) | :heavy_minus_sign: | N/A | -| `task_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `task_actions_service_approve_request` | [shared.TaskActionsServiceApproveRequest](../../models/shared/taskactionsserviceapproverequest.md) | :heavy_check_mark: | N/A | +| `task_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apitaskv1taskactionsserviceapprovewithstepuprequest.md b/docs/models/operations/c1apitaskv1taskactionsserviceapprovewithstepuprequest.md index a1ca4fe8..9d49a012 100644 --- a/docs/models/operations/c1apitaskv1taskactionsserviceapprovewithstepuprequest.md +++ b/docs/models/operations/c1apitaskv1taskactionsserviceapprovewithstepuprequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -| `task_actions_service_approve_with_step_up_request` | [Optional[shared.TaskActionsServiceApproveWithStepUpRequest]](../../models/shared/taskactionsserviceapprovewithstepuprequest.md) | :heavy_minus_sign: | N/A | -| `task_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | +| `task_actions_service_approve_with_step_up_request` | [shared.TaskActionsServiceApproveWithStepUpRequest](../../models/shared/taskactionsserviceapprovewithstepuprequest.md) | :heavy_check_mark: | N/A | +| `task_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apitaskv1taskactionsservicecloserequest.md b/docs/models/operations/c1apitaskv1taskactionsservicecloserequest.md index 80c18fa4..15d0b5e8 100644 --- a/docs/models/operations/c1apitaskv1taskactionsservicecloserequest.md +++ b/docs/models/operations/c1apitaskv1taskactionsservicecloserequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -| `task_actions_service_close_request` | [Optional[shared.TaskActionsServiceCloseRequest]](../../models/shared/taskactionsservicecloserequest.md) | :heavy_minus_sign: | N/A | -| `task_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `task_actions_service_close_request` | [shared.TaskActionsServiceCloseRequest](../../models/shared/taskactionsservicecloserequest.md) | :heavy_check_mark: | N/A | +| `task_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apitaskv1taskactionsservicecommentrequest.md b/docs/models/operations/c1apitaskv1taskactionsservicecommentrequest.md index 58d23c34..675f648a 100644 --- a/docs/models/operations/c1apitaskv1taskactionsservicecommentrequest.md +++ b/docs/models/operations/c1apitaskv1taskactionsservicecommentrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | -| `task_actions_service_comment_request` | [Optional[shared.TaskActionsServiceCommentRequest]](../../models/shared/taskactionsservicecommentrequest.md) | :heavy_minus_sign: | N/A | -| `task_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `task_actions_service_comment_request` | [shared.TaskActionsServiceCommentRequest](../../models/shared/taskactionsservicecommentrequest.md) | :heavy_check_mark: | N/A | +| `task_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apitaskv1taskactionsservicedenyrequest.md b/docs/models/operations/c1apitaskv1taskactionsservicedenyrequest.md index 7f008908..dde607fb 100644 --- a/docs/models/operations/c1apitaskv1taskactionsservicedenyrequest.md +++ b/docs/models/operations/c1apitaskv1taskactionsservicedenyrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | -| `task_actions_service_deny_request` | [Optional[shared.TaskActionsServiceDenyRequest]](../../models/shared/taskactionsservicedenyrequest.md) | :heavy_minus_sign: | N/A | -| `task_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `task_actions_service_deny_request` | [shared.TaskActionsServiceDenyRequest](../../models/shared/taskactionsservicedenyrequest.md) | :heavy_check_mark: | N/A | +| `task_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apitaskv1taskactionsserviceescalatetoemergencyaccessrequest.md b/docs/models/operations/c1apitaskv1taskactionsserviceescalatetoemergencyaccessrequest.md index c72a40b1..f3a4517b 100644 --- a/docs/models/operations/c1apitaskv1taskactionsserviceescalatetoemergencyaccessrequest.md +++ b/docs/models/operations/c1apitaskv1taskactionsserviceescalatetoemergencyaccessrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | -| `task_actions_service_escalate_to_emergency_access_request` | [Optional[shared.TaskActionsServiceEscalateToEmergencyAccessRequest]](../../models/shared/taskactionsserviceescalatetoemergencyaccessrequest.md) | :heavy_minus_sign: | N/A | -| `task_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | +| `task_actions_service_escalate_to_emergency_access_request` | [shared.TaskActionsServiceEscalateToEmergencyAccessRequest](../../models/shared/taskactionsserviceescalatetoemergencyaccessrequest.md) | :heavy_check_mark: | N/A | +| `task_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apitaskv1taskactionsservicehardresetrequest.md b/docs/models/operations/c1apitaskv1taskactionsservicehardresetrequest.md index 720e5184..0f68f017 100644 --- a/docs/models/operations/c1apitaskv1taskactionsservicehardresetrequest.md +++ b/docs/models/operations/c1apitaskv1taskactionsservicehardresetrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | -| `task_actions_service_hard_reset_request` | [Optional[shared.TaskActionsServiceHardResetRequest]](../../models/shared/taskactionsservicehardresetrequest.md) | :heavy_minus_sign: | N/A | -| `task_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `task_actions_service_hard_reset_request` | [shared.TaskActionsServiceHardResetRequest](../../models/shared/taskactionsservicehardresetrequest.md) | :heavy_check_mark: | N/A | +| `task_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apitaskv1taskactionsserviceprocessnowrequest.md b/docs/models/operations/c1apitaskv1taskactionsserviceprocessnowrequest.md index 7b9fc044..dcca6cc8 100644 --- a/docs/models/operations/c1apitaskv1taskactionsserviceprocessnowrequest.md +++ b/docs/models/operations/c1apitaskv1taskactionsserviceprocessnowrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | -| `task_actions_service_process_now_request` | [Optional[shared.TaskActionsServiceProcessNowRequest]](../../models/shared/taskactionsserviceprocessnowrequest.md) | :heavy_minus_sign: | N/A | -| `task_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `task_actions_service_process_now_request` | [shared.TaskActionsServiceProcessNowRequest](../../models/shared/taskactionsserviceprocessnowrequest.md) | :heavy_check_mark: | N/A | +| `task_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apitaskv1taskactionsservicereassignrequest.md b/docs/models/operations/c1apitaskv1taskactionsservicereassignrequest.md index c36305d5..42f81def 100644 --- a/docs/models/operations/c1apitaskv1taskactionsservicereassignrequest.md +++ b/docs/models/operations/c1apitaskv1taskactionsservicereassignrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -| `task_actions_service_reassign_request` | [Optional[shared.TaskActionsServiceReassignRequest]](../../models/shared/taskactionsservicereassignrequest.md) | :heavy_minus_sign: | N/A | -| `task_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `task_actions_service_reassign_request` | [shared.TaskActionsServiceReassignRequest](../../models/shared/taskactionsservicereassignrequest.md) | :heavy_check_mark: | N/A | +| `task_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apitaskv1taskactionsservicerestartrequest.md b/docs/models/operations/c1apitaskv1taskactionsservicerestartrequest.md index 3d494a89..14bb2ef8 100644 --- a/docs/models/operations/c1apitaskv1taskactionsservicerestartrequest.md +++ b/docs/models/operations/c1apitaskv1taskactionsservicerestartrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | -| `task_actions_service_restart_request` | [Optional[shared.TaskActionsServiceRestartRequest]](../../models/shared/taskactionsservicerestartrequest.md) | :heavy_minus_sign: | N/A | -| `task_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `task_actions_service_restart_request` | [shared.TaskActionsServiceRestartRequest](../../models/shared/taskactionsservicerestartrequest.md) | :heavy_check_mark: | N/A | +| `task_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apitaskv1taskactionsserviceskipsteprequest.md b/docs/models/operations/c1apitaskv1taskactionsserviceskipsteprequest.md index c6d3a233..ddc2d755 100644 --- a/docs/models/operations/c1apitaskv1taskactionsserviceskipsteprequest.md +++ b/docs/models/operations/c1apitaskv1taskactionsserviceskipsteprequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -| `task_actions_service_skip_step_request` | [Optional[shared.TaskActionsServiceSkipStepRequest]](../../models/shared/taskactionsserviceskipsteprequest.md) | :heavy_minus_sign: | N/A | -| `task_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `task_actions_service_skip_step_request` | [shared.TaskActionsServiceSkipStepRequest](../../models/shared/taskactionsserviceskipsteprequest.md) | :heavy_check_mark: | N/A | +| `task_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apitaskv1taskactionsserviceupdategrantdurationrequest.md b/docs/models/operations/c1apitaskv1taskactionsserviceupdategrantdurationrequest.md index d80f4bc3..7a83860a 100644 --- a/docs/models/operations/c1apitaskv1taskactionsserviceupdategrantdurationrequest.md +++ b/docs/models/operations/c1apitaskv1taskactionsserviceupdategrantdurationrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | -| `task_actions_service_update_grant_duration_request` | [Optional[shared.TaskActionsServiceUpdateGrantDurationRequest]](../../models/shared/taskactionsserviceupdategrantdurationrequest.md) | :heavy_minus_sign: | N/A | -| `task_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | +| `task_actions_service_update_grant_duration_request` | [shared.TaskActionsServiceUpdateGrantDurationRequest](../../models/shared/taskactionsserviceupdategrantdurationrequest.md) | :heavy_check_mark: | N/A | +| `task_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apitaskv1taskactionsserviceupdaterequestdatarequest.md b/docs/models/operations/c1apitaskv1taskactionsserviceupdaterequestdatarequest.md index 5897860f..a5152ca8 100644 --- a/docs/models/operations/c1apitaskv1taskactionsserviceupdaterequestdatarequest.md +++ b/docs/models/operations/c1apitaskv1taskactionsserviceupdaterequestdatarequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -| `task_actions_service_update_request_data_request` | [Optional[shared.TaskActionsServiceUpdateRequestDataRequest]](../../models/shared/taskactionsserviceupdaterequestdatarequest.md) | :heavy_minus_sign: | N/A | -| `task_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | +| `task_actions_service_update_request_data_request` | [shared.TaskActionsServiceUpdateRequestDataRequest](../../models/shared/taskactionsserviceupdaterequestdatarequest.md) | :heavy_check_mark: | N/A | +| `task_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiuserv1userservicesetexpiringuserdelegationbindingbyadminrequest.md b/docs/models/operations/c1apiuserv1userservicesetexpiringuserdelegationbindingbyadminrequest.md index 3bdc0f38..568c0506 100644 --- a/docs/models/operations/c1apiuserv1userservicesetexpiringuserdelegationbindingbyadminrequest.md +++ b/docs/models/operations/c1apiuserv1userservicesetexpiringuserdelegationbindingbyadminrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | -| `set_expiring_user_delegation_binding_by_admin_request` | [Optional[shared.SetExpiringUserDelegationBindingByAdminRequest]](../../models/shared/setexpiringuserdelegationbindingbyadminrequest.md) | :heavy_minus_sign: | N/A | -| `user_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | +| `set_expiring_user_delegation_binding_by_admin_request` | [shared.SetExpiringUserDelegationBindingByAdminRequest](../../models/shared/setexpiringuserdelegationbindingbyadminrequest.md) | :heavy_check_mark: | N/A | +| `user_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiwebhooksv1webhooksservicedeleterequest.md b/docs/models/operations/c1apiwebhooksv1webhooksservicedeleterequest.md index d2117c44..bb0f797e 100644 --- a/docs/models/operations/c1apiwebhooksv1webhooksservicedeleterequest.md +++ b/docs/models/operations/c1apiwebhooksv1webhooksservicedeleterequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | -| `webhooks_service_delete_request` | [Optional[shared.WebhooksServiceDeleteRequest]](../../models/shared/webhooksservicedeleterequest.md) | :heavy_minus_sign: | N/A | -| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `webhooks_service_delete_request` | [shared.WebhooksServiceDeleteRequest](../../models/shared/webhooksservicedeleterequest.md) | :heavy_check_mark: | N/A | +| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiwebhooksv1webhooksservicetestrequest.md b/docs/models/operations/c1apiwebhooksv1webhooksservicetestrequest.md index 4670cf01..0576ab81 100644 --- a/docs/models/operations/c1apiwebhooksv1webhooksservicetestrequest.md +++ b/docs/models/operations/c1apiwebhooksv1webhooksservicetestrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | -| `webhooks_service_test_request` | [Optional[shared.WebhooksServiceTestRequest]](../../models/shared/webhooksservicetestrequest.md) | :heavy_minus_sign: | N/A | -| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `webhooks_service_test_request` | [shared.WebhooksServiceTestRequest](../../models/shared/webhooksservicetestrequest.md) | :heavy_check_mark: | N/A | +| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/c1apiwebhooksv1webhooksserviceupdaterequest.md b/docs/models/operations/c1apiwebhooksv1webhooksserviceupdaterequest.md index 888ad3ad..64f27cd4 100644 --- a/docs/models/operations/c1apiwebhooksv1webhooksserviceupdaterequest.md +++ b/docs/models/operations/c1apiwebhooksv1webhooksserviceupdaterequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | -| `webhooks_service_update_request` | [Optional[shared.WebhooksServiceUpdateRequest]](../../models/shared/webhooksserviceupdaterequest.md) | :heavy_minus_sign: | N/A | -| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `webhooks_service_update_request` | [shared.WebhooksServiceUpdateRequest](../../models/shared/webhooksserviceupdaterequest.md) | :heavy_check_mark: | N/A | +| `id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/appgroupapproval.md b/docs/models/shared/appgroupapproval.md index d4e083f7..bc8f3c90 100644 --- a/docs/models/shared/appgroupapproval.md +++ b/docs/models/shared/appgroupapproval.md @@ -13,4 +13,5 @@ The AppGroupApproval object provides the configuration for setting a group as th | `fallback` | *Optional[bool]* | :heavy_minus_sign: | Configuration to allow a fallback if the group is empty. | | `fallback_group_ids` | List[[shared.AppEntitlementReference](../../models/shared/appentitlementreference.md)] | :heavy_minus_sign: | Configuration to specify which groups to fallback to if fallback is enabled and the group is empty. | | `fallback_user_ids` | List[*str*] | :heavy_minus_sign: | Configuration to specific which users to fallback to if fallback is enabled and the group is empty. | -| `is_group_fallback_enabled` | *Optional[bool]* | :heavy_minus_sign: | Configuration to enable fallback for group fallback. | \ No newline at end of file +| `is_group_fallback_enabled` | *Optional[bool]* | :heavy_minus_sign: | Configuration to enable fallback for group fallback. | +| `require_distinct_approvers` | *Optional[bool]* | :heavy_minus_sign: | Configuration to require distinct approvers across approval steps of a rule. | \ No newline at end of file diff --git a/docs/models/shared/appownerapproval.md b/docs/models/shared/appownerapproval.md index f1060b79..24f3fd4d 100644 --- a/docs/models/shared/appownerapproval.md +++ b/docs/models/shared/appownerapproval.md @@ -7,4 +7,5 @@ App owner approval provides the configuration for an approval step when the app | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | -| `allow_self_approval` | *Optional[bool]* | :heavy_minus_sign: | Configuration that allows a user to self approve if they are an app owner during this approval step. | \ No newline at end of file +| `allow_self_approval` | *Optional[bool]* | :heavy_minus_sign: | Configuration that allows a user to self approve if they are an app owner during this approval step. | +| `require_distinct_approvers` | *Optional[bool]* | :heavy_minus_sign: | Configuration to require distinct approvers across approval steps of a rule. | \ No newline at end of file diff --git a/docs/models/shared/automationstep.md b/docs/models/shared/automationstep.md index 8ceee128..9f3ec550 100644 --- a/docs/models/shared/automationstep.md +++ b/docs/models/shared/automationstep.md @@ -7,6 +7,7 @@ This message contains a oneof named kind. Only a single field of the following l - waitForDuration - unenrollFromAllAccessProfiles - createRevokeTasks + - createRevokeTasksV2 - sendEmail - removeFromDelegation - runAutomation @@ -24,24 +25,25 @@ This message contains a oneof named kind. Only a single field of the following l ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `account_lifecycle_action` | [OptionalNullable[shared.AccountLifecycleAction]](../../models/shared/accountlifecycleaction.md) | :heavy_minus_sign: | The AccountLifecycleAction message.

This message contains a oneof named account_identifier. Only a single field of the following list may be set at a time:
- accountRef
- accountInContext
| -| `call_function` | [OptionalNullable[shared.CallFunction]](../../models/shared/callfunction.md) | :heavy_minus_sign: | The CallFunction message. | -| `connector_action` | [OptionalNullable[shared.ConnectorAction]](../../models/shared/connectoraction.md) | :heavy_minus_sign: | The ConnectorAction message.

This message contains a oneof named connector_identifier. Only a single field of the following list may be set at a time:
- connectorRef
| -| `connector_create_account` | [OptionalNullable[shared.ConnectorCreateAccount]](../../models/shared/connectorcreateaccount.md) | :heavy_minus_sign: | The ConnectorCreateAccount message.

This message contains a oneof named create_account_arguments. Only a single field of the following list may be set at a time:
- userIdCel
- userProperties
| -| `create_access_review` | [OptionalNullable[shared.CreateAccessReview]](../../models/shared/createaccessreview.md) | :heavy_minus_sign: | The CreateAccessReview message. | -| `create_revoke_tasks` | [OptionalNullable[shared.CreateRevokeTasks]](../../models/shared/createrevoketasks.md) | :heavy_minus_sign: | The CreateRevokeTasks message. | -| `grant_entitlements` | [OptionalNullable[shared.GrantEntitlements]](../../models/shared/grantentitlements.md) | :heavy_minus_sign: | The GrantEntitlements message. | -| `remove_from_delegation` | [OptionalNullable[shared.RemoveFromDelegation]](../../models/shared/removefromdelegation.md) | :heavy_minus_sign: | RemoveFromDelegation: find all users that have the target user as their delegated user, and modify the delegation.

This message contains a oneof named replacement_user. Only a single field of the following list may be set at a time:
- replacementUserIdCel
- replacementUserRef
| -| `run_automation` | [OptionalNullable[shared.RunAutomation]](../../models/shared/runautomation.md) | :heavy_minus_sign: | RunAutomation: kick off the execution of an automation template.

This message contains a oneof named automation_template. Only a single field of the following list may be set at a time:
- automationTemplateRef
- automationTemplateIdCel
| -| `send_email` | [OptionalNullable[shared.SendEmail]](../../models/shared/sendemail.md) | :heavy_minus_sign: | The SendEmail message. | -| `send_slack_message` | [OptionalNullable[shared.SendSlackMessage]](../../models/shared/sendslackmessage.md) | :heavy_minus_sign: | The SendSlackMessage message.

This message contains a oneof named channel. Only a single field of the following list may be set at a time:
- channelName
- channelNameCel
| -| `task_action` | [OptionalNullable[shared.TaskAction]](../../models/shared/taskaction.md) | :heavy_minus_sign: | The TaskAction message.

This message contains a oneof named action. Only a single field of the following list may be set at a time:
- close
- reassign
| -| `unenroll_from_all_access_profiles` | [OptionalNullable[shared.UnenrollFromAllAccessProfiles]](../../models/shared/unenrollfromallaccessprofiles.md) | :heavy_minus_sign: | The UnenrollFromAllAccessProfiles message. | -| `update_user` | [OptionalNullable[shared.UpdateUser]](../../models/shared/updateuser.md) | :heavy_minus_sign: | The UpdateUser message.

This message contains a oneof named user. Only a single field of the following list may be set at a time:
- userIdCel
- userRef


This message contains a oneof named user_status. Only a single field of the following list may be set at a time:
- userStatusEnum
- userStatusCel
| -| `wait_for_duration` | [OptionalNullable[shared.WaitForDuration]](../../models/shared/waitforduration.md) | :heavy_minus_sign: | The WaitForDuration message. | -| `webhook` | [OptionalNullable[shared.Webhook]](../../models/shared/webhook.md) | :heavy_minus_sign: | The Webhook message.

This message contains a oneof named webhook_identifier. Only a single field of the following list may be set at a time:
- webhookId
- webhookIdCel
| -| `skip_if_true_cel` | *Optional[str]* | :heavy_minus_sign: | The skipIfTrueCel field. | -| `step_display_name` | *Optional[str]* | :heavy_minus_sign: | The stepDisplayName field. | -| `step_name` | *Optional[str]* | :heavy_minus_sign: | The stepName field. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `account_lifecycle_action` | [OptionalNullable[shared.AccountLifecycleAction]](../../models/shared/accountlifecycleaction.md) | :heavy_minus_sign: | The AccountLifecycleAction message.

This message contains a oneof named account_identifier. Only a single field of the following list may be set at a time:
- accountRef
- accountInContext
| +| `call_function` | [OptionalNullable[shared.CallFunction]](../../models/shared/callfunction.md) | :heavy_minus_sign: | The CallFunction message. | +| `connector_action` | [OptionalNullable[shared.ConnectorAction]](../../models/shared/connectoraction.md) | :heavy_minus_sign: | The ConnectorAction message.

This message contains a oneof named connector_identifier. Only a single field of the following list may be set at a time:
- connectorRef
| +| `connector_create_account` | [OptionalNullable[shared.ConnectorCreateAccount]](../../models/shared/connectorcreateaccount.md) | :heavy_minus_sign: | The ConnectorCreateAccount message.

This message contains a oneof named create_account_arguments. Only a single field of the following list may be set at a time:
- userIdCel
- userProperties
| +| `create_access_review` | [OptionalNullable[shared.CreateAccessReview]](../../models/shared/createaccessreview.md) | :heavy_minus_sign: | The CreateAccessReview message. | +| `create_revoke_tasks` | [OptionalNullable[shared.CreateRevokeTasks]](../../models/shared/createrevoketasks.md) | :heavy_minus_sign: | The CreateRevokeTasks message. | +| `create_revoke_tasks_v2` | [OptionalNullable[shared.CreateRevokeTasksV2]](../../models/shared/createrevoketasksv2.md) | :heavy_minus_sign: | The CreateRevokeTasksV2 message.

This message contains a oneof named user. Only a single field of the following list may be set at a time:
- userIdCel
- userRef
- useSubjectUser


This message contains a oneof named inclusion. Only a single field of the following list may be set at a time:
- inclusionList
- inclusionAll
- inclusionCriteria


This message contains a oneof named exclusion. Only a single field of the following list may be set at a time:
- exclusionNone
- exclusionList
- exclusionCriteria
| +| `grant_entitlements` | [OptionalNullable[shared.GrantEntitlements]](../../models/shared/grantentitlements.md) | :heavy_minus_sign: | The GrantEntitlements message. | +| `remove_from_delegation` | [OptionalNullable[shared.RemoveFromDelegation]](../../models/shared/removefromdelegation.md) | :heavy_minus_sign: | RemoveFromDelegation: find all users that have the target user as their delegated user, and modify the delegation.

This message contains a oneof named replacement_user. Only a single field of the following list may be set at a time:
- replacementUserIdCel
- replacementUserRef
| +| `run_automation` | [OptionalNullable[shared.RunAutomation]](../../models/shared/runautomation.md) | :heavy_minus_sign: | RunAutomation: kick off the execution of an automation template.

This message contains a oneof named automation_template. Only a single field of the following list may be set at a time:
- automationTemplateRef
- automationTemplateIdCel
| +| `send_email` | [OptionalNullable[shared.SendEmail]](../../models/shared/sendemail.md) | :heavy_minus_sign: | The SendEmail message. | +| `send_slack_message` | [OptionalNullable[shared.SendSlackMessage]](../../models/shared/sendslackmessage.md) | :heavy_minus_sign: | The SendSlackMessage message.

This message contains a oneof named channel. Only a single field of the following list may be set at a time:
- channelName
- channelNameCel
| +| `task_action` | [OptionalNullable[shared.TaskAction]](../../models/shared/taskaction.md) | :heavy_minus_sign: | The TaskAction message.

This message contains a oneof named action. Only a single field of the following list may be set at a time:
- close
- reassign
| +| `unenroll_from_all_access_profiles` | [OptionalNullable[shared.UnenrollFromAllAccessProfiles]](../../models/shared/unenrollfromallaccessprofiles.md) | :heavy_minus_sign: | The UnenrollFromAllAccessProfiles message. | +| `update_user` | [OptionalNullable[shared.UpdateUser]](../../models/shared/updateuser.md) | :heavy_minus_sign: | The UpdateUser message.

This message contains a oneof named user. Only a single field of the following list may be set at a time:
- userIdCel
- userRef


This message contains a oneof named user_status. Only a single field of the following list may be set at a time:
- userStatusEnum
- userStatusCel
| +| `wait_for_duration` | [OptionalNullable[shared.WaitForDuration]](../../models/shared/waitforduration.md) | :heavy_minus_sign: | The WaitForDuration message. | +| `webhook` | [OptionalNullable[shared.Webhook]](../../models/shared/webhook.md) | :heavy_minus_sign: | The Webhook message.

This message contains a oneof named webhook_identifier. Only a single field of the following list may be set at a time:
- webhookId
- webhookIdCel
| +| `skip_if_true_cel` | *Optional[str]* | :heavy_minus_sign: | The skipIfTrueCel field. | +| `step_display_name` | *Optional[str]* | :heavy_minus_sign: | The stepDisplayName field. | +| `step_name` | *Optional[str]* | :heavy_minus_sign: | The stepName field. | \ No newline at end of file diff --git a/docs/models/shared/connector.md b/docs/models/shared/connector.md index e646963f..372effa2 100644 --- a/docs/models/shared/connector.md +++ b/docs/models/shared/connector.md @@ -9,6 +9,7 @@ A Connector is used to sync objects into Apps | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `connector_status` | [Optional[shared.ConnectorStatus]](../../models/shared/connectorstatus.md) | :heavy_minus_sign: | The status field on the connector is used to track the status of the connectors sync, and when syncing last started, completed, or caused the connector to update. | | `o_auth2_authorized_as` | [Optional[shared.OAuth2AuthorizedAs]](../../models/shared/oauth2authorizedas.md) | :heavy_minus_sign: | OAuth2AuthorizedAs tracks the user that OAuthed with the connector. | +| `sync_config` | [Optional[shared.SyncConfig]](../../models/shared/syncconfig.md) | :heavy_minus_sign: | The SyncConfig message. | | `app_id` | *Optional[str]* | :heavy_minus_sign: | The id of the app the connector is associated with. | | `can_resume_sync` | *Optional[bool]* | :heavy_minus_sign: | The canResumeSync field. | | `catalog_id` | *Optional[str]* | :heavy_minus_sign: | The catalogId describes which catalog entry this connector is an instance of. For example, every Okta connector will have the same catalogId indicating it is an Okta connector. | diff --git a/docs/models/shared/connectorinput.md b/docs/models/shared/connectorinput.md index e2cfa181..7642abdb 100644 --- a/docs/models/shared/connectorinput.md +++ b/docs/models/shared/connectorinput.md @@ -9,6 +9,7 @@ A Connector is used to sync objects into Apps | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `connector_status` | [Optional[shared.ConnectorStatus]](../../models/shared/connectorstatus.md) | :heavy_minus_sign: | The status field on the connector is used to track the status of the connectors sync, and when syncing last started, completed, or caused the connector to update. | | `o_auth2_authorized_as` | [Optional[shared.OAuth2AuthorizedAsInput]](../../models/shared/oauth2authorizedasinput.md) | :heavy_minus_sign: | OAuth2AuthorizedAs tracks the user that OAuthed with the connector. | +| `sync_config` | [Optional[shared.SyncConfig]](../../models/shared/syncconfig.md) | :heavy_minus_sign: | The SyncConfig message. | | `app_id` | *Optional[str]* | :heavy_minus_sign: | The id of the app the connector is associated with. | | `can_resume_sync` | *Optional[bool]* | :heavy_minus_sign: | The canResumeSync field. | | `catalog_id` | *Optional[str]* | :heavy_minus_sign: | The catalogId describes which catalog entry this connector is an instance of. For example, every Okta connector will have the same catalogId indicating it is an Okta connector. | diff --git a/docs/models/shared/createrevoketasksv2.md b/docs/models/shared/createrevoketasksv2.md new file mode 100644 index 00000000..b4b205a4 --- /dev/null +++ b/docs/models/shared/createrevoketasksv2.md @@ -0,0 +1,36 @@ +# CreateRevokeTasksV2 + +The CreateRevokeTasksV2 message. + +This message contains a oneof named user. Only a single field of the following list may be set at a time: + - userIdCel + - userRef + - useSubjectUser + + +This message contains a oneof named inclusion. Only a single field of the following list may be set at a time: + - inclusionList + - inclusionAll + - inclusionCriteria + + +This message contains a oneof named exclusion. Only a single field of the following list may be set at a time: + - exclusionNone + - exclusionList + - exclusionCriteria + + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `entitlement_exclusion_criteria` | [OptionalNullable[shared.EntitlementExclusionCriteria]](../../models/shared/entitlementexclusioncriteria.md) | :heavy_minus_sign: | The EntitlementExclusionCriteria message. | +| `entitlement_exclusion_list` | [OptionalNullable[shared.EntitlementExclusionList]](../../models/shared/entitlementexclusionlist.md) | :heavy_minus_sign: | The EntitlementExclusionList message. | +| `entitlement_exclusion_none` | [OptionalNullable[shared.EntitlementExclusionNone]](../../models/shared/entitlementexclusionnone.md) | :heavy_minus_sign: | The EntitlementExclusionNone message. | +| `entitlement_inclusion_all` | [OptionalNullable[shared.EntitlementInclusionAll]](../../models/shared/entitlementinclusionall.md) | :heavy_minus_sign: | The EntitlementInclusionAll message. | +| `entitlement_inclusion_criteria` | [OptionalNullable[shared.EntitlementInclusionCriteria]](../../models/shared/entitlementinclusioncriteria.md) | :heavy_minus_sign: | The EntitlementInclusionCriteria message. | +| `entitlement_inclusion_list` | [OptionalNullable[shared.EntitlementInclusionList]](../../models/shared/entitlementinclusionlist.md) | :heavy_minus_sign: | The EntitlementInclusionList message. | +| `user_ref` | [Optional[shared.UserRef]](../../models/shared/userref.md) | :heavy_minus_sign: | A reference to a user. | +| `use_subject_user` | *OptionalNullable[bool]* | :heavy_minus_sign: | The useSubjectUser field.
This field is part of the `user` oneof.
See the documentation for `c1.api.automations.v1.CreateRevokeTasksV2` for more details. | +| `user_id_cel` | *OptionalNullable[str]* | :heavy_minus_sign: | The userIdCel field.
This field is part of the `user` oneof.
See the documentation for `c1.api.automations.v1.CreateRevokeTasksV2` for more details. | \ No newline at end of file diff --git a/docs/models/shared/entitlementexclusioncriteria.md b/docs/models/shared/entitlementexclusioncriteria.md new file mode 100644 index 00000000..8272ebf1 --- /dev/null +++ b/docs/models/shared/entitlementexclusioncriteria.md @@ -0,0 +1,13 @@ +# EntitlementExclusionCriteria + +The EntitlementExclusionCriteria message. + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | +| `excluded_app_ids` | List[*str*] | :heavy_minus_sign: | The excludedAppIds field. | +| `excluded_compliance_framework_ids` | List[*str*] | :heavy_minus_sign: | The excludedComplianceFrameworkIds field. | +| `excluded_resource_type_ids` | List[*str*] | :heavy_minus_sign: | The excludedResourceTypeIds field. | +| `excluded_risk_level_ids` | List[*str*] | :heavy_minus_sign: | The excludedRiskLevelIds field. | \ No newline at end of file diff --git a/docs/models/shared/entitlementexclusionlist.md b/docs/models/shared/entitlementexclusionlist.md new file mode 100644 index 00000000..54af2085 --- /dev/null +++ b/docs/models/shared/entitlementexclusionlist.md @@ -0,0 +1,10 @@ +# EntitlementExclusionList + +The EntitlementExclusionList message. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `excluded_app_entitlement_refs` | List[[shared.AppEntitlementRef](../../models/shared/appentitlementref.md)] | :heavy_minus_sign: | The excludedAppEntitlementRefs field. | \ No newline at end of file diff --git a/docs/models/shared/entitlementexclusionnone.md b/docs/models/shared/entitlementexclusionnone.md new file mode 100644 index 00000000..06965939 --- /dev/null +++ b/docs/models/shared/entitlementexclusionnone.md @@ -0,0 +1,9 @@ +# EntitlementExclusionNone + +The EntitlementExclusionNone message. + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/shared/entitlementinclusionall.md b/docs/models/shared/entitlementinclusionall.md new file mode 100644 index 00000000..47c16a53 --- /dev/null +++ b/docs/models/shared/entitlementinclusionall.md @@ -0,0 +1,9 @@ +# EntitlementInclusionAll + +The EntitlementInclusionAll message. + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/shared/entitlementinclusioncriteria.md b/docs/models/shared/entitlementinclusioncriteria.md new file mode 100644 index 00000000..a26c07cb --- /dev/null +++ b/docs/models/shared/entitlementinclusioncriteria.md @@ -0,0 +1,13 @@ +# EntitlementInclusionCriteria + +The EntitlementInclusionCriteria message. + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | +| `app_ids` | List[*str*] | :heavy_minus_sign: | The appIds field. | +| `compliance_framework_ids` | List[*str*] | :heavy_minus_sign: | The complianceFrameworkIds field. | +| `resource_type_ids` | List[*str*] | :heavy_minus_sign: | The resourceTypeIds field. | +| `risk_level_ids` | List[*str*] | :heavy_minus_sign: | The riskLevelIds field. | \ No newline at end of file diff --git a/docs/models/shared/entitlementinclusionlist.md b/docs/models/shared/entitlementinclusionlist.md new file mode 100644 index 00000000..c1f7b9fb --- /dev/null +++ b/docs/models/shared/entitlementinclusionlist.md @@ -0,0 +1,10 @@ +# EntitlementInclusionList + +The EntitlementInclusionList message. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `app_entitlement_refs` | List[[shared.AppEntitlementRef](../../models/shared/appentitlementref.md)] | :heavy_minus_sign: | The appEntitlementRefs field. | \ No newline at end of file diff --git a/docs/models/shared/entitlementownerapproval.md b/docs/models/shared/entitlementownerapproval.md index 4f14d59c..c598a047 100644 --- a/docs/models/shared/entitlementownerapproval.md +++ b/docs/models/shared/entitlementownerapproval.md @@ -9,4 +9,5 @@ The entitlement owner approval allows configuration of the approval step when th | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | | `allow_self_approval` | *Optional[bool]* | :heavy_minus_sign: | Configuration to allow self approval if the target user is an entitlement owner during this step. | | `fallback` | *Optional[bool]* | :heavy_minus_sign: | Configuration to allow a fallback if the entitlement owner cannot be identified. | -| `fallback_user_ids` | List[*str*] | :heavy_minus_sign: | Configuration to specific which users to fallback to if fallback is enabled and the entitlement owner cannot be identified. | \ No newline at end of file +| `fallback_user_ids` | List[*str*] | :heavy_minus_sign: | Configuration to specific which users to fallback to if fallback is enabled and the entitlement owner cannot be identified. | +| `require_distinct_approvers` | *Optional[bool]* | :heavy_minus_sign: | Configuration to require distinct approvers across approval steps of a rule. | \ No newline at end of file diff --git a/docs/models/shared/expressionapproval.md b/docs/models/shared/expressionapproval.md index a081a979..4da10cb6 100644 --- a/docs/models/shared/expressionapproval.md +++ b/docs/models/shared/expressionapproval.md @@ -11,4 +11,5 @@ The ExpressionApproval message. | `assigned_user_ids` | List[*str*] | :heavy_minus_sign: | The assignedUserIds field. | | `expressions` | List[*str*] | :heavy_minus_sign: | Array of dynamic expressions to determine the approvers. The first expression to return a non-empty list of users will be used. | | `fallback` | *Optional[bool]* | :heavy_minus_sign: | Configuration to allow a fallback if the expression does not return a valid list of users. | -| `fallback_user_ids` | List[*str*] | :heavy_minus_sign: | Configuration to specific which users to fallback to if and the expression does not return a valid list of users. | \ No newline at end of file +| `fallback_user_ids` | List[*str*] | :heavy_minus_sign: | Configuration to specific which users to fallback to if and the expression does not return a valid list of users. | +| `require_distinct_approvers` | *Optional[bool]* | :heavy_minus_sign: | Configuration to require distinct approvers across approval steps of a rule. | \ No newline at end of file diff --git a/docs/models/shared/expressionapprovalinput.md b/docs/models/shared/expressionapprovalinput.md index caea474b..79af1897 100644 --- a/docs/models/shared/expressionapprovalinput.md +++ b/docs/models/shared/expressionapprovalinput.md @@ -10,4 +10,5 @@ The ExpressionApproval message. | `allow_self_approval` | *Optional[bool]* | :heavy_minus_sign: | Configuration to allow self approval of if the user is specified and also the target of the ticket. | | `expressions` | List[*str*] | :heavy_minus_sign: | Array of dynamic expressions to determine the approvers. The first expression to return a non-empty list of users will be used. | | `fallback` | *Optional[bool]* | :heavy_minus_sign: | Configuration to allow a fallback if the expression does not return a valid list of users. | -| `fallback_user_ids` | List[*str*] | :heavy_minus_sign: | Configuration to specific which users to fallback to if and the expression does not return a valid list of users. | \ No newline at end of file +| `fallback_user_ids` | List[*str*] | :heavy_minus_sign: | Configuration to specific which users to fallback to if and the expression does not return a valid list of users. | +| `require_distinct_approvers` | *Optional[bool]* | :heavy_minus_sign: | Configuration to require distinct approvers across approval steps of a rule. | \ No newline at end of file diff --git a/docs/models/shared/managerapproval.md b/docs/models/shared/managerapproval.md index 0171fb5c..b029f019 100644 --- a/docs/models/shared/managerapproval.md +++ b/docs/models/shared/managerapproval.md @@ -10,4 +10,5 @@ The manager approval object provides configuration options for approval when the | `allow_self_approval` | *Optional[bool]* | :heavy_minus_sign: | Configuration to allow self approval if the target user is their own manager. This may occur if a service account has an identity user and manager specified as the same person. | | `assigned_user_ids` | List[*str*] | :heavy_minus_sign: | The array of users determined to be the manager during processing time. | | `fallback` | *Optional[bool]* | :heavy_minus_sign: | Configuration to allow a fallback if no manager is found. | -| `fallback_user_ids` | List[*str*] | :heavy_minus_sign: | Configuration to specific which users to fallback to if fallback is enabled and no manager is found. | \ No newline at end of file +| `fallback_user_ids` | List[*str*] | :heavy_minus_sign: | Configuration to specific which users to fallback to if fallback is enabled and no manager is found. | +| `require_distinct_approvers` | *Optional[bool]* | :heavy_minus_sign: | Configuration to require distinct approvers across approval steps of a rule. | \ No newline at end of file diff --git a/docs/models/shared/managerapprovalinput.md b/docs/models/shared/managerapprovalinput.md index a833bbc0..7d8001c9 100644 --- a/docs/models/shared/managerapprovalinput.md +++ b/docs/models/shared/managerapprovalinput.md @@ -9,4 +9,5 @@ The manager approval object provides configuration options for approval when the | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `allow_self_approval` | *Optional[bool]* | :heavy_minus_sign: | Configuration to allow self approval if the target user is their own manager. This may occur if a service account has an identity user and manager specified as the same person. | | `fallback` | *Optional[bool]* | :heavy_minus_sign: | Configuration to allow a fallback if no manager is found. | -| `fallback_user_ids` | List[*str*] | :heavy_minus_sign: | Configuration to specific which users to fallback to if fallback is enabled and no manager is found. | \ No newline at end of file +| `fallback_user_ids` | List[*str*] | :heavy_minus_sign: | Configuration to specific which users to fallback to if fallback is enabled and no manager is found. | +| `require_distinct_approvers` | *Optional[bool]* | :heavy_minus_sign: | Configuration to require distinct approvers across approval steps of a rule. | \ No newline at end of file diff --git a/docs/models/shared/resourceownerapproval.md b/docs/models/shared/resourceownerapproval.md index 13a50fb8..a15dafca 100644 --- a/docs/models/shared/resourceownerapproval.md +++ b/docs/models/shared/resourceownerapproval.md @@ -9,4 +9,5 @@ The resource owner approval allows configuration of the approval step when the t | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | | `allow_self_approval` | *Optional[bool]* | :heavy_minus_sign: | Configuration to allow self approval if the target user is an resource owner during this step. | | `fallback` | *Optional[bool]* | :heavy_minus_sign: | Configuration to allow a fallback if the resource owner cannot be identified. | -| `fallback_user_ids` | List[*str*] | :heavy_minus_sign: | Configuration to specific which users to fallback to if fallback is enabled and the resource owner cannot be identified. | \ No newline at end of file +| `fallback_user_ids` | List[*str*] | :heavy_minus_sign: | Configuration to specific which users to fallback to if fallback is enabled and the resource owner cannot be identified. | +| `require_distinct_approvers` | *Optional[bool]* | :heavy_minus_sign: | Configuration to require distinct approvers across approval steps of a rule. | \ No newline at end of file diff --git a/docs/models/shared/syncconfig.md b/docs/models/shared/syncconfig.md new file mode 100644 index 00000000..d409ee9c --- /dev/null +++ b/docs/models/shared/syncconfig.md @@ -0,0 +1,10 @@ +# SyncConfig + +The SyncConfig message. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | +| `sync_resource_type_ids` | List[*str*] | :heavy_minus_sign: | The syncResourceTypeIds field. | \ No newline at end of file diff --git a/docs/models/shared/userapproval.md b/docs/models/shared/userapproval.md index bb68433c..548ecb81 100644 --- a/docs/models/shared/userapproval.md +++ b/docs/models/shared/userapproval.md @@ -8,4 +8,5 @@ The user approval object describes the approval configuration of a policy step t | Field | Type | Required | Description | | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | | `allow_self_approval` | *Optional[bool]* | :heavy_minus_sign: | Configuration to allow self approval of if the user is specified and also the target of the ticket. | +| `require_distinct_approvers` | *Optional[bool]* | :heavy_minus_sign: | Configuration to require distinct approvers across approval steps of a rule. | | `user_ids` | List[*str*] | :heavy_minus_sign: | Array of users configured for approval. | \ No newline at end of file diff --git a/docs/sdks/accessconflict/README.md b/docs/sdks/accessconflict/README.md index e0a41690..5bdcdd2a 100644 --- a/docs/sdks/accessconflict/README.md +++ b/docs/sdks/accessconflict/README.md @@ -29,7 +29,9 @@ with SDK( ), ) as s_client: - res = s_client.access_conflict.create_monitor() + res = s_client.access_conflict.create_monitor(request={ + "display_name": "Hermina.Larkin", + }) assert res.conflict_monitor is not None @@ -75,6 +77,7 @@ with SDK( ) as s_client: res = s_client.access_conflict.delete_monitor(request={ + "conflict_monitor_delete_request": {}, "id": "", }) @@ -169,6 +172,7 @@ with SDK( ) as s_client: res = s_client.access_conflict.update_monitor(request={ + "conflict_monitor_update_request": {}, "id": "", }) diff --git a/docs/sdks/accountprovisionpolicytest/README.md b/docs/sdks/accountprovisionpolicytest/README.md index 21ac907a..da238dd3 100644 --- a/docs/sdks/accountprovisionpolicytest/README.md +++ b/docs/sdks/accountprovisionpolicytest/README.md @@ -26,7 +26,7 @@ with SDK( ), ) as s_client: - res = s_client.account_provision_policy_test.test() + res = s_client.account_provision_policy_test.test(request={}) assert res.test_account_provision_policy_response is not None diff --git a/docs/sdks/appaccessrequestsdefaults/README.md b/docs/sdks/appaccessrequestsdefaults/README.md index 9f5624d9..ff54b375 100644 --- a/docs/sdks/appaccessrequestsdefaults/README.md +++ b/docs/sdks/appaccessrequestsdefaults/README.md @@ -29,6 +29,7 @@ with SDK( ) as s_client: res = s_client.app_access_requests_defaults.cancel_app_access_requests_defaults(request={ + "cancel_access_request_defaults_request": {}, "app_id": "", }) @@ -76,6 +77,7 @@ with SDK( ) as s_client: res = s_client.app_access_requests_defaults.create_app_access_requests_defaults(request={ + "app_access_request_defaults": {}, "app_id": "", }) diff --git a/docs/sdks/appentitlementmonitorbinding/README.md b/docs/sdks/appentitlementmonitorbinding/README.md index 56ea5b32..26e0c7e8 100644 --- a/docs/sdks/appentitlementmonitorbinding/README.md +++ b/docs/sdks/appentitlementmonitorbinding/README.md @@ -28,7 +28,7 @@ with SDK( ), ) as s_client: - res = s_client.app_entitlement_monitor_binding.create_app_entitlement_monitor_binding() + res = s_client.app_entitlement_monitor_binding.create_app_entitlement_monitor_binding(request={}) assert res.app_entitlement_monitor_binding is not None @@ -73,7 +73,7 @@ with SDK( ), ) as s_client: - res = s_client.app_entitlement_monitor_binding.delete_app_entitlement_monitor_binding() + res = s_client.app_entitlement_monitor_binding.delete_app_entitlement_monitor_binding(request={}) assert res.delete_app_entitlement_monitor_binding_response is not None @@ -118,7 +118,7 @@ with SDK( ), ) as s_client: - res = s_client.app_entitlement_monitor_binding.get_app_entitlement_monitor_binding() + res = s_client.app_entitlement_monitor_binding.get_app_entitlement_monitor_binding(request={}) assert res.app_entitlement_monitor_binding is not None diff --git a/docs/sdks/appentitlementowners/README.md b/docs/sdks/appentitlementowners/README.md index 6abbd579..a2744abf 100644 --- a/docs/sdks/appentitlementowners/README.md +++ b/docs/sdks/appentitlementowners/README.md @@ -32,6 +32,7 @@ with SDK( ) as s_client: res = s_client.app_entitlement_owners.add(request={ + "add_app_entitlement_owner_request": {}, "app_id": "", "entitlement_id": "", }) @@ -80,6 +81,7 @@ with SDK( ) as s_client: res = s_client.app_entitlement_owners.delete(request={ + "delete_app_entitlement_owners_request": {}, "app_id": "", "entitlement_id": "", }) @@ -224,6 +226,7 @@ with SDK( ) as s_client: res = s_client.app_entitlement_owners.remove(request={ + "remove_app_entitlement_owner_request": {}, "app_id": "", "entitlement_id": "", "user_id": "", @@ -273,6 +276,7 @@ with SDK( ) as s_client: res = s_client.app_entitlement_owners.set(request={ + "set_app_entitlement_owners_request": {}, "app_id": "", "entitlement_id": "", }) diff --git a/docs/sdks/appentitlements/README.md b/docs/sdks/appentitlements/README.md index d54a20c8..b100c256 100644 --- a/docs/sdks/appentitlements/README.md +++ b/docs/sdks/appentitlements/README.md @@ -43,6 +43,7 @@ with SDK( ) as s_client: res = s_client.app_entitlements.add_automation_exclusion(request={ + "add_automation_exclusion_request": {}, "app_entitlement_id": "", "app_id": "", }) @@ -91,6 +92,7 @@ with SDK( ) as s_client: res = s_client.app_entitlements.add_manually_managed_members(request={ + "add_manually_managed_users_request": {}, "app_entitlement_id": "", "app_id": "", }) @@ -139,6 +141,9 @@ with SDK( ) as s_client: res = s_client.app_entitlements.create(request={ + "create_app_entitlement_request": { + "display_name": "Baron.Hayes", + }, "app_id": "", }) @@ -186,6 +191,7 @@ with SDK( ) as s_client: res = s_client.app_entitlements.create_automation(request={ + "create_automation_request": {}, "app_entitlement_id": "", "app_id": "", }) @@ -234,6 +240,7 @@ with SDK( ) as s_client: res = s_client.app_entitlements.delete(request={ + "delete_app_entitlement_request": {}, "app_id": "", "id": "", }) @@ -282,6 +289,7 @@ with SDK( ) as s_client: res = s_client.app_entitlements.delete_automation(request={ + "delete_automation_request": {}, "app_entitlement_id": "", "app_id": "", }) @@ -668,6 +676,7 @@ with SDK( ) as s_client: res = s_client.app_entitlements.remove_automation_exclusion(request={ + "remove_automation_exclusion_request": {}, "app_entitlement_id": "", "app_id": "", }) @@ -716,6 +725,7 @@ with SDK( ) as s_client: res = s_client.app_entitlements.remove_entitlement_membership(request={ + "remove_entitlement_membership_request": {}, "app_entitlement_id": "", "app_id": "", }) @@ -764,6 +774,7 @@ with SDK( ) as s_client: res = s_client.app_entitlements.update(request=operations.C1APIAppV1AppEntitlementsUpdateRequest( + update_app_entitlement_request=shared.UpdateAppEntitlementRequest(), app_id="", id="", )) @@ -812,6 +823,7 @@ with SDK( ) as s_client: res = s_client.app_entitlements.update_automation(request={ + "app_entitlement_service_update_automation_request": {}, "app_entitlement_id": "", "app_id": "", }) diff --git a/docs/sdks/appentitlementsearch/README.md b/docs/sdks/appentitlementsearch/README.md index ce0cccf8..84231e9f 100644 --- a/docs/sdks/appentitlementsearch/README.md +++ b/docs/sdks/appentitlementsearch/README.md @@ -29,7 +29,7 @@ with SDK( ), ) as s_client: - res = s_client.app_entitlement_search.search() + res = s_client.app_entitlement_search.search(request={}) while res is not None: # Handle items @@ -170,7 +170,7 @@ with SDK( ), ) as s_client: - res = s_client.app_entitlement_search.search_grants() + res = s_client.app_entitlement_search.search_grants(request={}) assert res.app_entitlement_search_service_search_grants_response is not None diff --git a/docs/sdks/appentitlementsproxy/README.md b/docs/sdks/appentitlementsproxy/README.md index 4079fc89..3f023b69 100644 --- a/docs/sdks/appentitlementsproxy/README.md +++ b/docs/sdks/appentitlementsproxy/README.md @@ -29,6 +29,7 @@ with SDK( ) as s_client: res = s_client.app_entitlements_proxy.create(request={ + "create_app_entitlement_proxy_request": {}, "dst_app_entitlement_id": "", "dst_app_id": "", "src_app_entitlement_id": "", @@ -79,6 +80,7 @@ with SDK( ) as s_client: res = s_client.app_entitlements_proxy.delete(request={ + "delete_app_entitlement_proxy_request": {}, "dst_app_entitlement_id": "", "dst_app_id": "", "src_app_entitlement_id": "", diff --git a/docs/sdks/appentitlementuserbinding/README.md b/docs/sdks/appentitlementuserbinding/README.md index 2374d6d3..6ee9f48e 100644 --- a/docs/sdks/appentitlementuserbinding/README.md +++ b/docs/sdks/appentitlementuserbinding/README.md @@ -80,6 +80,7 @@ with SDK( ) as s_client: res = s_client.app_entitlement_user_binding.remove_grant_duration(request={ + "remove_grant_duration_request": {}, "app_entitlement_id": "", "app_id": "", "app_user_id": "", @@ -128,7 +129,7 @@ with SDK( ), ) as s_client: - res = s_client.app_entitlement_user_binding.search_grant_feed() + res = s_client.app_entitlement_user_binding.search_grant_feed(request={}) assert res.search_grant_feed_response is not None @@ -173,7 +174,7 @@ with SDK( ), ) as s_client: - res = s_client.app_entitlement_user_binding.search_past_grants() + res = s_client.app_entitlement_user_binding.search_past_grants(request={}) assert res.search_past_grants_response is not None @@ -219,6 +220,7 @@ with SDK( ) as s_client: res = s_client.app_entitlement_user_binding.update_grant_duration(request={ + "update_grant_duration_request": {}, "app_entitlement_id": "", "app_id": "", "app_user_id": "", diff --git a/docs/sdks/appowners/README.md b/docs/sdks/appowners/README.md index 0afc07ac..c7406b9f 100644 --- a/docs/sdks/appowners/README.md +++ b/docs/sdks/appowners/README.md @@ -32,6 +32,7 @@ with SDK( ) as s_client: res = s_client.app_owners.add(request={ + "add_app_owner_request": {}, "app_id": "", "user_id": "", }) @@ -80,6 +81,7 @@ with SDK( ) as s_client: res = s_client.app_owners.delete(request={ + "delete_app_owners_request": {}, "app_id": "", }) @@ -221,6 +223,7 @@ with SDK( ) as s_client: res = s_client.app_owners.remove(request={ + "remove_app_owner_request": {}, "app_id": "", "user_id": "", }) @@ -269,6 +272,7 @@ with SDK( ) as s_client: res = s_client.app_owners.set(request={ + "set_app_owners_request": {}, "app_id": "", }) diff --git a/docs/sdks/appreportaction/README.md b/docs/sdks/appreportaction/README.md index a5f323af..2c3643c0 100644 --- a/docs/sdks/appreportaction/README.md +++ b/docs/sdks/appreportaction/README.md @@ -27,6 +27,7 @@ with SDK( ) as s_client: res = s_client.app_report_action.generate_report(request={ + "app_actions_service_generate_report_request": {}, "app_id": "", }) diff --git a/docs/sdks/appresource/README.md b/docs/sdks/appresource/README.md index 32b87d9f..8f456ca6 100644 --- a/docs/sdks/appresource/README.md +++ b/docs/sdks/appresource/README.md @@ -31,6 +31,9 @@ with SDK( ) as s_client: res = s_client.app_resource.create_manually_managed_app_resource(request={ + "create_manually_managed_app_resource_request": { + "display_name": "Carmella_Marks18", + }, "app_id": "", "app_resource_type_id": "", }) @@ -79,6 +82,7 @@ with SDK( ) as s_client: res = s_client.app_resource.delete_manually_managed_app_resource(request={ + "delete_manually_managed_app_resource_request": {}, "app_id": "", "app_resource_type_id": "", "id": "", @@ -225,6 +229,7 @@ with SDK( ) as s_client: res = s_client.app_resource.update(request={ + "app_resource_service_update_request": {}, "app_id": "", "app_resource_type_id": "", "id": "", diff --git a/docs/sdks/appresourceowners/README.md b/docs/sdks/appresourceowners/README.md index 9a67e8e6..bc6fe68b 100644 --- a/docs/sdks/appresourceowners/README.md +++ b/docs/sdks/appresourceowners/README.md @@ -32,6 +32,7 @@ with SDK( ) as s_client: res = s_client.app_resource_owners.add(request={ + "add_app_resource_owner_request": {}, "app_id": "", "resource_id": "", "resource_type_id": "", @@ -81,6 +82,7 @@ with SDK( ) as s_client: res = s_client.app_resource_owners.delete(request={ + "delete_app_resource_owners_request": {}, "app_id": "", "resource_id": "", "resource_type_id": "", @@ -228,6 +230,7 @@ with SDK( ) as s_client: res = s_client.app_resource_owners.remove(request={ + "remove_app_resource_owner_request": {}, "app_id": "", "resource_id": "", "resource_type_id": "", @@ -277,6 +280,7 @@ with SDK( ) as s_client: res = s_client.app_resource_owners.set(request={ + "set_app_resource_owners_request": {}, "app_id": "", "resource_id": "", "resource_type_id": "", diff --git a/docs/sdks/appresourcesearch/README.md b/docs/sdks/appresourcesearch/README.md index 30315010..d8630e42 100644 --- a/docs/sdks/appresourcesearch/README.md +++ b/docs/sdks/appresourcesearch/README.md @@ -27,7 +27,7 @@ with SDK( ), ) as s_client: - res = s_client.app_resource_search.search_app_resource_types() + res = s_client.app_resource_search.search_app_resource_types(request={}) while res is not None: # Handle items @@ -72,7 +72,7 @@ with SDK( ), ) as s_client: - res = s_client.app_resource_search.search_app_resources() + res = s_client.app_resource_search.search_app_resources(request={}) while res is not None: # Handle items diff --git a/docs/sdks/appresourcetype/README.md b/docs/sdks/appresourcetype/README.md index 4497aae9..81dde0de 100644 --- a/docs/sdks/appresourcetype/README.md +++ b/docs/sdks/appresourcetype/README.md @@ -31,6 +31,10 @@ with SDK( ) as s_client: res = s_client.app_resource_type.create_manually_managed_resource_type(request={ + "create_manually_managed_resource_type_request": { + "display_name": "Vito_Goyette", + "resource_type": shared.ResourceType.PROFILE_TYPE, + }, "app_id": "", }) @@ -78,6 +82,7 @@ with SDK( ) as s_client: res = s_client.app_resource_type.delete_manually_managed_resource_type(request={ + "delete_manually_managed_resource_type_request": {}, "app_id": "", "id": "", }) @@ -221,6 +226,7 @@ with SDK( ) as s_client: res = s_client.app_resource_type.update_manually_managed_resource_type(request={ + "update_manually_managed_resource_type_request": {}, "app_id": "", "id": "", }) diff --git a/docs/sdks/apps/README.md b/docs/sdks/apps/README.md index 09378918..6c7c8582 100644 --- a/docs/sdks/apps/README.md +++ b/docs/sdks/apps/README.md @@ -30,7 +30,9 @@ with SDK( ), ) as s_client: - res = s_client.apps.create() + res = s_client.apps.create(request={ + "display_name": "Ciara.Goyette89", + }) assert res.create_app_response is not None @@ -76,6 +78,7 @@ with SDK( ) as s_client: res = s_client.apps.delete(request={ + "delete_app_request": {}, "id": "", }) @@ -215,6 +218,7 @@ with SDK( ) as s_client: res = s_client.apps.update(request={ + "update_app_request": {}, "id": "", }) diff --git a/docs/sdks/appsearch/README.md b/docs/sdks/appsearch/README.md index e29c5101..984d6a01 100644 --- a/docs/sdks/appsearch/README.md +++ b/docs/sdks/appsearch/README.md @@ -26,7 +26,7 @@ with SDK( ), ) as s_client: - res = s_client.app_search.search() + res = s_client.app_search.search(request={}) while res is not None: # Handle items diff --git a/docs/sdks/appusagecontrols/README.md b/docs/sdks/appusagecontrols/README.md index 19d0e6dd..a29a53e5 100644 --- a/docs/sdks/appusagecontrols/README.md +++ b/docs/sdks/appusagecontrols/README.md @@ -75,6 +75,7 @@ with SDK( ) as s_client: res = s_client.app_usage_controls.update(request={ + "update_app_usage_controls_request": {}, "app_id": "", }) diff --git a/docs/sdks/appuser/README.md b/docs/sdks/appuser/README.md index 4d8e69e0..be68d91c 100644 --- a/docs/sdks/appuser/README.md +++ b/docs/sdks/appuser/README.md @@ -173,7 +173,7 @@ with SDK( ), ) as s_client: - res = s_client.app_user.search() + res = s_client.app_user.search(request={}) assert res.app_user_service_search_response is not None @@ -220,6 +220,7 @@ with SDK( ) as s_client: res = s_client.app_user.update(request={ + "app_user_service_update_request": {}, "app_user_app_id": "", "app_user_id": "", }) diff --git a/docs/sdks/attributes/README.md b/docs/sdks/attributes/README.md index 896053a2..0d56b1af 100644 --- a/docs/sdks/attributes/README.md +++ b/docs/sdks/attributes/README.md @@ -38,7 +38,7 @@ with SDK( ), ) as s_client: - res = s_client.attributes.create_attribute_value() + res = s_client.attributes.create_attribute_value(request={}) assert res.create_attribute_value_response is not None @@ -83,7 +83,7 @@ with SDK( ), ) as s_client: - res = s_client.attributes.create_compliance_framework_attribute_value() + res = s_client.attributes.create_compliance_framework_attribute_value(request={}) assert res.create_compliance_framework_attribute_value_response is not None @@ -128,7 +128,7 @@ with SDK( ), ) as s_client: - res = s_client.attributes.create_risk_level_attribute_value() + res = s_client.attributes.create_risk_level_attribute_value(request={}) assert res.create_risk_level_attribute_value_response is not None @@ -174,6 +174,7 @@ with SDK( ) as s_client: res = s_client.attributes.delete_attribute_value(request={ + "delete_attribute_value_request": {}, "id": "", }) @@ -221,6 +222,7 @@ with SDK( ) as s_client: res = s_client.attributes.delete_compliance_framework_attribute_value(request={ + "delete_compliance_framework_attribute_value_request": {}, "id": "", }) @@ -268,6 +270,7 @@ with SDK( ) as s_client: res = s_client.attributes.delete_risk_level_attribute_value(request={ + "delete_risk_level_attribute_value_request": {}, "id": "", }) diff --git a/docs/sdks/attributesearch/README.md b/docs/sdks/attributesearch/README.md index ed724eb0..e5591b34 100644 --- a/docs/sdks/attributesearch/README.md +++ b/docs/sdks/attributesearch/README.md @@ -26,7 +26,7 @@ with SDK( ), ) as s_client: - res = s_client.attribute_search.search_attribute_values() + res = s_client.attribute_search.search_attribute_values(request={}) assert res.search_attribute_values_response is not None diff --git a/docs/sdks/automation/README.md b/docs/sdks/automation/README.md index 945b68c3..dac5a4b1 100644 --- a/docs/sdks/automation/README.md +++ b/docs/sdks/automation/README.md @@ -31,7 +31,7 @@ with SDK( ), ) as s_client: - res = s_client.automation.create_automation() + res = s_client.automation.create_automation(request={}) assert res.create_automation_response is not None @@ -77,6 +77,7 @@ with SDK( ) as s_client: res = s_client.automation.delete_automation(request={ + "delete_automation_request": {}, "id": "", }) @@ -124,6 +125,7 @@ with SDK( ) as s_client: res = s_client.automation.execute_automation(request={ + "execute_automation_request": {}, "id": "", }) @@ -262,6 +264,7 @@ with SDK( ) as s_client: res = s_client.automation.update_automation(request={ + "update_automation_request": {}, "id": "", }) diff --git a/docs/sdks/automationexecutionactions/README.md b/docs/sdks/automationexecutionactions/README.md index ec016561..15f9163d 100644 --- a/docs/sdks/automationexecutionactions/README.md +++ b/docs/sdks/automationexecutionactions/README.md @@ -27,6 +27,7 @@ with SDK( ) as s_client: res = s_client.automation_execution_actions.terminate_automation(request={ + "terminate_automation_request": {}, "id": 839265, }) diff --git a/docs/sdks/automationexecutionsearch/README.md b/docs/sdks/automationexecutionsearch/README.md index 642c9ebe..22fd0cb8 100644 --- a/docs/sdks/automationexecutionsearch/README.md +++ b/docs/sdks/automationexecutionsearch/README.md @@ -26,7 +26,7 @@ with SDK( ), ) as s_client: - res = s_client.automation_execution_search.search_automation_executions() + res = s_client.automation_execution_search.search_automation_executions(request={}) assert res.search_automation_executions_response is not None diff --git a/docs/sdks/automationsearch/README.md b/docs/sdks/automationsearch/README.md index afa27cbb..b4ee7e77 100644 --- a/docs/sdks/automationsearch/README.md +++ b/docs/sdks/automationsearch/README.md @@ -27,7 +27,7 @@ with SDK( ), ) as s_client: - res = s_client.automation_search.search_automation_template_versions() + res = s_client.automation_search.search_automation_template_versions(request={}) assert res.search_automation_template_versions_response is not None @@ -72,7 +72,7 @@ with SDK( ), ) as s_client: - res = s_client.automation_search.search_automations() + res = s_client.automation_search.search_automations(request={}) assert res.search_automations_response is not None diff --git a/docs/sdks/connector/README.md b/docs/sdks/connector/README.md index 09331aa9..8c9613bb 100644 --- a/docs/sdks/connector/README.md +++ b/docs/sdks/connector/README.md @@ -41,6 +41,7 @@ with SDK( ) as s_client: res = s_client.connector.confirm_sync_valid(request={ + "confirm_sync_valid_request": {}, "app_id": "", "connector_id": "", "sync_lifecycle_id": "", @@ -90,6 +91,7 @@ with SDK( ) as s_client: res = s_client.connector.create(request=operations.C1APIAppV1ConnectorServiceCreateRequest( + connector_service_create_request=shared.ConnectorServiceCreateRequest(), app_id="", )) @@ -137,6 +139,7 @@ with SDK( ) as s_client: res = s_client.connector.create_delegated(request={ + "connector_service_create_delegated_request": {}, "app_id": "", }) @@ -184,6 +187,7 @@ with SDK( ) as s_client: res = s_client.connector.delete(request={ + "connector_service_delete_request": {}, "app_id": "", "id": "", }) @@ -232,6 +236,7 @@ with SDK( ) as s_client: res = s_client.connector.force_sync(request={ + "force_sync_request": {}, "app_id": "", "connector_id": "", }) @@ -424,6 +429,7 @@ with SDK( ) as s_client: res = s_client.connector.pause_sync(request={ + "pause_sync_request": {}, "app_id": "", "connector_id": "", }) @@ -472,6 +478,7 @@ with SDK( ) as s_client: res = s_client.connector.resume_sync(request={ + "resume_sync_request": {}, "app_id": "", "connector_id": "", }) @@ -520,6 +527,7 @@ with SDK( ) as s_client: res = s_client.connector.revoke_credential(request={ + "connector_service_revoke_credential_request": {}, "app_id": "", "connector_id": "", "id": "", @@ -568,7 +576,7 @@ with SDK( ), ) as s_client: - res = s_client.connector.rotate_credential() + res = s_client.connector.rotate_credential(request={}) assert res.connector_service_rotate_credential_response is not None @@ -614,6 +622,7 @@ with SDK( ) as s_client: res = s_client.connector.update(request=operations.C1APIAppV1ConnectorServiceUpdateRequest( + connector_service_update_request=shared.ConnectorServiceUpdateRequest(), app_id="", id="", )) @@ -662,6 +671,7 @@ with SDK( ) as s_client: res = s_client.connector.update_delegated(request=operations.C1APIAppV1ConnectorServiceUpdateDelegatedRequest( + connector_service_update_delegated_request=shared.ConnectorServiceUpdateDelegatedRequest(), connector_app_id="", connector_id="", )) @@ -709,7 +719,7 @@ with SDK( ), ) as s_client: - res = s_client.connector.validate_http_connector_config() + res = s_client.connector.validate_http_connector_config(request={}) assert res.editor_validate_response is not None diff --git a/docs/sdks/connectorcatalog/README.md b/docs/sdks/connectorcatalog/README.md index 92297486..18ce3b97 100644 --- a/docs/sdks/connectorcatalog/README.md +++ b/docs/sdks/connectorcatalog/README.md @@ -26,7 +26,7 @@ with SDK( ), ) as s_client: - res = s_client.connector_catalog.configuration_schema() + res = s_client.connector_catalog.configuration_schema(request={}) assert res.connector_catalog_service_configuration_schema_response is not None diff --git a/docs/sdks/directory/README.md b/docs/sdks/directory/README.md index 637450c3..518161fa 100644 --- a/docs/sdks/directory/README.md +++ b/docs/sdks/directory/README.md @@ -30,7 +30,7 @@ with SDK( ), ) as s_client: - res = s_client.directory.create() + res = s_client.directory.create(request={}) assert res.directory_service_create_response is not None @@ -76,6 +76,7 @@ with SDK( ) as s_client: res = s_client.directory.delete(request={ + "directory_service_delete_request": {}, "app_id": "", }) @@ -215,6 +216,7 @@ with SDK( ) as s_client: res = s_client.directory.update(request={ + "directory_service_update_request": {}, "app_id": "", }) diff --git a/docs/sdks/export/README.md b/docs/sdks/export/README.md index b9447514..d1316a76 100644 --- a/docs/sdks/export/README.md +++ b/docs/sdks/export/README.md @@ -31,7 +31,7 @@ with SDK( ), ) as s_client: - res = s_client.export.create() + res = s_client.export.create(request={}) assert res.export_service_create_response is not None @@ -77,6 +77,7 @@ with SDK( ) as s_client: res = s_client.export.delete(request={ + "export_service_delete_request": {}, "export_id": "", }) @@ -216,6 +217,7 @@ with SDK( ) as s_client: res = s_client.export.list_events(request={ + "export_service_list_events_request": {}, "export_id": "", }) @@ -263,6 +265,7 @@ with SDK( ) as s_client: res = s_client.export.update(request={ + "export_service_update_request": {}, "export_id": "", }) diff --git a/docs/sdks/exportssearch/README.md b/docs/sdks/exportssearch/README.md index 01f048d6..20509cb0 100644 --- a/docs/sdks/exportssearch/README.md +++ b/docs/sdks/exportssearch/README.md @@ -26,7 +26,7 @@ with SDK( ), ) as s_client: - res = s_client.exports_search.search() + res = s_client.exports_search.search(request={}) assert res.exports_search_service_search_response is not None diff --git a/docs/sdks/functions/README.md b/docs/sdks/functions/README.md index 74c5c509..a446d495 100644 --- a/docs/sdks/functions/README.md +++ b/docs/sdks/functions/README.md @@ -37,6 +37,7 @@ with SDK( ) as s_client: res = s_client.functions.commit(request={ + "functions_service_commit_request": {}, "function_id": "", }) @@ -83,7 +84,7 @@ with SDK( ), ) as s_client: - res = s_client.functions.create_function() + res = s_client.functions.create_function(request={}) assert res.functions_service_create_function_response is not None @@ -129,6 +130,7 @@ with SDK( ) as s_client: res = s_client.functions.create_tag(request={ + "functions_service_create_tag_request": {}, "function_id": "", }) @@ -176,6 +178,7 @@ with SDK( ) as s_client: res = s_client.functions.delete_function(request={ + "functions_service_delete_function_request": {}, "id": "", }) @@ -318,6 +321,7 @@ with SDK( ) as s_client: res = s_client.functions.invoke(request={ + "functions_service_invoke_request": {}, "function_id": "", }) @@ -502,7 +506,7 @@ with SDK( ), ) as s_client: - res = s_client.functions.update_function() + res = s_client.functions.update_function(request={}) assert res.functions_service_update_function_response is not None diff --git a/docs/sdks/functionssearch/README.md b/docs/sdks/functionssearch/README.md index efed2de7..79c18f26 100644 --- a/docs/sdks/functionssearch/README.md +++ b/docs/sdks/functionssearch/README.md @@ -26,7 +26,7 @@ with SDK( ), ) as s_client: - res = s_client.functions_search.search() + res = s_client.functions_search.search(request={}) assert res.functions_search_response is not None diff --git a/docs/sdks/orgdomain/README.md b/docs/sdks/orgdomain/README.md index 2c5a3cc0..2a0d0b6e 100644 --- a/docs/sdks/orgdomain/README.md +++ b/docs/sdks/orgdomain/README.md @@ -72,7 +72,7 @@ with SDK( ), ) as s_client: - res = s_client.org_domain.update() + res = s_client.org_domain.update(request={}) assert res.update_org_domain_response is not None diff --git a/docs/sdks/personalclient/README.md b/docs/sdks/personalclient/README.md index 6aad6f7c..c37d8344 100644 --- a/docs/sdks/personalclient/README.md +++ b/docs/sdks/personalclient/README.md @@ -30,7 +30,7 @@ with SDK( ), ) as s_client: - res = s_client.personal_client.create() + res = s_client.personal_client.create(request={}) assert res.personal_client_service_create_response is not None @@ -76,6 +76,7 @@ with SDK( ) as s_client: res = s_client.personal_client.delete(request={ + "personal_client_service_delete_request": {}, "id": "", }) @@ -214,6 +215,7 @@ with SDK( ) as s_client: res = s_client.personal_client.update(request={ + "personal_client_service_update_request": {}, "id": "", }) diff --git a/docs/sdks/personalclientsearch/README.md b/docs/sdks/personalclientsearch/README.md index e65bd443..08ba54c0 100644 --- a/docs/sdks/personalclientsearch/README.md +++ b/docs/sdks/personalclientsearch/README.md @@ -26,7 +26,7 @@ with SDK( ), ) as s_client: - res = s_client.personal_client_search.search() + res = s_client.personal_client_search.search(request={}) assert res.personal_client_search_service_search_response is not None diff --git a/docs/sdks/policies/README.md b/docs/sdks/policies/README.md index 10d71109..231a1961 100644 --- a/docs/sdks/policies/README.md +++ b/docs/sdks/policies/README.md @@ -30,7 +30,9 @@ with SDK( ), ) as s_client: - res = s_client.policies.create() + res = s_client.policies.create(request={ + "display_name": "Zita56", + }) assert res.create_policy_response is not None @@ -76,6 +78,7 @@ with SDK( ) as s_client: res = s_client.policies.delete(request={ + "delete_policy_request": {}, "id": "", }) @@ -215,6 +218,7 @@ with SDK( ) as s_client: res = s_client.policies.update(request={ + "update_policy_request": {}, "id": "", }) diff --git a/docs/sdks/policysearch/README.md b/docs/sdks/policysearch/README.md index fb583bda..89fd9b78 100644 --- a/docs/sdks/policysearch/README.md +++ b/docs/sdks/policysearch/README.md @@ -26,7 +26,7 @@ with SDK( ), ) as s_client: - res = s_client.policy_search.search() + res = s_client.policy_search.search(request={}) while res is not None: # Handle items diff --git a/docs/sdks/policyvalidate/README.md b/docs/sdks/policyvalidate/README.md index 84a7f077..3e5932cb 100644 --- a/docs/sdks/policyvalidate/README.md +++ b/docs/sdks/policyvalidate/README.md @@ -26,7 +26,7 @@ with SDK( ), ) as s_client: - res = s_client.policy_validate.validate_cel() + res = s_client.policy_validate.validate_cel(request={}) assert res.editor_validate_response is not None diff --git a/docs/sdks/requestcatalogmanagement/README.md b/docs/sdks/requestcatalogmanagement/README.md index 1a57c8a6..dd388ad5 100644 --- a/docs/sdks/requestcatalogmanagement/README.md +++ b/docs/sdks/requestcatalogmanagement/README.md @@ -45,6 +45,9 @@ with SDK( ) as s_client: res = s_client.request_catalog_management.add_access_entitlements(request={ + "request_catalog_management_service_add_access_entitlements_request": { + "access_entitlements": [], + }, "catalog_id": "", }) @@ -92,6 +95,9 @@ with SDK( ) as s_client: res = s_client.request_catalog_management.add_app_entitlements(request={ + "request_catalog_management_service_add_app_entitlements_request": { + "app_entitlements": None, + }, "catalog_id": "", }) @@ -138,7 +144,9 @@ with SDK( ), ) as s_client: - res = s_client.request_catalog_management.create() + res = s_client.request_catalog_management.create(request={ + "display_name": "Dejon_Bergnaum", + }) assert res.request_catalog_management_service_get_response is not None @@ -184,6 +192,7 @@ with SDK( ) as s_client: res = s_client.request_catalog_management.create_bundle_automation(request={ + "create_bundle_automation_request": {}, "request_catalog_id": "", }) @@ -231,6 +240,7 @@ with SDK( ) as s_client: res = s_client.request_catalog_management.delete(request={ + "request_catalog_management_service_delete_request": {}, "id": "", }) @@ -278,6 +288,7 @@ with SDK( ) as s_client: res = s_client.request_catalog_management.delete_bundle_automation(request={ + "delete_bundle_automation_request": {}, "request_catalog_id": "", }) @@ -325,6 +336,7 @@ with SDK( ) as s_client: res = s_client.request_catalog_management.force_run_bundle_automation(request={ + "force_run_bundle_automation_request": {}, "request_catalog_id": "", }) @@ -652,6 +664,7 @@ with SDK( ) as s_client: res = s_client.request_catalog_management.remove_access_entitlements(request={ + "request_catalog_management_service_remove_access_entitlements_request": {}, "catalog_id": "", }) @@ -699,6 +712,7 @@ with SDK( ) as s_client: res = s_client.request_catalog_management.remove_app_entitlements(request={ + "request_catalog_management_service_remove_app_entitlements_request": {}, "catalog_id": "", }) @@ -746,6 +760,7 @@ with SDK( ) as s_client: res = s_client.request_catalog_management.resume_paused_bundle_automation(request={ + "resume_paused_bundle_automation_request": {}, "request_catalog_id": "", }) @@ -793,6 +808,7 @@ with SDK( ) as s_client: res = s_client.request_catalog_management.set_bundle_automation(request={ + "set_bundle_automation_request": {}, "request_catalog_id": "", }) @@ -840,6 +856,7 @@ with SDK( ) as s_client: res = s_client.request_catalog_management.update(request={ + "request_catalog_management_service_update_request": {}, "id": "", }) @@ -887,6 +904,11 @@ with SDK( ) as s_client: res = s_client.request_catalog_management.update_app_entitlements(request={ + "request_catalog_management_service_update_app_entitlements_request": { + "app_entitlements": [ + {}, + ], + }, "catalog_id": "", }) diff --git a/docs/sdks/requestcatalogsearch/README.md b/docs/sdks/requestcatalogsearch/README.md index 1fcb4e6c..de93adea 100644 --- a/docs/sdks/requestcatalogsearch/README.md +++ b/docs/sdks/requestcatalogsearch/README.md @@ -26,7 +26,7 @@ with SDK( ), ) as s_client: - res = s_client.request_catalog_search.search_entitlements() + res = s_client.request_catalog_search.search_entitlements(request={}) assert res.request_catalog_search_service_search_entitlements_response is not None diff --git a/docs/sdks/requestschema/README.md b/docs/sdks/requestschema/README.md index 7e5f2ffe..e743045d 100644 --- a/docs/sdks/requestschema/README.md +++ b/docs/sdks/requestschema/README.md @@ -32,7 +32,7 @@ with SDK( ), ) as s_client: - res = s_client.request_schema.create() + res = s_client.request_schema.create(request={}) assert res.request_schema_service_create_response is not None @@ -77,7 +77,7 @@ with SDK( ), ) as s_client: - res = s_client.request_schema.create_entitlement_binding() + res = s_client.request_schema.create_entitlement_binding(request={}) assert res.request_schema_service_create_entitlement_binding_response is not None @@ -123,6 +123,7 @@ with SDK( ) as s_client: res = s_client.request_schema.delete(request={ + "request_schema_service_delete_request": {}, "request_schema_id": "", }) @@ -169,7 +170,7 @@ with SDK( ), ) as s_client: - res = s_client.request_schema.find_binding_for_app_entitlement() + res = s_client.request_schema.find_binding_for_app_entitlement(request={}) assert res.request_schema_service_find_binding_for_app_entitlement_response is not None @@ -261,7 +262,7 @@ with SDK( ), ) as s_client: - res = s_client.request_schema.remove_entitlement_binding() + res = s_client.request_schema.remove_entitlement_binding(request={}) assert res.request_schema_service_remove_entitlement_binding_response is not None @@ -307,6 +308,7 @@ with SDK( ) as s_client: res = s_client.request_schema.update(request={ + "request_schema_service_update_request": {}, "request_schema_id": "", }) diff --git a/docs/sdks/roles/README.md b/docs/sdks/roles/README.md index b515ae36..3adcf13b 100644 --- a/docs/sdks/roles/README.md +++ b/docs/sdks/roles/README.md @@ -121,6 +121,7 @@ with SDK( ) as s_client: res = s_client.roles.update(request={ + "update_role_request": {}, "role_id": "", }) diff --git a/docs/sdks/sessionsettings/README.md b/docs/sdks/sessionsettings/README.md index f0f76b71..9dae5a83 100644 --- a/docs/sdks/sessionsettings/README.md +++ b/docs/sdks/sessionsettings/README.md @@ -72,7 +72,7 @@ with SDK( ), ) as s_client: - res = s_client.session_settings.test_source_ip() + res = s_client.session_settings.test_source_ip(request={}) assert res.test_source_ip_response is not None @@ -117,7 +117,7 @@ with SDK( ), ) as s_client: - res = s_client.session_settings.update() + res = s_client.session_settings.update(request=shared.UpdateSessionSettingsRequest()) assert res.update_session_settings_response is not None diff --git a/docs/sdks/stepupprovider/README.md b/docs/sdks/stepupprovider/README.md index 48c1baf1..d8760eaf 100644 --- a/docs/sdks/stepupprovider/README.md +++ b/docs/sdks/stepupprovider/README.md @@ -33,7 +33,7 @@ with SDK( ), ) as s_client: - res = s_client.step_up_provider.create() + res = s_client.step_up_provider.create(request={}) assert res.create_step_up_provider_response is not None @@ -79,6 +79,7 @@ with SDK( ) as s_client: res = s_client.step_up_provider.delete(request={ + "delete_step_up_provider_request": {}, "id": "", }) @@ -216,7 +217,7 @@ with SDK( ), ) as s_client: - res = s_client.step_up_provider.search() + res = s_client.step_up_provider.search(request={}) assert res.search_step_up_providers_response is not None @@ -262,6 +263,7 @@ with SDK( ) as s_client: res = s_client.step_up_provider.test(request={ + "test_step_up_provider_request": {}, "id": "", }) @@ -309,6 +311,7 @@ with SDK( ) as s_client: res = s_client.step_up_provider.update(request={ + "update_step_up_provider_request": {}, "id": "", }) @@ -356,6 +359,7 @@ with SDK( ) as s_client: res = s_client.step_up_provider.update_secret(request={ + "update_step_up_provider_secret_request": {}, "id": "", }) diff --git a/docs/sdks/stepuptransaction/README.md b/docs/sdks/stepuptransaction/README.md index e157e672..f2faa3b2 100644 --- a/docs/sdks/stepuptransaction/README.md +++ b/docs/sdks/stepuptransaction/README.md @@ -74,7 +74,7 @@ with SDK( ), ) as s_client: - res = s_client.step_up_transaction.search() + res = s_client.step_up_transaction.search(request={}) assert res.search_step_up_transactions_response is not None diff --git a/docs/sdks/systemlog/README.md b/docs/sdks/systemlog/README.md index 7d29e901..d845a1fb 100644 --- a/docs/sdks/systemlog/README.md +++ b/docs/sdks/systemlog/README.md @@ -29,7 +29,7 @@ with SDK( ), ) as s_client: - res = s_client.system_log.list_events() + res = s_client.system_log.list_events(request={}) assert res.system_log_service_list_events_response is not None diff --git a/docs/sdks/task/README.md b/docs/sdks/task/README.md index 7065a227..6c592c7a 100644 --- a/docs/sdks/task/README.md +++ b/docs/sdks/task/README.md @@ -29,7 +29,10 @@ with SDK( ), ) as s_client: - res = s_client.task.create_grant_task() + res = s_client.task.create_grant_task(request={ + "app_entitlement_id": "", + "app_id": "", + }) assert res.task_service_create_grant_response is not None @@ -74,7 +77,7 @@ with SDK( ), ) as s_client: - res = s_client.task.create_offboarding_task() + res = s_client.task.create_offboarding_task(request={}) assert res.task_service_create_offboarding_response is not None @@ -119,7 +122,10 @@ with SDK( ), ) as s_client: - res = s_client.task.create_revoke_task() + res = s_client.task.create_revoke_task(request={ + "app_entitlement_id": "", + "app_id": "", + }) assert res.task_service_create_revoke_response is not None diff --git a/docs/sdks/taskactions/README.md b/docs/sdks/taskactions/README.md index 0df4db90..a1b2ee32 100644 --- a/docs/sdks/taskactions/README.md +++ b/docs/sdks/taskactions/README.md @@ -39,6 +39,9 @@ with SDK( ) as s_client: res = s_client.task_actions.approve(request={ + "task_actions_service_approve_request": { + "policy_step_id": "", + }, "task_id": "", }) @@ -86,6 +89,10 @@ with SDK( ) as s_client: res = s_client.task_actions.approve_with_step_up(request={ + "task_actions_service_approve_with_step_up_request": { + "policy_step_id": "", + "step_up_transaction_id": "", + }, "task_id": "", }) @@ -133,6 +140,7 @@ with SDK( ) as s_client: res = s_client.task_actions.close(request={ + "task_actions_service_close_request": {}, "task_id": "", }) @@ -180,6 +188,7 @@ with SDK( ) as s_client: res = s_client.task_actions.comment(request={ + "task_actions_service_comment_request": {}, "task_id": "", }) @@ -227,6 +236,7 @@ with SDK( ) as s_client: res = s_client.task_actions.deny(request={ + "task_actions_service_deny_request": {}, "task_id": "", }) @@ -274,6 +284,7 @@ with SDK( ) as s_client: res = s_client.task_actions.escalate_to_emergency_access(request={ + "task_actions_service_escalate_to_emergency_access_request": {}, "task_id": "", }) @@ -321,6 +332,7 @@ with SDK( ) as s_client: res = s_client.task_actions.hard_reset(request={ + "task_actions_service_hard_reset_request": {}, "task_id": "", }) @@ -368,6 +380,7 @@ with SDK( ) as s_client: res = s_client.task_actions.process_now(request={ + "task_actions_service_process_now_request": {}, "task_id": "", }) @@ -415,6 +428,7 @@ with SDK( ) as s_client: res = s_client.task_actions.reassign(request={ + "task_actions_service_reassign_request": {}, "task_id": "", }) @@ -462,6 +476,7 @@ with SDK( ) as s_client: res = s_client.task_actions.restart(request={ + "task_actions_service_restart_request": {}, "task_id": "", }) @@ -509,6 +524,9 @@ with SDK( ) as s_client: res = s_client.task_actions.skip_step(request={ + "task_actions_service_skip_step_request": { + "policy_step_id": "", + }, "task_id": "", }) @@ -556,6 +574,9 @@ with SDK( ) as s_client: res = s_client.task_actions.update_grant_duration(request={ + "task_actions_service_update_grant_duration_request": { + "duration": "", + }, "task_id": "", }) @@ -603,6 +624,7 @@ with SDK( ) as s_client: res = s_client.task_actions.update_request_data(request={ + "task_actions_service_update_request_data_request": {}, "task_id": "", }) diff --git a/docs/sdks/taskaudit/README.md b/docs/sdks/taskaudit/README.md index f193c6f9..13ce86bd 100644 --- a/docs/sdks/taskaudit/README.md +++ b/docs/sdks/taskaudit/README.md @@ -26,7 +26,7 @@ with SDK( ), ) as s_client: - res = s_client.task_audit.list() + res = s_client.task_audit.list(request={}) assert res.task_audit_list_response is not None diff --git a/docs/sdks/tasksearch/README.md b/docs/sdks/tasksearch/README.md index b47b701c..b919d543 100644 --- a/docs/sdks/tasksearch/README.md +++ b/docs/sdks/tasksearch/README.md @@ -26,7 +26,7 @@ with SDK( ), ) as s_client: - res = s_client.task_search.search() + res = s_client.task_search.search(request={}) assert res.task_search_response is not None diff --git a/docs/sdks/user/README.md b/docs/sdks/user/README.md index 26130799..dd29cd0c 100644 --- a/docs/sdks/user/README.md +++ b/docs/sdks/user/README.md @@ -169,6 +169,7 @@ with SDK( ) as s_client: res = s_client.user.set_expiring_user_delegation_binding_by_admin(request={ + "set_expiring_user_delegation_binding_by_admin_request": {}, "user_id": "", }) diff --git a/docs/sdks/usersearch/README.md b/docs/sdks/usersearch/README.md index 9c2864c8..edcf65d0 100644 --- a/docs/sdks/usersearch/README.md +++ b/docs/sdks/usersearch/README.md @@ -26,7 +26,7 @@ with SDK( ), ) as s_client: - res = s_client.user_search.search() + res = s_client.user_search.search(request={}) while res is not None: # Handle items diff --git a/docs/sdks/webhooks/README.md b/docs/sdks/webhooks/README.md index 59e5bde9..6ca3955e 100644 --- a/docs/sdks/webhooks/README.md +++ b/docs/sdks/webhooks/README.md @@ -31,7 +31,10 @@ with SDK( ), ) as s_client: - res = s_client.webhooks.create() + res = s_client.webhooks.create(request={ + "display_name": "Bradley_Maggio", + "url": "https://musty-kick.net", + }) assert res.webhooks_service_create_response is not None @@ -77,6 +80,7 @@ with SDK( ) as s_client: res = s_client.webhooks.delete(request={ + "webhooks_service_delete_request": {}, "id": "", }) @@ -216,6 +220,7 @@ with SDK( ) as s_client: res = s_client.webhooks.test(request={ + "webhooks_service_test_request": {}, "id": "", }) @@ -263,6 +268,7 @@ with SDK( ) as s_client: res = s_client.webhooks.update(request={ + "webhooks_service_update_request": {}, "id": "", }) diff --git a/docs/sdks/webhookssearch/README.md b/docs/sdks/webhookssearch/README.md index 6c401265..dae0fd7f 100644 --- a/docs/sdks/webhookssearch/README.md +++ b/docs/sdks/webhookssearch/README.md @@ -26,7 +26,7 @@ with SDK( ), ) as s_client: - res = s_client.webhooks_search.search() + res = s_client.webhooks_search.search(request={}) while res is not None: # Handle items diff --git a/gen.yaml b/gen.yaml index a34b130c..7f5daf2b 100644 --- a/gen.yaml +++ b/gen.yaml @@ -21,7 +21,7 @@ generation: generateNewTests: false skipResponseBodyAssertions: false python: - version: 0.16.0 + version: 0.16.1 additionalDependencies: dev: {} main: diff --git a/openapi.yaml b/openapi.yaml deleted file mode 100644 index 7a58ffdc..00000000 --- a/openapi.yaml +++ /dev/null @@ -1,10551 +0,0 @@ -components: - schemas: - c1.api.app.v1.AddAppEntitlementOwnerRequestInput: - description: The request message for adding an app entitlement owner. - properties: - userId: - description: The user_id field for the user to add as an owner of the app entitlement. - readOnly: false - type: string - title: Add App Entitlement Owner Request - type: object - x-speakeasy-name-override: AddAppEntitlementOwnerRequest - c1.api.app.v1.AddAppEntitlementOwnerResponse: - description: The empty response message for adding an app entitlement owner. - title: Add App Entitlement Owner Response - type: object - x-speakeasy-name-override: AddAppEntitlementOwnerResponse - c1.api.app.v1.AddAppOwnerRequestInput: - description: Empty request body. Just placeholder for the add app owner request which uses URL values for input. - title: Add App Owner Request - type: object - x-speakeasy-name-override: AddAppOwnerRequest - c1.api.app.v1.AddAppOwnerResponse: - description: Empty response with a status code indicating success - title: Add App Owner Response - type: object - x-speakeasy-name-override: AddAppOwnerResponse - c1.api.app.v1.App: - description: The App object provides all of the details for an app, as well as some configuration. - properties: - appAccountId: - description: The ID of the Account named by AccountName. - readOnly: true - type: string - appAccountName: - description: The AccountName of the app. For example, AWS is AccountID, Github is Org Name, and Okta is Okta Subdomain. - readOnly: true - type: string - appOwners: - description: The owners of the app. - items: - $ref: '#/components/schemas/c1.api.user.v1.User' - nullable: true - readOnly: true - type: array - certifyPolicyId: - description: The ID of the Certify Policy associated with this App. - readOnly: false - type: string - createdAt: - format: date-time - readOnly: true - type: string - deletedAt: - format: date-time - readOnly: true - type: string - description: - description: The app's description. - readOnly: false - type: string - displayName: - description: The app's display name. - readOnly: false - type: string - fieldMask: - nullable: true - readOnly: true - type: string - grantPolicyId: - description: The ID of the Grant Policy associated with this App. - readOnly: false - type: string - iconUrl: - description: The URL of an icon to display for the app. - readOnly: false - type: string - id: - description: The ID of the app. - readOnly: true - type: string - identityMatching: - description: The identityMatching field. - enum: - - APP_USER_IDENTITY_MATCHING_UNSPECIFIED - - APP_USER_IDENTITY_MATCHING_STRICT - - APP_USER_IDENTITY_MATCHING_DISPLAY_NAME - readOnly: false - type: string - isDirectory: - description: Specifies if the app is a directory. - readOnly: true - type: boolean - logoUri: - description: The URL of a logo to display for the app. - readOnly: true - type: string - monthlyCostUsd: - description: The cost of an app per-seat, so that total cost can be calculated by the grant count. - format: int32 - readOnly: false - type: integer - parentAppId: - description: The ID of the app that created this app, if any. - readOnly: true - type: string - revokePolicyId: - description: The ID of the Revoke Policy associated with this App. - readOnly: false - type: string - updatedAt: - format: date-time - readOnly: true - type: string - userCount: - description: The number of users with grants to this app. - format: int64 - readOnly: true - type: string - title: App - type: object - x-speakeasy-entity: App - x-speakeasy-name-override: App - c1.api.app.v1.AppAccessRequestDefaults: - description: | - The AppAccessRequestDefaults message. - - This message contains a oneof named max_grant_duration. Only a single field of the following list may be set at a time: - - durationUnset - - durationGrant - properties: - appId: - description: The app id for the app access request rule - readOnly: false - type: string - catalogIds: - description: The request catalog ids for the app access request rule. - items: - type: string - nullable: true - readOnly: false - type: array - defaultsEnabled: - description: If true the app level request configuration will be applied to specified resource types. - readOnly: false - type: boolean - durationGrant: - format: duration - readOnly: false - type: string - durationUnset: - nullable: true - readOnly: false - type: object - emergencyGrantEnabled: - description: If emergency grants are enabled for this app access request rule. - readOnly: false - type: boolean - emergencyGrantPolicyId: - description: The policy id for the emergency grant policy. - readOnly: false - type: string - requestPolicyId: - description: The requestPolicyId field. - readOnly: false - type: string - resourceTypeIds: - description: The app resource type ids for which the app access request defaults are applied. - items: - type: string - nullable: true - readOnly: false - type: array - state: - description: The last applied state of the app access request defaults. - enum: - - APP_ACCESS_REQUEST_DEFAULTS_LAST_APPLY_STATE_UNSPECIFIED - - APP_ACCESS_REQUEST_DEFAULTS_LAST_APPLY_STATE_RUNNING - - APP_ACCESS_REQUEST_DEFAULTS_LAST_APPLY_STATE_SUCCESS - - APP_ACCESS_REQUEST_DEFAULTS_LAST_APPLY_STATE_FAILED - - APP_ACCESS_REQUEST_DEFAULTS_LAST_APPLY_STATE_CANCELING - - APP_ACCESS_REQUEST_DEFAULTS_LAST_APPLY_STATE_CANCEL_SUCCESS - - APP_ACCESS_REQUEST_DEFAULTS_LAST_APPLY_STATE_CANCEL_ERROR - readOnly: false - type: string - title: App Access Request Defaults - type: object - x-speakeasy-name-override: AppAccessRequestDefaults - c1.api.app.v1.AppAccessRequestDefaultsInput: - description: | - The AppAccessRequestDefaults message. - - This message contains a oneof named max_grant_duration. Only a single field of the following list may be set at a time: - - durationUnset - - durationGrant - properties: - catalogIds: - description: The request catalog ids for the app access request rule. - items: - type: string - nullable: true - readOnly: false - type: array - defaultsEnabled: - description: If true the app level request configuration will be applied to specified resource types. - readOnly: false - type: boolean - durationGrant: - format: duration - readOnly: false - type: string - durationUnset: - nullable: true - readOnly: false - type: object - emergencyGrantEnabled: - description: If emergency grants are enabled for this app access request rule. - readOnly: false - type: boolean - emergencyGrantPolicyId: - description: The policy id for the emergency grant policy. - readOnly: false - type: string - requestPolicyId: - description: The requestPolicyId field. - readOnly: false - type: string - resourceTypeIds: - description: The app resource type ids for which the app access request defaults are applied. - items: - type: string - nullable: true - readOnly: false - type: array - state: - description: The last applied state of the app access request defaults. - enum: - - APP_ACCESS_REQUEST_DEFAULTS_LAST_APPLY_STATE_UNSPECIFIED - - APP_ACCESS_REQUEST_DEFAULTS_LAST_APPLY_STATE_RUNNING - - APP_ACCESS_REQUEST_DEFAULTS_LAST_APPLY_STATE_SUCCESS - - APP_ACCESS_REQUEST_DEFAULTS_LAST_APPLY_STATE_FAILED - - APP_ACCESS_REQUEST_DEFAULTS_LAST_APPLY_STATE_CANCELING - - APP_ACCESS_REQUEST_DEFAULTS_LAST_APPLY_STATE_CANCEL_SUCCESS - - APP_ACCESS_REQUEST_DEFAULTS_LAST_APPLY_STATE_CANCEL_ERROR - readOnly: false - type: string - title: App Access Request Defaults - type: object - x-speakeasy-name-override: AppAccessRequestDefaults - c1.api.app.v1.AppActionsServiceGenerateReportRequestInput: - description: Empty request body. Just placeholder for the generate app report request which uses URL values for input. - title: App Actions Service Generate Report Request - type: object - x-speakeasy-name-override: AppActionsServiceGenerateReportRequest - c1.api.app.v1.AppActionsServiceGenerateReportResponse: - description: Empty response body. Status code indicates success. - title: App Actions Service Generate Report Response - type: object - x-speakeasy-name-override: AppActionsServiceGenerateReportResponse - c1.api.app.v1.AppEntitlement: - description: | - The app entitlement represents one permission in a downstream App (SAAS) that can be granted. For example, GitHub Read vs GitHub Write. - - This message contains a oneof named max_grant_duration. Only a single field of the following list may be set at a time: - - durationUnset - - durationGrant - properties: - alias: - description: The alias of the app entitlement used by Cone. Also exact-match queryable. - readOnly: true - type: string - appId: - description: The ID of the app that is associated with the app entitlement. - readOnly: false - type: string - appResourceId: - description: The ID of the app resource that is associated with the app entitlement - readOnly: false - type: string - appResourceTypeId: - description: The ID of the app resource type that is associated with the app entitlement - readOnly: false - type: string - certifyPolicyId: - description: The ID of the policy that will be used for certify tickets related to the app entitlement. - readOnly: false - type: string - complianceFrameworkValueIds: - description: The IDs of different compliance frameworks associated with this app entitlement ex (SOX, HIPAA, PCI, etc.) - items: - type: string - nullable: true - readOnly: false - type: array - createdAt: - format: date-time - readOnly: true - type: string - defaultValuesApplied: - description: Flag to indicate if app-level access request defaults have been applied to the entitlement - readOnly: false - type: boolean - deletedAt: - format: date-time - readOnly: true - type: string - description: - description: The description of the app entitlement. - readOnly: false - type: string - displayName: - description: The display name of the app entitlement. - readOnly: false - type: string - durationGrant: - format: duration - readOnly: false - type: string - durationUnset: - nullable: true - readOnly: false - type: object - emergencyGrantEnabled: - description: This enables tasks to be created in an emergency and use a selected emergency access policy. - readOnly: false - type: boolean - emergencyGrantPolicyId: - description: The ID of the policy that will be used for emergency access grant tasks. - readOnly: false - type: string - grantCount: - description: The amount of grants open for this entitlement - format: int64 - readOnly: true - type: string - grantPolicyId: - description: The ID of the policy that will be used for grant tickets related to the app entitlement. - readOnly: false - type: string - id: - description: The unique ID for the App Entitlement. - readOnly: true - type: string - isAutomationEnabled: - description: Flag to indicate whether automation (for adding users to entitlement based on rules) has been enabled. - readOnly: true - type: boolean - isManuallyManaged: - description: Flag to indicate if the app entitlement is manually managed. - readOnly: false - type: boolean - overrideAccessRequestsDefaults: - description: Flag to indicate if the app-level access request settings have been overridden for the entitlement - readOnly: false - type: boolean - provisionerPolicy: - $ref: '#/components/schemas/c1.api.policy.v1.ProvisionPolicy' - revokePolicyId: - description: The ID of the policy that will be used for revoke tickets related to the app entitlement - readOnly: false - type: string - riskLevelValueId: - description: The riskLevelValueId field. - readOnly: false - type: string - slug: - description: The slug is displayed as an oval next to the name in the frontend of C1, it tells you what permission the entitlement grants. See https://www.conductorone.com/docs/product/manage-access/entitlements/ - readOnly: false - type: string - sourceConnectorIds: - additionalProperties: - type: string - description: Map to tell us which connector the entitlement came from. - readOnly: false - type: object - systemBuiltin: - description: This field indicates if this is a system builtin entitlement. - readOnly: true - type: boolean - updatedAt: - format: date-time - readOnly: true - type: string - userEditedMask: - nullable: true - readOnly: false - type: string - title: App Entitlement - type: object - x-speakeasy-name-override: AppEntitlement - c1.api.app.v1.AppEntitlementExpandMask: - description: The app entitlement expand mask allows the user to get additional information when getting responses containing app entitlement views. - properties: - paths: - description: Array of strings to describe which items to expand on the return value. Can be any combination of "*", "app_id", "app_resource_type_id", or "app_resource_id". - items: - type: string - nullable: true - readOnly: false - type: array - title: App Entitlement Expand Mask - type: object - x-speakeasy-name-override: AppEntitlementExpandMask - c1.api.app.v1.AppEntitlementRef: - description: The AppEntitlementRef message. - properties: - appId: - description: The appId field. - readOnly: false - type: string - id: - description: The id field. - readOnly: false - type: string - title: App Entitlement Ref - type: object - x-speakeasy-name-override: AppEntitlementRef - c1.api.app.v1.AppEntitlementSearchServiceSearchRequest: - description: Search app entitlements by a variety of filters. - properties: - accessReviewId: - description: Search for app entitlements that are being reviewed as part of this access review campaign. - readOnly: false - type: string - alias: - description: Search for app entitlements that have this alias (exact match). - readOnly: false - type: string - appIds: - description: Search for app entitlements contained in any of these apps. - items: - type: string - nullable: true - readOnly: false - type: array - appUserIds: - description: Search for app entitlements that are granted to any of these app user ids. - items: - type: string - nullable: true - readOnly: false - type: array - complianceFrameworkIds: - description: Search for app entitlements that are part of these compliace frameworks. - items: - type: string - nullable: true - readOnly: false - type: array - excludeAppIds: - description: Exclude app entitlements from the results that are in these app IDs. - items: - type: string - nullable: true - readOnly: false - type: array - excludeAppUserIds: - description: Exclude app entitlements from the results that these app users have granted. - items: - type: string - nullable: true - readOnly: false - type: array - expandMask: - $ref: '#/components/schemas/c1.api.app.v1.AppEntitlementExpandMask' - includeDeleted: - description: Include deleted app entitlements, this includes app entitlements that have a deleted parent object (app, app resource, app resource type) - readOnly: false - type: boolean - isAutomated: - description: The isAutomated field. - readOnly: false - type: boolean - onlyGetExpiring: - description: Restrict results to only those who have expiring app entitlement user bindings. - readOnly: false - type: boolean - pageSize: - description: The pageSize where 0 <= pageSize <= 100. Values < 10 will be set to 10. A value of 0 returns the default page size (currently 25) - format: int32 - readOnly: false - type: integer - pageToken: - description: The pageToken field. - readOnly: false - type: string - query: - description: Query the app entitlements with a fuzzy search on display name and description. - readOnly: false - type: string - refs: - description: The refs field. - items: - $ref: '#/components/schemas/c1.api.app.v1.AppEntitlementRef' - nullable: true - readOnly: false - type: array - resourceIds: - description: Search for app entitlements that belongs to these resources. - items: - type: string - nullable: true - readOnly: false - type: array - resourceTraitIds: - description: The resourceTraitIds field. - items: - type: string - nullable: true - readOnly: false - type: array - resourceTypeIds: - description: Search for app entitlements that are for items with resources types that have matching names. Example names are "group", "role", and "app". - items: - type: string - nullable: true - readOnly: false - type: array - riskLevelIds: - description: Search for app entitlements with these risk levels. - items: - type: string - nullable: true - readOnly: false - type: array - title: App Entitlement Search Service Search Request - type: object - x-speakeasy-name-override: AppEntitlementSearchServiceSearchRequest - c1.api.app.v1.AppEntitlementSearchServiceSearchResponse: - description: The AppEntitlementSearchServiceSearchResponse message. - properties: - expanded: - description: List of related objects. - items: - additionalProperties: true - description: Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. - properties: - '@type': - description: The type of the serialized message. - type: string - readOnly: false - type: object - nullable: true - readOnly: false - type: array - facets: - $ref: '#/components/schemas/c1.api.search.v1.Facets' - list: - description: List of app entitlement view objects. - items: - $ref: '#/components/schemas/c1.api.app.v1.AppEntitlementView' - nullable: true - readOnly: false - type: array - nextPageToken: - description: The nextPageToken is shown for the next page if the number of results is larger than the max page size. The server returns one page of results and the nextPageToken until all results are retreived. To retrieve the next page, use the same request and append a pageToken field with the value of nextPageToken shown on the previous page. - readOnly: false - type: string - title: App Entitlement Search Service Search Response - type: object - x-speakeasy-name-override: AppEntitlementSearchServiceSearchResponse - c1.api.app.v1.AppEntitlementUserBinding: - description: The AppEntitlementUserBinding represents the relationship that gives an app user access to an app entitlement - properties: - appEntitlementId: - description: The ID of the app entitlement that the app user has access to - readOnly: false - type: string - appId: - description: The ID of the app associated with the app entitlement - readOnly: false - type: string - appUserId: - description: The ID of the app user that has access to the app entitlement - readOnly: false - type: string - createdAt: - format: date-time - readOnly: true - type: string - deletedAt: - format: date-time - readOnly: true - type: string - deprovisionAt: - format: date-time - readOnly: true - type: string - title: App Entitlement User Binding - type: object - x-speakeasy-name-override: AppEntitlementUserBinding - c1.api.app.v1.AppEntitlementUserBindingHistory: - description: The AppEntitlementUserBindingHistory message. - properties: - appEntitlementId: - description: The ID of the app entitlement that the app user has access to - readOnly: false - type: string - appId: - description: The ID of the app associated with the app entitlement - readOnly: false - type: string - appUserId: - description: The ID of the app user that has access to the app entitlement - readOnly: false - type: string - grantedAt: - format: date-time - readOnly: true - type: string - revokedAt: - format: date-time - readOnly: true - type: string - title: App Entitlement User Binding History - type: object - x-speakeasy-name-override: AppEntitlementUserBindingHistory - c1.api.app.v1.AppEntitlementUserBindingHistoryView: - description: The AppEntitlementUserBindingHistoryView message. - properties: - appPath: - description: The appPath field. - readOnly: false - type: string - appUserPath: - description: The appUserPath field. - readOnly: false - type: string - entitlementPath: - description: The entitlementPath field. - readOnly: false - type: string - history: - $ref: '#/components/schemas/c1.api.app.v1.AppEntitlementUserBindingHistory' - title: App Entitlement User Binding History View - type: object - x-speakeasy-name-override: AppEntitlementUserBindingHistoryView - c1.api.app.v1.AppEntitlementUserView: - description: The AppEntitlementUserView (aka grant view) describes the relationship between an app user and an entitlement. They have more recently been referred to as grants. - properties: - appEntitlementUserBindingCreatedAt: - format: date-time - readOnly: true - type: string - appEntitlementUserBindingDeprovisionAt: - format: date-time - readOnly: true - type: string - appUser: - $ref: '#/components/schemas/c1.api.app.v1.AppUserView' - title: App Entitlement User View - type: object - x-speakeasy-name-override: AppEntitlementUserView - c1.api.app.v1.AppEntitlementView: - description: The app entitlement view contains the serialized app entitlement and paths to objects referenced by the app entitlement. - properties: - appEntitlement: - $ref: '#/components/schemas/c1.api.app.v1.AppEntitlement' - appPath: - description: JSONPATH expression indicating the location of the App object in the array. - readOnly: false - type: string - appResourcePath: - description: JSONPATH expression indicating the location of the App Resource Type object in the expanded array. - readOnly: false - type: string - appResourceTypePath: - description: JSONPATH expression indicating the location of the App Resource object in the array. - readOnly: false - type: string - title: App Entitlement View - type: object - x-speakeasy-name-override: AppEntitlementView - c1.api.app.v1.AppEntitlementWithExpired: - description: The AppEntitlementWithExpired message. - properties: - appUser: - $ref: '#/components/schemas/c1.api.app.v1.AppUser' - discovered: - format: date-time - readOnly: false - type: string - expired: - format: date-time - readOnly: false - type: string - user: - $ref: '#/components/schemas/c1.api.user.v1.User' - title: App Entitlement With Expired - type: object - x-speakeasy-name-override: AppEntitlementWithExpired - c1.api.app.v1.AppEntitlementWithUserBindings: - description: The AppEntitlementWithUserBindings message represents an app entitlement and its associated user bindings. - properties: - appEntitlementUserBindings: - description: An array of AppEntitlementUserBinding objects which represent the relationships that give app users access to the specific app entitlement. - items: - $ref: '#/components/schemas/c1.api.app.v1.AppEntitlementUserBinding' - nullable: true - readOnly: false - type: array - entitlement: - $ref: '#/components/schemas/c1.api.app.v1.AppEntitlementView' - title: App Entitlement With User Bindings - type: object - x-speakeasy-name-override: AppEntitlementWithUserBindings - c1.api.app.v1.AppPopulationReport: - description: The AppPopulationReport is a generated report for a specific app that gives details about the app's users. These details include what groups, roles, and other entitlements the users have access to. - properties: - appId: - description: The appId is the Id of the app which the report is generated for. - readOnly: false - type: string - createdAt: - format: date-time - readOnly: true - type: string - downloadUrl: - description: The downloadUrl is the url used for downloading the AppPopulationReport. - readOnly: false - type: string - hashes: - additionalProperties: - type: string - description: The hashes field contains the file hashes of the report. - readOnly: false - type: object - id: - description: The id field. - readOnly: false - type: string - state: - description: The state field tracks the state of the AppPopulationReport. This state field can be one of REPORT_STATE_PENDING, REPORT_STATE_UNSPECIFIED, REPORT_STATE_OK, REPORT_STATE_ERROR. - enum: - - REPORT_STATE_UNSPECIFIED - - REPORT_STATE_PENDING - - REPORT_STATE_OK - - REPORT_STATE_ERROR - readOnly: false - type: string - title: App Population Report - type: object - x-speakeasy-name-override: AppPopulationReport - c1.api.app.v1.AppReportServiceListResponse: - description: The AppReportServiceListResponse message contains a list of results and a nextPageToken if applicable. - properties: - list: - description: The list of results containing up to X results, where X is the page size defined in the request. - items: - $ref: '#/components/schemas/c1.api.app.v1.AppPopulationReport' - nullable: true - readOnly: false - type: array - nextPageToken: - description: |- - The nextPageToken is shown for the next page if the number of results is larger than the max page size. - The server returns one page of results and the nextPageToken until all results are retreived. - To retrieve the next page, use the same request and append a pageToken field with the value of nextPageToken shown on the previous page. - readOnly: false - type: string - title: App Report Service List Response - type: object - x-speakeasy-name-override: AppReportServiceListResponse - c1.api.app.v1.AppResource: - description: The app resource message is a single resource that can have entitlements. - properties: - appId: - description: The app that this resource belongs to. - readOnly: false - type: string - appResourceTypeId: - description: The resource type that this resource is. - readOnly: false - type: string - createdAt: - format: date-time - readOnly: true - type: string - customDescription: - description: A custom description that can be set for a resource. - readOnly: false - type: string - deletedAt: - format: date-time - readOnly: true - type: string - description: - description: The description set for the resource. - readOnly: true - type: string - displayName: - description: The display name for this resource. - readOnly: false - type: string - grantCount: - description: The number of grants to this resource. - format: int64 - readOnly: false - type: string - id: - description: The id of the resource. - readOnly: false - type: string - parentAppResourceId: - description: The parent resource id, if this resource is a child of another resource. - readOnly: false - type: string - parentAppResourceTypeId: - description: The parent resource type id, if this resource is a child of another resource. - readOnly: false - type: string - updatedAt: - format: date-time - readOnly: true - type: string - title: App Resource - type: object - x-speakeasy-name-override: AppResource - c1.api.app.v1.AppResourceServiceGetResponse: - description: The app resource service get response contains the app resource view and array of expanded items indicated by the request's expand mask. - properties: - appResourceView: - $ref: '#/components/schemas/c1.api.app.v1.AppResourceView' - expanded: - description: List of serialized related objects. - items: - additionalProperties: true - description: Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. - properties: - '@type': - description: The type of the serialized message. - type: string - readOnly: false - type: object - nullable: true - readOnly: false - type: array - title: App Resource Service Get Response - type: object - x-speakeasy-name-override: AppResourceServiceGetResponse - c1.api.app.v1.AppResourceServiceListResponse: - description: The AppResourceServiceListResponse message contains a list of results and a nextPageToken if applicable. - properties: - expanded: - description: List of serialized related objects. - items: - additionalProperties: true - description: Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. - properties: - '@type': - description: The type of the serialized message. - type: string - readOnly: false - type: object - nullable: true - readOnly: false - type: array - list: - description: The list of results containing up to X results, where X is the page size defined in the request. - items: - $ref: '#/components/schemas/c1.api.app.v1.AppResourceView' - nullable: true - readOnly: false - type: array - nextPageToken: - description: |- - The nextPageToken is shown for the next page if the number of results is larger than the max page size. - The server returns one page of results and the nextPageToken until all results are retreived. - To retrieve the next page, use the same request and append a pageToken field with the value of nextPageToken shown on the previous page. - readOnly: false - type: string - title: App Resource Service List Response - type: object - x-speakeasy-name-override: AppResourceServiceListResponse - c1.api.app.v1.AppResourceType: - description: The AppResourceType is referenced by an app entitlement defining its resource types. Commonly things like Group or Role. - properties: - appId: - description: The ID of the app that is associated with the app resource type - readOnly: true - type: string - createdAt: - format: date-time - readOnly: true - type: string - deletedAt: - format: date-time - readOnly: true - type: string - displayName: - description: The display name of the app resource type. - readOnly: false - type: string - id: - description: The unique ID for the app resource type. - readOnly: true - type: string - updatedAt: - format: date-time - readOnly: true - type: string - title: App Resource Type - type: object - x-speakeasy-name-override: AppResourceType - c1.api.app.v1.AppResourceTypeServiceGetResponse: - description: |- - The AppResourceTypeServiceGetResponse contains an expanded array containing the expanded values indicated by the expand mask - in the request and an app resource type view containing the resource type and JSONPATHs indicating which objects are where in the expand mask. - properties: - appResourceTypeView: - $ref: '#/components/schemas/c1.api.app.v1.AppResourceTypeView' - expanded: - description: List of serialized related objects. - items: - additionalProperties: true - description: Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. - properties: - '@type': - description: The type of the serialized message. - type: string - readOnly: false - type: object - nullable: true - readOnly: false - type: array - title: App Resource Type Service Get Response - type: object - x-speakeasy-name-override: AppResourceTypeServiceGetResponse - c1.api.app.v1.AppResourceTypeServiceListResponse: - description: The AppResourceTypeServiceListResponse message contains a list of results and a nextPageToken if applicable. - properties: - expanded: - description: List of serialized related objects. - items: - additionalProperties: true - description: Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. - properties: - '@type': - description: The type of the serialized message. - type: string - readOnly: false - type: object - nullable: true - readOnly: false - type: array - list: - description: The list of results containing up to X results, where X is the page size defined in the request. - items: - $ref: '#/components/schemas/c1.api.app.v1.AppResourceTypeView' - nullable: true - readOnly: false - type: array - nextPageToken: - description: |- - The nextPageToken is shown for the next page if the number of results is larger than the max page size. - The server returns one page of results and the nextPageToken until all results are retreived. - To retrieve the next page, use the same request and append a pageToken field with the value of nextPageToken shown on the previous page. - readOnly: false - type: string - title: App Resource Type Service List Response - type: object - x-speakeasy-name-override: AppResourceTypeServiceListResponse - c1.api.app.v1.AppResourceTypeView: - description: The AppResourceTypeView message. - properties: - appPath: - description: JSONPATH expression indicating the location of the App object in the array - readOnly: false - type: string - appResourceType: - $ref: '#/components/schemas/c1.api.app.v1.AppResourceType' - title: App Resource Type View - type: object - x-speakeasy-name-override: AppResourceTypeView - c1.api.app.v1.AppResourceView: - description: The app resource view returns an app resource with paths for items in the expand mask filled in when this response is returned and a request expand mask has "*" or "app_id" or "resource_type_id". - properties: - appPath: - description: JSONPATH expression indicating the location of the App object in the array - readOnly: false - type: string - appResource: - $ref: '#/components/schemas/c1.api.app.v1.AppResource' - parentResourcePath: - description: JSONPATH expression indicating the location of the Parent Resource object in the array - readOnly: false - type: string - parentResourceTypePath: - description: JSONPATH expression indicating the location of the Parent Resource Type object in the array - readOnly: false - type: string - resourceTypePath: - description: JSONPATH expression indicating the location of the Resource Type object in the array - readOnly: false - type: string - title: App Resource View - type: object - x-speakeasy-name-override: AppResourceView - c1.api.app.v1.AppUsageControls: - description: The AppUsageControls object describes some peripheral configuration for an app. - properties: - appId: - description: The app that this object belongs to. - readOnly: false - type: string - notify: - description: Whether or not to notify some if they have access to the app, but has not used it within a configurable amount of time. - readOnly: false - type: boolean - notifyAfterDays: - description: The duration in days after which we notify users of nonusage. - format: uint32 - readOnly: false - type: integer - revoke: - description: Whether or not to revoke a grant if they have access to the app, but has not used it within a configurable amount of time. - readOnly: false - type: boolean - revokeAfterDays: - description: The duration in days after which we revoke users that have not used that grant. - format: uint32 - readOnly: false - type: integer - title: App Usage Controls - type: object - x-speakeasy-name-override: AppUsageControls - c1.api.app.v1.AppUser: - description: Application User that represents an account in the application. - properties: - appId: - description: The ID of the application. - readOnly: true - type: string - appUserType: - description: The appplication user type. Type can be user, system or service. - enum: - - APP_USER_TYPE_UNSPECIFIED - - APP_USER_TYPE_USER - - APP_USER_TYPE_SERVICE_ACCOUNT - - APP_USER_TYPE_SYSTEM_ACCOUNT - readOnly: false - type: string - createdAt: - format: date-time - readOnly: true - type: string - deletedAt: - format: date-time - readOnly: true - type: string - displayName: - description: The display name of the application user. - readOnly: true - type: string - email: - description: The email field of the application user. - readOnly: true - type: string - emails: - description: The emails field of the application user. - items: - type: string - nullable: true - readOnly: true - type: array - id: - description: A unique idenditfier of the application user. - readOnly: true - type: string - identityUserId: - description: The conductor one user ID of the account owner. - readOnly: true - type: string - profile: - additionalProperties: true - readOnly: true - type: object - status: - $ref: '#/components/schemas/c1.api.app.v1.AppUserStatus' - updatedAt: - format: date-time - readOnly: true - type: string - username: - description: The username field of the application user. - readOnly: true - type: string - usernames: - description: The usernames field of the application user. - items: - type: string - nullable: true - readOnly: true - type: array - title: App User - type: object - x-speakeasy-name-override: AppUser - c1.api.app.v1.AppUserExpandMask: - description: The AppUserExpandMask message contains a list of paths to expand in the response. - properties: - paths: - description: The paths to expand in the response. May be any combination of "*", "identity_user_id", "app_id", and "last_usage". - items: - type: string - nullable: true - readOnly: false - type: array - title: App User Expand Mask - type: object - x-speakeasy-name-override: AppUserExpandMask - c1.api.app.v1.AppUserServiceUpdateRequestInput: - description: The AppUserServiceUpdateRequest message contains the app user and the fields to be updated. - properties: - appUser: - $ref: '#/components/schemas/c1.api.app.v1.AppUser' - expandMask: - $ref: '#/components/schemas/c1.api.app.v1.AppUserExpandMask' - updateMask: - nullable: true - readOnly: false - type: string - title: App User Service Update Request - type: object - x-speakeasy-name-override: AppUserServiceUpdateRequest - c1.api.app.v1.AppUserServiceUpdateResponse: - description: The AppUserServiceUpdateResponse message. - properties: - appUserView: - $ref: '#/components/schemas/c1.api.app.v1.AppUserView' - expanded: - description: The expanded field. - items: - additionalProperties: true - description: Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. - properties: - '@type': - description: The type of the serialized message. - type: string - readOnly: false - type: object - nullable: true - readOnly: false - type: array - title: App User Service Update Response - type: object - x-speakeasy-name-override: AppUserServiceUpdateResponse - c1.api.app.v1.AppUserStatus: - description: The satus of the applicaiton user. - properties: - details: - description: The details of applicaiton user status. - readOnly: true - type: string - status: - description: The application user status field. - enum: - - STATUS_UNSPECIFIED - - STATUS_ENABLED - - STATUS_DISABLED - - STATUS_DELETED - readOnly: true - type: string - title: App User Status - type: object - x-speakeasy-name-override: AppUserStatus - c1.api.app.v1.AppUserView: - description: The AppUserView contains an app user as well as paths for apps, identity users, and last usage in expanded arrays. - properties: - appPath: - description: JSONPATH expression indicating where the app is expanded in expanded arrays indicated in the request. - readOnly: false - type: string - appUser: - $ref: '#/components/schemas/c1.api.app.v1.AppUser' - identityUserPath: - description: JSONPATH expression indicating where the identity user is expanded in expanded arrays indicated in the request. - readOnly: false - type: string - lastUsagePath: - description: JSONPATH expression indicating where the last usage information is expanded in expanded arrays indicated in the request. - readOnly: false - type: string - title: App User View - type: object - x-speakeasy-name-override: AppUserView - c1.api.app.v1.CancelAccessRequestDefaultsRequestInput: - description: The CancelAccessRequestDefaultsRequest message. - title: Cancel Access Request Defaults Request - type: object - x-speakeasy-name-override: CancelAccessRequestDefaultsRequest - c1.api.app.v1.Connector: - description: A Connector is used to sync objects into Apps - properties: - appId: - description: The id of the app the connector is associated with. - readOnly: false - type: string - catalogId: - description: The catalogId describes which catalog entry this connector is an instance of. For example, every Okta connector will have the same catalogId indicating it is an Okta connector. - readOnly: true - type: string - config: - additionalProperties: true - description: Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. - properties: - '@type': - description: The type of the serialized message. - type: string - readOnly: false - type: object - createdAt: - format: date-time - readOnly: true - type: string - deletedAt: - format: date-time - readOnly: true - type: string - description: - description: The description of the connector. - readOnly: false - type: string - displayName: - description: The display name of the connector. - readOnly: false - type: string - downloadUrl: - description: The downloadUrl for a spreadsheet if the connector was created from uploading a file. - readOnly: true - type: string - id: - description: The id of the connector. - readOnly: false - type: string - oauthAuthorizedAs: - $ref: '#/components/schemas/c1.api.app.v1.OAuth2AuthorizedAs' - status: - $ref: '#/components/schemas/c1.api.app.v1.ConnectorStatus' - updatedAt: - format: date-time - readOnly: true - type: string - userIds: - description: The userIds field is used to define the integration owners of the connector. - items: - type: string - nullable: true - readOnly: false - type: array - title: Connector - type: object - x-speakeasy-name-override: Connector - c1.api.app.v1.ConnectorCredential: - description: ConnectorCredential is used by a connector to authenticate with conductor one. - properties: - appId: - description: The appId of the app the connector is attached to. - readOnly: false - type: string - clientId: - description: The client id of the ConnectorCredential. - readOnly: false - type: string - connectorId: - description: The connectorId of the connector the credential is associated with. - readOnly: false - type: string - createdAt: - format: date-time - readOnly: true - type: string - deletedAt: - format: date-time - readOnly: true - type: string - displayName: - description: The display name of the ConnectorCredential. - readOnly: false - type: string - expiresTime: - format: date-time - readOnly: true - type: string - id: - description: The id of the ConnectorCredential. - readOnly: false - type: string - lastUsedAt: - format: date-time - readOnly: true - type: string - updatedAt: - format: date-time - readOnly: true - type: string - title: Connector Credential - type: object - x-speakeasy-entity: ConnectorCredential - x-speakeasy-name-override: ConnectorCredential - c1.api.app.v1.ConnectorExpandMask: - description: The ConnectorExpandMask is used to expand related objects on a connector. - properties: - paths: - description: Paths that you want expanded in the response. Possible values are "app_id" and "*". - items: - type: string - nullable: true - readOnly: false - type: array - title: Connector Expand Mask - type: object - x-speakeasy-name-override: ConnectorExpandMask - c1.api.app.v1.ConnectorServiceCreateDelegatedRequestInput: - description: The ConnectorServiceCreateDelegatedRequest message contains the fields required to create a connector. - properties: - catalogId: - description: The catalogId describes which catalog entry this connector is an instance of. For example, every Okta connector will have the same catalogId indicating it is an Okta connector. - readOnly: false - type: string - description: - description: The description of the connector. - readOnly: false - type: string - displayName: - description: The displayName of the connector. - readOnly: false - type: string - expandMask: - $ref: '#/components/schemas/c1.api.app.v1.ConnectorExpandMask' - userIds: - description: The userIds field is used to define the integration owners of the connector. - items: - type: string - nullable: true - readOnly: false - type: array - title: Connector Service Create Delegated Request - type: object - x-speakeasy-name-override: ConnectorServiceCreateDelegatedRequest - c1.api.app.v1.ConnectorServiceCreateRequestInput: - description: The ConnectorServiceCreateRequest message. - properties: - catalogId: - description: The catalogId field. - readOnly: false - type: string - config: - additionalProperties: true - description: Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. - properties: - '@type': - description: The type of the serialized message. - type: string - readOnly: false - type: object - description: - description: The description field. - readOnly: false - type: string - expandMask: - $ref: '#/components/schemas/c1.api.app.v1.ConnectorExpandMask' - userIds: - description: The userIds field. - items: - type: string - nullable: true - readOnly: false - type: array - title: Connector Service Create Request - type: object - x-speakeasy-name-override: ConnectorServiceCreateRequest - c1.api.app.v1.ConnectorServiceCreateResponse: - description: The ConnectorServiceCreateResponse is the response returned from creating a connector. - properties: - connectorView: - $ref: '#/components/schemas/c1.api.app.v1.ConnectorView' - expanded: - description: The array of expanded items indicated by the request. - items: - additionalProperties: true - description: Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. - properties: - '@type': - description: The type of the serialized message. - type: string - readOnly: false - type: object - nullable: true - readOnly: false - type: array - title: Connector Service Create Response - type: object - x-speakeasy-name-override: ConnectorServiceCreateResponse - c1.api.app.v1.ConnectorServiceDeleteRequestInput: - description: ConnectorServiceDeleteRequest is a request for deleting a connector. It uses URL values for input. - title: Connector Service Delete Request - type: object - x-speakeasy-name-override: ConnectorServiceDeleteRequest - c1.api.app.v1.ConnectorServiceDeleteResponse: - description: Empty response body. Status code indicates success. - title: Connector Service Delete Response - type: object - x-speakeasy-name-override: ConnectorServiceDeleteResponse - c1.api.app.v1.ConnectorServiceGetCredentialsResponse: - description: ConnectorServiceGetCredentialsResponse is the response returned by the get method. - properties: - credential: - $ref: '#/components/schemas/c1.api.app.v1.ConnectorCredential' - title: Connector Service Get Credentials Response - type: object - x-speakeasy-name-override: ConnectorServiceGetCredentialsResponse - c1.api.app.v1.ConnectorServiceGetResponse: - description: The ConnectorServiceGetResponse message contains the connectorView, and an expand mask. - properties: - connectorView: - $ref: '#/components/schemas/c1.api.app.v1.ConnectorView' - expanded: - description: The array of expanded items indicated by the request. - items: - additionalProperties: true - description: Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. - properties: - '@type': - description: The type of the serialized message. - type: string - readOnly: false - type: object - nullable: true - readOnly: false - type: array - title: Connector Service Get Response - type: object - x-speakeasy-name-override: ConnectorServiceGetResponse - c1.api.app.v1.ConnectorServiceListResponse: - description: The ConnectorServiceListResponse message contains a list of results and a nextPageToken if applicable - properties: - expanded: - description: List of serialized related objects - items: - additionalProperties: true - description: Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. - properties: - '@type': - description: The type of the serialized message. - type: string - readOnly: false - type: object - nullable: true - readOnly: false - type: array - list: - description: The list of results containing up to X results, where X is the page size defined in the request - items: - $ref: '#/components/schemas/c1.api.app.v1.ConnectorView' - nullable: true - readOnly: false - type: array - nextPageToken: - description: The nextPageToken is shown for the next page if the number of results is larger than the max page size. The server returns one page of results and the nextPageToken until all results are retreived. To retrieve the next page, use the same request and append a pageToken field with the value of nextPageToken shown on the previous page. - readOnly: false - type: string - title: Connector Service List Response - type: object - x-speakeasy-name-override: ConnectorServiceListResponse - c1.api.app.v1.ConnectorServiceRevokeCredentialRequestInput: - description: ConnectorServiceRevokeCredentialRequest is a request for revoking connector credentials. It uses URL values for input. - title: Connector Service Revoke Credential Request - type: object - x-speakeasy-entity: ConnectorCredential - x-speakeasy-name-override: ConnectorServiceRevokeCredentialRequest - c1.api.app.v1.ConnectorServiceRevokeCredentialResponse: - description: Empty response body. Status code indicates success. - title: Connector Service Revoke Credential Response - type: object - x-speakeasy-entity: ConnectorCredential - x-speakeasy-name-override: ConnectorServiceRevokeCredentialResponse - c1.api.app.v1.ConnectorServiceRotateCredentialRequestInput: - description: ConnectorServiceRotateCredentialRequest is a request for rotating connector credentials. It uses URL values for input. - title: Connector Service Rotate Credential Request - type: object - x-speakeasy-entity: ConnectorCredential - x-speakeasy-name-override: ConnectorServiceRotateCredentialRequest - c1.api.app.v1.ConnectorServiceRotateCredentialResponse: - description: ConnectorServiceRotateCredentialResponse is the response returned by the rotate method. - properties: - clientSecret: - description: The new clientSecret returned after rotating the connector credential. - readOnly: false - type: string - credential: - $ref: '#/components/schemas/c1.api.app.v1.ConnectorCredential' - title: Connector Service Rotate Credential Response - type: object - x-speakeasy-name-override: ConnectorServiceRotateCredentialResponse - c1.api.app.v1.ConnectorServiceUpdateDelegatedRequestInput: - description: The ConnectorServiceUpdateDelegatedRequest message contains the fields required to update a connector. - properties: - connector: - $ref: '#/components/schemas/c1.api.app.v1.Connector' - expandMask: - $ref: '#/components/schemas/c1.api.app.v1.ConnectorExpandMask' - updateMask: - nullable: true - readOnly: false - type: string - title: Connector Service Update Delegated Request - type: object - x-speakeasy-name-override: ConnectorServiceUpdateDelegatedRequest - c1.api.app.v1.ConnectorServiceUpdateRequestInput: - description: The ConnectorServiceUpdateRequest message contains the fields required to update a connector. - properties: - connector: - $ref: '#/components/schemas/c1.api.app.v1.Connector' - expandMask: - $ref: '#/components/schemas/c1.api.app.v1.ConnectorExpandMask' - updateMask: - nullable: true - readOnly: false - type: string - title: Connector Service Update Request - type: object - x-speakeasy-name-override: ConnectorServiceUpdateRequest - c1.api.app.v1.ConnectorServiceUpdateResponse: - description: ConnectorServiceUpdateResponse is the response returned by the update method. - properties: - connectorView: - $ref: '#/components/schemas/c1.api.app.v1.ConnectorView' - expanded: - description: The array of expanded items indicated by the request. - items: - additionalProperties: true - description: Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. - properties: - '@type': - description: The type of the serialized message. - type: string - readOnly: false - type: object - nullable: true - readOnly: false - type: array - title: Connector Service Update Response - type: object - x-speakeasy-name-override: ConnectorServiceUpdateResponse - c1.api.app.v1.ConnectorStatus: - description: The status field on the connector is used to track the status of the connectors sync, and when syncing last started, completed, or caused the connector to update. - properties: - completedAt: - format: date-time - readOnly: false - type: string - lastError: - description: The last error encountered by the connector. - readOnly: false - type: string - startedAt: - format: date-time - readOnly: false - type: string - status: - description: The status of the connector sync. - enum: - - SYNC_STATUS_UNSPECIFIED - - SYNC_STATUS_RUNNING - - SYNC_STATUS_DONE - - SYNC_STATUS_ERROR - - SYNC_STATUS_DISABLED - readOnly: false - type: string - updatedAt: - format: date-time - readOnly: false - type: string - title: Connector Status - type: object - x-speakeasy-name-override: ConnectorStatus - c1.api.app.v1.ConnectorView: - description: The ConnectorView object provides a connector response object, as well as JSONPATHs to related objects provided by expanders. - properties: - appPath: - description: JSONPATH expression indicating the location of the App object in the expanded array. - readOnly: false - type: string - connector: - $ref: '#/components/schemas/c1.api.app.v1.Connector' - usersPath: - description: JSONPATH expression indicating the location of the User object in the expanded array. This is the user that is a direct target of the ticket without a specific relationship to a potentially non-existent app user. - readOnly: false - type: string - title: Connector View - type: object - x-speakeasy-name-override: ConnectorView - c1.api.app.v1.CreateAppRequest: - description: The CreateAppRequest message is used to create a new app. - properties: - certifyPolicyId: - description: Creates the app with this certify policy. - readOnly: false - type: string - description: - description: Creates the app with this description. - readOnly: false - type: string - displayName: - description: Creates the app with this display name. - readOnly: false - type: string - grantPolicyId: - description: Creates the app with this grant policy. - readOnly: false - type: string - monthlyCostUsd: - description: Creates the app with this monthly cost per seat. - format: int32 - readOnly: false - type: integer - owners: - description: Creates the app with this array of owners. - items: - type: string - nullable: true - readOnly: false - type: array - revokePolicyId: - description: Creates the app with this revoke policy. - readOnly: false - type: string - title: Create App Request - type: object - x-speakeasy-entity: App - x-speakeasy-name-override: CreateAppRequest - c1.api.app.v1.CreateAppResponse: - description: Returns the new app's values. - properties: - app: - $ref: '#/components/schemas/c1.api.app.v1.App' - title: Create App Response - type: object - x-speakeasy-name-override: CreateAppResponse - c1.api.app.v1.DeleteAppRequestInput: - description: Empty request body - title: Delete App Request - type: object - x-speakeasy-entity: App - x-speakeasy-name-override: DeleteAppRequest - c1.api.app.v1.DeleteAppResponse: - description: Empty response body. Status code indicates success. - title: Delete App Response - type: object - x-speakeasy-name-override: DeleteAppResponse - c1.api.app.v1.ForceSyncRequestInput: - description: Signal the connector to start syncing. This puts the sync on the queue. It does not guarantee immediate sync. Long syncs still take minutes to hours. - title: Force Sync Request - type: object - x-speakeasy-name-override: ForceSyncRequest - c1.api.app.v1.ForceSyncResponse: - description: The ForceSyncResponse message. - title: Force Sync Response - type: object - x-speakeasy-name-override: ForceSyncResponse - c1.api.app.v1.GetAppEntitlementResponse: - description: The get app entitlement response returns an entitlement view containing paths in the expanded array for the objects expanded as indicated by the expand mask in the request. - properties: - appEntitlementView: - $ref: '#/components/schemas/c1.api.app.v1.AppEntitlementView' - expanded: - description: List of serialized related objects. - items: - additionalProperties: true - description: Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. - properties: - '@type': - description: The type of the serialized message. - type: string - readOnly: false - type: object - nullable: true - readOnly: false - type: array - title: Get App Entitlement Response - type: object - x-speakeasy-name-override: GetAppEntitlementResponse - c1.api.app.v1.GetAppResponse: - description: The GetAppResponse message contains the details of the requested app in the app field. - properties: - app: - $ref: '#/components/schemas/c1.api.app.v1.App' - title: Get App Response - type: object - x-speakeasy-name-override: GetAppResponse - c1.api.app.v1.GetAppUsageControlsResponse: - description: The GetAppUsageControlsResponse message contains the retrieved AppUsageControls object. - properties: - appUsageControls: - $ref: '#/components/schemas/c1.api.app.v1.AppUsageControls' - hasUsageData: - description: HasUsageData is false if the access entitlement for this app has no usage data. - readOnly: false - type: boolean - title: Get App Usage Controls Response - type: object - x-speakeasy-name-override: GetAppUsageControlsResponse - c1.api.app.v1.ListAppEntitlementOwnersResponse: - description: The response message for listing app entitlement owners. - properties: - list: - description: The list of owners for the app entitlement. - items: - $ref: '#/components/schemas/c1.api.user.v1.User' - nullable: true - readOnly: false - type: array - nextPageToken: - description: |- - The nextPageToken is shown for the next page if the number of results is larger than the max page size. - The server returns one page of results and the nextPageToken until all results are retreived. - To retrieve the next page, use the same request and append a pageToken field with the value of nextPageToken shown on the previous page. - readOnly: false - type: string - title: List App Entitlement Owners Response - type: object - x-speakeasy-name-override: ListAppEntitlementOwnersResponse - c1.api.app.v1.ListAppEntitlementUsersResponse: - description: The ListAppEntitlementUsersResponse message contains a list of results and a nextPageToken if applicable. - properties: - expanded: - description: List of related objects - items: - additionalProperties: true - description: Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. - properties: - '@type': - description: The type of the serialized message. - type: string - readOnly: false - type: object - nullable: true - readOnly: false - type: array - list: - description: The list of results containing up to X results, where X is the page size defined in the request. - items: - $ref: '#/components/schemas/c1.api.app.v1.AppEntitlementUserView' - nullable: true - readOnly: false - type: array - nextPageToken: - description: The nextPageToken is shown for the next page if the number of results is larger than the max page size. The server returns one page of results and the nextPageToken until all results are retreived. To retrieve the next page, use the same request and append a pageToken field with the value of nextPageToken shown on the previous page. - readOnly: false - type: string - title: List App Entitlement Users Response - type: object - x-speakeasy-name-override: ListAppEntitlementUsersResponse - c1.api.app.v1.ListAppEntitlementsResponse: - description: The ListAppEntitlementsResponse message contains a list of results and a nextPageToken if applicable. - properties: - expanded: - description: List of related objects - items: - additionalProperties: true - description: Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. - properties: - '@type': - description: The type of the serialized message. - type: string - readOnly: false - type: object - nullable: true - readOnly: false - type: array - list: - description: The list of results containing up to X results, where X is the page size defined in the request. - items: - $ref: '#/components/schemas/c1.api.app.v1.AppEntitlementView' - nullable: true - readOnly: false - type: array - nextPageToken: - description: The nextPageToken is shown for the next page if the number of results is larger than the max page size. The server returns one page of results and the nextPageToken until all results are retreived. To retrieve the next page, use the same request and append a pageToken field with the value of nextPageToken shown on the previous page. - readOnly: false - type: string - title: List App Entitlements Response - type: object - x-speakeasy-name-override: ListAppEntitlementsResponse - c1.api.app.v1.ListAppOwnersResponse: - description: The ListAppOwnersResponse message. - properties: - list: - description: The list of results containing up to X results, where X is the page size defined in the request - items: - $ref: '#/components/schemas/c1.api.user.v1.User' - nullable: true - readOnly: false - type: array - nextPageToken: - description: The nextPageToken is shown for the next page if the number of results is larger than the max page size. The server returns one page of results and the nextPageToken until all results are retreived. To retrieve the next page, use the same request and append a pageToken field with the value of nextPageToken shown on the previous page. - readOnly: false - type: string - title: List App Owners Response - type: object - x-speakeasy-name-override: ListAppOwnersResponse - c1.api.app.v1.ListAppResourceOwnersResponse: - description: The ListAppResourceOwnersResponse message contains a list of results and a nextPageToken if applicable - properties: - list: - description: The list of results containing up to X results, where X is the page size defined in the request. - items: - $ref: '#/components/schemas/c1.api.user.v1.User' - nullable: true - readOnly: false - type: array - nextPageToken: - description: |- - The nextPageToken is shown for the next page if the number of results is larger than the max page size. - The server returns one page of results and the nextPageToken until all results are retreived. - To retrieve the next page, use the same request and append a pageToken field with the value of nextPageToken shown on the previous page. - readOnly: false - type: string - title: List App Resource Owners Response - type: object - x-speakeasy-name-override: ListAppResourceOwnersResponse - c1.api.app.v1.ListAppUsersForIdentityWithGrantResponse: - description: The ListAppUsersForIdentityWithGrantResponse message. - properties: - bindings: - description: The list of app users that may also have grant information. - items: - $ref: '#/components/schemas/c1.api.app.v1.AppEntitlementUserBinding' - nullable: true - readOnly: false - type: array - title: List App Users For Identity With Grant Response - type: object - x-speakeasy-name-override: ListAppUsersForIdentityWithGrantResponse - c1.api.app.v1.ListAppsResponse: - description: The ListAppsResponse message contains a list of results and a nextPageToken if applicable. - properties: - list: - description: The list of results containing up to X results, where X is the page size defined in the request. - items: - $ref: '#/components/schemas/c1.api.app.v1.App' - nullable: true - readOnly: false - type: array - nextPageToken: - description: |- - The nextPageToken is shown for the next page if the number of results is larger than the max page size. - The server returns one page of results and the nextPageToken until all results are retreived. - To retrieve the next page, use the same request and append a pageToken field with the value of nextPageToken shown on the previous page. - readOnly: false - type: string - title: List Apps Response - type: object - x-speakeasy-name-override: ListAppsResponse - c1.api.app.v1.OAuth2AuthorizedAs: - description: OAuth2AuthorizedAs tracks the user that OAuthed with the connector. - properties: - authEmail: - description: authEmail is the email of the user that authorized the connector using OAuth. - readOnly: true - type: string - authorizedAt: - format: date-time - readOnly: true - type: string - title: O Auth 2 Authorized As - type: object - x-speakeasy-name-override: OAuth2AuthorizedAs - c1.api.app.v1.RemoveAppEntitlementOwnerRequestInput: - description: The request message for removing an app entitlement owner. - title: Remove App Entitlement Owner Request - type: object - x-speakeasy-name-override: RemoveAppEntitlementOwnerRequest - c1.api.app.v1.RemoveAppEntitlementOwnerResponse: - description: The empty response message for removing an app entitlement owner. - title: Remove App Entitlement Owner Response - type: object - x-speakeasy-name-override: RemoveAppEntitlementOwnerResponse - c1.api.app.v1.RemoveAppOwnerRequestInput: - description: RemoveAppOwnerRequest is the request body for removing an app owner. It uses URL values for input. - title: Remove App Owner Request - type: object - x-speakeasy-name-override: RemoveAppOwnerRequest - c1.api.app.v1.RemoveAppOwnerResponse: - description: Empty response with a status code indicating success. - title: Remove App Owner Response - type: object - x-speakeasy-name-override: RemoveAppOwnerResponse - c1.api.app.v1.SearchAppEntitlementsWithExpiredResponse: - description: The SearchAppEntitlementsWithExpiredResponse message contains a list of results and a nextPageToken if applicable. - properties: - list: - description: The list field. - items: - $ref: '#/components/schemas/c1.api.app.v1.AppEntitlementWithExpired' - nullable: true - readOnly: false - type: array - nextPageToken: - description: The nextPageToken field. - readOnly: false - type: string - title: Search App Entitlements With Expired Response - type: object - x-speakeasy-name-override: SearchAppEntitlementsWithExpiredResponse - c1.api.app.v1.SearchAppResourceTypesRequest: - description: Search for app resources based on some filters. - properties: - appIds: - description: A list of app IDs to restrict the search by. - items: - type: string - nullable: true - readOnly: false - type: array - appUserIds: - description: A list of app user IDs to restrict the search by. - items: - type: string - nullable: true - readOnly: false - type: array - excludeResourceTypeIds: - description: A list of resource type IDs to exclude from the search. - items: - type: string - nullable: true - readOnly: false - type: array - excludeResourceTypeTraitIds: - description: A list of resource type trait IDs to exclude from the search. - items: - type: string - nullable: true - readOnly: false - type: array - pageSize: - description: The pageSize where 10 <= pageSize <= 100, default 25. - format: int32 - readOnly: false - type: integer - pageToken: - description: The pageToken field. - readOnly: false - type: string - query: - description: Fuzzy search the display name of resource types. - readOnly: false - type: string - resourceTypeIds: - description: A list of resource type IDs to restrict the search by. - items: - type: string - nullable: true - readOnly: false - type: array - resourceTypeTraitIds: - description: A list of resource type trait IDs to restrict the search by. - items: - type: string - nullable: true - readOnly: false - type: array - title: Search App Resource Types Request - type: object - x-speakeasy-name-override: SearchAppResourceTypesRequest - c1.api.app.v1.SearchAppResourceTypesResponse: - description: The SearchAppResourceTypesResponse message contains a list of results and a nextPageToken if applicable. - properties: - list: - description: The list of results containing up to X results, where X is the page size defined in the request. - items: - $ref: '#/components/schemas/c1.api.app.v1.AppResourceType' - nullable: true - readOnly: false - type: array - nextPageToken: - description: |- - The nextPageToken is shown for the next page if the number of results is larger than the max page size. - The server returns one page of results and the nextPageToken until all results are retreived. - To retrieve the next page, use the same request and append a pageToken field with the value of nextPageToken shown on the previous page. - readOnly: false - type: string - title: Search App Resource Types Response - type: object - x-speakeasy-name-override: SearchAppResourceTypesResponse - c1.api.app.v1.SearchAppsRequest: - description: Search Apps by a few properties. - properties: - appIds: - description: A list of app IDs to restrict the search to. - items: - type: string - nullable: true - readOnly: false - type: array - displayName: - description: Search for apps with a case insensitive match on the display name. - readOnly: false - type: string - excludeAppIds: - description: A list of app IDs to remove from the results. - items: - type: string - nullable: true - readOnly: false - type: array - onlyDirectories: - description: Only return apps which are directories - readOnly: false - type: boolean - pageSize: - description: The pageSize where 0 <= pageSize <= 100. Values < 10 will be set to 10. A value of 0 returns the default page size (currently 25) - format: int32 - readOnly: false - type: integer - pageToken: - description: The pageToken field. - readOnly: false - type: string - query: - description: Query the apps with a fuzzy search on display name and description. - readOnly: false - type: string - title: Search Apps Request - type: object - x-speakeasy-name-override: SearchAppsRequest - c1.api.app.v1.SearchAppsResponse: - description: The SearchAppsResponse message contains a list of results and a nextPageToken if applicable. - properties: - list: - description: The list of results containing up to X results, where X is the page size defined in the request. - items: - $ref: '#/components/schemas/c1.api.app.v1.App' - nullable: true - readOnly: false - type: array - nextPageToken: - description: |- - The nextPageToken is shown for the next page if the number of results is larger than the max page size. - The server returns one page of results and the nextPageToken until all results are retreived. - To retrieve the next page, use the same request and append a pageToken field with the value of nextPageToken shown on the previous page. - readOnly: false - type: string - title: Search Apps Response - type: object - x-speakeasy-name-override: SearchAppsResponse - c1.api.app.v1.SearchPastGrantsResponse: - description: The SearchPastGrantsRequest message contains a list of results and a nextPageToken if applicable. - properties: - expanded: - description: The expanded field. - items: - additionalProperties: true - description: Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. - properties: - '@type': - description: The type of the serialized message. - type: string - readOnly: false - type: object - nullable: true - readOnly: false - type: array - list: - description: The list of results containing up to X results, where X is the page size defined in the request. - items: - $ref: '#/components/schemas/c1.api.app.v1.AppEntitlementUserBindingHistoryView' - nullable: true - readOnly: false - type: array - nextPageToken: - description: |- - The nextPageToken is shown for the next page if the number of results is larger than the max page size. - The server returns one page of results and the nextPageToken until all results are retreived. - To retrieve the next page, use the same request and append a pageToken field with the value of nextPageToken shown on the previous page. - readOnly: false - type: string - title: Search Past Grants Response - type: object - x-speakeasy-name-override: SearchPastGrantsResponse - c1.api.app.v1.SetAppEntitlementOwnersRequestInput: - description: The request message for setting the app entitlement owners. - properties: - userIds: - description: The user_ids field for the users to set as an owner of the app entitlement. - items: - type: string - nullable: true - readOnly: false - type: array - title: Set App Entitlement Owners Request - type: object - x-speakeasy-entity: App_Entitlement_Owner - x-speakeasy-name-override: SetAppEntitlementOwnersRequest - c1.api.app.v1.SetAppEntitlementOwnersResponse: - description: The empty response message for setting the app entitlement owners. - title: Set App Entitlement Owners Response - type: object - x-speakeasy-name-override: SetAppEntitlementOwnersResponse - c1.api.app.v1.SetAppOwnersRequestInput: - description: The request message for setting the app owners. - properties: - userIds: - description: The user_ids field for the users to set as an owner of the app. - items: - type: string - nullable: true - readOnly: false - type: array - title: Set App Owners Request - type: object - x-speakeasy-entity: App_Owner - x-speakeasy-name-override: SetAppOwnersRequest - c1.api.app.v1.SetAppOwnersResponse: - description: The empty response message for setting the app owners. - title: Set App Owners Response - type: object - x-speakeasy-name-override: SetAppOwnersResponse - c1.api.app.v1.UpdateAppEntitlementRequestInput: - description: The UpdateAppEntitlementRequest message contains the app entitlement and the fields to be updated. - properties: - entitlement: - $ref: '#/components/schemas/c1.api.app.v1.AppEntitlement' - expandMask: - $ref: '#/components/schemas/c1.api.app.v1.AppEntitlementExpandMask' - overrideAccessRequestsDefaults: - description: Flag to indicate that access request defaults, if any are applied to these entitlements, should be overridden. - readOnly: false - type: boolean - updateMask: - nullable: true - readOnly: false - type: string - title: Update App Entitlement Request - type: object - x-speakeasy-name-override: UpdateAppEntitlementRequest - c1.api.app.v1.UpdateAppEntitlementResponse: - description: The UpdateAppEntitlementResponse message. - properties: - appEntitlementView: - $ref: '#/components/schemas/c1.api.app.v1.AppEntitlementView' - expanded: - description: List of related objects - items: - additionalProperties: true - description: Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. - properties: - '@type': - description: The type of the serialized message. - type: string - readOnly: false - type: object - nullable: true - readOnly: false - type: array - title: Update App Entitlement Response - type: object - x-speakeasy-name-override: UpdateAppEntitlementResponse - c1.api.app.v1.UpdateAppRequestInput: - description: The UpdateAppRequest message contains the app to update and the fields to update. - properties: - app: - $ref: '#/components/schemas/c1.api.app.v1.App' - updateMask: - nullable: true - readOnly: false - type: string - title: Update App Request - type: object - x-speakeasy-name-override: UpdateAppRequest - c1.api.app.v1.UpdateAppResponse: - description: Returns the updated app's new values. - properties: - app: - $ref: '#/components/schemas/c1.api.app.v1.App' - title: Update App Response - type: object - x-speakeasy-name-override: UpdateAppResponse - c1.api.app.v1.UpdateAppUsageControlsRequestInput: - description: The UpdateAppUsageControlsRequest message contains the AppUsageControls object to update and the update mask. - properties: - appUsageControls: - $ref: '#/components/schemas/c1.api.app.v1.AppUsageControls' - updateMask: - nullable: true - readOnly: false - type: string - title: Update App Usage Controls Request - type: object - x-speakeasy-name-override: UpdateAppUsageControlsRequest - c1.api.app.v1.UpdateAppUsageControlsResponse: - description: The UpdateAppUsageControlsResponse message contains the updated AppUsageControls object. - properties: - appUsageControls: - $ref: '#/components/schemas/c1.api.app.v1.AppUsageControls' - title: Update App Usage Controls Response - type: object - x-speakeasy-name-override: UpdateAppUsageControlsResponse - c1.api.attribute.v1.AttributeType: - description: AttributeType defines the type of an attribute. - properties: - id: - description: The ID of the AttributeType. - readOnly: false - type: string - name: - description: The name of the AttributeType. - readOnly: false - type: string - title: Attribute Type - type: object - x-speakeasy-name-override: AttributeType - c1.api.attribute.v1.AttributeValue: - description: AttributeValue is the value of an attribute of a defined type. - properties: - attributeTypeId: - description: The ID of the AttributeType that this AttributeValue belongs to. - readOnly: false - type: string - createdAt: - format: date-time - readOnly: true - type: string - deletedAt: - format: date-time - readOnly: true - type: string - id: - description: The ID of the AttributeValue. - readOnly: false - type: string - updatedAt: - format: date-time - readOnly: true - type: string - value: - description: The value of the AttributeValue. This is the string that will be displayed to the user. - readOnly: false - type: string - title: Attribute Value - type: object - x-speakeasy-name-override: AttributeValue - c1.api.attribute.v1.CreateAttributeValueRequest: - description: The CreateAttributeValueRequest message. - properties: - attributeTypeId: - description: The attributeTypeId field. - readOnly: false - type: string - value: - description: The value field. - readOnly: false - type: string - title: Create Attribute Value Request - type: object - x-speakeasy-name-override: CreateAttributeValueRequest - c1.api.attribute.v1.CreateAttributeValueResponse: - description: CreateAttributeValueResponse is the response for creating an attribute value. - properties: - value: - $ref: '#/components/schemas/c1.api.attribute.v1.AttributeValue' - title: Create Attribute Value Response - type: object - x-speakeasy-name-override: CreateAttributeValueResponse - c1.api.attribute.v1.DeleteAttributeValueRequestInput: - description: The DeleteAttributeValueRequest message. - title: Delete Attribute Value Request - type: object - x-speakeasy-name-override: DeleteAttributeValueRequest - c1.api.attribute.v1.DeleteAttributeValueResponse: - description: DeleteAttributeValueResponse is the empty response for deleting an attribute value. - title: Delete Attribute Value Response - type: object - x-speakeasy-name-override: DeleteAttributeValueResponse - c1.api.attribute.v1.GetAttributeValueResponse: - description: GetAttributeValueResponse is the response for getting an attribute value by id. - properties: - value: - $ref: '#/components/schemas/c1.api.attribute.v1.AttributeValue' - title: Get Attribute Value Response - type: object - x-speakeasy-name-override: GetAttributeValueResponse - c1.api.attribute.v1.ListAttributeTypesResponse: - description: ListAttributeTypesResponse is the response for listing attribute types. - properties: - list: - description: The list of AttributeTypes. - items: - $ref: '#/components/schemas/c1.api.attribute.v1.AttributeType' - nullable: true - readOnly: false - type: array - nextPageToken: - description: |- - The nextPageToken is shown for the next page if the number of results is larger than the max page size. - The server returns one page of results and the nextPageToken until all results are retreived. - To retrieve the next page, use the same request and append a pageToken field with the value of nextPageToken shown on the previous page. - readOnly: false - type: string - title: List Attribute Types Response - type: object - x-speakeasy-name-override: ListAttributeTypesResponse - c1.api.attribute.v1.ListAttributeValuesResponse: - description: ListAttributeValuesResponse is the response for listing attribute values for a given AttributeType. - properties: - list: - description: The list of AttributeValues. - items: - $ref: '#/components/schemas/c1.api.attribute.v1.AttributeValue' - nullable: true - readOnly: false - type: array - nextPageToken: - description: |- - The nextPageToken is shown for the next page if the number of results is larger than the max page size. - The server returns one page of results and the nextPageToken until all results are retreived. - To retrieve the next page, use the same request and append a pageToken field with the value of nextPageToken shown on the previous page. - readOnly: false - type: string - title: List Attribute Values Response - type: object - x-speakeasy-name-override: ListAttributeValuesResponse - c1.api.attribute.v1.SearchAttributeValuesRequest: - description: Search Attributes by a few properties. - properties: - attributeTypeIds: - description: The attribute type ids for what type of attributes to search for. - items: - type: string - nullable: true - readOnly: false - type: array - excludeIds: - description: Exclude attributes with these ids from the search results. - items: - type: string - nullable: true - readOnly: false - type: array - ids: - description: Include attributes with these ids in the search results. - items: - type: string - nullable: true - readOnly: false - type: array - pageSize: - description: The pageSize where 0 <= pageSize <= 100. Values < 10 will be set to 10. A value of 0 returns the default page size (currently 25) - format: int32 - readOnly: false - type: integer - pageToken: - description: The pageToken field. - readOnly: false - type: string - query: - description: Query the attributes with a fuzzy search on display name and description. - readOnly: false - type: string - value: - description: Search for attributes with a case insensitive match on the attribute value which is the attribute name. - readOnly: false - type: string - title: Search Attribute Values Request - type: object - x-speakeasy-name-override: SearchAttributeValuesRequest - c1.api.attribute.v1.SearchAttributeValuesResponse: - description: SearchAttributeValuesResponse is the response for searching AttributeValues. - properties: - list: - description: The list of returned AttributeValues. - items: - $ref: '#/components/schemas/c1.api.attribute.v1.AttributeValue' - nullable: true - readOnly: false - type: array - nextPageToken: - description: |- - The nextPageToken is shown for the next page if the number of results is larger than the max page size. - The server returns one page of results and the nextPageToken until all results are retreived. - To retrieve the next page, use the same request and append a pageToken field with the value of nextPageToken shown on the previous page. - readOnly: false - type: string - title: Search Attribute Values Response - type: object - x-speakeasy-name-override: SearchAttributeValuesResponse - c1.api.auth.v1.IntrospectResponse: - description: IntrospectResponse contains information about the current user who is authenticated. - properties: - features: - description: The list of feature flags enabled for the tenant the logged in user belongs to. - items: - type: string - nullable: true - readOnly: false - type: array - permissions: - description: The list of permissions that the current logged in user has. - items: - type: string - nullable: true - readOnly: false - type: array - principleId: - description: The principleID of the current logged in user. - readOnly: false - type: string - roles: - description: The list of roles that the current logged in user has. - items: - type: string - nullable: true - readOnly: false - type: array - userId: - description: The userID of the current logged in user. - readOnly: false - type: string - title: Introspect Response - type: object - x-speakeasy-name-override: IntrospectResponse - c1.api.directory.v1.Directory: - description: This object indicates that an app is also a directory. - properties: - appId: - description: The ID of the app associated with the directory. - readOnly: true - type: string - createdAt: - format: date-time - readOnly: true - type: string - deletedAt: - format: date-time - readOnly: true - type: string - updatedAt: - format: date-time - readOnly: true - type: string - title: Directory - type: object - x-speakeasy-name-override: Directory - c1.api.directory.v1.DirectoryExpandMask: - description: The fields to be included in the directory response. - properties: - paths: - description: An array of fields to be included in the directory response. - items: - type: string - nullable: true - readOnly: false - type: array - title: Directory Expand Mask - type: object - x-speakeasy-name-override: DirectoryExpandMask - c1.api.directory.v1.DirectoryServiceCreateRequest: - description: Uplevel an app into a full directory. - properties: - appId: - description: The AppID to make into a directory, providing identities and more for the C1 app. - readOnly: false - type: string - expandMask: - $ref: '#/components/schemas/c1.api.directory.v1.DirectoryExpandMask' - title: Directory Service Create Request - type: object - x-speakeasy-name-override: DirectoryServiceCreateRequest - c1.api.directory.v1.DirectoryServiceCreateResponse: - description: The DirectoryServiceCreateResponse message. - properties: - directoryView: - $ref: '#/components/schemas/c1.api.directory.v1.DirectoryView' - expanded: - description: List of serialized related objects. - items: - additionalProperties: true - description: Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. - properties: - '@type': - description: The type of the serialized message. - type: string - readOnly: false - type: object - nullable: true - readOnly: false - type: array - title: Directory Service Create Response - type: object - x-speakeasy-name-override: DirectoryServiceCreateResponse - c1.api.directory.v1.DirectoryServiceDeleteRequestInput: - description: DirectoryServiceDeleteRequest is the request message for deleting a directory. It uses URL values for input. - title: Directory Service Delete Request - type: object - x-speakeasy-name-override: DirectoryServiceDeleteRequest - c1.api.directory.v1.DirectoryServiceDeleteResponse: - description: Empty response with a status code indicating success. - title: Directory Service Delete Response - type: object - x-speakeasy-name-override: DirectoryServiceDeleteResponse - c1.api.directory.v1.DirectoryServiceGetResponse: - description: |- - The Directory Service Get Response returns a directory view with a directory and JSONPATHs indicating the - location in the expanded array that items are expanded as indicated by the expand mask in the request. - properties: - directoryView: - $ref: '#/components/schemas/c1.api.directory.v1.DirectoryView' - expanded: - description: List of serialized related objects. - items: - additionalProperties: true - description: Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. - properties: - '@type': - description: The type of the serialized message. - type: string - readOnly: false - type: object - nullable: true - readOnly: false - type: array - title: Directory Service Get Response - type: object - x-speakeasy-name-override: DirectoryServiceGetResponse - c1.api.directory.v1.DirectoryServiceListResponse: - description: The DirectoryServiceListResponse message contains a list of results and a nextPageToken if applicable. - properties: - expanded: - description: |- - The nextPageToken is shown for the next page if the number of results is larger than the max page size. - The server returns one page of results and the nextPageToken until all results are retreived. - To retrieve the next page, use the same request and append a pageToken field with the value of nextPageToken shown on the previous page. - items: - additionalProperties: true - description: Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. - properties: - '@type': - description: The type of the serialized message. - type: string - readOnly: false - type: object - nullable: true - readOnly: false - type: array - list: - description: The list of results containing up to X results, where X is the page size defined in the request. - items: - $ref: '#/components/schemas/c1.api.directory.v1.DirectoryView' - nullable: true - readOnly: false - type: array - nextPageToken: - description: List of serialized related objects. - readOnly: false - type: string - title: Directory Service List Response - type: object - x-speakeasy-name-override: DirectoryServiceListResponse - c1.api.directory.v1.DirectoryView: - description: The directory view contains a directory and an app_path which is a JSONPATH set to the location in the expand mask that the expanded app will live if requested by the expander. - properties: - appPath: - description: JSONPATH expression indicating the location of the App object in the array. - readOnly: false - type: string - directory: - $ref: '#/components/schemas/c1.api.directory.v1.Directory' - title: Directory View - type: object - x-speakeasy-name-override: DirectoryView - c1.api.iam.v1.GetRolesResponse: - description: The GetRolesResponse message contains the retrieved role. - properties: - role: - $ref: '#/components/schemas/c1.api.iam.v1.Role' - title: Get Roles Response - type: object - x-speakeasy-name-override: GetRolesResponse - c1.api.iam.v1.ListRolesResponse: - description: The ListRolesResponse message contains a list of results and a nextPageToken if applicable. - properties: - list: - description: The list of results containing up to X results, where X is the page size defined in the request. - items: - $ref: '#/components/schemas/c1.api.iam.v1.Role' - nullable: true - readOnly: false - type: array - nextPageToken: - description: |- - The nextPageToken is shown for the next page if the number of results is larger than the max page size. - The server returns one page of results and the nextPageToken until all results are retreived. - To retrieve the next page, use the same request and append a pageToken field with the value of nextPageToken shown on the previous page. - readOnly: false - type: string - title: List Roles Response - type: object - x-speakeasy-name-override: ListRolesResponse - c1.api.iam.v1.PersonalClient: - description: The PersonalClient message contains information about a presonal client credential. - properties: - allowSourceCidr: - description: If set, only allows the CIDRs in the array to use the credential. - items: - type: string - nullable: true - readOnly: false - type: array - clientId: - description: The clientID of the credential. - readOnly: true - type: string - createdAt: - format: date-time - readOnly: true - type: string - deletedAt: - format: date-time - readOnly: true - type: string - displayName: - description: The display name of the personal client credential. - readOnly: false - type: string - expiresTime: - format: date-time - readOnly: false - type: string - id: - description: The unique ID of the personal client credential. - readOnly: true - type: string - lastUsedAt: - format: date-time - readOnly: true - type: string - scopedRoles: - description: |- - scoped_roles provides a list of IAM Roles - that this OAuth2 Client's API permissions - are reduced to. The permissions granted to OAuth2 Client - are AND'ed against the owning User's own permissions. - items: - type: string - nullable: true - readOnly: false - type: array - updatedAt: - format: date-time - readOnly: true - type: string - userId: - description: The ID of the user that this credential is created for. - readOnly: true - type: string - title: Personal Client - type: object - x-speakeasy-name-override: PersonalClient - c1.api.iam.v1.PersonalClientServiceCreateRequest: - description: The PersonalClientServiceCreateRequest message contains the fields for creating a new personal client. - properties: - allowSourceCidr: - description: A list of CIDRs to restrict this credential to. - items: - type: string - nullable: true - readOnly: false - type: array - displayName: - description: The display name for the new personal client. - readOnly: false - type: string - expires: - format: duration - readOnly: false - type: string - scopedRoles: - description: The list of roles to restrict the credential to. - items: - type: string - nullable: true - readOnly: false - type: array - title: Personal Client Service Create Request - type: object - x-speakeasy-name-override: PersonalClientServiceCreateRequest - c1.api.iam.v1.PersonalClientServiceCreateResponse: - description: The PersonalClientServiceCreateResponse message contains the created personal client and client secret. - properties: - client: - $ref: '#/components/schemas/c1.api.iam.v1.PersonalClient' - clientSecret: - description: The client secret that corresponds to the personal client. Make sure to save this, because it cannot be returned or queried again. - readOnly: false - type: string - title: Personal Client Service Create Response - type: object - x-speakeasy-name-override: PersonalClientServiceCreateResponse - c1.api.iam.v1.Role: - description: Role is a role that can be assigned to a user in ConductorOne. - properties: - createdAt: - format: date-time - readOnly: true - type: string - deletedAt: - format: date-time - readOnly: true - type: string - displayName: - description: The display name of the role. - readOnly: false - type: string - id: - description: The id of the role. - readOnly: true - type: string - name: - description: The internal name of the role. - readOnly: true - type: string - permissions: - description: The list of permissions this role has. - items: - type: string - nullable: true - readOnly: false - type: array - serviceRoles: - description: The list of serviceRoles that this role has. - items: - type: string - nullable: true - readOnly: false - type: array - systemBuiltin: - description: The system builtin field. If this field is set, the role is not editable. - readOnly: true - type: boolean - updatedAt: - format: date-time - readOnly: true - type: string - title: Role - type: object - x-speakeasy-name-override: Role - c1.api.iam.v1.UpdateRoleRequestInput: - description: The UpdateRoleRequest message contains the role to update and the update mask. - properties: - role: - $ref: '#/components/schemas/c1.api.iam.v1.Role' - updateMask: - nullable: true - readOnly: false - type: string - title: Update Role Request - type: object - x-speakeasy-name-override: UpdateRoleRequest - c1.api.iam.v1.UpdateRolesResponse: - description: UpdateRolesResponse is the response message containing the updated role. - properties: - role: - $ref: '#/components/schemas/c1.api.iam.v1.Role' - title: Update Roles Response - type: object - x-speakeasy-name-override: UpdateRolesResponse - c1.api.policy.v1.Accept: - description: This policy step indicates that a ticket should have an approved outcome. This is a terminal approval state and is used to explicitly define the end of approval steps. - nullable: true - properties: - acceptMessage: - description: An optional message to include in the comments when a task is automatically accepted. - readOnly: false - type: string - title: Accept - type: object - x-speakeasy-name-override: Accept - c1.api.policy.v1.AcceptInstance: - description: |- - This policy step indicates that a ticket should have an approved outcome. This is a terminal approval state and is used to explicitly define the end of approval steps. - The instance is just a marker for it being copied into an active policy. - nullable: true - properties: - acceptMessage: - description: An optional message to include in the comments when a task is automatically accepted. - readOnly: false - type: string - title: Accept Instance - type: object - x-speakeasy-name-override: AcceptInstance - c1.api.policy.v1.AppEntitlementReference: - description: This object references an app entitlement's ID and AppID. - properties: - appEntitlementId: - description: The ID of the Entitlement. - readOnly: false - type: string - appId: - description: The ID of the App this entitlement belongs to. - readOnly: false - type: string - title: App Entitlement Reference - type: object - x-speakeasy-name-override: AppEntitlementReference - c1.api.policy.v1.AppGroupApproval: - description: The AppGroupApproval object provides the configuration for setting a group as the approvers of an approval policy step. - nullable: true - properties: - allowSelfApproval: - description: Configuration to allow self approval if the target user is a member of the group during this step. - readOnly: false - type: boolean - appGroupId: - description: The ID of the group specified for approval. - readOnly: false - type: string - appId: - description: The ID of the app that contains the group specified for approval. - readOnly: false - type: string - fallback: - description: Configuration to allow a fallback if the group is empty. - readOnly: false - type: boolean - fallbackUserIds: - description: Configuration to specific which users to fallback to if fallback is enabled and the group is empty. - items: - type: string - nullable: true - readOnly: false - type: array - title: App Group Approval - type: object - x-speakeasy-name-override: AppGroupApproval - c1.api.policy.v1.AppOwnerApproval: - description: App owner approval provides the configuration for an approval step when the app owner is the target. - nullable: true - properties: - allowSelfApproval: - description: Configuration that allows a user to self approve if they are an app owner during this approval step. - readOnly: false - type: boolean - title: App Owner Approval - type: object - x-speakeasy-name-override: AppOwnerApproval - c1.api.policy.v1.Approval: - description: | - The Approval message. - - This message contains a oneof named typ. Only a single field of the following list may be set at a time: - - users - - manager - - appOwners - - group - - self - - entitlementOwners - - expression - - webhook - nullable: true - properties: - allowReassignment: - description: Configuration to allow reassignment by reviewers during this step. - readOnly: false - type: boolean - appOwners: - $ref: '#/components/schemas/c1.api.policy.v1.AppOwnerApproval' - assigned: - description: A field indicating whether this step is assigned. - readOnly: false - type: boolean - entitlementOwners: - $ref: '#/components/schemas/c1.api.policy.v1.EntitlementOwnerApproval' - expression: - $ref: '#/components/schemas/c1.api.policy.v1.ExpressionApproval' - group: - $ref: '#/components/schemas/c1.api.policy.v1.AppGroupApproval' - manager: - $ref: '#/components/schemas/c1.api.policy.v1.ManagerApproval' - requireApprovalReason: - description: Configuration to require a reason when approving this step. - readOnly: false - type: boolean - requireDenialReason: - description: Configuration to require a reason when denying this step. - readOnly: false - type: boolean - requireReassignmentReason: - description: Configuration to require a reason when reassigning this step. - readOnly: false - type: boolean - self: - $ref: '#/components/schemas/c1.api.policy.v1.SelfApproval' - users: - $ref: '#/components/schemas/c1.api.policy.v1.UserApproval' - webhook: - $ref: '#/components/schemas/c1.api.policy.v1.WebhookApproval' - title: Approval - type: object - x-speakeasy-name-override: Approval - c1.api.policy.v1.ApprovalInstance: - description: | - The approval instance object describes the way a policy step should be approved as well as its outcomes and state. - - This message contains a oneof named outcome. Only a single field of the following list may be set at a time: - - approved - - denied - - reassigned - - restarted - - reassignedByError - nullable: true - properties: - approval: - $ref: '#/components/schemas/c1.api.policy.v1.Approval' - approved: - $ref: '#/components/schemas/c1.api.policy.v1.ApprovedAction' - denied: - $ref: '#/components/schemas/c1.api.policy.v1.DeniedAction' - reassigned: - $ref: '#/components/schemas/c1.api.policy.v1.ReassignedAction' - reassignedByError: - $ref: '#/components/schemas/c1.api.policy.v1.ReassignedByErrorAction' - restarted: - $ref: '#/components/schemas/c1.api.policy.v1.RestartAction' - state: - description: The state of the approval instance - enum: - - APPROVAL_INSTANCE_STATE_UNSPECIFIED - - APPROVAL_INSTANCE_STATE_INIT - - APPROVAL_INSTANCE_STATE_SENDING_NOTIFICATIONS - - APPROVAL_INSTANCE_STATE_WAITING - - APPROVAL_INSTANCE_STATE_DONE - readOnly: true - type: string - title: Approval Instance - type: object - x-speakeasy-name-override: ApprovalInstance - c1.api.policy.v1.ApprovedAction: - description: The approved action indicates that the approvalinstance had an outcome of approved. - nullable: true - properties: - approvedAt: - format: date-time - readOnly: true - type: string - entitlements: - description: The entitlements that were approved. This will only ever be a list of one entitlement. - items: - $ref: '#/components/schemas/c1.api.policy.v1.AppEntitlementReference' - nullable: true - readOnly: true - type: array - userId: - description: The UserID that approved this step. - readOnly: true - type: string - title: Approved Action - type: object - x-speakeasy-name-override: ApprovedAction - c1.api.policy.v1.CancelledAction: - description: The outcome of a provision instance that is cancelled. - nullable: true - properties: - cancelledAt: - format: date-time - readOnly: false - type: string - cancelledByUserId: - description: The userID, usually the system, that cancells a provision instance. - readOnly: false - type: string - title: Cancelled Action - type: object - x-speakeasy-name-override: CancelledAction - c1.api.policy.v1.CompletedAction: - description: The outcome of a provision instance that has been completed succesfully. - nullable: true - properties: - completedAt: - format: date-time - readOnly: false - type: string - entitlements: - description: The list of entitlements that were provisioned. This is leftover from an older design, and is only ever going to be a single entitlement. - items: - $ref: '#/components/schemas/c1.api.policy.v1.AppEntitlementReference' - nullable: true - readOnly: false - type: array - userId: - description: The UserID of who completed provisioning. For connector provisioning this is the system user id, for manual provisioning this is who clicked "provision complete" - readOnly: false - type: string - title: Completed Action - type: object - x-speakeasy-name-override: CompletedAction - c1.api.policy.v1.ConnectorProvision: - description: Indicates that a connector should perform the provisioning. This object has no fields. - nullable: true - title: Connector Provision - type: object - x-speakeasy-name-override: ConnectorProvision - c1.api.policy.v1.CreatePolicyRequest: - description: The CreatePolicyRequest message is used to create a new policy. - properties: - description: - description: The description of the new policy. - readOnly: false - type: string - displayName: - description: The display name of the new policy. - readOnly: false - type: string - policySteps: - additionalProperties: - $ref: '#/components/schemas/c1.api.policy.v1.PolicySteps' - description: The map of policy type to policy steps. The key is the stringified version of the enum. See other policies for examples. - readOnly: false - type: object - policyType: - description: The enum of the policy type. - enum: - - POLICY_TYPE_UNSPECIFIED - - POLICY_TYPE_GRANT - - POLICY_TYPE_REVOKE - - POLICY_TYPE_CERTIFY - - POLICY_TYPE_ACCESS_REQUEST - - POLICY_TYPE_PROVISION - readOnly: false - type: string - postActions: - description: Actions to occur after a policy finishes. As of now this is only valid on a certify policy to remediate a denied certification immediately. - items: - $ref: '#/components/schemas/c1.api.policy.v1.PolicyPostActions' - nullable: true - readOnly: false - type: array - reassignTasksToDelegates: - description: Allows reassigning tasks to delegates. - readOnly: false - type: boolean - rules: - description: The rules field. - items: - $ref: '#/components/schemas/c1.api.policy.v1.Rule' - nullable: true - readOnly: false - type: array - title: Create Policy Request - type: object - x-speakeasy-entity: Policy - x-speakeasy-name-override: CreatePolicyRequest - c1.api.policy.v1.CreatePolicyResponse: - description: The CreatePolicyResponse message contains the created policy object. - properties: - policy: - $ref: '#/components/schemas/c1.api.policy.v1.Policy' - title: Create Policy Response - type: object - x-speakeasy-name-override: CreatePolicyResponse - c1.api.policy.v1.DelegatedProvision: - description: This provision step indicates that we should delegate provisioning to the configuration of another app entitlement. This app entitlement does not have to be one from the same app, but MUST be configured as a proxy binding leading into this entitlement. - nullable: true - properties: - appId: - description: The AppID of the entitlement to delegate provisioning to. - readOnly: false - type: string - entitlementId: - description: The ID of the entitlement we are delegating provisioning to. - readOnly: false - type: string - implicit: - description: If true, a binding will be automatically created from the entitlement of the parent app. - readOnly: false - type: boolean - title: Delegated Provision - type: object - x-speakeasy-name-override: DelegatedProvision - c1.api.policy.v1.DeletePolicyRequestInput: - description: The DeletePolicyRequest message contains the ID of the policy to delete. It uses URL value for input. - title: Delete Policy Request - type: object - x-speakeasy-entity: Policy - x-speakeasy-name-override: DeletePolicyRequest - c1.api.policy.v1.DeletePolicyResponse: - description: Empty response with a status code indicating success. - title: Delete Policy Response - type: object - x-speakeasy-name-override: DeletePolicyResponse - c1.api.policy.v1.DeniedAction: - description: The denied action indicates that the c1.api.policy.v1.ApprovalInstance had an outcome of denied. - nullable: true - properties: - deniedAt: - format: date-time - readOnly: true - type: string - userId: - description: The UserID that denied this step. - readOnly: true - type: string - title: Denied Action - type: object - x-speakeasy-name-override: DeniedAction - c1.api.policy.v1.EntitlementOwnerApproval: - description: The entitlement owner approval allows configuration of the approval step when the target approvers are the entitlement owners. - nullable: true - properties: - allowSelfApproval: - description: Configuration to allow self approval if the target user is an entitlement owner during this step. - readOnly: false - type: boolean - fallback: - description: Configuration to allow a fallback if the entitlement owner cannot be identified. - readOnly: false - type: boolean - fallbackUserIds: - description: Configuration to specific which users to fallback to if fallback is enabled and the entitlement owner cannot be identified. - items: - type: string - nullable: true - readOnly: false - type: array - title: Entitlement Owner Approval - type: object - x-speakeasy-name-override: EntitlementOwnerApproval - c1.api.policy.v1.ErroredAction: - description: The outcome of a provision instance that has errored. - nullable: true - properties: - description: - description: The description of a provision instance that has errored. - readOnly: false - type: string - errorCode: - description: The error code of a provision instance that has errored. This is only PEC-1 for now, but more will be added in the future. - readOnly: false - type: string - erroredAt: - format: date-time - readOnly: false - type: string - title: Errored Action - type: object - x-speakeasy-name-override: ErroredAction - c1.api.policy.v1.ExpressionApproval: - description: The ExpressionApproval message. - nullable: true - properties: - allowSelfApproval: - description: Configuration to allow self approval of if the user is specified and also the target of the ticket. - readOnly: false - type: boolean - assignedUserIds: - description: The assignedUserIds field. - items: - type: string - nullable: true - readOnly: false - type: array - expressions: - description: Array of dynamic expressions to determine the approvers. The first expression to return a non-empty list of users will be used. - items: - type: string - nullable: true - readOnly: false - type: array - fallback: - description: Configuration to allow a fallback if the expression does not return a valid list of users. - readOnly: false - type: boolean - fallbackUserIds: - description: Configuration to specific which users to fallback to if and the expression does not return a valid list of users. - items: - type: string - nullable: true - readOnly: false - type: array - title: Expression Approval - type: object - x-speakeasy-name-override: ExpressionApproval - c1.api.policy.v1.ExternalTicketProvision: - description: This provision step indicates that we should check an external ticket to provision this entitlement - nullable: true - properties: - appId: - description: The appId field. - readOnly: false - type: string - connectorId: - description: The connectorId field. - readOnly: false - type: string - externalTicketProvisionerConfigId: - description: The externalTicketProvisionerConfigId field. - readOnly: false - type: string - title: External Ticket Provision - type: object - x-speakeasy-name-override: ExternalTicketProvision - c1.api.policy.v1.GetPolicyResponse: - description: The GetPolicyResponse message contains the policy object. - properties: - policy: - $ref: '#/components/schemas/c1.api.policy.v1.Policy' - title: Get Policy Response - type: object - x-speakeasy-name-override: GetPolicyResponse - c1.api.policy.v1.ListPolicyResponse: - description: The ListPolicyResponse message. - properties: - list: - description: The list of results containing up to X results, where X is the page size defined in the request - items: - $ref: '#/components/schemas/c1.api.policy.v1.Policy' - nullable: true - readOnly: false - type: array - nextPageToken: - description: The nextPageToken is shown for the next page if the number of results is larger than the max page size. The server returns one page of results and the nextPageToken until all results are retreived. To retrieve the next page, use the same request and append a pageToken field with the value of nextPageToken shown on the previous page. - readOnly: false - type: string - title: List Policy Response - type: object - x-speakeasy-name-override: ListPolicyResponse - c1.api.policy.v1.ManagerApproval: - description: The manager approval object provides configuration options for approval when the target of the approval is the manager of the user in the task. - nullable: true - properties: - allowSelfApproval: - description: Configuration to allow self approval if the target user is their own manager. This may occur if a service account has an identity user and manager specified as the same person. - readOnly: false - type: boolean - assignedUserIds: - description: The array of users determined to be the manager during processing time. - items: - type: string - nullable: true - readOnly: false - type: array - fallback: - description: Configuration to allow a fallback if no manager is found. - readOnly: false - type: boolean - fallbackUserIds: - description: Configuration to specific which users to fallback to if fallback is enabled and no manager is found. - items: - type: string - nullable: true - readOnly: false - type: array - title: Manager Approval - type: object - x-speakeasy-name-override: ManagerApproval - c1.api.policy.v1.ManualProvision: - description: Manual provisioning indicates that a human must intervene for the provisioning of this step. - nullable: true - properties: - instructions: - description: This field indicates a text body of instructions for the provisioner to indicate. - readOnly: false - type: string - userIds: - description: An array of users that are required to provision during this step. - items: - type: string - nullable: true - readOnly: false - type: array - title: Manual Provision - type: object - x-speakeasy-name-override: ManualProvision - c1.api.policy.v1.Marker: - description: The Marker message. - properties: - endColumn: - description: The endColumn field. - format: int32 - readOnly: false - type: integer - endLineNumber: - description: The endLineNumber field. - format: int32 - readOnly: false - type: integer - message: - description: The message field. - readOnly: false - type: string - severity: - description: The severity field. - enum: - - UNKNOWN - - HINT - - INFO - - WARNING - - ERROR - readOnly: false - type: string - startColumn: - description: The startColumn field. - format: int32 - readOnly: false - type: integer - startLineNumber: - description: The startLineNumber field. - format: int32 - readOnly: false - type: integer - title: Marker - type: object - x-speakeasy-name-override: Marker - c1.api.policy.v1.MultiStep: - description: MultiStep indicates that this provision step has multiple steps to process. - nullable: true - properties: - provisionSteps: - description: The array of provision steps to process. - items: - $ref: '#/components/schemas/c1.api.policy.v1.ProvisionPolicy' - nullable: true - readOnly: false - type: array - title: Multi Step - type: object - x-speakeasy-name-override: MultiStep - c1.api.policy.v1.Policy: - description: A policy describes the behavior of the ConductorOne system when processing a task. You can describe the type, approvers, fallback behavior, and escalation processes. - properties: - createdAt: - format: date-time - readOnly: true - type: string - deletedAt: - format: date-time - readOnly: true - type: string - description: - description: The description of the Policy. - readOnly: false - type: string - displayName: - description: The display name of the Policy. - readOnly: false - type: string - id: - description: The ID of the Policy. - readOnly: true - type: string - policySteps: - additionalProperties: - $ref: '#/components/schemas/c1.api.policy.v1.PolicySteps' - description: A map of string(policy type) to steps in a policy. This structure is leftover from a previous design, and should only ever have one key->value set. - readOnly: false - type: object - policyType: - description: Indicates the type of this policy. Can also be used to get the value from policySteps. - enum: - - POLICY_TYPE_UNSPECIFIED - - POLICY_TYPE_GRANT - - POLICY_TYPE_REVOKE - - POLICY_TYPE_CERTIFY - - POLICY_TYPE_ACCESS_REQUEST - - POLICY_TYPE_PROVISION - readOnly: false - type: string - postActions: - description: An array of actions (ordered) to take place after a policy completes processing. - items: - $ref: '#/components/schemas/c1.api.policy.v1.PolicyPostActions' - nullable: true - readOnly: false - type: array - reassignTasksToDelegates: - description: A policy configuration option that allows for reassinging tasks to delgated users. This level of delegation refers to the individual delegates users set on their account. - readOnly: false - type: boolean - rules: - description: The rules field. - items: - $ref: '#/components/schemas/c1.api.policy.v1.Rule' - nullable: true - readOnly: false - type: array - systemBuiltin: - description: Whether this policy is a builtin system policy. Builtin system policies cannot be edited. - readOnly: true - type: boolean - updatedAt: - format: date-time - readOnly: true - type: string - title: Policy - type: object - x-speakeasy-entity: Policy - x-speakeasy-name-override: Policy - c1.api.policy.v1.PolicyInstance: - description: A policy instance is an object that contains a reference to the policy it was created from, the currently executing step, the next steps, and the history of previously completed steps. - properties: - current: - $ref: '#/components/schemas/c1.api.policy.v1.PolicyStepInstance' - history: - description: An array of steps that were previously processed by the ticket with their outcomes set, in order. - items: - $ref: '#/components/schemas/c1.api.policy.v1.PolicyStepInstance' - nullable: true - readOnly: true - type: array - next: - description: An array of steps that will be processed by the ticket, in order. - items: - $ref: '#/components/schemas/c1.api.policy.v1.PolicyStep' - nullable: true - readOnly: true - type: array - policy: - $ref: '#/components/schemas/c1.api.policy.v1.Policy' - title: Policy Instance - type: object - x-speakeasy-name-override: PolicyInstance - c1.api.policy.v1.PolicyPostActions: - description: | - These are actions to happen after a policy is complete. - - This message contains a oneof named action. Only a single field of the following list may be set at a time: - - certifyRemediateImmediately - properties: - certifyRemediateImmediately: - description: |- - ONLY valid when used in a CERTIFY Ticket Type: - Causes any deprovision or change in a grant to be applied when Certify Ticket is closed. - This field is part of the `action` oneof. - See the documentation for `c1.api.policy.v1.PolicyPostActions` for more details. - nullable: true - readOnly: false - type: boolean - title: Policy Post Actions - type: object - x-speakeasy-name-override: PolicyPostActions - c1.api.policy.v1.PolicyRef: - description: The PolicyRef message. - properties: - id: - description: The id field. - readOnly: false - type: string - title: Policy Ref - type: object - x-speakeasy-name-override: PolicyRef - c1.api.policy.v1.PolicyStep: - description: | - The PolicyStep message. - - This message contains a oneof named step. Only a single field of the following list may be set at a time: - - approval - - provision - - accept - - reject - - wait - properties: - accept: - $ref: '#/components/schemas/c1.api.policy.v1.Accept' - approval: - $ref: '#/components/schemas/c1.api.policy.v1.Approval' - provision: - $ref: '#/components/schemas/c1.api.policy.v1.Provision' - reject: - $ref: '#/components/schemas/c1.api.policy.v1.Reject' - wait: - $ref: '#/components/schemas/c1.api.policy.v1.Wait' - title: Policy Step - type: object - x-speakeasy-name-override: PolicyStep - c1.api.policy.v1.PolicyStepInstance: - description: | - The policy step instance includes a reference to an instance of a policy step that tracks state and has a unique ID. - - This message contains a oneof named instance. Only a single field of the following list may be set at a time: - - approval - - provision - - accept - - reject - - wait - properties: - accept: - $ref: '#/components/schemas/c1.api.policy.v1.AcceptInstance' - approval: - $ref: '#/components/schemas/c1.api.policy.v1.ApprovalInstance' - id: - description: The ID of the PolicyStepInstance. This is required by many action submission endpoints to indicate what step you're approving. - readOnly: true - type: string - policyGenerationId: - description: The policy generation id refers to the version of the policy that this step was created from. - readOnly: false - type: string - provision: - $ref: '#/components/schemas/c1.api.policy.v1.ProvisionInstance' - reject: - $ref: '#/components/schemas/c1.api.policy.v1.RejectInstance' - state: - description: The state of the step, which is either active or done. - enum: - - POLICY_STEP_STATE_UNSPECIFIED - - POLICY_STEP_STATE_ACTIVE - - POLICY_STEP_STATE_DONE - readOnly: true - type: string - wait: - $ref: '#/components/schemas/c1.api.policy.v1.WaitInstance' - title: Policy Step Instance - type: object - x-speakeasy-name-override: PolicyStepInstance - c1.api.policy.v1.PolicySteps: - description: The PolicySteps message. - properties: - steps: - description: An array of policy steps indicating the processing flow of a policy. These steps are oneOfs, and only one property may be set for each array index at a time. - items: - $ref: '#/components/schemas/c1.api.policy.v1.PolicyStep' - nullable: true - readOnly: false - type: array - title: Policy Steps - type: object - x-speakeasy-name-override: PolicySteps - c1.api.policy.v1.Provision: - description: The provision step references a provision policy for this step. - nullable: true - properties: - assigned: - description: A field indicating whether this step is assigned. - readOnly: false - type: boolean - provisionPolicy: - $ref: '#/components/schemas/c1.api.policy.v1.ProvisionPolicy' - provisionTarget: - $ref: '#/components/schemas/c1.api.policy.v1.ProvisionTarget' - title: Provision - type: object - x-speakeasy-name-override: Provision - c1.api.policy.v1.ProvisionInstance: - description: | - A provision instance describes the specific configuration of an executing provision policy step including actions taken and notification id. - - This message contains a oneof named outcome. Only a single field of the following list may be set at a time: - - completed - - cancelled - - errored - - reassignedByError - nullable: true - properties: - cancelled: - $ref: '#/components/schemas/c1.api.policy.v1.CancelledAction' - completed: - $ref: '#/components/schemas/c1.api.policy.v1.CompletedAction' - errored: - $ref: '#/components/schemas/c1.api.policy.v1.ErroredAction' - notificationId: - description: This indicates the notification id for this step. - readOnly: false - type: string - provision: - $ref: '#/components/schemas/c1.api.policy.v1.Provision' - reassignedByError: - $ref: '#/components/schemas/c1.api.policy.v1.ReassignedByErrorAction' - state: - description: This property indicates the current state of this step. - enum: - - PROVISION_INSTANCE_STATE_UNSPECIFIED - - PROVISION_INSTANCE_STATE_INIT - - PROVISION_INSTANCE_STATE_CREATE_CONNECTOR_ACTIONS_FOR_TARGET - - PROVISION_INSTANCE_STATE_SENDING_NOTIFICATIONS - - PROVISION_INSTANCE_STATE_WAITING - - PROVISION_INSTANCE_STATE_WEBHOOK - - PROVISION_INSTANCE_STATE_WEBHOOK_WAITING - - PROVISION_INSTANCE_STATE_EXTERNAL_TICKET - - PROVISION_INSTANCE_STATE_EXTERNAL_TICKET_WAITING - - PROVISION_INSTANCE_STATE_DONE - readOnly: false - type: string - title: Provision Instance - type: object - x-speakeasy-name-override: ProvisionInstance - c1.api.policy.v1.ProvisionPolicy: - description: | - ProvisionPolicy is a oneOf that indicates how a provision step should be processed. - - This message contains a oneof named typ. Only a single field of the following list may be set at a time: - - connector - - manual - - delegated - - webhook - - multiStep - - externalTicket - properties: - connector: - $ref: '#/components/schemas/c1.api.policy.v1.ConnectorProvision' - delegated: - $ref: '#/components/schemas/c1.api.policy.v1.DelegatedProvision' - externalTicket: - $ref: '#/components/schemas/c1.api.policy.v1.ExternalTicketProvision' - manual: - $ref: '#/components/schemas/c1.api.policy.v1.ManualProvision' - multiStep: - $ref: '#/components/schemas/c1.api.policy.v1.MultiStep' - webhook: - $ref: '#/components/schemas/c1.api.policy.v1.WebhookProvision' - title: Provision Policy - type: object - x-speakeasy-name-override: ProvisionPolicy - c1.api.policy.v1.ProvisionTarget: - description: ProvisionTarget indicates the specific app, app entitlement, and if known, the app user and grant duration of this provision step - properties: - appEntitlementId: - description: The app entitlement that should be provisioned. - readOnly: false - type: string - appId: - description: The app in which the entitlement should be provisioned - readOnly: false - type: string - appUserId: - description: The app user that should be provisioned. May be unset if the app user is unknown - readOnly: false - type: string - grantDuration: - format: duration - readOnly: false - type: string - title: Provision Target - type: object - x-speakeasy-name-override: ProvisionTarget - c1.api.policy.v1.ReassignedAction: - description: The ReassignedAction object describes the outcome of a policy step that has been reassigned. - nullable: true - properties: - newPolicyStepId: - description: The ID of the policy step that was created as a result of this reassignment. - readOnly: true - type: string - reassignedAt: - format: date-time - readOnly: true - type: string - userId: - description: The UserID of the person who reassigned this step. - readOnly: true - type: string - title: Reassigned Action - type: object - x-speakeasy-name-override: ReassignedAction - c1.api.policy.v1.ReassignedByErrorAction: - description: The ReassignedByErrorAction object describes the outcome of a policy step that has been reassigned because it had an error provisioning. - nullable: true - properties: - description: - description: The description of the error with more details on why this was reassigned. - readOnly: true - type: string - errorCode: - description: Additional information about the error, like http status codes or error messages from SDKs. - readOnly: true - type: string - errorUserId: - description: The UserID of the user who reassigned this due to an error. This will exclusively be the System's UserID. - readOnly: true - type: string - erroredAt: - format: date-time - readOnly: true - type: string - newPolicyStepId: - description: The ID of the policy step that was created by this reassignment. - readOnly: true - type: string - reassignedAt: - format: date-time - readOnly: true - type: string - title: Reassigned By Error Action - type: object - x-speakeasy-name-override: ReassignedByErrorAction - c1.api.policy.v1.Reject: - description: This policy step indicates that a ticket should have a denied outcome. This is a terminal approval state and is used to explicitly define the end of approval steps. - nullable: true - properties: - rejectMessage: - description: An optional message to include in the comments when a task is automatically rejected. - readOnly: false - type: string - title: Reject - type: object - x-speakeasy-name-override: Reject - c1.api.policy.v1.RejectInstance: - description: |- - This policy step indicates that a ticket should have a denied outcome. This is a terminal approval state and is used to explicitly define the end of approval steps. - The instance is just a marker for it being copied into an active policy. - nullable: true - properties: - rejectMessage: - description: An optional message to include in the comments when a task is automatically rejected. - readOnly: false - type: string - title: Reject Instance - type: object - x-speakeasy-name-override: RejectInstance - c1.api.policy.v1.RestartAction: - description: The restart action describes the outcome of policy steps for when the task was restarted. This can be applied to multiple steps since restart skips all pending next steps. - nullable: true - properties: - oldPolicyStepId: - description: The step ID that was restarted. Potentially multiple "history" steps will reference this ID to indicate by what step they were restarted. - readOnly: true - type: string - restartedAt: - format: date-time - readOnly: true - type: string - userId: - description: The user that submitted the restart action. - readOnly: true - type: string - title: Restart Action - type: object - x-speakeasy-name-override: RestartAction - c1.api.policy.v1.Rule: - description: The Rule message. - properties: - condition: - description: The condition field. - readOnly: false - type: string - policyKey: - description: This is a reference to a list of policy steps from `policy_steps` - readOnly: false - type: string - title: Rule - type: object - x-speakeasy-name-override: Rule - c1.api.policy.v1.SearchPoliciesRequest: - description: Search Policies by a few properties. - properties: - displayName: - description: Search for policies with a case insensitive match on the display name. - readOnly: false - type: string - includeDeleted: - description: The includeDeleted field. - readOnly: false - type: boolean - pageSize: - description: The pageSize where 0 <= pageSize <= 100. Values < 10 will be set to 10. A value of 0 returns the default page size (currently 25) - format: int32 - readOnly: false - type: integer - pageToken: - description: The pageToken field. - readOnly: false - type: string - policyTypes: - description: The policy type to search on. This can be POLICY_TYPE_GRANT, POLICY_TYPE_REVOKE, POLICY_TYPE_CERTIFY, POLICY_TYPE_ACCESS_REQUEST, or POLICY_TYPE_PROVISION. - items: - enum: - - POLICY_TYPE_UNSPECIFIED - - POLICY_TYPE_GRANT - - POLICY_TYPE_REVOKE - - POLICY_TYPE_CERTIFY - - POLICY_TYPE_ACCESS_REQUEST - - POLICY_TYPE_PROVISION - type: string - nullable: true - readOnly: false - type: array - query: - description: Query the policies with a fuzzy search on display name and description. - readOnly: false - type: string - refs: - description: The refs field. - items: - $ref: '#/components/schemas/c1.api.policy.v1.PolicyRef' - nullable: true - readOnly: false - type: array - title: Search Policies Request - type: object - x-speakeasy-name-override: SearchPoliciesRequest - c1.api.policy.v1.SelfApproval: - description: The self approval object describes the configuration of a policy step that needs to be approved by the target of the request. - nullable: true - properties: - assignedUserIds: - description: The array of users determined to be themselves during approval. This should only ever be one person, but is saved because it may change if the owner of an app user changes while the ticket is open. - items: - type: string - nullable: true - readOnly: false - type: array - fallback: - description: Configuration to allow a fallback if the identity user of the target app user cannot be determined. - readOnly: false - type: boolean - fallbackUserIds: - description: Configuration to specific which users to fallback to if fallback is enabled and the identity user of the target app user cannot be determined. - items: - type: string - nullable: true - readOnly: false - type: array - title: Self Approval - type: object - x-speakeasy-name-override: SelfApproval - c1.api.policy.v1.UpdatePolicyRequestInput: - description: The UpdatePolicyRequest message contains the policy object to update and a field mask to indicate which fields to update. It uses URL value for input. - properties: - policy: - $ref: '#/components/schemas/c1.api.policy.v1.Policy' - updateMask: - nullable: true - readOnly: false - type: string - title: Update Policy Request - type: object - x-speakeasy-name-override: UpdatePolicyRequest - c1.api.policy.v1.UpdatePolicyResponse: - description: The UpdatePolicyResponse message contains the updated policy object. - properties: - policy: - $ref: '#/components/schemas/c1.api.policy.v1.Policy' - title: Update Policy Response - type: object - x-speakeasy-name-override: UpdatePolicyResponse - c1.api.policy.v1.UserApproval: - description: The user approval object describes the approval configuration of a policy step that needs to be approved by a specific list of users. - nullable: true - properties: - allowSelfApproval: - description: Configuration to allow self approval of if the user is specified and also the target of the ticket. - readOnly: false - type: boolean - userIds: - description: Array of users configured for approval. - items: - type: string - nullable: true - readOnly: false - type: array - title: User Approval - type: object - x-speakeasy-name-override: UserApproval - c1.api.policy.v1.ValidatePolicyCELRequest: - description: The ValidatePolicyCELRequest message. - properties: - cel: - description: The cel field. - readOnly: false - type: string - title: Validate Policy Cel Request - type: object - x-speakeasy-name-override: ValidatePolicyCELRequest - c1.api.policy.v1.ValidatePolicyCELResponse: - description: The ValidatePolicyCELResponse message. - properties: - markers: - description: The markers field. - items: - $ref: '#/components/schemas/c1.api.policy.v1.Marker' - nullable: true - readOnly: false - type: array - title: Validate Policy Cel Response - type: object - x-speakeasy-name-override: ValidatePolicyCELResponse - c1.api.policy.v1.Wait: - description: | - Define a Wait step for a policy to wait on a condition to be met. - - This message contains a oneof named until. Only a single field of the following list may be set at a time: - - condition - nullable: true - properties: - commentOnFirstWait: - description: The comment to post on first failed check. - readOnly: false - type: string - commentOnTimeout: - description: The comment to post if we timeout. - readOnly: false - type: string - condition: - $ref: '#/components/schemas/c1.api.policy.v1.WaitCondition' - name: - description: The name of our condition to show on the task details page - readOnly: false - type: string - timeoutDuration: - format: duration - readOnly: false - type: string - title: Wait - type: object - x-speakeasy-name-override: Wait - c1.api.policy.v1.WaitCondition: - description: The WaitCondition message. - nullable: true - properties: - condition: - description: The condition that has to be true for this wait condition to continue. - readOnly: false - type: string - title: Wait Condition - type: object - x-speakeasy-name-override: WaitCondition - c1.api.policy.v1.WaitConditionInstance: - description: Used by the policy engine to describe an instantiated condition to wait on. - nullable: true - properties: - condition: - description: The condition that has to be true for this wait condition instance to continue. - readOnly: false - type: string - title: Wait Condition Instance - type: object - x-speakeasy-name-override: WaitConditionInstance - c1.api.policy.v1.WaitInstance: - description: | - Used by the policy engine to describe an instantiated wait step. - - This message contains a oneof named until. Only a single field of the following list may be set at a time: - - condition - - - This message contains a oneof named outcome. Only a single field of the following list may be set at a time: - - succeeded - - timedOut - nullable: true - properties: - commentOnFirstWait: - description: The comment to post on first failed check. - readOnly: false - type: string - commentOnTimeout: - description: The comment to post if we timeout. - readOnly: false - type: string - condition: - $ref: '#/components/schemas/c1.api.policy.v1.WaitConditionInstance' - name: - description: The name field. - readOnly: false - type: string - startedWaitingAt: - format: date-time - readOnly: false - type: string - state: - description: The state field. - enum: - - WAIT_INSTANCE_STATE_UNSPECIFIED - - WAIT_INSTANCE_STATE_WAITING - - WAIT_INSTANCE_STATE_COMPLETED - - WAIT_INSTANCE_STATE_TIMED_OUT - readOnly: false - type: string - succeeded: - $ref: '#/components/schemas/c1.api.policy.v1.WaitInstance.ConditionSucceeded' - timedOut: - $ref: '#/components/schemas/c1.api.policy.v1.WaitInstance.ConditionTimedOut' - timeout: - format: date-time - readOnly: false - type: string - timeoutDuration: - format: duration - readOnly: false - type: string - title: Wait Instance - type: object - x-speakeasy-name-override: WaitInstance - c1.api.policy.v1.WaitInstance.ConditionSucceeded: - description: The ConditionSucceeded message. - nullable: true - properties: - succeededAt: - format: date-time - readOnly: false - type: string - title: Condition Succeeded - type: object - x-speakeasy-name-override: ConditionSucceeded - c1.api.policy.v1.WaitInstance.ConditionTimedOut: - description: The ConditionTimedOut message. - nullable: true - properties: - timedOutAt: - format: date-time - readOnly: false - type: string - title: Condition Timed Out - type: object - x-speakeasy-name-override: ConditionTimedOut - c1.api.policy.v1.WebhookApproval: - description: The WebhookApproval message. - nullable: true - properties: - webhookId: - description: The ID of the webhook to call for approval. - readOnly: false - type: string - title: Webhook Approval - type: object - x-speakeasy-name-override: WebhookApproval - c1.api.policy.v1.WebhookProvision: - description: This provision step indicates that a webhook should be called to provision this entitlement. - nullable: true - properties: - webhookId: - description: The ID of the webhook to call for provisioning. - readOnly: false - type: string - title: Webhook Provision - type: object - x-speakeasy-name-override: WebhookProvision - c1.api.requestcatalog.v1.BundleAutomation: - description: | - The BundleAutomation message. - - This message contains a oneof named conditions. Only a single field of the following list may be set at a time: - - entitlements - properties: - createdAt: - format: date-time - readOnly: false - type: string - deletedAt: - format: date-time - readOnly: false - type: string - entitlements: - $ref: '#/components/schemas/c1.api.requestcatalog.v1.BundleAutomationRuleEntitlement' - requestCatalogId: - description: The requestCatalogId field. - readOnly: false - type: string - state: - $ref: '#/components/schemas/c1.api.requestcatalog.v1.BundleAutomationLastRunState' - tenantId: - description: The tenantId field. - readOnly: false - type: string - updatedAt: - format: date-time - readOnly: false - type: string - title: Bundle Automation - type: object - x-speakeasy-name-override: BundleAutomation - c1.api.requestcatalog.v1.BundleAutomationLastRunState: - description: The BundleAutomationLastRunState message. - properties: - lastRunAt: - format: date-time - readOnly: false - type: string - status: - description: The status field. - enum: - - BUNDLE_AUTOMATION_RUN_STATUS_UNSPECIFIED - - BUNDLE_AUTOMATION_RUN_STATUS_SUCCESS - - BUNDLE_AUTOMATION_RUN_STATUS_FAILURE - - BUNDLE_AUTOMATION_RUN_STATUS_IN_PROGRESS - readOnly: false - type: string - title: Bundle Automation Last Run State - type: object - x-speakeasy-name-override: BundleAutomationLastRunState - c1.api.requestcatalog.v1.BundleAutomationRuleEntitlement: - description: The BundleAutomationRuleEntitlement message. - nullable: true - properties: - entitlementRefs: - description: The entitlementRefs field. - items: - $ref: '#/components/schemas/c1.api.app.v1.AppEntitlementRef' - nullable: true - readOnly: false - type: array - title: Bundle Automation Rule Entitlement - type: object - x-speakeasy-name-override: BundleAutomationRuleEntitlement - c1.api.requestcatalog.v1.RequestCatalog: - description: The RequestCatalog is used for managing which entitlements are requestable, and who can request them. - properties: - accessEntitlements: - description: An array of app entitlements that, if the user has, can view the contents of this catalog. - items: - $ref: '#/components/schemas/c1.api.app.v1.AppEntitlement' - nullable: true - readOnly: false - type: array - appIds: - description: The Apps contained in this request catalog. - items: - type: string - nullable: true - readOnly: false - type: array - createdAt: - format: date-time - readOnly: true - type: string - createdByUserId: - description: The id of the user this request catalog was created by. - readOnly: false - type: string - deletedAt: - format: date-time - readOnly: true - type: string - description: - description: The description of the request catalog. - readOnly: false - type: string - displayName: - description: The display name of the request catalog. - readOnly: false - type: string - id: - description: The id of the request catalog. - readOnly: false - type: string - published: - description: Whether or not this catalog is published. - readOnly: false - type: boolean - requestBundle: - description: Whether all the entitlements in the catalog can be requests at once. Your tenant must have the bundles feature to use this. - readOnly: false - type: boolean - updatedAt: - format: date-time - readOnly: true - type: string - visibleToEveryone: - description: If this is true, the access entitlement requirement is ignored. - readOnly: false - type: boolean - title: Request Catalog - type: object - x-speakeasy-entity: Catalog - x-speakeasy-name-override: RequestCatalog - c1.api.requestcatalog.v1.RequestCatalogExpandMask: - description: The RequestCatalogExpandMask includes the paths in the catalog view to expand in the return value of this call. - properties: - paths: - description: An array of paths to be expanded in the response. May be any combination of "*", "created_by_user_id", "app_ids", and "access_entitlements". - items: - type: string - nullable: true - readOnly: false - type: array - title: Request Catalog Expand Mask - type: object - x-speakeasy-name-override: RequestCatalogExpandMask - c1.api.requestcatalog.v1.RequestCatalogManagementServiceAddAccessEntitlementsRequestInput: - description: |- - The RequestCatalogManagementServiceAddAccessEntitlementsRequest message is used to add access entitlements to a request - catalog to determine which users can view the request catalog. - properties: - accessEntitlements: - description: List of entitlements to add to the request catalog as access entitlements. - items: - $ref: '#/components/schemas/c1.api.app.v1.AppEntitlementRef' - nullable: true - readOnly: false - type: array - title: Request Catalog Management Service Add Access Entitlements Request - type: object - x-speakeasy-entity: Catalog_Visibility_Bindings - x-speakeasy-name-override: RequestCatalogManagementServiceAddAccessEntitlementsRequest - c1.api.requestcatalog.v1.RequestCatalogManagementServiceAddAccessEntitlementsResponse: - description: Empty response with a status code indicating success. - title: Request Catalog Management Service Add Access Entitlements Response - type: object - x-speakeasy-name-override: RequestCatalogManagementServiceAddAccessEntitlementsResponse - c1.api.requestcatalog.v1.RequestCatalogManagementServiceAddAppEntitlementsRequestInput: - description: The RequestCatalogManagementServiceAddAppEntitlementsRequest object is used to add app requestable app entitlements to a request catalog. - properties: - appEntitlements: - description: List of entitlements to add to the request catalog. - items: - $ref: '#/components/schemas/c1.api.app.v1.AppEntitlementRef' - nullable: true - readOnly: false - type: array - title: Request Catalog Management Service Add App Entitlements Request - type: object - x-speakeasy-entity: Catalog_Requestable_Entries - x-speakeasy-name-override: RequestCatalogManagementServiceAddAppEntitlementsRequest - c1.api.requestcatalog.v1.RequestCatalogManagementServiceAddAppEntitlementsResponse: - description: Empty response with a status code indicating success. - title: Request Catalog Management Service Add App Entitlements Response - type: object - x-speakeasy-name-override: RequestCatalogManagementServiceAddAppEntitlementsResponse - c1.api.requestcatalog.v1.RequestCatalogManagementServiceCreateRequest: - description: Create a request catalog. - properties: - description: - description: The description of the new request catalog. - readOnly: false - type: string - displayName: - description: The display name of the new request catalog. - readOnly: false - type: string - expandMask: - $ref: '#/components/schemas/c1.api.requestcatalog.v1.RequestCatalogExpandMask' - published: - description: Whether or not the new catalog should be created as published. - readOnly: false - type: boolean - requestBundle: - description: Whether all the entitlements in the catalog can be requests at once. Your tenant must have the bundles feature to use this. - readOnly: false - type: boolean - visibleToEveryone: - description: Whether or not the new catalog is visible to everyone by default. - readOnly: false - type: boolean - title: Request Catalog Management Service Create Request - type: object - x-speakeasy-entity: Catalog - x-speakeasy-name-override: RequestCatalogManagementServiceCreateRequest - c1.api.requestcatalog.v1.RequestCatalogManagementServiceDeleteRequestInput: - description: Delete a request catalog by Id. It uses URL value for input. - title: Request Catalog Management Service Delete Request - type: object - x-speakeasy-entity: Catalog - x-speakeasy-name-override: RequestCatalogManagementServiceDeleteRequest - c1.api.requestcatalog.v1.RequestCatalogManagementServiceDeleteResponse: - description: Empty response with a status code indicating success. - title: Request Catalog Management Service Delete Response - type: object - x-speakeasy-name-override: RequestCatalogManagementServiceDeleteResponse - c1.api.requestcatalog.v1.RequestCatalogManagementServiceGetResponse: - description: The request catalog management service get response returns a request catalog view with the expanded items in the expanded array indicated by the expand mask in the request. - properties: - expanded: - description: List of serialized related objects. - items: - additionalProperties: true - description: Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. - properties: - '@type': - description: The type of the serialized message. - type: string - readOnly: false - type: object - nullable: true - readOnly: false - type: array - requestCatalogView: - $ref: '#/components/schemas/c1.api.requestcatalog.v1.RequestCatalogView' - title: Request Catalog Management Service Get Response - type: object - x-speakeasy-name-override: RequestCatalogManagementServiceGetResponse - c1.api.requestcatalog.v1.RequestCatalogManagementServiceListEntitlementsForAccessResponse: - description: The RequestCatalogManagementServiceListEntitlementsForAccessResponse message contains a list of results and a nextPageToken if applicable. - properties: - expanded: - description: List of serialized related objects. - items: - additionalProperties: true - description: Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. - properties: - '@type': - description: The type of the serialized message. - type: string - readOnly: false - type: object - nullable: true - readOnly: false - type: array - list: - description: The list of results containing up to X results, where X is the page size defined in the request. - items: - $ref: '#/components/schemas/c1.api.app.v1.AppEntitlementView' - nullable: true - readOnly: false - type: array - nextPageToken: - description: |- - The nextPageToken is shown for the next page if the number of results is larger than the max page size. - The server returns one page of results and the nextPageToken until all results are retreived. - To retrieve the next page, use the same request and append a pageToken field with the value of nextPageToken shown on the previous page. - readOnly: false - type: string - title: Request Catalog Management Service List Entitlements For Access Response - type: object - x-speakeasy-name-override: RequestCatalogManagementServiceListEntitlementsForAccessResponse - c1.api.requestcatalog.v1.RequestCatalogManagementServiceListEntitlementsPerCatalogResponse: - description: The RequestCatalogManagementServiceListEntitlementsPerCatalogResponse message contains a list of results and a nextPageToken if applicable. - properties: - expanded: - description: List of serialized related objects. - items: - additionalProperties: true - description: Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. - properties: - '@type': - description: The type of the serialized message. - type: string - readOnly: false - type: object - nullable: true - readOnly: false - type: array - list: - description: The list of results containing up to X results, where X is the page size defined in the request. - items: - $ref: '#/components/schemas/c1.api.app.v1.AppEntitlementView' - nullable: true - readOnly: false - type: array - nextPageToken: - description: |- - The nextPageToken is shown for the next page if the number of results is larger than the max page size. - The server returns one page of results and the nextPageToken until all results are retreived. - To retrieve the next page, use the same request and append a pageToken field with the value of nextPageToken shown on the previous page. - readOnly: false - type: string - title: Request Catalog Management Service List Entitlements Per Catalog Response - type: object - x-speakeasy-name-override: RequestCatalogManagementServiceListEntitlementsPerCatalogResponse - c1.api.requestcatalog.v1.RequestCatalogManagementServiceListResponse: - description: The RequestCatalogManagementServiceListResponse message. - properties: - expanded: - description: List of serialized related objects. - items: - additionalProperties: true - description: Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. - properties: - '@type': - description: The type of the serialized message. - type: string - readOnly: false - type: object - nullable: true - readOnly: false - type: array - list: - description: The list of request catalogs. - items: - $ref: '#/components/schemas/c1.api.requestcatalog.v1.RequestCatalogView' - nullable: true - readOnly: false - type: array - nextPageToken: - description: |- - The nextPageToken is shown for the next page if the number of results is larger than the max page size. - The server returns one page of results and the nextPageToken until all results are retreived. - To retrieve the next page, use the same request and append a pageToken field with the value of nextPageToken shown on the previous page. - readOnly: false - type: string - title: Request Catalog Management Service List Response - type: object - x-speakeasy-name-override: RequestCatalogManagementServiceListResponse - c1.api.requestcatalog.v1.RequestCatalogManagementServiceRemoveAccessEntitlementsRequestInput: - description: |- - The RequestCatalogManagementServiceRemoveAccessEntitlementsRequest message is used to remove access entitlements from a request catalog. - The access entitlements are used to determine which users can view the request catalog. - properties: - accessEntitlements: - description: The list of access entitlements to remove from the catalog. - items: - $ref: '#/components/schemas/c1.api.app.v1.AppEntitlementRef' - nullable: true - readOnly: false - type: array - title: Request Catalog Management Service Remove Access Entitlements Request - type: object - x-speakeasy-entity: Catalog_Visibility_Bindings - x-speakeasy-name-override: RequestCatalogManagementServiceRemoveAccessEntitlementsRequest - c1.api.requestcatalog.v1.RequestCatalogManagementServiceRemoveAccessEntitlementsResponse: - description: Empty response with a status code indicating success. - title: Request Catalog Management Service Remove Access Entitlements Response - type: object - x-speakeasy-name-override: RequestCatalogManagementServiceRemoveAccessEntitlementsResponse - c1.api.requestcatalog.v1.RequestCatalogManagementServiceRemoveAppEntitlementsRequestInput: - description: The RequestCatalogManagementServiceRemoveAppEntitlementsRequest message is used to remove app entitlements from a request catalog. - properties: - appEntitlements: - description: The list of app entitlements to remove from the catalog. - items: - $ref: '#/components/schemas/c1.api.app.v1.AppEntitlementRef' - nullable: true - readOnly: false - type: array - title: Request Catalog Management Service Remove App Entitlements Request - type: object - x-speakeasy-entity: Catalog_Requestable_Entries - x-speakeasy-name-override: RequestCatalogManagementServiceRemoveAppEntitlementsRequest - c1.api.requestcatalog.v1.RequestCatalogManagementServiceRemoveAppEntitlementsResponse: - description: Empty response with a status code indicating success - title: Request Catalog Management Service Remove App Entitlements Response - type: object - x-speakeasy-name-override: RequestCatalogManagementServiceRemoveAppEntitlementsResponse - c1.api.requestcatalog.v1.RequestCatalogManagementServiceUpdateRequestInput: - description: Update a request catalog object by ID. - properties: - catalog: - $ref: '#/components/schemas/c1.api.requestcatalog.v1.RequestCatalog' - expandMask: - $ref: '#/components/schemas/c1.api.requestcatalog.v1.RequestCatalogExpandMask' - updateMask: - nullable: true - readOnly: false - type: string - title: Request Catalog Management Service Update Request - type: object - x-speakeasy-name-override: RequestCatalogManagementServiceUpdateRequest - c1.api.requestcatalog.v1.RequestCatalogSearchServiceSearchEntitlementsRequest: - description: The RequestCatalogSearchServiceSearchEntitlementsRequest searches entitlements, but only ones that are available to you through the open catalogs. - properties: - appDisplayName: - description: Search entitlements that belong to this app name (exact match). - readOnly: false - type: string - entitlementAlias: - description: Search for entitlements with this alias (exact match). - readOnly: false - type: string - expandMask: - $ref: '#/components/schemas/c1.api.app.v1.AppEntitlementExpandMask' - grantedStatus: - description: Search entitlements with this granted status for your signed in user. - enum: - - UNSPECIFIED - - ALL - - GRANTED - - NOT_GRANTED - readOnly: false - type: string - includeDeleted: - description: Include deleted entitlements - readOnly: false - type: boolean - pageSize: - description: The pageSize where 0 <= pageSize <= 100. Values < 10 will be set to 10. A value of 0 returns the default page size (currently 25) - format: int32 - readOnly: false - type: integer - pageToken: - description: The pageToken field. - readOnly: false - type: string - query: - description: Fuzzy search the display name of resource types. - readOnly: false - type: string - title: Request Catalog Search Service Search Entitlements Request - type: object - x-speakeasy-name-override: RequestCatalogSearchServiceSearchEntitlementsRequest - c1.api.requestcatalog.v1.RequestCatalogSearchServiceSearchEntitlementsResponse: - description: The RequestCatalogSearchServiceSearchEntitlementsResponse message contains a list of results and a nextPageToken if applicable. - properties: - expanded: - description: List of serialized related objects. - items: - additionalProperties: true - description: Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. - properties: - '@type': - description: The type of the serialized message. - type: string - readOnly: false - type: object - nullable: true - readOnly: false - type: array - list: - description: The list of results containing up to X results, where X is the page size defined in the request. - items: - $ref: '#/components/schemas/c1.api.app.v1.AppEntitlementWithUserBindings' - nullable: true - readOnly: false - type: array - nextPageToken: - description: |- - The nextPageToken is shown for the next page if the number of results is larger than the max page size. - The server returns one page of results and the nextPageToken until all results are retreived. - To retrieve the next page, use the same request and append a pageToken field with the value of nextPageToken shown on the previous page. - readOnly: false - type: string - title: Request Catalog Search Service Search Entitlements Response - type: object - x-speakeasy-name-override: RequestCatalogSearchServiceSearchEntitlementsResponse - c1.api.requestcatalog.v1.RequestCatalogView: - description: The request catalog view contains the serialized request catalog and paths to objects referenced by the request catalog. - properties: - accessEntitlementsPath: - description: JSONPATH expression indicating the location of the access entitlement objects, that the request catalog allows users to request, in the array. - readOnly: false - type: string - appPaths: - description: JSONPATH expression indicating the location of the App object in the array. - readOnly: false - type: string - createdByUserPath: - description: JSONPATH expression indicating the location of the User object, that created the request catalog, in the array. - readOnly: false - type: string - requestCatalog: - $ref: '#/components/schemas/c1.api.requestcatalog.v1.RequestCatalog' - title: Request Catalog View - type: object - x-speakeasy-name-override: RequestCatalogView - c1.api.requestcatalog.v1.SetBundleAutomationRequestInput: - description: | - The SetBundleAutomationRequest message. - - This message contains a oneof named conditions. Only a single field of the following list may be set at a time: - - entitlements - properties: - entitlements: - $ref: '#/components/schemas/c1.api.requestcatalog.v1.BundleAutomationRuleEntitlement' - title: Set Bundle Automation Request - type: object - x-speakeasy-name-override: SetBundleAutomationRequest - c1.api.search.v1.FacetCategory: - description: | - The FacetCategory indicates a grouping of facets by type. For example, facets "OnePassword" and "Okta" would group under an "Apps" category. - - This message contains a oneof named item. Only a single field of the following list may be set at a time: - - value - - range - properties: - displayName: - description: The display name of the category. - readOnly: false - type: string - iconUrl: - description: An icon for the category. - readOnly: false - type: string - param: - description: The param that is being set when checking a facet in this category. - readOnly: false - type: string - range: - $ref: '#/components/schemas/c1.api.search.v1.FacetRangeItem' - value: - $ref: '#/components/schemas/c1.api.search.v1.FacetValueItem' - title: Facet Category - type: object - x-speakeasy-name-override: FacetCategory - c1.api.search.v1.FacetRange: - description: The FacetRange message. - properties: - count: - description: The count of items in the range. - format: int64 - readOnly: false - type: string - displayName: - description: The display name of the range. - readOnly: false - type: string - from: - description: The starting value of the range. - format: int64 - readOnly: false - type: string - iconUrl: - description: The icon of the range. - readOnly: false - type: string - to: - description: The ending value of the range. - format: int64 - readOnly: false - type: string - title: Facet Range - type: object - x-speakeasy-name-override: FacetRange - c1.api.search.v1.FacetRangeItem: - description: The FacetRangeItem message. - nullable: true - properties: - ranges: - description: An array of facet ranges. - items: - $ref: '#/components/schemas/c1.api.search.v1.FacetRange' - nullable: true - readOnly: false - type: array - title: Facet Range Item - type: object - x-speakeasy-name-override: FacetRangeItem - c1.api.search.v1.FacetValue: - description: A FacetValue message contains count and value of the facet entry. - properties: - count: - description: The count of the values in this facet. - format: int64 - readOnly: false - type: string - displayName: - description: The name of this facet. - readOnly: false - type: string - iconUrl: - description: The icon for this facet. - readOnly: false - type: string - value: - description: The value of this facet. - readOnly: false - type: string - title: Facet Value - type: object - x-speakeasy-name-override: FacetValue - c1.api.search.v1.FacetValueItem: - description: The FacetValueItem message. - nullable: true - properties: - values: - description: An array of facet values. - items: - $ref: '#/components/schemas/c1.api.search.v1.FacetValue' - nullable: true - readOnly: false - type: array - title: Facet Value Item - type: object - x-speakeasy-name-override: FacetValueItem - c1.api.search.v1.Facets: - description: Indicates one value of a facet. - properties: - count: - description: The count of items in this facet. - format: int64 - readOnly: false - type: string - facets: - description: The facet being referenced. - items: - $ref: '#/components/schemas/c1.api.search.v1.FacetCategory' - nullable: true - readOnly: false - type: array - title: Facets - type: object - x-speakeasy-name-override: Facets - c1.api.settings.v1.AWSExternalID: - description: The AWSExternalID message. - properties: - externalId: - description: The externalId field. - readOnly: false - type: string - title: Aws External Id - type: object - x-speakeasy-entity: AWS_EXTERNAL_ID - x-speakeasy-name-override: AWSExternalID - c1.api.settings.v1.GetAWSExternalIDResponse: - description: The GetAWSExternalIDResponse message. - properties: - awsExternalId: - $ref: '#/components/schemas/c1.api.settings.v1.AWSExternalID' - title: Get Aws External Id Response - type: object - x-speakeasy-name-override: GetAWSExternalIDResponse - c1.api.settings.v1.GetSessionSettingsResponse: - description: The GetSessionSettingsResponse message. - properties: - sessionSettings: - $ref: '#/components/schemas/c1.api.settings.v1.SessionSettings' - title: Get Session Settings Response - type: object - x-speakeasy-name-override: GetSessionSettingsResponse - c1.api.settings.v1.SessionSettings: - description: The SessionSettings message. - properties: - maxSessionLength: - format: duration - readOnly: false - type: string - title: Session Settings - type: object - x-speakeasy-name-override: SessionSettings - c1.api.settings.v1.UpdateSessionSettingsRequest: - description: The UpdateSessionSettingsRequest message. - properties: - sessionSettings: - $ref: '#/components/schemas/c1.api.settings.v1.SessionSettings' - updateMask: - nullable: true - readOnly: false - type: string - title: Update Session Settings Request - type: object - x-speakeasy-name-override: UpdateSessionSettingsRequest - c1.api.settings.v1.UpdateSessionSettingsResponse: - description: The UpdateSessionSettingsResponse message. - properties: - sessionSettings: - $ref: '#/components/schemas/c1.api.settings.v1.SessionSettings' - title: Update Session Settings Response - type: object - x-speakeasy-name-override: UpdateSessionSettingsResponse - c1.api.systemlog.v1.ExportServiceCreateRequest: - description: | - The ExportServiceCreateRequest message is used to create a new system log exporter. - - This message contains a oneof named export_to. Only a single field of the following list may be set at a time: - - datasource - properties: - datasource: - $ref: '#/components/schemas/c1.api.systemlog.v1.ExportToDatasource' - displayName: - description: The display name of the new policy. - readOnly: false - type: string - title: Export Service Create Request - type: object - x-speakeasy-entity: SystemlogExport - x-speakeasy-name-override: ExportServiceCreateRequest - c1.api.systemlog.v1.ExportServiceCreateResponse: - description: The ExportServiceCreateResponse message. - properties: - exporter: - $ref: '#/components/schemas/c1.api.systemlog.v1.Exporter' - title: Export Service Create Response - type: object - x-speakeasy-name-override: ExportServiceCreateResponse - c1.api.systemlog.v1.ExportServiceDeleteRequestInput: - description: The ExportServiceDeleteRequest message. - title: Export Service Delete Request - type: object - x-speakeasy-name-override: ExportServiceDeleteRequest - c1.api.systemlog.v1.ExportServiceDeleteResponse: - description: The ExportServiceDeleteResponse message. - title: Export Service Delete Response - type: object - x-speakeasy-name-override: ExportServiceDeleteResponse - c1.api.systemlog.v1.ExportServiceGetResponse: - description: The ExportServiceGetResponse message contains the system log exporter object. - properties: - exporter: - $ref: '#/components/schemas/c1.api.systemlog.v1.Exporter' - title: Export Service Get Response - type: object - x-speakeasy-name-override: ExportServiceGetResponse - c1.api.systemlog.v1.ExportServiceListResponse: - description: The ExportServiceListResponse message. - properties: - list: - description: The list of results containing up to X results, where X is the page size defined in the request - items: - $ref: '#/components/schemas/c1.api.systemlog.v1.Exporter' - nullable: true - readOnly: false - type: array - nextPageToken: - description: The nextPageToken is shown for the next page if the number of results is larger than the max page size. The server returns one page of results and the nextPageToken until all results are retreived. To retrieve the next page, use the same request and append a pageToken field with the value of nextPageToken shown on the previous page. - readOnly: false - type: string - title: Export Service List Response - type: object - x-speakeasy-name-override: ExportServiceListResponse - c1.api.systemlog.v1.ExportServiceUpdateRequestInput: - description: The ExportServiceUpdateRequest message. - properties: - exporter: - $ref: '#/components/schemas/c1.api.systemlog.v1.Exporter' - updateMask: - nullable: true - readOnly: false - type: string - title: Export Service Update Request - type: object - x-speakeasy-name-override: ExportServiceUpdateRequest - c1.api.systemlog.v1.ExportServiceUpdateResponse: - description: The ExportServiceUpdateResponse message. - properties: - exporter: - $ref: '#/components/schemas/c1.api.systemlog.v1.Exporter' - title: Export Service Update Response - type: object - x-speakeasy-name-override: ExportServiceUpdateResponse - c1.api.systemlog.v1.ExportToDatasource: - description: The ExportToDatasource message. - nullable: true - properties: - datasourceId: - description: The datasourceId field. - readOnly: false - type: string - format: - description: The format field. - enum: - - EXPORT_FORMAT_UNSPECIFIED - - EXPORT_FORMAT_OCSF_JSON_ZSTD - - EXPORT_FORMAT_OCSF_JSON_GZIP - readOnly: false - type: string - prefix: - description: The prefix field. - readOnly: false - type: string - title: Export To Datasource - type: object - x-speakeasy-name-override: ExportToDatasource - c1.api.systemlog.v1.Exporter: - description: | - The Exporter message. - - This message contains a oneof named export_to. Only a single field of the following list may be set at a time: - - datasource - properties: - createdAt: - format: date-time - readOnly: true - type: string - datasource: - $ref: '#/components/schemas/c1.api.systemlog.v1.ExportToDatasource' - deletedAt: - format: date-time - readOnly: true - type: string - displayName: - description: The displayName field. - readOnly: false - type: string - exportId: - description: The exportId field. - readOnly: true - type: string - state: - description: The state field. - enum: - - EXPORT_STATE_UNSPECIFIED - - EXPORT_STATE_EXPORTING - - EXPORT_STATE_WAITING - - EXPORT_STATE_ERROR - readOnly: true - type: string - updatedAt: - format: date-time - readOnly: true - type: string - watermarkEventId: - description: we've synchorized this far - readOnly: true - type: string - title: Exporter - type: object - x-speakeasy-name-override: Exporter - c1.api.systemlog.v1.ExporterRef: - description: The ExporterRef message. - properties: - exportId: - description: The exportId field. - readOnly: false - type: string - title: Exporter Ref - type: object - x-speakeasy-name-override: ExporterRef - c1.api.systemlog.v1.ExportsSearchServiceSearchRequest: - description: The ExportsSearchServiceSearchRequest message. - properties: - displayName: - description: Search for system log exporters with a case insensitive match on the display name. - readOnly: false - type: string - pageSize: - description: The pageSize field. - format: int32 - readOnly: false - type: integer - pageToken: - description: The pageToken field. - readOnly: false - type: string - query: - description: The query field. - readOnly: false - type: string - refs: - description: The refs field. - items: - $ref: '#/components/schemas/c1.api.systemlog.v1.ExporterRef' - nullable: true - readOnly: false - type: array - title: Exports Search Service Search Request - type: object - x-speakeasy-name-override: ExportsSearchServiceSearchRequest - c1.api.systemlog.v1.ExportsSearchServiceSearchResponse: - description: The ExportsSearchServiceSearchResponse message. - properties: - list: - description: The list field. - items: - $ref: '#/components/schemas/c1.api.systemlog.v1.Exporter' - nullable: true - readOnly: false - type: array - nextPageToken: - description: The nextPageToken field. - readOnly: false - type: string - title: Exports Search Service Search Response - type: object - x-speakeasy-name-override: ExportsSearchServiceSearchResponse - c1.api.systemlog.v1.SystemLogServiceListEventsRequest: - description: The SystemLogServiceListEventsRequest message. - properties: - pageSize: - description: The pageSize field. - format: int32 - readOnly: false - type: integer - pageToken: - description: The pageToken field. - readOnly: false - type: string - since: - format: date-time - readOnly: false - type: string - sinceEventUid: - description: The sinceEventUid field. - readOnly: false - type: string - sortDirection: - description: The sortDirection field. - enum: - - SORT_DIRECTION_UNSPECIFIED - - SORT_DIRECTION_ASC - - SORT_DIRECTION_DESC - readOnly: false - type: string - until: - format: date-time - readOnly: false - type: string - title: System Log Service List Events Request - type: object - x-speakeasy-name-override: SystemLogServiceListEventsRequest - c1.api.systemlog.v1.SystemLogServiceListEventsResponse: - description: The SystemLogServiceListEventsResponse message. - properties: - list: - description: List contains an array of JSON OCSF events. - items: - additionalProperties: true - readOnly: false - type: object - nullable: true - readOnly: false - type: array - nextPageToken: - description: The nextPageToken field. - readOnly: false - type: string - title: System Log Service List Events Response - type: object - x-speakeasy-name-override: SystemLogServiceListEventsResponse - c1.api.task.v1.ExternalRef: - description: A reference to an external source. This value is unused currently, but may be brought back. - properties: - externalRefSource: - description: The source of the external reference. - enum: - - UNSPECIFIED - - JIRA - readOnly: true - type: string - name: - description: The name of the external reference. - readOnly: true - type: string - url: - description: The URL to the external reference. - readOnly: true - type: string - title: External Ref - type: object - x-speakeasy-name-override: ExternalRef - c1.api.task.v1.Task: - description: A fully-fleged task object. Includes its policy, references to external apps, its type, its processing history, and more. - properties: - actions: - description: The actions that can be performed on the task by the current user. - items: - enum: - - TASK_ACTION_TYPE_UNSPECIFIED - - TASK_ACTION_TYPE_CLOSE - - TASK_ACTION_TYPE_APPROVE - - TASK_ACTION_TYPE_DENY - - TASK_ACTION_TYPE_COMMENT - - TASK_ACTION_TYPE_DELETE - - TASK_ACTION_TYPE_REASSIGN - - TASK_ACTION_TYPE_RESTART - - TASK_ACTION_TYPE_SEND_REMINDER - - TASK_ACTION_TYPE_PROVISION_COMPLETE - - TASK_ACTION_TYPE_PROVISION_CANCELLED - - TASK_ACTION_TYPE_PROVISION_ERRORED - - TASK_ACTION_TYPE_PROVISION_APP_USER_TARGET_CREATED - - TASK_ACTION_TYPE_ROLLBACK_SKIPPED - - TASK_ACTION_TYPE_HARD_RESET - - TASK_ACTION_TYPE_ESCALATE_TO_EMERGENCY_ACCESS - - TASK_ACTION_TYPE_CHANGE_POLICY - - TASK_ACTION_TYPE_RECALCULATE_DENIAL_FROM_BASE_POLICY_DECISIONS - - TASK_ACTION_TYPE_SET_INSIGHTS_AND_RECOMMENDATION - - TASK_ACTION_TYPE_SET_ANALYSIS_ID - - TASK_ACTION_TYPE_RECALCULATE_APPROVERS_LIST - type: string - nullable: true - readOnly: true - type: array - analysisId: - description: The ID of the analysis object associated with this task created by an analysis workflow if the analysis feature is enabled for your tenant. - readOnly: true - type: string - annotations: - description: An array of `google.protobuf.Any` annotations with various base64-encoded data. - items: - additionalProperties: true - description: Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. - properties: - '@type': - description: The type of the serialized message. - type: string - readOnly: true - type: object - nullable: true - readOnly: true - type: array - commentCount: - description: The count of comments. - format: int32 - readOnly: true - type: integer - createdAt: - format: date-time - readOnly: true - type: string - createdByUserId: - description: The ID of the user that is the creator of this task. This may not always match the userId field. - readOnly: true - type: string - deletedAt: - format: date-time - readOnly: true - type: string - description: - description: The description of the task. This is also known as justification. - readOnly: true - type: string - displayName: - description: The display name of the task. - readOnly: true - type: string - emergencyAccess: - description: A field indicating whether this task was created using an emergency access flow, or escalated to emergency access. On task creation, it will also use the app entitlement's emergency policy when possible. - readOnly: true - type: boolean - externalRefs: - description: An array of external references to the task. Historically that has been items like Jira task IDs. This is currently unused, but may come back in the future for integrations. - items: - $ref: '#/components/schemas/c1.api.task.v1.ExternalRef' - nullable: true - readOnly: true - type: array - id: - description: The ID of the task. - readOnly: true - type: string - insightIds: - description: The insightIds field. - items: - type: string - nullable: true - readOnly: false - type: array - numericId: - description: A human-usable numeric ID of a task which can be included in place of the fully qualified task id in path parmeters (but not search queries). - format: int64 - readOnly: true - type: string - policy: - $ref: '#/components/schemas/c1.api.policy.v1.PolicyInstance' - policyGenerationId: - description: The policy generation id refers to the current policy's generation ID. This is changed when the policy is changed on a task. - readOnly: true - type: string - processing: - description: The processing state of a task as defined by the `processing_enum` - enum: - - TASK_PROCESSING_TYPE_UNSPECIFIED - - TASK_PROCESSING_TYPE_PROCESSING - - TASK_PROCESSING_TYPE_WAITING - - TASK_PROCESSING_TYPE_DONE - readOnly: true - type: string - recommendation: - description: The recommendation field. - enum: - - INSIGHT_RECOMMENDATION_UNSPECIFIED - - INSIGHT_RECOMMENDATION_APPROVE - - INSIGHT_RECOMMENDATION_DENY - - INSIGHT_RECOMMENDATION_REVIEW - readOnly: false - type: string - state: - description: The current state of the task as defined by the `state_enum` - enum: - - TASK_STATE_UNSPECIFIED - - TASK_STATE_OPEN - - TASK_STATE_CLOSED - readOnly: true - type: string - stepApproverIds: - description: An array of IDs belonging to Identity Users that are allowed to review this step in a task. - items: - type: string - nullable: true - readOnly: true - type: array - type: - $ref: '#/components/schemas/c1.api.task.v1.TaskType' - updatedAt: - format: date-time - readOnly: true - type: string - userId: - description: The ID of the user that is the target of this task. This may be empty if we're targeting a specific app user that has no known identity user. - readOnly: true - type: string - title: Task - type: object - x-speakeasy-name-override: Task - c1.api.task.v1.TaskActionsServiceApproveRequestInput: - description: The TaskActionsServiceApproveRequest object lets you approve a task. - properties: - comment: - description: The comment attached to the request. - readOnly: false - type: string - expandMask: - $ref: '#/components/schemas/c1.api.task.v1.TaskExpandMask' - policyStepId: - description: The ID of the policy step on the given task to approve. - readOnly: false - type: string - required: - - policyStepId - title: Task Actions Service Approve Request - type: object - x-speakeasy-name-override: TaskActionsServiceApproveRequest - c1.api.task.v1.TaskActionsServiceApproveResponse: - description: The TaskActionsServiceApproveResponse returns a task view with paths indicating the location of expanded items in the array. - properties: - expanded: - description: List of serialized related objects. - items: - additionalProperties: true - description: Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. - properties: - '@type': - description: The type of the serialized message. - type: string - readOnly: true - type: object - nullable: true - readOnly: true - type: array - taskView: - $ref: '#/components/schemas/c1.api.task.v1.TaskView' - ticketActionId: - description: The ID of the ticket (task) approve action created by this request. - readOnly: true - type: string - title: Task Actions Service Approve Response - type: object - x-speakeasy-name-override: TaskActionsServiceApproveResponse - c1.api.task.v1.TaskActionsServiceCommentRequestInput: - description: The TaskActionsServiceCommentRequest object lets you create a new comment on a task. - properties: - comment: - description: The comment to be posted to the ticket - readOnly: false - type: string - expandMask: - $ref: '#/components/schemas/c1.api.task.v1.TaskExpandMask' - title: Task Actions Service Comment Request - type: object - x-speakeasy-name-override: TaskActionsServiceCommentRequest - c1.api.task.v1.TaskActionsServiceCommentResponse: - description: Task actions service comment response returns the task view inluding the expanded array of items that are indicated by the expand mask on the request. - properties: - expanded: - description: List of serialized related objects. - items: - additionalProperties: true - description: Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. - properties: - '@type': - description: The type of the serialized message. - type: string - readOnly: false - type: object - nullable: true - readOnly: false - type: array - taskView: - $ref: '#/components/schemas/c1.api.task.v1.TaskView' - title: Task Actions Service Comment Response - type: object - x-speakeasy-name-override: TaskActionsServiceCommentResponse - c1.api.task.v1.TaskActionsServiceDenyRequestInput: - description: The TaskActionsServiceDenyRequest object lets you deny a task. - properties: - comment: - description: The comment attached to the request. - readOnly: false - type: string - expandMask: - $ref: '#/components/schemas/c1.api.task.v1.TaskExpandMask' - policyStepId: - description: The ID of the currently policy step. This is the step you want to deny. - readOnly: false - type: string - title: Task Actions Service Deny Request - type: object - x-speakeasy-name-override: TaskActionsServiceDenyRequest - c1.api.task.v1.TaskActionsServiceDenyResponse: - description: The TaskActionsServiceDenyResponse returns a task view with paths indicating the location of expanded items in the array. - properties: - expanded: - description: List of serialized related objects. - items: - additionalProperties: true - description: Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. - properties: - '@type': - description: The type of the serialized message. - type: string - readOnly: true - type: object - nullable: true - readOnly: true - type: array - taskView: - $ref: '#/components/schemas/c1.api.task.v1.TaskView' - ticketActionId: - description: The ID of the ticket (task) deny action created by this request. - readOnly: true - type: string - title: Task Actions Service Deny Response - type: object - x-speakeasy-name-override: TaskActionsServiceDenyResponse - c1.api.task.v1.TaskActionsServiceEscalateToEmergencyAccessRequestInput: - description: The TaskActionsServiceEscalateToEmergencyAccessRequest message. - properties: - comment: - description: The comment field. - readOnly: false - type: string - expandMask: - $ref: '#/components/schemas/c1.api.task.v1.TaskExpandMask' - policyStepId: - description: The policyStepId field. - readOnly: false - type: string - title: Task Actions Service Escalate To Emergency Access Request - type: object - x-speakeasy-name-override: TaskActionsServiceEscalateToEmergencyAccessRequest - c1.api.task.v1.TaskActionsServiceReassignRequestInput: - description: The TaskActionsServiceReassignRequest message. - properties: - comment: - description: The comment field. - readOnly: false - type: string - expandMask: - $ref: '#/components/schemas/c1.api.task.v1.TaskExpandMask' - newStepUserIds: - description: The newStepUserIds field. - items: - type: string - nullable: true - readOnly: false - type: array - policyStepId: - description: The policyStepId field. - readOnly: false - type: string - title: Task Actions Service Reassign Request - type: object - x-speakeasy-name-override: TaskActionsServiceReassignRequest - c1.api.task.v1.TaskActionsServiceReassignResponse: - description: The TaskActionsServiceReassignResponse returns a task view with paths indicating the location of expanded items in the array. - properties: - expanded: - description: List of serialized related objects. - items: - additionalProperties: true - description: Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. - properties: - '@type': - description: The type of the serialized message. - type: string - readOnly: true - type: object - nullable: true - readOnly: true - type: array - taskView: - $ref: '#/components/schemas/c1.api.task.v1.TaskView' - ticketActionId: - description: The ID of the ticket (task) deny action created by this request. - readOnly: true - type: string - title: Task Actions Service Reassign Response - type: object - x-speakeasy-name-override: TaskActionsServiceReassignResponse - c1.api.task.v1.TaskActionsServiceRestartRequestInput: - description: The TaskActionsServiceRestartRequest object lets you restart a task. - properties: - comment: - description: The comment attached to the request. - readOnly: false - type: string - expandMask: - $ref: '#/components/schemas/c1.api.task.v1.TaskExpandMask' - policyStepId: - description: The ID of the policy step on the given task to restart. - readOnly: false - type: string - title: Task Actions Service Restart Request - type: object - x-speakeasy-name-override: TaskActionsServiceRestartRequest - c1.api.task.v1.TaskActionsServiceRestartResponse: - description: The TaskActionsServiceRestartResponse message. - properties: - expanded: - description: The expanded field. - items: - additionalProperties: true - description: Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. - properties: - '@type': - description: The type of the serialized message. - type: string - readOnly: false - type: object - nullable: true - readOnly: false - type: array - taskView: - $ref: '#/components/schemas/c1.api.task.v1.TaskView' - ticketActionId: - description: The ticketActionId field. - readOnly: false - type: string - title: Task Actions Service Restart Response - type: object - x-speakeasy-name-override: TaskActionsServiceRestartResponse - c1.api.task.v1.TaskExpandMask: - description: The task expand mask is an array of strings that specifes the related objects the requester wishes to have returned when making a request where the expand mask is part of the input. Use '*' to view all possible responses. - properties: - paths: - description: A list of paths to expand in the response. May be any combination of "*", "access_review_id", "user_id", "created_by_user_id", "app_id", "app_user_id", "app_entitlement_ids", "step_approver_ids", "identity_user_id", and "insight_ids". - items: - type: string - nullable: true - readOnly: false - type: array - title: Task Expand Mask - type: object - x-speakeasy-name-override: TaskExpandMask - c1.api.task.v1.TaskGrantSource: - description: The TaskGrantSource message tracks which external URL was the source of the specificed grant ticket. - properties: - externalUrl: - description: The external url source of the grant ticket. - readOnly: false - type: string - integrationId: - description: The integration id for the source of tickets. - readOnly: false - type: string - requestId: - description: the request id for the grant ticket if the source is external - readOnly: false - type: string - title: Task Grant Source - type: object - x-speakeasy-name-override: TaskGrantSource - c1.api.task.v1.TaskRef: - description: This object references a task by ID. - properties: - id: - description: The ID of the referenced Task - readOnly: false - type: string - title: Task Ref - type: object - x-speakeasy-name-override: TaskRef - c1.api.task.v1.TaskRevokeSource: - description: | - The TaskRevokeSource message indicates the source of the revoke task is one of expired, nonUsage, request, or review. - - This message contains a oneof named origin. Only a single field of the following list may be set at a time: - - review - - request - - expired - - nonUsage - properties: - expired: - $ref: '#/components/schemas/c1.api.task.v1.TaskRevokeSourceExpired' - nonUsage: - $ref: '#/components/schemas/c1.api.task.v1.TaskRevokeSourceNonUsage' - request: - $ref: '#/components/schemas/c1.api.task.v1.TaskRevokeSourceRequest' - review: - $ref: '#/components/schemas/c1.api.task.v1.TaskRevokeSourceReview' - title: Task Revoke Source - type: object - x-speakeasy-name-override: TaskRevokeSource - c1.api.task.v1.TaskRevokeSourceExpired: - description: The TaskRevokeSourceExpired message indicates that the source of the revoke task is due to a grant expiring. - nullable: true - properties: - expiredAt: - format: date-time - readOnly: false - type: string - title: Task Revoke Source Expired - type: object - x-speakeasy-name-override: TaskRevokeSourceExpired - c1.api.task.v1.TaskRevokeSourceNonUsage: - description: The TaskRevokeSourceNonUsage message indicates that the source of the revoke task is due to the grant not being used. - nullable: true - properties: - expiresAt: - format: date-time - readOnly: false - type: string - lastLogin: - format: date-time - readOnly: false - type: string - title: Task Revoke Source Non Usage - type: object - x-speakeasy-name-override: TaskRevokeSourceNonUsage - c1.api.task.v1.TaskRevokeSourceRequest: - description: The TaskRevokeSourceRequest message indicates that the source of the revoke task was a request. - nullable: true - properties: - requestUserId: - description: The ID of the user who initiated the revoke request. - readOnly: false - type: string - title: Task Revoke Source Request - type: object - x-speakeasy-name-override: TaskRevokeSourceRequest - c1.api.task.v1.TaskRevokeSourceReview: - description: The TaskRevokeSourceReview message tracks which access review was the source of the specificed revoke ticket. - nullable: true - properties: - accessReviewId: - description: The ID of the access review associated with the revoke task. - readOnly: false - type: string - certTicketId: - description: The ID of the certify ticket that was denied and created this revoke task. - readOnly: false - type: string - title: Task Revoke Source Review - type: object - x-speakeasy-name-override: TaskRevokeSourceReview - c1.api.task.v1.TaskSearchRequest: - description: Search for tasks based on a plethora filters. - properties: - accessReviewIds: - description: Search tasks that belong to any of the access reviews included in this list. - items: - type: string - nullable: true - readOnly: false - type: array - accountOwnerIds: - description: Search tasks that have any of these account owners. - items: - type: string - nullable: true - readOnly: false - type: array - accountTypes: - description: The accountTypes field. - items: - enum: - - APP_USER_TYPE_UNSPECIFIED - - APP_USER_TYPE_USER - - APP_USER_TYPE_SERVICE_ACCOUNT - - APP_USER_TYPE_SYSTEM_ACCOUNT - type: string - nullable: true - readOnly: false - type: array - actorId: - description: Search tasks that have this actor ID. - readOnly: false - type: string - appEntitlementIds: - description: Search tasks that have any of these app entitlement IDs. - items: - type: string - nullable: true - readOnly: false - type: array - appResourceIds: - description: Search tasks that have any of these app resource IDs. - items: - type: string - nullable: true - readOnly: false - type: array - appResourceTypeIds: - description: Search tasks that have any of these app resource type IDs. - items: - type: string - nullable: true - readOnly: false - type: array - appUserSubjectIds: - description: Search tasks that have any of these app users as subjects. - items: - type: string - nullable: true - readOnly: false - type: array - applicationIds: - description: Search tasks that have any of these apps as targets. - items: - type: string - nullable: true - readOnly: false - type: array - assigneesInIds: - description: Search tasks by List of UserIDs which are currently assigned these Tasks - items: - type: string - nullable: true - readOnly: false - type: array - createdAfter: - format: date-time - readOnly: false - type: string - createdBefore: - format: date-time - readOnly: false - type: string - currentStep: - description: Search tasks that have this type of step as the current step. - enum: - - TASK_SEARCH_CURRENT_STEP_UNSPECIFIED - - TASK_SEARCH_CURRENT_STEP_APPROVAL - - TASK_SEARCH_CURRENT_STEP_PROVISION - readOnly: false - type: string - emergencyStatus: - description: Search tasks that are or are not emergency access. - enum: - - UNSPECIFIED - - ALL - - NON_EMERGENCY - - EMERGENCY - readOnly: false - type: string - excludeAppEntitlementIds: - description: Search tasks that do not have any of these app entitlement IDs. - items: - type: string - nullable: true - readOnly: false - type: array - excludeIds: - description: Exclude Specific TaskIDs from this serach result. - items: - type: string - nullable: true - readOnly: false - type: array - expandMask: - $ref: '#/components/schemas/c1.api.task.v1.TaskExpandMask' - includeDeleted: - description: Whether or not to include deleted tasks. - readOnly: false - type: boolean - myWorkUserIds: - description: Search tasks where the user would see this task in the My Work section - items: - type: string - nullable: true - readOnly: false - type: array - olderThanDuration: - format: duration - readOnly: false - type: string - openerIds: - description: Search tasks that were created by any of the users in this array. - items: - type: string - nullable: true - readOnly: false - type: array - pageSize: - description: The pageSize where 0 <= pageSize <= 100. Values < 10 will be set to 10. A value of 0 returns the default page size (currently 25) - format: int32 - readOnly: false - type: integer - pageToken: - description: The pageToken field. - readOnly: false - type: string - previouslyActedOnIds: - description: Search tasks that were acted on by any of these users. - items: - type: string - nullable: true - readOnly: false - type: array - query: - description: Fuzzy search tasks by display name or description. Also can search by numeric ID. - readOnly: false - type: string - refs: - description: Query tasks by display name, description, or numeric ID. - items: - $ref: '#/components/schemas/c1.api.task.v1.TaskRef' - nullable: true - readOnly: false - type: array - sortBy: - description: Sort tasks in a specific order. - enum: - - TASK_SEARCH_SORT_BY_UNSPECIFIED - - TASK_SEARCH_SORT_BY_ACCOUNT - - TASK_SEARCH_SORT_BY_RESOURCE - - TASK_SEARCH_SORT_BY_ACCOUNT_OWNER - - TASK_SEARCH_SORT_BY_REVERSE_TICKET_ID - readOnly: false - type: string - subjectIds: - description: Search tasks where these users are the subject. - items: - type: string - nullable: true - readOnly: false - type: array - taskStates: - description: Search tasks with this task state. - items: - enum: - - TASK_STATE_UNSPECIFIED - - TASK_STATE_OPEN - - TASK_STATE_CLOSED - type: string - nullable: true - readOnly: false - type: array - taskTypes: - description: Search tasks with this task type. This is a oneOf, and needs an object, which can be empty, to sort. - items: - $ref: '#/components/schemas/c1.api.task.v1.TaskType' - nullable: true - readOnly: false - type: array - title: Task Search Request - type: object - x-speakeasy-name-override: TaskSearchRequest - c1.api.task.v1.TaskSearchResponse: - description: The TaskSearchResponse message contains a list of results and a nextPageToken if applicable. - properties: - expanded: - description: The list of results containing up to X results, where X is the page size defined in the request. - items: - additionalProperties: true - description: Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. - properties: - '@type': - description: The type of the serialized message. - type: string - readOnly: false - type: object - nullable: true - readOnly: false - type: array - list: - description: List of serialized related objects. - items: - $ref: '#/components/schemas/c1.api.task.v1.TaskView' - nullable: true - readOnly: false - type: array - nextPageToken: - description: |- - The nextPageToken is shown for the next page if the number of results is larger than the max page size. - The server returns one page of results and the nextPageToken until all results are retreived. - To retrieve the next page, use the same request and append a pageToken field with the value of nextPageToken shown on the previous page. - readOnly: false - type: string - title: Task Search Response - type: object - x-speakeasy-name-override: TaskSearchResponse - c1.api.task.v1.TaskServiceActionResponse: - description: The TaskServiceActionResponse message. - properties: - expanded: - description: The expanded field. - items: - additionalProperties: true - description: Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. - properties: - '@type': - description: The type of the serialized message. - type: string - readOnly: false - type: object - nullable: true - readOnly: false - type: array - taskView: - $ref: '#/components/schemas/c1.api.task.v1.TaskView' - ticketActionId: - description: The ticketActionId field. - readOnly: false - type: string - title: Task Service Action Response - type: object - x-speakeasy-name-override: TaskServiceActionResponse - c1.api.task.v1.TaskServiceCreateGrantRequest: - description: Create a grant task. - properties: - appEntitlementId: - description: The ID of the app entitlement to grant access to. - readOnly: false - type: string - appId: - description: The ID of the app that is associated with the entitlement. - readOnly: false - type: string - appUserId: - description: The ID of the app user to grant access for. This field and identityUserId cannot both be set for a given request. - readOnly: false - type: string - description: - description: The description of the request. - readOnly: false - type: string - emergencyAccess: - description: Boolean stating whether or not the task is marked as emergency access. - readOnly: false - type: boolean - expandMask: - $ref: '#/components/schemas/c1.api.task.v1.TaskExpandMask' - grantDuration: - format: duration - readOnly: false - type: string - identityUserId: - description: The ID of the user associated with the app user we are granting access for. This field cannot be set if appUserID is also set. - readOnly: false - type: string - source: - $ref: '#/components/schemas/c1.api.task.v1.TaskGrantSource' - required: - - appId - - appEntitlementId - title: Task Service Create Grant Request - type: object - x-speakeasy-name-override: TaskServiceCreateGrantRequest - c1.api.task.v1.TaskServiceCreateGrantResponse: - description: The TaskServiceCreateGrantResponse returns a task view which has a task including JSONPATHs to the expanded items in the expanded array. - properties: - expanded: - description: List of serialized related objects. - items: - additionalProperties: true - description: Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. - properties: - '@type': - description: The type of the serialized message. - type: string - readOnly: true - type: object - nullable: true - readOnly: true - type: array - taskView: - $ref: '#/components/schemas/c1.api.task.v1.TaskView' - title: Task Service Create Grant Response - type: object - x-speakeasy-name-override: TaskServiceCreateGrantResponse - c1.api.task.v1.TaskServiceCreateOffboardingRequest: - description: The TaskServiceCreateOffboardingRequest message. - properties: - description: - description: The description field. - readOnly: false - type: string - expandMask: - $ref: '#/components/schemas/c1.api.task.v1.TaskExpandMask' - subjectUserId: - description: The subjectUserId field. - readOnly: false - type: string - title: Task Service Create Offboarding Request - type: object - x-speakeasy-name-override: TaskServiceCreateOffboardingRequest - c1.api.task.v1.TaskServiceCreateOffboardingResponse: - description: The TaskServiceCreateOffboardingResponse message. - properties: - expanded: - description: The expanded field. - items: - additionalProperties: true - description: Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. - properties: - '@type': - description: The type of the serialized message. - type: string - readOnly: true - type: object - nullable: true - readOnly: true - type: array - taskView: - $ref: '#/components/schemas/c1.api.task.v1.TaskView' - title: Task Service Create Offboarding Response - type: object - x-speakeasy-name-override: TaskServiceCreateOffboardingResponse - c1.api.task.v1.TaskServiceCreateRevokeRequest: - description: Create a revoke task. - properties: - appEntitlementId: - description: The ID of the app entitlement to revoke access to. - readOnly: false - type: string - appId: - description: The ID of the app associated with the entitlement. - readOnly: false - type: string - appUserId: - description: The ID of the app user to revoke access from. This field and identityUserId cannot both be set for a given request. - readOnly: false - type: string - description: - description: The description of the request. - readOnly: false - type: string - expandMask: - $ref: '#/components/schemas/c1.api.task.v1.TaskExpandMask' - identityUserId: - description: The ID of the user associated with the app user we are revoking access from. This field cannot be set if appUserID is also set. - readOnly: false - type: string - required: - - appId - - appEntitlementId - title: Task Service Create Revoke Request - type: object - x-speakeasy-name-override: TaskServiceCreateRevokeRequest - c1.api.task.v1.TaskServiceCreateRevokeResponse: - description: The TaskServiceCreateRevokeResponse returns a task view which has a task including JSONPATHs to the expanded items in the expanded array. - properties: - expanded: - description: List of serialized related objects. - items: - additionalProperties: true - description: Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. - properties: - '@type': - description: The type of the serialized message. - type: string - readOnly: false - type: object - nullable: true - readOnly: false - type: array - taskView: - $ref: '#/components/schemas/c1.api.task.v1.TaskView' - title: Task Service Create Revoke Response - type: object - x-speakeasy-name-override: TaskServiceCreateRevokeResponse - c1.api.task.v1.TaskServiceGetResponse: - description: The TaskServiceGetResponse returns a task view which has a task including JSONPATHs to the expanded items in the expanded array. - properties: - expanded: - description: List of serialized related objects. - items: - additionalProperties: true - description: Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. - properties: - '@type': - description: The type of the serialized message. - type: string - readOnly: true - type: object - nullable: true - readOnly: true - type: array - taskView: - $ref: '#/components/schemas/c1.api.task.v1.TaskView' - title: Task Service Get Response - type: object - x-speakeasy-name-override: TaskServiceGetResponse - c1.api.task.v1.TaskType: - description: | - Task Type provides configuration for the type of task: certify, grant, or revoke - - This message contains a oneof named task_type. Only a single field of the following list may be set at a time: - - grant - - revoke - - certify - - offboarding - properties: - certify: - $ref: '#/components/schemas/c1.api.task.v1.TaskTypeCertify' - grant: - $ref: '#/components/schemas/c1.api.task.v1.TaskTypeGrant' - offboarding: - $ref: '#/components/schemas/c1.api.task.v1.TaskTypeOffboarding' - revoke: - $ref: '#/components/schemas/c1.api.task.v1.TaskTypeRevoke' - title: Task Type - type: object - x-speakeasy-name-override: TaskType - c1.api.task.v1.TaskTypeCertify: - description: The TaskTypeCertify message indicates that a task is a certify task and all related details. - nullable: true - properties: - accessReviewId: - description: The ID of the access review. - readOnly: true - type: string - accessReviewSelection: - description: The ID of the specific access review object that owns this certify task. This is also set on a revoke task if the revoke task is created from the denied outcome of a certify task. - readOnly: true - type: string - appEntitlementId: - description: The ID of the app entitlement. - readOnly: true - type: string - appId: - description: The ID of the app. - readOnly: true - type: string - appUserId: - description: The ID of the app user. - readOnly: true - type: string - identityUserId: - description: The ID of the user. - readOnly: true - type: string - outcome: - description: The outcome of the certification. - enum: - - CERTIFY_OUTCOME_UNSPECIFIED - - CERTIFY_OUTCOME_CERTIFIED - - CERTIFY_OUTCOME_DECERTIFIED - - CERTIFY_OUTCOME_ERROR - - CERTIFY_OUTCOME_CANCELLED - - CERTIFY_OUTCOME_WAIT_TIMED_OUT - readOnly: true - type: string - outcomeTime: - format: date-time - readOnly: true - type: string - title: Task Type Certify - type: object - x-speakeasy-name-override: TaskTypeCertify - c1.api.task.v1.TaskTypeGrant: - description: The TaskTypeGrant message indicates that a task is a grant task and all related details. - nullable: true - properties: - appEntitlementId: - description: The ID of the app entitlement. - readOnly: true - type: string - appId: - description: The ID of the app. - readOnly: true - type: string - appUserId: - description: The ID of the app user. - readOnly: true - type: string - grantDuration: - format: duration - readOnly: true - type: string - identityUserId: - description: The ID of the user. - readOnly: true - type: string - outcome: - description: The outcome of the grant. - enum: - - GRANT_OUTCOME_UNSPECIFIED - - GRANT_OUTCOME_GRANTED - - GRANT_OUTCOME_DENIED - - GRANT_OUTCOME_ERROR - - GRANT_OUTCOME_CANCELLED - - GRANT_OUTCOME_WAIT_TIMED_OUT - readOnly: true - type: string - outcomeTime: - format: date-time - readOnly: true - type: string - source: - $ref: '#/components/schemas/c1.api.task.v1.TaskGrantSource' - title: Task Type Grant - type: object - x-speakeasy-name-override: TaskTypeGrant - c1.api.task.v1.TaskTypeOffboarding: - description: The TaskTypeOffboarding message. - nullable: true - properties: - outcome: - description: The outcome field. - enum: - - OFFBOARDING_OUTCOME_UNSPECIFIED - - OFFBOARDING_OUTCOME_IN_PROGRESS - - OFFBOARDING_OUTCOME_DONE - - OFFBOARDING_OUTCOME_ERROR - - OFFBOARDING_OUTCOME_CANCELLED - readOnly: true - type: string - outcomeTime: - format: date-time - readOnly: true - type: string - subjectUserId: - description: The subjectUserId field. - readOnly: true - type: string - title: Task Type Offboarding - type: object - x-speakeasy-name-override: TaskTypeOffboarding - c1.api.task.v1.TaskTypeRevoke: - description: The TaskTypeRevoke message indicates that a task is a revoke task and all related details. - nullable: true - properties: - appEntitlementId: - description: The ID of the app entitlement. - readOnly: true - type: string - appId: - description: The ID of the app. - readOnly: true - type: string - appUserId: - description: The ID of the app user. - readOnly: true - type: string - identityUserId: - description: The ID of the user. - readOnly: true - type: string - outcome: - description: The outcome of the revoke. - enum: - - REVOKE_OUTCOME_UNSPECIFIED - - REVOKE_OUTCOME_REVOKED - - REVOKE_OUTCOME_DENIED - - REVOKE_OUTCOME_ERROR - - REVOKE_OUTCOME_CANCELLED - - REVOKE_OUTCOME_WAIT_TIMED_OUT - readOnly: true - type: string - outcomeTime: - format: date-time - readOnly: true - type: string - source: - $ref: '#/components/schemas/c1.api.task.v1.TaskRevokeSource' - title: Task Type Revoke - type: object - x-speakeasy-name-override: TaskTypeRevoke - c1.api.task.v1.TaskView: - description: Contains a task and JSONPATH expressions that describe where in the expanded array related objects are located. This view can be used to display a fully-detailed dashboard of task information. - properties: - accessReviewPath: - description: JSONPATH expression indicating the location of the AccessReview object in the expanded array - readOnly: true - type: string - appPath: - description: JSONPATH expression indicating the location of the App object in the expanded array - readOnly: true - type: string - appUserPath: - description: JSONPATH expression indicating the location of the AppUser object in the expanded array - readOnly: true - type: string - createdByUserPath: - description: JSONPATH expression indicating the location of the object of the User that created the ticket in the expanded array - readOnly: true - type: string - entitlementsPath: - description: JSONPATH expression indicating the location of the Entitlements objects in the expanded array - readOnly: true - type: string - identityUserPath: - description: JSONPATH expression indicating the location of the User object of the User that this task is targeting in the expanded array. This is the user that is the identity when the target of a task is an app user. - readOnly: true - type: string - insightsPath: - description: JSONPATH expression indicating the location of the Insights objects in the expanded array - readOnly: true - type: string - stepApproversPath: - description: JSONPATH expression indicating the location of the StepApproverUsers objects in the expanded array - readOnly: true - type: string - task: - $ref: '#/components/schemas/c1.api.task.v1.Task' - userPath: - description: JSONPATH expression indicating the location of the User object in the expanded array. This is the user that is a direct target of the ticket without a specific relationship to a potentially non-existent app user. - readOnly: true - type: string - title: Task View - type: object - x-speakeasy-name-override: TaskView - c1.api.user.v1.SearchUsersRequest: - description: Search for users based on some filters. - properties: - email: - description: Search for users based on their email (exact match). - readOnly: false - type: string - excludeIds: - description: An array of users IDs to exclude from the results. - items: - type: string - nullable: true - readOnly: false - type: array - expandMask: - $ref: '#/components/schemas/c1.api.user.v1.UserExpandMask' - ids: - description: Deprecated. Use refs array instead. - items: - type: string - nullable: true - readOnly: false - type: array - pageSize: - description: The pageSize where 0 <= pageSize <= 100. Values < 10 will be set to 10. A value of 0 returns the default page size (currently 25) - format: int32 - readOnly: false - type: integer - pageToken: - description: The pageToken field. - readOnly: false - type: string - query: - description: Query the apps with a fuzzy search on display name and emails. - readOnly: false - type: string - refs: - description: An array of user refs to restrict the return values to by ID. - items: - $ref: '#/components/schemas/c1.api.user.v1.UserRef' - nullable: true - readOnly: false - type: array - roleIds: - description: Search for users that have any of the role IDs on this list. - items: - type: string - nullable: true - readOnly: false - type: array - userStatuses: - description: Search for users that have any of the statuses on this list. This can only be ENABLED, DISABLED, and DELETED - items: - enum: - - UNKNOWN - - ENABLED - - DISABLED - - DELETED - type: string - nullable: true - readOnly: false - type: array - title: Search Users Request - type: object - x-speakeasy-name-override: SearchUsersRequest - c1.api.user.v1.SearchUsersResponse: - description: The SearchUsersResponse message. - properties: - expanded: - description: List of related objects - items: - additionalProperties: true - description: Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. - properties: - '@type': - description: The type of the serialized message. - type: string - readOnly: false - type: object - nullable: true - readOnly: false - type: array - list: - description: The list of results containing up to X results, where X is the page size defined in the request - items: - $ref: '#/components/schemas/c1.api.user.v1.UserView' - nullable: true - readOnly: false - type: array - nextPageToken: - description: The nextPageToken is shown for the next page if the number of results is larger than the max page size. The server returns one page of results and the nextPageToken until all results are retreived. To retrieve the next page, use the same request and append a pageToken field with the value of nextPageToken shown on the previous page. - readOnly: false - type: string - title: Search Users Response - type: object - x-speakeasy-name-override: SearchUsersResponse - c1.api.user.v1.User: - description: The User object provides all of the details for an user, as well as some configuration. - properties: - createdAt: - format: date-time - readOnly: true - type: string - delegatedUserId: - description: The id of the user to whom tasks will be automatically reassigned to. - readOnly: false - type: string - deletedAt: - format: date-time - readOnly: true - type: string - department: - description: The department which the user belongs to in the organization. - readOnly: true - type: string - departmentSources: - description: A list of objects mapped based on department attribute mappings configured in the system. - items: - $ref: '#/components/schemas/c1.api.user.v1.UserAttributeMappingSource' - nullable: true - readOnly: true - type: array - directoryIds: - description: A list of unique ids that represent different directories. - items: - type: string - nullable: true - readOnly: true - type: array - directoryStatus: - description: The status of the user in the directory. - enum: - - UNKNOWN - - ENABLED - - DISABLED - - DELETED - readOnly: true - type: string - directoryStatusSources: - description: A list of objects mapped based on directoryStatus attribute mappings configured in the system. - items: - $ref: '#/components/schemas/c1.api.user.v1.UserAttributeMappingSource' - nullable: true - readOnly: true - type: array - displayName: - description: The display name of the user. - readOnly: true - type: string - email: - description: This is the user's email. - readOnly: true - type: string - emails: - description: This is a list of all of the user's emails from app users. - items: - type: string - nullable: true - readOnly: true - type: array - employmentStatus: - description: The users employment status. - readOnly: true - type: string - employmentStatusSources: - description: A list of objects mapped based on employmentStatus attribute mappings configured in the system. - items: - $ref: '#/components/schemas/c1.api.user.v1.UserAttributeMappingSource' - nullable: true - readOnly: true - type: array - employmentType: - description: The employment type of the user. - readOnly: true - type: string - employmentTypeSources: - description: A list of objects mapped based on employmentType attribute mappings configured in the system. - items: - $ref: '#/components/schemas/c1.api.user.v1.UserAttributeMappingSource' - nullable: true - readOnly: true - type: array - id: - description: A unique identifier of the user. - readOnly: true - type: string - jobTitle: - description: The job title of the user. - readOnly: true - type: string - jobTitleSources: - description: A list of objects mapped based on jobTitle attribute mappings configured in the system. - items: - $ref: '#/components/schemas/c1.api.user.v1.UserAttributeMappingSource' - nullable: true - readOnly: true - type: array - managerIds: - description: A list of ids of the user's managers. - items: - type: string - nullable: true - readOnly: true - type: array - managerSources: - description: A list of objects mapped based on managerId attribute mappings configured in the system. - items: - $ref: '#/components/schemas/c1.api.user.v1.UserAttributeMappingSource' - nullable: true - readOnly: true - type: array - profile: - additionalProperties: true - readOnly: true - type: object - roleIds: - description: A list of unique identifiers that maps to ConductorOne’s user roles let you assign users permissions tailored to the work they do in the software. - items: - type: string - nullable: true - readOnly: false - type: array - status: - description: The status of the user in the system. - enum: - - UNKNOWN - - ENABLED - - DISABLED - - DELETED - readOnly: false - type: string - updatedAt: - format: date-time - readOnly: true - type: string - username: - description: This is the user's primary username. Typically sourced from the primary directory. - readOnly: true - type: string - usernameSources: - description: A list of source data for the usernames attribute. - items: - $ref: '#/components/schemas/c1.api.user.v1.UserAttributeMappingSource' - nullable: true - readOnly: true - type: array - usernames: - description: This is a list of all of the user's usernames from app users. - items: - type: string - nullable: true - readOnly: true - type: array - title: User - type: object - x-speakeasy-name-override: User - c1.api.user.v1.UserAttributeMappingSource: - description: The UserAttributeMappingSource message. - properties: - appId: - description: The appId field. - readOnly: false - type: string - appUserId: - description: The appUserId field. - readOnly: false - type: string - appUserProfileAttributeKey: - description: The appUserProfileAttributeKey field. - readOnly: false - type: string - userAttributeMappingId: - description: The userAttributeMappingId field. - readOnly: false - type: string - value: - description: The value field. - readOnly: false - type: string - title: User Attribute Mapping Source - type: object - x-speakeasy-name-override: UserAttributeMappingSource - c1.api.user.v1.UserExpandMask: - description: |- - The user expand mask is used to indicate which related objects should be expanded in the response. - The supported paths are 'role_ids', 'manager_ids', 'delegated_user_id', 'directory_ids', and '*'. - properties: - paths: - description: An array of paths to be expanded in the response. - items: - type: string - nullable: true - readOnly: false - type: array - title: User Expand Mask - type: object - x-speakeasy-name-override: UserExpandMask - c1.api.user.v1.UserRef: - description: A reference to a user. - properties: - id: - description: The id of the user. - readOnly: false - type: string - title: User Ref - type: object - x-speakeasy-name-override: UserRef - c1.api.user.v1.UserServiceGetResponse: - description: The UserServiceGetResponse returns a user view which has a user including JSONPATHs to the expanded items in the expanded array. - properties: - expanded: - description: List of serialized related objects. - items: - additionalProperties: true - description: Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. - properties: - '@type': - description: The type of the serialized message. - type: string - readOnly: false - type: object - nullable: true - readOnly: false - type: array - userView: - $ref: '#/components/schemas/c1.api.user.v1.UserView' - title: User Service Get Response - type: object - x-speakeasy-name-override: UserServiceGetResponse - c1.api.user.v1.UserServiceListResponse: - description: The UserServiceListResponse message contains a list of results and a nextPageToken if applicable. - properties: - expanded: - description: List of serialized related objects. - items: - additionalProperties: true - description: Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. - properties: - '@type': - description: The type of the serialized message. - type: string - readOnly: false - type: object - nullable: true - readOnly: false - type: array - list: - description: The list of results containing up to X results, where X is the page size defined in the request - items: - $ref: '#/components/schemas/c1.api.user.v1.UserView' - nullable: true - readOnly: false - type: array - nextPageToken: - description: |- - The nextPageToken is shown for the next page if the number of results is larger than the max page size. - The server returns one page of results and the nextPageToken until all results are retreived. - To retrieve the next page, use the same request and append a pageToken field with the value of nextPageToken shown on the previous page. - readOnly: false - type: string - title: User Service List Response - type: object - x-speakeasy-name-override: UserServiceListResponse - c1.api.user.v1.UserView: - description: The UserView object provides a user response object, as well as JSONPATHs to related objects provided by expanders. - properties: - delegatedUserPath: - description: JSONPATH expression indicating the location of the user objects of delegates of the current user in the expanded array. - readOnly: true - type: string - directoriesPath: - description: JSONPATH expression indicating the location of directory objects in the expanded array. - readOnly: true - type: string - managersPath: - description: JSONPATH expression indicating the location of the user objects that managed the current user in the expanded array. - readOnly: true - type: string - rolesPath: - description: JSONPATH expression indicating the location of the roles of the current user in the expanded array. - readOnly: true - type: string - user: - $ref: '#/components/schemas/c1.api.user.v1.User' - title: User View - type: object - x-speakeasy-name-override: UserView - c1.api.webhooks.v1.Webhook: - description: The Webhook message. - properties: - createdAt: - format: date-time - readOnly: true - type: string - deletedAt: - format: date-time - readOnly: true - type: string - description: - description: The description field. - readOnly: false - type: string - displayName: - description: The displayName field. - readOnly: false - type: string - id: - description: The id field. - readOnly: false - type: string - updatedAt: - format: date-time - readOnly: true - type: string - url: - description: The url field. - readOnly: false - type: string - title: Webhook - type: object - x-speakeasy-entity: Webhook - x-speakeasy-name-override: Webhook - c1.api.webhooks.v1.WebhookInstance: - description: The WebhookInstance message. - properties: - attempts: - description: The attempts field. - format: int32 - readOnly: false - type: integer - completedAt: - format: date-time - readOnly: true - type: string - createdAt: - format: date-time - readOnly: true - type: string - expiresAt: - format: date-time - readOnly: true - type: string - id: - description: The id field. - readOnly: false - type: string - lastAttemptedAt: - format: date-time - readOnly: true - type: string - source: - $ref: '#/components/schemas/c1.api.webhooks.v1.WebhookSource' - spec: - $ref: '#/components/schemas/c1.api.webhooks.v1.WebhookSpec' - state: - description: The state field. - enum: - - WEBHOOK_STATE_UNSPECIFIED - - WEBHOOK_STATE_PENDING - - WEBHOOK_STATE_RUNNING - - WEBHOOK_STATE_ERROR - - WEBHOOK_STATE_WAITING_CALLBACK - - WEBHOOK_STATE_PROCESS_RESPONSE - - WEBHOOK_STATE_SUCCESS - - WEBHOOK_STATE_FATAL_ERROR - readOnly: false - type: string - updatedAt: - format: date-time - readOnly: true - type: string - webhookId: - description: The webhookId field. - readOnly: false - type: string - title: Webhook Instance - type: object - x-speakeasy-name-override: WebhookInstance - c1.api.webhooks.v1.WebhookRef: - description: The WebhookRef message. - properties: - id: - description: The id field. - readOnly: false - type: string - title: Webhook Ref - type: object - x-speakeasy-name-override: WebhookRef - c1.api.webhooks.v1.WebhookSource: - description: | - The WebhookSource message. - - This message contains a oneof named source. Only a single field of the following list may be set at a time: - - test - - policyPostAction - - approvalStep - - provisionStep - properties: - approvalStep: - $ref: '#/components/schemas/c1.api.webhooks.v1.WebhookSource.WebhookSourceApprovalStep' - policyPostAction: - $ref: '#/components/schemas/c1.api.webhooks.v1.WebhookSource.WebhookSourcePolicyPostAction' - provisionStep: - $ref: '#/components/schemas/c1.api.webhooks.v1.WebhookSource.WebhookSourceProvisionStep' - test: - $ref: '#/components/schemas/c1.api.webhooks.v1.WebhookSource.WebhookSourceTest' - title: Webhook Source - type: object - x-speakeasy-name-override: WebhookSource - c1.api.webhooks.v1.WebhookSource.WebhookSourceApprovalStep: - description: The WebhookSourceApprovalStep message. - nullable: true - properties: - ticketId: - description: The ticketId field. - readOnly: false - type: string - title: Webhook Source Approval Step - type: object - x-speakeasy-name-override: WebhookSourceApprovalStep - c1.api.webhooks.v1.WebhookSource.WebhookSourcePolicyPostAction: - description: The WebhookSourcePolicyPostAction message. - nullable: true - properties: - ticketId: - description: The ticketId field. - readOnly: false - type: string - title: Webhook Source Policy Post Action - type: object - x-speakeasy-name-override: WebhookSourcePolicyPostAction - c1.api.webhooks.v1.WebhookSource.WebhookSourceProvisionStep: - description: The WebhookSourceProvisionStep message. - nullable: true - properties: - ticketId: - description: The ticketId field. - readOnly: false - type: string - title: Webhook Source Provision Step - type: object - x-speakeasy-name-override: WebhookSourceProvisionStep - c1.api.webhooks.v1.WebhookSource.WebhookSourceTest: - description: The WebhookSourceTest message. - nullable: true - title: Webhook Source Test - type: object - x-speakeasy-name-override: WebhookSourceTest - c1.api.webhooks.v1.WebhookSpec: - description: The WebhookSpec message. - properties: - destination: - description: The destination field. - readOnly: false - type: string - title: Webhook Spec - type: object - x-speakeasy-name-override: WebhookSpec - c1.api.webhooks.v1.WebhooksSearchRequest: - description: The WebhooksSearchRequest message. - properties: - pageSize: - description: The pageSize field. - format: int32 - readOnly: false - type: integer - pageToken: - description: The pageToken field. - readOnly: false - type: string - query: - description: The query field. - readOnly: false - type: string - refs: - description: The refs field. - items: - $ref: '#/components/schemas/c1.api.webhooks.v1.WebhookRef' - nullable: true - readOnly: false - type: array - title: Webhooks Search Request - type: object - x-speakeasy-name-override: WebhooksSearchRequest - c1.api.webhooks.v1.WebhooksSearchResponse: - description: The WebhooksSearchResponse message. - properties: - list: - description: The list field. - items: - $ref: '#/components/schemas/c1.api.webhooks.v1.Webhook' - nullable: true - readOnly: false - type: array - nextPageToken: - description: The nextPageToken field. - readOnly: false - type: string - title: Webhooks Search Response - type: object - x-speakeasy-name-override: WebhooksSearchResponse - c1.api.webhooks.v1.WebhooksServiceCreateRequest: - description: The WebhooksServiceCreateRequest message. - properties: - description: - description: The description field. - readOnly: false - type: string - displayName: - description: The displayName field. - readOnly: false - type: string - url: - description: The url field. - readOnly: false - type: string - title: Webhooks Service Create Request - type: object - x-speakeasy-name-override: WebhooksServiceCreateRequest - c1.api.webhooks.v1.WebhooksServiceCreateResponse: - description: The WebhooksServiceCreateResponse message. - properties: - webhook: - $ref: '#/components/schemas/c1.api.webhooks.v1.Webhook' - title: Webhooks Service Create Response - type: object - x-speakeasy-name-override: WebhooksServiceCreateResponse - c1.api.webhooks.v1.WebhooksServiceDeleteRequestInput: - description: The WebhooksServiceDeleteRequest message. - title: Webhooks Service Delete Request - type: object - x-speakeasy-name-override: WebhooksServiceDeleteRequest - c1.api.webhooks.v1.WebhooksServiceDeleteResponse: - description: Empty response body. Status code indicates success. - title: Webhooks Service Delete Response - type: object - x-speakeasy-name-override: WebhooksServiceDeleteResponse - c1.api.webhooks.v1.WebhooksServiceGetResponse: - description: The WebhooksServiceGetResponse message. - properties: - webhook: - $ref: '#/components/schemas/c1.api.webhooks.v1.Webhook' - title: Webhooks Service Get Response - type: object - x-speakeasy-name-override: WebhooksServiceGetResponse - c1.api.webhooks.v1.WebhooksServiceListResponse: - description: The WebhooksServiceListResponse message. - properties: - list: - description: The list field. - items: - $ref: '#/components/schemas/c1.api.webhooks.v1.Webhook' - nullable: true - readOnly: false - type: array - nextPageToken: - description: The nextPageToken field. - readOnly: false - type: string - title: Webhooks Service List Response - type: object - x-speakeasy-name-override: WebhooksServiceListResponse - c1.api.webhooks.v1.WebhooksServiceTestRequestInput: - description: The WebhooksServiceTestRequest message. - title: Webhooks Service Test Request - type: object - x-speakeasy-name-override: WebhooksServiceTestRequest - c1.api.webhooks.v1.WebhooksServiceTestResponse: - description: The WebhooksServiceTestResponse message. - properties: - webhook: - $ref: '#/components/schemas/c1.api.webhooks.v1.WebhookInstance' - title: Webhooks Service Test Response - type: object - x-speakeasy-name-override: WebhooksServiceTestResponse - c1.api.webhooks.v1.WebhooksServiceUpdateRequestInput: - description: The WebhooksServiceUpdateRequest message contains the webhook object to update and a field mask to indicate which fields to update. It uses URL value for input. - properties: - updateMask: - nullable: true - readOnly: false - type: string - webhook: - $ref: '#/components/schemas/c1.api.webhooks.v1.Webhook' - title: Webhooks Service Update Request - type: object - x-speakeasy-name-override: WebhooksServiceUpdateRequest - c1.api.webhooks.v1.WebhooksServiceUpdateResponse: - description: The WebhooksServiceUpdateResponse message. - properties: - webhook: - $ref: '#/components/schemas/c1.api.webhooks.v1.Webhook' - title: Webhooks Service Update Response - type: object - x-speakeasy-name-override: WebhooksServiceUpdateResponse - c1.webhooks.v1.Body: - description: The Body message. - properties: - callbackUrl: - description: |- - If your receiver returns HTTP Status Code 202 Accepted, it MUST send its resposne to this URL as a POST - message body. - - If your receiver returns any other status code, it is expected to not use the callback url. - - This value will match the "Webhook-Callback-Url" header. - readOnly: false - type: string - event: - description: |- - The type of event that triggered this Webhook. - - This value will match the "Webhook-Event" header. - - The value will be one of: - - "c1.webhooks.v1.PayloadTest" - - "c1.webhooks.v1.PayloadPolicyApprovalStep" - - "c1.webhooks.v1.PayloadPolicyPostAction" - - "c1.webhooks.v1.PayloadProvisionStep" - readOnly: false - type: string - payload: - additionalProperties: true - description: Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. - properties: - '@type': - description: The type of the serialized message. - type: string - readOnly: false - type: object - version: - description: |- - version contains the constant value "v1". Future versions of the Webhook body will use a different string. - - This value will match the "Webhook-Version" header. - readOnly: false - type: string - webhookId: - description: |- - Unique ID for this Webhook. Your receiver should only process this ID once. - - This value will match the "Webhook-Id" header. - readOnly: false - type: string - title: Body - type: object - x-speakeasy-include: true - x-speakeasy-name-override: Body - c1.webhooks.v1.PayloadPolicyApprovalStep: - description: The PayloadPolicyApprovalStep message. - properties: - expanded: - description: List of serialized related objects. - items: - additionalProperties: true - description: Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. - properties: - '@type': - description: The type of the serialized message. - type: string - readOnly: false - type: object - nullable: true - readOnly: false - type: array - taskView: - $ref: '#/components/schemas/c1.api.task.v1.TaskView' - title: Payload Policy Approval Step - type: object - x-speakeasy-include: true - x-speakeasy-name-override: PayloadPolicyApprovalStep - c1.webhooks.v1.PayloadPolicyPostAction: - description: The PayloadPolicyPostAction message. - properties: - expanded: - description: List of serialized related objects. - items: - additionalProperties: true - description: Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. - properties: - '@type': - description: The type of the serialized message. - type: string - readOnly: false - type: object - nullable: true - readOnly: false - type: array - taskView: - $ref: '#/components/schemas/c1.api.task.v1.TaskView' - title: Payload Policy Post Action - type: object - x-speakeasy-include: true - x-speakeasy-name-override: PayloadPolicyPostAction - c1.webhooks.v1.PayloadProvisionStep: - description: The PayloadProvisionStep message. - properties: - expanded: - description: List of serialized related objects. - items: - additionalProperties: true - description: Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. - properties: - '@type': - description: The type of the serialized message. - type: string - readOnly: false - type: object - nullable: true - readOnly: false - type: array - taskView: - $ref: '#/components/schemas/c1.api.task.v1.TaskView' - title: Payload Provision Step - type: object - x-speakeasy-include: true - x-speakeasy-name-override: PayloadProvisionStep - c1.webhooks.v1.PayloadTest: - description: The PayloadTest message. - title: Payload Test - type: object - x-speakeasy-include: true - x-speakeasy-name-override: PayloadTest - c1.webhooks.v1.ResponsePolicyApprovalStep: - description: | - The ResponsePolicyApprovalStep message. - - This message contains a oneof named action. Only a single field of the following list may be set at a time: - - approve - - deny - - reassign - - replacePolicy - properties: - approve: - $ref: '#/components/schemas/c1.webhooks.v1.ResponsePolicyApprovalStep.ResponsePolicyApprovalStepApprove' - deny: - $ref: '#/components/schemas/c1.webhooks.v1.ResponsePolicyApprovalStep.ResponsePolicyApprovalStepDeny' - reassign: - $ref: '#/components/schemas/c1.webhooks.v1.ResponsePolicyApprovalStep.ResponsePolicyApprovalStepReassign' - replacePolicy: - $ref: '#/components/schemas/c1.webhooks.v1.ResponsePolicyApprovalStep.ResponsePolicyApprovalReplacePolicy' - version: - description: |- - version contains the constant value "v1". Future versions of the Webhook Response - will use a different string. - readOnly: false - type: string - title: Response Policy Approval Step - type: object - x-speakeasy-include: true - x-speakeasy-name-override: ResponsePolicyApprovalStep - c1.webhooks.v1.ResponsePolicyApprovalStep.ResponsePolicyApprovalReplacePolicy: - description: The ResponsePolicyApprovalReplacePolicy message. - nullable: true - properties: - comment: - description: The comment field. - readOnly: false - type: string - policySteps: - description: The policySteps field. - items: - $ref: '#/components/schemas/c1.api.policy.v1.PolicyStep' - nullable: true - readOnly: false - type: array - title: Response Policy Approval Replace Policy - type: object - x-speakeasy-name-override: ResponsePolicyApprovalReplacePolicy - c1.webhooks.v1.ResponsePolicyApprovalStep.ResponsePolicyApprovalStepApprove: - description: The ResponsePolicyApprovalStepApprove message. - nullable: true - properties: - comment: - description: optional comment - readOnly: false - type: string - title: Response Policy Approval Step Approve - type: object - x-speakeasy-name-override: ResponsePolicyApprovalStepApprove - c1.webhooks.v1.ResponsePolicyApprovalStep.ResponsePolicyApprovalStepDeny: - description: The ResponsePolicyApprovalStepDeny message. - nullable: true - properties: - comment: - description: optional comment - readOnly: false - type: string - title: Response Policy Approval Step Deny - type: object - x-speakeasy-name-override: ResponsePolicyApprovalStepDeny - c1.webhooks.v1.ResponsePolicyApprovalStep.ResponsePolicyApprovalStepReassign: - description: The ResponsePolicyApprovalStepReassign message. - nullable: true - properties: - comment: - description: optional comment - readOnly: false - type: string - newStepUserIds: - description: The newStepUserIds field. - items: - type: string - nullable: true - readOnly: false - type: array - title: Response Policy Approval Step Reassign - type: object - x-speakeasy-name-override: ResponsePolicyApprovalStepReassign - c1.webhooks.v1.ResponsePolicyPostAction: - description: The ResponsePolicyPostAction message. - properties: - version: - description: |- - version contains the constant value "v1". Future versions of the Webhook Response - will use a different string. - readOnly: false - type: string - title: Response Policy Post Action - type: object - x-speakeasy-include: true - x-speakeasy-name-override: ResponsePolicyPostAction - c1.webhooks.v1.ResponseProvisionStep: - description: | - The ResponseProvisionStep message. - - This message contains a oneof named outcome. Only a single field of the following list may be set at a time: - - complete - - errored - properties: - complete: - $ref: '#/components/schemas/c1.webhooks.v1.ResponseProvisionStep.ResponseProvisionStepComplete' - errored: - $ref: '#/components/schemas/c1.webhooks.v1.ResponseProvisionStep.ResponseProvisionStepErrored' - version: - description: |- - version contains the constant value "v1". Future versions of the Webhook Response - will use a different string. - readOnly: false - type: string - title: Response Provision Step - type: object - x-speakeasy-include: true - x-speakeasy-name-override: ResponseProvisionStep - c1.webhooks.v1.ResponseProvisionStep.ResponseProvisionStepComplete: - description: The ResponseProvisionStepComplete message. - nullable: true - properties: - comment: - description: optional comment - readOnly: false - type: string - title: Response Provision Step Complete - type: object - x-speakeasy-name-override: ResponseProvisionStepComplete - c1.webhooks.v1.ResponseProvisionStep.ResponseProvisionStepErrored: - description: The ResponseProvisionStepErrored message. - nullable: true - properties: - comment: - description: optional comment - readOnly: false - type: string - title: Response Provision Step Errored - type: object - x-speakeasy-name-override: ResponseProvisionStepErrored - c1.webhooks.v1.ResponseTest: - description: The ResponseTest message. - properties: - version: - description: |- - version contains the constant value "v1". Future versions of the Webhook Response - will use a different string. - readOnly: false - type: string - title: Response Test - type: object - x-speakeasy-include: true - x-speakeasy-name-override: ResponseTest - securitySchemes: - bearerAuth: - scheme: bearer - type: http - oauth: - description: |- - This API uses OAuth2 with the Client Credential flow. - Client Credentials must be sent in the BODY, not the headers. - For an example of how to implement this, refer to the [c1TokenSource.Token()](https://github.com/ConductorOne/conductorone-sdk-go/blob/3375fe7c0126d17e7ec4e711693dee7b791023aa/token_source.go#L101-L187) function. - flows: - clientCredentials: - scopes: {} - tokenUrl: /auth/v1/token - type: oauth2 -info: - description: The ConductorOne API is a HTTP API for managing ConductorOne resources. - title: ConductorOne API - version: 0.1.0-alpha -openapi: 3.1.0 -paths: - /api/v1/apps: - get: - description: List all apps. - operationId: c1.api.app.v1.Apps.List - parameters: - - in: query - name: page_size - schema: - description: The pageSize field. - format: int32 - readOnly: false - type: integer - - in: query - name: page_token - schema: - description: The pageToken field. - readOnly: false - type: string - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.ListAppsResponse' - description: The ListAppsResponse message contains a list of results and a nextPageToken if applicable. - summary: List - tags: - - App - x-speakeasy-group: Apps - x-speakeasy-name-override: List - post: - description: Create a new app. - operationId: c1.api.app.v1.Apps.Create - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.CreateAppRequest' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.CreateAppResponse' - description: Returns the new app's values. - summary: Create - tags: - - App - x-speakeasy-entity-operation: App#create - x-speakeasy-group: Apps - x-speakeasy-name-override: Create - /api/v1/apps/{app_id}/access_request_defaults: - get: - description: Invokes the c1.api.app.v1.AppAccessRequestsDefaultsService.GetAppAccessRequestsDefaults method. - operationId: c1.api.app.v1.AppAccessRequestsDefaultsService.GetAppAccessRequestsDefaults - parameters: - - in: path - name: app_id - required: true - schema: - description: The appId field. - readOnly: false - type: string - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.AppAccessRequestDefaults' - description: Successful response - summary: Get App Access Requests Defaults - tags: - - AppAccessRequestDefaults - x-speakeasy-group: AppAccessRequestsDefaults - x-speakeasy-name-override: GetAppAccessRequestsDefaults - post: - description: Invokes the c1.api.app.v1.AppAccessRequestsDefaultsService.CreateAppAccessRequestsDefaults method. - operationId: c1.api.app.v1.AppAccessRequestsDefaultsService.CreateAppAccessRequestsDefaults - parameters: - - in: path - name: app_id - required: true - schema: - description: The app id for the app access request rule - readOnly: false - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.AppAccessRequestDefaultsInput' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.AppAccessRequestDefaults' - description: Successful response - summary: Create App Access Requests Defaults - tags: - - AppAccessRequestDefaults - x-speakeasy-group: AppAccessRequestsDefaults - x-speakeasy-name-override: CreateAppAccessRequestsDefaults - /api/v1/apps/{app_id}/access_request_defaults/cancel: - post: - description: Invokes the c1.api.app.v1.AppAccessRequestsDefaultsService.CancelAppAccessRequestsDefaults method. - operationId: c1.api.app.v1.AppAccessRequestsDefaultsService.CancelAppAccessRequestsDefaults - parameters: - - in: path - name: app_id - required: true - schema: - description: The appId field. - readOnly: false - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.CancelAccessRequestDefaultsRequestInput' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.AppAccessRequestDefaults' - description: Successful response - summary: Cancel App Access Requests Defaults - tags: - - AppAccessRequestDefaults - x-speakeasy-group: AppAccessRequestsDefaults - x-speakeasy-name-override: CancelAppAccessRequestsDefaults - /api/v1/apps/{app_id}/connectors: - get: - description: List connectors for an app. - operationId: c1.api.app.v1.ConnectorService.List - parameters: - - in: path - name: app_id - required: true - schema: - description: The appId field. - readOnly: false - type: string - - in: query - name: page_size - schema: - description: The pageSize field. - format: int32 - readOnly: false - type: integer - - in: query - name: page_token - schema: - description: The pageToken field. - readOnly: false - type: string - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.ConnectorServiceListResponse' - description: The ConnectorServiceListResponse message contains a list of results and a nextPageToken if applicable - summary: List - tags: - - Connector - x-speakeasy-group: Connector - x-speakeasy-name-override: List - post: - description: Create a connector that is pending a connector config. - operationId: c1.api.app.v1.ConnectorService.CreateDelegated - parameters: - - in: path - name: app_id - required: true - schema: - description: The appId of the app the connector is attached to. - readOnly: false - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.ConnectorServiceCreateDelegatedRequestInput' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.ConnectorServiceCreateResponse' - description: The ConnectorServiceCreateResponse is the response returned from creating a connector. - summary: Create Delegated - tags: - - Connector - x-speakeasy-group: Connector - x-speakeasy-name-override: CreateDelegated - /api/v1/apps/{app_id}/connectors/{connector_id}/credentials: - post: - description: Rotate credentials for a connector. - operationId: c1.api.app.v1.ConnectorService.RotateCredential - parameters: - - in: path - name: app_id - required: true - schema: - description: The appId of the app the connector is attached to. - readOnly: false - type: string - - in: path - name: connector_id - required: true - schema: - description: The connectorId of the connector that we are rotating the credentials for. - readOnly: false - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.ConnectorServiceRotateCredentialRequestInput' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.ConnectorServiceRotateCredentialResponse' - description: ConnectorServiceRotateCredentialResponse is the response returned by the rotate method. - summary: Rotate Credential - tags: - - Connector - x-speakeasy-entity-operation: ConnectorCredential#create - x-speakeasy-group: Connector - x-speakeasy-name-override: RotateCredential - /api/v1/apps/{app_id}/connectors/{connector_id}/credentials/{id}: - get: - description: Get credentials for a connector. - operationId: c1.api.app.v1.ConnectorService.GetCredentials - parameters: - - in: path - name: app_id - required: true - schema: - description: The appId of the app the connector is attached to. - readOnly: false - type: string - - in: path - name: connector_id - required: true - schema: - description: The connectorId of the connector that we are getting the credentials for. - readOnly: false - type: string - - in: path - name: id - required: true - schema: - description: The id of the ConnectorCredential. - readOnly: false - type: string - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.ConnectorServiceGetCredentialsResponse' - description: ConnectorServiceGetCredentialsResponse is the response returned by the get method. - summary: Get Credentials - tags: - - Connector - x-speakeasy-entity-operation: ConnectorCredential#read - x-speakeasy-group: Connector - x-speakeasy-name-override: GetCredentials - post: - description: Revoke credentials for a connector. - operationId: c1.api.app.v1.ConnectorService.RevokeCredential - parameters: - - in: path - name: app_id - required: true - schema: - description: The appId of the app the connector is attached to. - readOnly: false - type: string - - in: path - name: connector_id - required: true - schema: - description: The connectorId of the connector that we are revoking the credentials for. - readOnly: false - type: string - - in: path - name: id - required: true - schema: - description: The id of the ConnectorCredential. - readOnly: false - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.ConnectorServiceRevokeCredentialRequestInput' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.ConnectorServiceRevokeCredentialResponse' - description: Empty response body. Status code indicates success. - summary: Revoke Credential - tags: - - Connector - x-speakeasy-entity-operation: ConnectorCredential#delete - x-speakeasy-group: Connector - x-speakeasy-name-override: RevokeCredential - /api/v1/apps/{app_id}/connectors/{connector_id}/force_sync: - post: - description: Invokes the c1.api.app.v1.ConnectorService.ForceSync method. - operationId: c1.api.app.v1.ConnectorService.ForceSync - parameters: - - in: path - name: app_id - required: true - schema: - description: The AppID of the app the connector is attached to. - readOnly: false - type: string - - in: path - name: connector_id - required: true - schema: - description: The ConnectorID of the connector that we are forcing to sync. - readOnly: false - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.ForceSyncRequestInput' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.ForceSyncResponse' - description: Successful response - summary: Force Sync - tags: - - Connector - x-speakeasy-group: Connector - x-speakeasy-name-override: ForceSync - /api/v1/apps/{app_id}/connectors/{id}: - delete: - description: Delete a connector. - operationId: c1.api.app.v1.ConnectorService.Delete - parameters: - - in: path - name: app_id - required: true - schema: - description: The appId of the app the connector is attached to. - readOnly: false - type: string - - in: path - name: id - required: true - schema: - description: The id of the connector. - readOnly: false - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.ConnectorServiceDeleteRequestInput' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.ConnectorServiceDeleteResponse' - description: Empty response body. Status code indicates success. - summary: Delete - tags: - - Connector - x-speakeasy-group: Connector - x-speakeasy-name-override: Delete - get: - description: Get a connector. - operationId: c1.api.app.v1.ConnectorService.Get - parameters: - - in: path - name: app_id - required: true - schema: - description: The appId of the app the connector is attached to. - readOnly: false - type: string - - in: path - name: id - required: true - schema: - description: The id of the connector. - readOnly: false - type: string - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.ConnectorServiceGetResponse' - description: The ConnectorServiceGetResponse message contains the connectorView, and an expand mask. - summary: Get - tags: - - Connector - x-speakeasy-group: Connector - x-speakeasy-name-override: Get - post: - description: Update a connector. - operationId: c1.api.app.v1.ConnectorService.Update - parameters: - - in: path - name: app_id - required: true - schema: - description: The id of the app the connector is associated with. - readOnly: false - type: string - - in: path - name: id - required: true - schema: - description: The id of the connector. - readOnly: false - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.ConnectorServiceUpdateRequestInput' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.ConnectorServiceUpdateResponse' - description: ConnectorServiceUpdateResponse is the response returned by the update method. - summary: Update - tags: - - Connector - x-speakeasy-group: Connector - x-speakeasy-name-override: Update - /api/v1/apps/{app_id}/connectors/create: - post: - description: Create a configured connector. - operationId: c1.api.app.v1.ConnectorService.Create - parameters: - - in: path - name: app_id - required: true - schema: - description: The appId field. - readOnly: false - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.ConnectorServiceCreateRequestInput' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.ConnectorServiceCreateResponse' - description: The ConnectorServiceCreateResponse is the response returned from creating a connector. - summary: Create - tags: - - Connector - x-speakeasy-group: Connector - x-speakeasy-name-override: Create - /api/v1/apps/{app_id}/entitlements: - get: - description: List app entitlements associated with an app. - operationId: c1.api.app.v1.AppEntitlements.List - parameters: - - in: path - name: app_id - required: true - schema: - description: The appId field. - readOnly: false - type: string - - in: query - name: page_size - schema: - description: The pageSize field. - format: int32 - readOnly: false - type: integer - - in: query - name: page_token - schema: - description: The pageToken field. - readOnly: false - type: string - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.ListAppEntitlementsResponse' - description: The ListAppEntitlementsResponse message contains a list of results and a nextPageToken if applicable. - summary: List - tags: - - App Entitlement - x-speakeasy-group: AppEntitlements - x-speakeasy-name-override: List - /api/v1/apps/{app_id}/entitlements/{app_entitlement_id}/grants: - get: - description: Search app entitlements, include app users, users, expires, discovered. - operationId: c1.api.app.v1.AppEntitlementSearchService.SearchAppEntitlementsWithExpired - parameters: - - in: path - name: app_id - required: true - schema: - description: The appId field. - readOnly: false - type: string - - in: path - name: app_entitlement_id - required: true - schema: - description: The appEntitlementId field. - readOnly: false - type: string - - in: query - name: page_size - schema: - description: The pageSize field. - format: int32 - readOnly: false - type: integer - - in: query - name: page_token - schema: - description: The pageToken field. - readOnly: false - type: string - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.SearchAppEntitlementsWithExpiredResponse' - description: The SearchAppEntitlementsWithExpiredResponse message contains a list of results and a nextPageToken if applicable. - summary: Search App Entitlements With Expired - tags: - - App Entitlement - x-speakeasy-group: AppEntitlementSearch - x-speakeasy-name-override: SearchAppEntitlementsWithExpired - /api/v1/apps/{app_id}/entitlements/{app_entitlement_id}/users: - get: - deprecated: true - description: List the users, as AppEntitlementUsers objects, of an app entitlement. - operationId: c1.api.app.v1.AppEntitlements.ListUsers - parameters: - - in: path - name: app_id - required: true - schema: - description: The appId field. - readOnly: false - type: string - - in: path - name: app_entitlement_id - required: true - schema: - description: The appEntitlementId field. - readOnly: false - type: string - - in: query - name: page_size - schema: - description: The pageSize field. - format: int32 - readOnly: false - type: integer - - in: query - name: page_token - schema: - description: The pageToken field. - readOnly: false - type: string - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.ListAppEntitlementUsersResponse' - description: The ListAppEntitlementUsersResponse message contains a list of results and a nextPageToken if applicable. - summary: List Users - tags: - - App Entitlement - x-speakeasy-group: AppEntitlements - x-speakeasy-name-override: ListUsers - /api/v1/apps/{app_id}/entitlements/{app_entitlement_id}/users/{identity_user_id}/grants: - get: - description: Returns a list of app users for the identity in the app. If that app user also has a grant to the entitlement from the request, data about the grant is also returned. It will always return ALL app users for this identity, but only SOME may have grant data. - operationId: c1.api.app.v1.AppEntitlementUserBindingService.ListAppUsersForIdentityWithGrant - parameters: - - in: path - name: app_id - required: true - schema: - description: The appId field. - readOnly: false - type: string - - in: path - name: app_entitlement_id - required: true - schema: - description: The appEntitlementId field. - readOnly: false - type: string - - in: path - name: identity_user_id - required: true - schema: - description: The identityUserId field. - readOnly: false - type: string - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.ListAppUsersForIdentityWithGrantResponse' - description: Successful response - summary: List App Users For Identity With Grant - tags: - - App Entitlement User Binding - x-speakeasy-group: AppEntitlementUserBinding - x-speakeasy-name-override: ListAppUsersForIdentityWithGrant - /api/v1/apps/{app_id}/entitlements/{entitlement_id}/owners: - get: - description: List owners for a given app entitlement. - operationId: c1.api.app.v1.AppEntitlementOwners.List - parameters: - - in: path - name: app_id - required: true - schema: - description: The app_id field for the app entitlement to list owners of. - readOnly: false - type: string - - in: path - name: entitlement_id - required: true - schema: - description: The entitlement_id field for the app entitlement to list owners of. - readOnly: false - type: string - - in: query - name: page_size - schema: - description: The page_size field for pagination. - format: int32 - readOnly: false - type: integer - - in: query - name: page_token - schema: - description: The page_token field for pagination. - readOnly: false - type: string - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.ListAppEntitlementOwnersResponse' - description: The response message for listing app entitlement owners. - summary: List - tags: - - App Entitlement Owner - x-speakeasy-group: AppEntitlementOwners - x-speakeasy-name-override: List - post: - description: Add an owner to a given app entitlement. - operationId: c1.api.app.v1.AppEntitlementOwners.Add - parameters: - - in: path - name: app_id - required: true - schema: - description: The app_id field for the app entitlement to add the owner to. - readOnly: false - type: string - - in: path - name: entitlement_id - required: true - schema: - description: The entitlement_id field for the app entitlement to add the owner to. - readOnly: false - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.AddAppEntitlementOwnerRequestInput' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.AddAppEntitlementOwnerResponse' - description: The empty response message for adding an app entitlement owner. - summary: Add - tags: - - App Entitlement Owner - x-speakeasy-group: AppEntitlementOwners - x-speakeasy-name-override: Add - put: - description: Sets the owners for a given app entitlement to the specified list of users. - operationId: c1.api.app.v1.AppEntitlementOwners.Set - parameters: - - in: path - name: app_id - required: true - schema: - description: The app_id field for the app entitlement to set the owners of. - readOnly: false - type: string - - in: path - name: entitlement_id - required: true - schema: - description: The entitlement_id field for the app entitlement to set the owners of. - readOnly: false - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.SetAppEntitlementOwnersRequestInput' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.SetAppEntitlementOwnersResponse' - description: The empty response message for setting the app entitlement owners. - summary: Set - tags: - - App Entitlement Owner - x-speakeasy-entity-operation: App_Entitlement_Owner#create - x-speakeasy-group: AppEntitlementOwners - x-speakeasy-name-override: Set - /api/v1/apps/{app_id}/entitlements/{entitlement_id}/owners/{user_id}: - delete: - description: Remove an owner from a given app entitlement. - operationId: c1.api.app.v1.AppEntitlementOwners.Remove - parameters: - - in: path - name: app_id - required: true - schema: - description: The app_id field for the app entitlement to remove the owner of. - readOnly: false - type: string - - in: path - name: entitlement_id - required: true - schema: - description: The entitlement_id field for the app entitlement to remove the owner of. - readOnly: false - type: string - - in: path - name: user_id - required: true - schema: - description: The user_id field for the user to remove as an owner of the app entitlement. - readOnly: false - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.RemoveAppEntitlementOwnerRequestInput' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.RemoveAppEntitlementOwnerResponse' - description: The empty response message for removing an app entitlement owner. - summary: Remove - tags: - - App Entitlement Owner - x-speakeasy-group: AppEntitlementOwners - x-speakeasy-name-override: Remove - /api/v1/apps/{app_id}/entitlements/{id}: - get: - description: Get an app entitlement by ID. - operationId: c1.api.app.v1.AppEntitlements.Get - parameters: - - in: path - name: app_id - required: true - schema: - description: The appId field. - readOnly: false - type: string - - in: path - name: id - required: true - schema: - description: The id field. - readOnly: false - type: string - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.GetAppEntitlementResponse' - description: The get app entitlement response returns an entitlement view containing paths in the expanded array for the objects expanded as indicated by the expand mask in the request. - summary: Get - tags: - - App Entitlement - x-speakeasy-group: AppEntitlements - x-speakeasy-name-override: Get - post: - description: Update an app entitlement by ID. - operationId: c1.api.app.v1.AppEntitlements.Update - parameters: - - in: path - name: app_id - required: true - schema: - description: The ID of the app that is associated with the app entitlement. - readOnly: false - type: string - - in: path - name: id - required: true - schema: - description: The unique ID for the App Entitlement. - readOnly: true - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.UpdateAppEntitlementRequestInput' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.UpdateAppEntitlementResponse' - description: Successful response - summary: Update - tags: - - App Entitlement - x-speakeasy-group: AppEntitlements - x-speakeasy-name-override: Update - /api/v1/apps/{app_id}/entitlements/resource_types/{app_resource_type_id}/resources/{app_resource_id}: - get: - description: List app entitlements associated with an app resource. - operationId: c1.api.app.v1.AppEntitlements.ListForAppResource - parameters: - - in: path - name: app_id - required: true - schema: - description: The appId field. - readOnly: false - type: string - - in: path - name: app_resource_type_id - required: true - schema: - description: The appResourceTypeId field. - readOnly: false - type: string - - in: path - name: app_resource_id - required: true - schema: - description: The appResourceId field. - readOnly: false - type: string - - in: query - name: page_size - schema: - description: The pageSize field. - format: int32 - readOnly: false - type: integer - - in: query - name: page_token - schema: - description: The pageToken field. - readOnly: false - type: string - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.ListAppEntitlementsResponse' - description: The ListAppEntitlementsResponse message contains a list of results and a nextPageToken if applicable. - summary: List For App Resource - tags: - - App Entitlement - x-speakeasy-group: AppEntitlements - x-speakeasy-name-override: ListForAppResource - /api/v1/apps/{app_id}/entitlements/users/{app_user_id}: - get: - description: List app entitlements associated with an app user. - operationId: c1.api.app.v1.AppEntitlements.ListForAppUser - parameters: - - in: path - name: app_id - required: true - schema: - description: The appId field. - readOnly: false - type: string - - in: path - name: app_user_id - required: true - schema: - description: The appUserId field. - readOnly: false - type: string - - in: query - name: page_size - schema: - description: The pageSize field. - format: int32 - readOnly: false - type: integer - - in: query - name: page_token - schema: - description: The pageToken field. - readOnly: false - type: string - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.ListAppEntitlementsResponse' - description: The ListAppEntitlementsResponse message contains a list of results and a nextPageToken if applicable. - summary: List For App User - tags: - - App Entitlement - x-speakeasy-group: AppEntitlements - x-speakeasy-name-override: ListForAppUser - /api/v1/apps/{app_id}/owners: - get: - description: List owners of an app. - operationId: c1.api.app.v1.AppOwners.List - parameters: - - in: path - name: app_id - required: true - schema: - description: The appId field. - readOnly: false - type: string - - in: query - name: page_size - schema: - description: The pageSize where 0 <= pageSize <= 100. Values < 10 will be set to 10. A value of 0 returns the default page size (currently 25) - format: int32 - readOnly: false - type: integer - - in: query - name: page_token - schema: - description: The pageToken field. - readOnly: false - type: string - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.ListAppOwnersResponse' - description: Successful response - summary: List - tags: - - App Owner - x-speakeasy-group: AppOwners - x-speakeasy-name-override: List - put: - description: Sets the owners for a given app to the specified list of users. - operationId: c1.api.app.v1.AppOwners.Set - parameters: - - in: path - name: app_id - required: true - schema: - description: The app_id field for the app to set the owners of. - readOnly: false - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.SetAppOwnersRequestInput' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.SetAppOwnersResponse' - description: The empty response message for setting the app owners. - summary: Set - tags: - - App Owner - x-speakeasy-entity-operation: App_Owner#create - x-speakeasy-group: AppOwners - x-speakeasy-name-override: Set - /api/v1/apps/{app_id}/owners/{user_id}: - delete: - description: Removes an owner from an app. - operationId: c1.api.app.v1.AppOwners.Remove - parameters: - - in: path - name: app_id - required: true - schema: - description: App ID of the app to remove the owner from. - readOnly: false - type: string - - in: path - name: user_id - required: true - schema: - description: User ID of the user to remove as an owner. - readOnly: false - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.RemoveAppOwnerRequestInput' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.RemoveAppOwnerResponse' - description: Empty response with a status code indicating success. - summary: Remove - tags: - - App Owner - x-speakeasy-group: AppOwners - x-speakeasy-name-override: Remove - post: - description: Adds an owner to an app. - operationId: c1.api.app.v1.AppOwners.Add - parameters: - - in: path - name: app_id - required: true - schema: - description: The appId field. - readOnly: false - type: string - - in: path - name: user_id - required: true - schema: - description: The userId field. - readOnly: false - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.AddAppOwnerRequestInput' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.AddAppOwnerResponse' - description: Empty response with a status code indicating success - summary: Add - tags: - - App Owner - x-speakeasy-group: AppOwners - x-speakeasy-name-override: Add - /api/v1/apps/{app_id}/report: - get: - description: Get a list of reports for the given app. - operationId: c1.api.app.v1.AppReportService.List - parameters: - - in: path - name: app_id - required: true - schema: - description: The appId field. - readOnly: false - type: string - - in: query - name: page_size - schema: - description: The pageSize field. - format: int32 - readOnly: false - type: integer - - in: query - name: page_token - schema: - description: The pageToken field. - readOnly: false - type: string - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.AppReportServiceListResponse' - description: The AppReportServiceListResponse message contains a list of results and a nextPageToken if applicable. - summary: List - tags: - - App Reports - x-speakeasy-group: AppReport - x-speakeasy-name-override: List - post: - description: Generate a report for the given app. - operationId: c1.api.app.v1.AppReportActionService.GenerateReport - parameters: - - in: path - name: app_id - required: true - schema: - description: The appId field. - readOnly: false - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.AppActionsServiceGenerateReportRequestInput' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.AppActionsServiceGenerateReportResponse' - description: Empty response body. Status code indicates success. - summary: Generate Report - tags: - - App Reports - x-speakeasy-group: AppReportAction - x-speakeasy-name-override: GenerateReport - /api/v1/apps/{app_id}/resource_types: - get: - description: List app resource types. - operationId: c1.api.app.v1.AppResourceTypeService.List - parameters: - - in: path - name: app_id - required: true - schema: - description: The appId field. - readOnly: false - type: string - - in: query - name: page_size - schema: - description: The pageSize field. - format: int32 - readOnly: false - type: integer - - in: query - name: page_token - schema: - description: The pageToken field. - readOnly: false - type: string - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.AppResourceTypeServiceListResponse' - description: The AppResourceTypeServiceListResponse message contains a list of results and a nextPageToken if applicable. - summary: List - tags: - - App Resource Type - x-speakeasy-group: AppResourceType - x-speakeasy-name-override: List - /api/v1/apps/{app_id}/resource_types/{app_resource_type_id}/resources: - get: - description: Invokes the c1.api.app.v1.AppResourceService.List method. - operationId: c1.api.app.v1.AppResourceService.List - parameters: - - in: path - name: app_id - required: true - schema: - description: The appId field. - readOnly: false - type: string - - in: path - name: app_resource_type_id - required: true - schema: - description: The appResourceTypeId field. - readOnly: false - type: string - - in: query - name: page_size - schema: - description: The pageSize field. - format: int32 - readOnly: false - type: integer - - in: query - name: page_token - schema: - description: The pageToken field. - readOnly: false - type: string - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.AppResourceServiceListResponse' - description: The AppResourceServiceListResponse message contains a list of results and a nextPageToken if applicable. - summary: List - tags: - - App Resource - x-speakeasy-group: AppResource - x-speakeasy-name-override: List - /api/v1/apps/{app_id}/resource_types/{app_resource_type_id}/resources/{id}: - get: - description: Invokes the c1.api.app.v1.AppResourceService.Get method. - operationId: c1.api.app.v1.AppResourceService.Get - parameters: - - in: path - name: app_id - required: true - schema: - description: The appId field. - readOnly: false - type: string - - in: path - name: app_resource_type_id - required: true - schema: - description: The appResourceTypeId field. - readOnly: false - type: string - - in: path - name: id - required: true - schema: - description: The id field. - readOnly: false - type: string - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.AppResourceServiceGetResponse' - description: The app resource service get response contains the app resource view and array of expanded items indicated by the request's expand mask. - summary: Get - tags: - - App Resource - x-speakeasy-group: AppResource - x-speakeasy-name-override: Get - /api/v1/apps/{app_id}/resource_types/{id}: - get: - description: Get an app resource type. - operationId: c1.api.app.v1.AppResourceTypeService.Get - parameters: - - in: path - name: app_id - required: true - schema: - description: The appId field. - readOnly: false - type: string - - in: path - name: id - required: true - schema: - description: The id field. - readOnly: false - type: string - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.AppResourceTypeServiceGetResponse' - description: |- - The AppResourceTypeServiceGetResponse contains an expanded array containing the expanded values indicated by the expand mask - in the request and an app resource type view containing the resource type and JSONPATHs indicating which objects are where in the expand mask. - summary: Get - tags: - - App Resource Type - x-speakeasy-group: AppResourceType - x-speakeasy-name-override: Get - /api/v1/apps/{app_id}/resource_types/{resource_type_id}/resource/{resource_id}/owners: - get: - description: List all owners of an app resource. - operationId: c1.api.app.v1.AppResourceOwners.List - parameters: - - in: path - name: app_id - required: true - schema: - description: The appId field. - readOnly: false - type: string - - in: path - name: resource_type_id - required: true - schema: - description: The resourceTypeId field. - readOnly: false - type: string - - in: path - name: resource_id - required: true - schema: - description: The resourceId field. - readOnly: false - type: string - - in: query - name: page_size - schema: - description: The pageSize field. - format: int32 - readOnly: false - type: integer - - in: query - name: page_token - schema: - description: The pageToken field. - readOnly: false - type: string - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.ListAppResourceOwnersResponse' - description: The ListAppResourceOwnersResponse message contains a list of results and a nextPageToken if applicable - summary: List - tags: - - App Resource Owner - x-speakeasy-group: AppResourceOwners - x-speakeasy-name-override: List - /api/v1/apps/{app_id}/usage_controls: - get: - description: Get usage controls, as an AppUsageControls object which describes some peripheral configuration, for an app. - operationId: c1.api.app.v1.AppUsageControlsService.Get - parameters: - - in: path - name: app_id - required: true - schema: - description: The appId field. - readOnly: false - type: string - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.GetAppUsageControlsResponse' - description: The GetAppUsageControlsResponse message contains the retrieved AppUsageControls object. - summary: Get - tags: - - App Usage Controls - x-speakeasy-group: AppUsageControls - x-speakeasy-name-override: Get - post: - description: Update usage controls for an app. - operationId: c1.api.app.v1.AppUsageControlsService.Update - parameters: - - in: path - name: app_id - required: true - schema: - description: The app that this object belongs to. - readOnly: false - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.UpdateAppUsageControlsRequestInput' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.UpdateAppUsageControlsResponse' - description: The UpdateAppUsageControlsResponse message contains the updated AppUsageControls object. - summary: Update - tags: - - App Usage Controls - x-speakeasy-group: AppUsageControls - x-speakeasy-name-override: Update - /api/v1/apps/{app_user_app_id}/app_users/{app_user_id}: - post: - description: |- - Update an app user by ID. Only the fields specified in the update mask are updated. - Currently, only the appUserType, and identityUserId fields can be updated. - operationId: c1.api.app.v1.AppUserService.Update - parameters: - - in: path - name: app_user_app_id - required: true - schema: - description: The ID of the application. - readOnly: true - type: string - - in: path - name: app_user_id - required: true - schema: - description: A unique idenditfier of the application user. - readOnly: true - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.AppUserServiceUpdateRequestInput' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.AppUserServiceUpdateResponse' - description: Successful response - summary: Update - tags: - - AppUsers - x-speakeasy-group: AppUser - x-speakeasy-name-override: Update - /api/v1/apps/{connector_app_id}/connectors/{connector_id}/delegated: - post: - description: Update a delegated connector. - operationId: c1.api.app.v1.ConnectorService.UpdateDelegated - parameters: - - in: path - name: connector_app_id - required: true - schema: - description: The id of the app the connector is associated with. - readOnly: false - type: string - - in: path - name: connector_id - required: true - schema: - description: The id of the connector. - readOnly: false - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.ConnectorServiceUpdateDelegatedRequestInput' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.ConnectorServiceUpdateResponse' - description: ConnectorServiceUpdateResponse is the response returned by the update method. - summary: Update Delegated - tags: - - Connector - x-speakeasy-group: Connector - x-speakeasy-name-override: UpdateDelegated - /api/v1/apps/{id}: - delete: - description: Delete an app. - operationId: c1.api.app.v1.Apps.Delete - parameters: - - in: path - name: id - required: true - schema: - description: The id field. - readOnly: false - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.DeleteAppRequestInput' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.DeleteAppResponse' - description: Empty response body. Status code indicates success. - summary: Delete - tags: - - App - x-speakeasy-entity-operation: App#delete - x-speakeasy-group: Apps - x-speakeasy-name-override: Delete - get: - description: Get an app by ID. - operationId: c1.api.app.v1.Apps.Get - parameters: - - in: path - name: id - required: true - schema: - description: The id field. - readOnly: false - type: string - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.GetAppResponse' - description: The GetAppResponse message contains the details of the requested app in the app field. - summary: Get - tags: - - App - x-speakeasy-entity-operation: App#read - x-speakeasy-group: Apps - x-speakeasy-name-override: Get - post: - description: Update an existing app. - operationId: c1.api.app.v1.Apps.Update - parameters: - - in: path - name: id - required: true - schema: - description: The ID of the app. - readOnly: true - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.UpdateAppRequestInput' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.UpdateAppResponse' - description: Returns the updated app's new values. - summary: Update - tags: - - App - x-speakeasy-entity-operation: App#update - x-speakeasy-group: Apps - x-speakeasy-name-override: Update - /api/v1/attribute/{id}: - delete: - description: Delete an attribute value by id. - operationId: c1.api.attribute.v1.Attributes.DeleteAttributeValue - parameters: - - in: path - name: id - required: true - schema: - description: The id field. - readOnly: false - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.attribute.v1.DeleteAttributeValueRequestInput' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.attribute.v1.DeleteAttributeValueResponse' - description: DeleteAttributeValueResponse is the empty response for deleting an attribute value. - summary: Delete Attribute Value - tags: - - Attribute - x-speakeasy-group: Attributes - x-speakeasy-name-override: DeleteAttributeValue - /api/v1/attributes: - post: - description: Create a new attribute value. - operationId: c1.api.attribute.v1.Attributes.CreateAttributeValue - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.attribute.v1.CreateAttributeValueRequest' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.attribute.v1.CreateAttributeValueResponse' - description: CreateAttributeValueResponse is the response for creating an attribute value. - summary: Create Attribute Value - tags: - - Attribute - x-speakeasy-group: Attributes - x-speakeasy-name-override: CreateAttributeValue - /api/v1/attributes/{id}: - get: - description: Get an attribute value by id. - operationId: c1.api.attribute.v1.Attributes.GetAttributeValue - parameters: - - in: path - name: id - required: true - schema: - description: The id field. - readOnly: false - type: string - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.attribute.v1.GetAttributeValueResponse' - description: GetAttributeValueResponse is the response for getting an attribute value by id. - summary: Get Attribute Value - tags: - - Attribute - x-speakeasy-group: Attributes - x-speakeasy-name-override: GetAttributeValue - /api/v1/attributes/types: - get: - description: List all attribute types. - operationId: c1.api.attribute.v1.Attributes.ListAttributeTypes - parameters: - - in: query - name: page_size - schema: - description: The pageSize field. - format: int32 - readOnly: false - type: integer - - in: query - name: page_token - schema: - description: The pageToken field. - readOnly: false - type: string - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.attribute.v1.ListAttributeTypesResponse' - description: ListAttributeTypesResponse is the response for listing attribute types. - summary: List Attribute Types - tags: - - Attribute - x-speakeasy-group: Attributes - x-speakeasy-name-override: ListAttributeTypes - /api/v1/attributes/types/{attribute_type_id}/values: - get: - description: List all attribute values for a given attribute type. - operationId: c1.api.attribute.v1.Attributes.ListAttributeValues - parameters: - - in: path - name: attribute_type_id - required: true - schema: - description: The attributeTypeId field. - readOnly: false - type: string - - in: query - name: page_size - schema: - description: The pageSize field. - format: int32 - readOnly: false - type: integer - - in: query - name: page_token - schema: - description: The pageToken field. - readOnly: false - type: string - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.attribute.v1.ListAttributeValuesResponse' - description: ListAttributeValuesResponse is the response for listing attribute values for a given AttributeType. - summary: List Attribute Values - tags: - - Attribute - x-speakeasy-group: Attributes - x-speakeasy-name-override: ListAttributeValues - /api/v1/auth/introspect: - get: - description: Introspect returns the current user's principle_id, user_id and a list of roles, permissions, and enabled features. - operationId: c1.api.auth.v1.Auth.Introspect - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.auth.v1.IntrospectResponse' - description: IntrospectResponse contains information about the current user who is authenticated. - summary: Introspect - tags: - - Auth - x-speakeasy-group: Auth - x-speakeasy-name-override: Introspect - /api/v1/catalogs: - get: - description: Get a list of request catalogs. - operationId: c1.api.requestcatalog.v1.RequestCatalogManagementService.List - parameters: - - in: query - name: page_size - schema: - description: The pageSize where 0 <= pageSize <= 100. Values < 10 will be set to 10. A value of 0 returns the default page size (currently 25) - format: int32 - readOnly: false - type: integer - - in: query - name: page_token - schema: - description: The page_token field for pagination. - readOnly: false - type: string - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.requestcatalog.v1.RequestCatalogManagementServiceListResponse' - description: Successful response - summary: List - tags: - - Request Catalog - x-speakeasy-group: RequestCatalogManagement - x-speakeasy-name-override: List - post: - description: Creates a new request catalog. - operationId: c1.api.requestcatalog.v1.RequestCatalogManagementService.Create - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.requestcatalog.v1.RequestCatalogManagementServiceCreateRequest' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.requestcatalog.v1.RequestCatalogManagementServiceGetResponse' - description: The request catalog management service get response returns a request catalog view with the expanded items in the expanded array indicated by the expand mask in the request. - summary: Create - tags: - - Request Catalog - x-speakeasy-entity-operation: Catalog#create - x-speakeasy-group: RequestCatalogManagement - x-speakeasy-name-override: Create - /api/v1/catalogs/{catalog_id}/requestable_entitlements: - get: - description: List entitlements in a catalog that are requestable. - operationId: c1.api.requestcatalog.v1.RequestCatalogManagementService.ListEntitlementsPerCatalog - parameters: - - in: path - name: catalog_id - required: true - schema: - description: The catalogId field. - readOnly: false - type: string - - in: query - name: page_size - schema: - description: The pageSize field. - format: int32 - readOnly: false - type: integer - - in: query - name: page_token - schema: - description: The pageToken field. - readOnly: false - type: string - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.requestcatalog.v1.RequestCatalogManagementServiceListEntitlementsPerCatalogResponse' - description: The RequestCatalogManagementServiceListEntitlementsPerCatalogResponse message contains a list of results and a nextPageToken if applicable. - summary: List Entitlements Per Catalog - tags: - - Request Catalog - x-speakeasy-group: RequestCatalogManagement - x-speakeasy-name-override: ListEntitlementsPerCatalog - /api/v1/catalogs/{catalog_id}/requestable_entries: - delete: - description: Remove requestable entitlements from a catalog. - operationId: c1.api.requestcatalog.v1.RequestCatalogManagementService.RemoveAppEntitlements - parameters: - - in: path - name: catalog_id - required: true - schema: - description: The catalogId for the catalog to remove entitlements from. - readOnly: false - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.requestcatalog.v1.RequestCatalogManagementServiceRemoveAppEntitlementsRequestInput' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.requestcatalog.v1.RequestCatalogManagementServiceRemoveAppEntitlementsResponse' - description: Empty response with a status code indicating success - summary: Remove App Entitlements - tags: - - Request Catalog - x-speakeasy-entity-operation: Catalog_Requestable_Entries#delete - x-speakeasy-group: RequestCatalogManagement - x-speakeasy-name-override: RemoveAppEntitlements - post: - description: Add requestable entitlements to a catalog. - operationId: c1.api.requestcatalog.v1.RequestCatalogManagementService.AddAppEntitlements - parameters: - - in: path - name: catalog_id - required: true - schema: - description: The Id of the request catalog to add app entitlements to. This is a URL value. - readOnly: false - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.requestcatalog.v1.RequestCatalogManagementServiceAddAppEntitlementsRequestInput' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.requestcatalog.v1.RequestCatalogManagementServiceAddAppEntitlementsResponse' - description: Empty response with a status code indicating success. - summary: Add App Entitlements - tags: - - Request Catalog - x-speakeasy-entity-operation: Catalog_Requestable_Entries#create - x-speakeasy-group: RequestCatalogManagement - x-speakeasy-name-override: AddAppEntitlements - /api/v1/catalogs/{catalog_id}/visibility_bindings: - delete: - description: Remove visibility bindings (access entitlements) to a catalog. - operationId: c1.api.requestcatalog.v1.RequestCatalogManagementService.RemoveAccessEntitlements - parameters: - - in: path - name: catalog_id - required: true - schema: - description: The catalogId for the catalog to remove access entitlements from. - readOnly: false - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.requestcatalog.v1.RequestCatalogManagementServiceRemoveAccessEntitlementsRequestInput' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.requestcatalog.v1.RequestCatalogManagementServiceRemoveAccessEntitlementsResponse' - description: Empty response with a status code indicating success. - summary: Remove Access Entitlements - tags: - - Request Catalog - x-speakeasy-entity-operation: Catalog_Visibility_Bindings#delete - x-speakeasy-group: RequestCatalogManagement - x-speakeasy-name-override: RemoveAccessEntitlements - post: - description: Add visibility bindings (access entitlements) to a catalog. - operationId: c1.api.requestcatalog.v1.RequestCatalogManagementService.AddAccessEntitlements - parameters: - - in: path - name: catalog_id - required: true - schema: - description: The Id of the request catalog to add access entitlements to. This is a URL value. - readOnly: false - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.requestcatalog.v1.RequestCatalogManagementServiceAddAccessEntitlementsRequestInput' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.requestcatalog.v1.RequestCatalogManagementServiceAddAccessEntitlementsResponse' - description: Empty response with a status code indicating success. - summary: Add Access Entitlements - tags: - - Request Catalog - x-speakeasy-entity-operation: Catalog_Visibility_Bindings#create - x-speakeasy-group: RequestCatalogManagement - x-speakeasy-name-override: AddAccessEntitlements - /api/v1/catalogs/{catalog_id}/visibility_entitlements: - get: - description: List visibility bindings (access entitlements) for a catalog. - operationId: c1.api.requestcatalog.v1.RequestCatalogManagementService.ListEntitlementsForAccess - parameters: - - in: path - name: catalog_id - required: true - schema: - description: The catalogId field. - readOnly: false - type: string - - in: query - name: page_size - schema: - description: The pageSize field. - format: int32 - readOnly: false - type: integer - - in: query - name: page_token - schema: - description: The pageToken field. - readOnly: false - type: string - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.requestcatalog.v1.RequestCatalogManagementServiceListEntitlementsForAccessResponse' - description: The RequestCatalogManagementServiceListEntitlementsForAccessResponse message contains a list of results and a nextPageToken if applicable. - summary: List Entitlements For Access - tags: - - Request Catalog - x-speakeasy-group: RequestCatalogManagement - x-speakeasy-name-override: ListEntitlementsForAccess - /api/v1/catalogs/{id}: - delete: - description: Delete a catalog. - operationId: c1.api.requestcatalog.v1.RequestCatalogManagementService.Delete - parameters: - - in: path - name: id - required: true - schema: - description: The Id of the RequestCatalog to delete. - readOnly: false - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.requestcatalog.v1.RequestCatalogManagementServiceDeleteRequestInput' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.requestcatalog.v1.RequestCatalogManagementServiceDeleteResponse' - description: Empty response with a status code indicating success. - summary: Delete - tags: - - Request Catalog - x-speakeasy-entity-operation: Catalog#delete - x-speakeasy-group: RequestCatalogManagement - x-speakeasy-name-override: Delete - get: - description: Get a catalog. - operationId: c1.api.requestcatalog.v1.RequestCatalogManagementService.Get - parameters: - - in: path - name: id - required: true - schema: - description: The id field. - readOnly: false - type: string - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.requestcatalog.v1.RequestCatalogManagementServiceGetResponse' - description: The request catalog management service get response returns a request catalog view with the expanded items in the expanded array indicated by the expand mask in the request. - summary: Get - tags: - - Request Catalog - x-speakeasy-entity-operation: Catalog#read - x-speakeasy-group: RequestCatalogManagement - x-speakeasy-name-override: Get - post: - description: Update a catalog. - operationId: c1.api.requestcatalog.v1.RequestCatalogManagementService.Update - parameters: - - in: path - name: id - required: true - schema: - description: The id of the request catalog. - readOnly: false - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.requestcatalog.v1.RequestCatalogManagementServiceUpdateRequestInput' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.requestcatalog.v1.RequestCatalogManagementServiceGetResponse' - description: The request catalog management service get response returns a request catalog view with the expanded items in the expanded array indicated by the expand mask in the request. - summary: Update - tags: - - Request Catalog - x-speakeasy-entity-operation: Catalog#update - x-speakeasy-group: RequestCatalogManagement - x-speakeasy-name-override: Update - /api/v1/catalogs/{request_catalog_id}/bundle_automation: - get: - description: Get bundle automation - operationId: c1.api.requestcatalog.v1.RequestCatalogManagementService.GetBundleAutomation - parameters: - - in: path - name: request_catalog_id - required: true - schema: - description: The requestCatalogId field. - readOnly: false - type: string - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.requestcatalog.v1.BundleAutomation' - description: Successful response - summary: Get Bundle Automation - tags: - - Request Catalog - x-speakeasy-entity-operation: BundleAutomation#read - x-speakeasy-group: RequestCatalogManagement - x-speakeasy-name-override: GetBundleAutomation - post: - description: Invokes the c1.api.requestcatalog.v1.RequestCatalogManagementService.SetBundleAutomation method. - operationId: c1.api.requestcatalog.v1.RequestCatalogManagementService.SetBundleAutomation - parameters: - - in: path - name: request_catalog_id - required: true - schema: - description: The requestCatalogId field. - readOnly: false - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.requestcatalog.v1.SetBundleAutomationRequestInput' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.requestcatalog.v1.BundleAutomation' - description: Successful response - summary: Set Bundle Automation - tags: - - Request Catalog - x-speakeasy-entity-operation: BundleAutomation#update - x-speakeasy-group: RequestCatalogManagement - x-speakeasy-name-override: SetBundleAutomation - /api/v1/directories: - get: - description: List directories. - operationId: c1.api.directory.v1.DirectoryService.List - parameters: - - in: query - name: page_size - schema: - description: The pageSize field. - format: int32 - readOnly: false - type: integer - - in: query - name: page_token - schema: - description: The pageToken field. - readOnly: false - type: string - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.directory.v1.DirectoryServiceListResponse' - description: The DirectoryServiceListResponse message contains a list of results and a nextPageToken if applicable. - summary: List - tags: - - Directory - x-speakeasy-group: Directory - x-speakeasy-name-override: List - post: - description: Create a directory. - operationId: c1.api.directory.v1.DirectoryService.Create - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.directory.v1.DirectoryServiceCreateRequest' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.directory.v1.DirectoryServiceCreateResponse' - description: The DirectoryServiceCreateResponse message. - summary: Create - tags: - - Directory - x-speakeasy-group: Directory - x-speakeasy-name-override: Create - /api/v1/directories/{app_id}: - delete: - description: Delete a directory by app_id. - operationId: c1.api.directory.v1.DirectoryService.Delete - parameters: - - in: path - name: app_id - required: true - schema: - description: The app_id of the directory to delete. - readOnly: false - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.directory.v1.DirectoryServiceDeleteRequestInput' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.directory.v1.DirectoryServiceDeleteResponse' - description: Empty response with a status code indicating success. - summary: Delete - tags: - - Directory - x-speakeasy-group: Directory - x-speakeasy-name-override: Delete - get: - description: Get a directory by app_id. - operationId: c1.api.directory.v1.DirectoryService.Get - parameters: - - in: path - name: app_id - required: true - schema: - description: The appId field. - readOnly: false - type: string - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.directory.v1.DirectoryServiceGetResponse' - description: |- - The Directory Service Get Response returns a directory view with a directory and JSONPATHs indicating the - location in the expanded array that items are expanded as indicated by the expand mask in the request. - summary: Get - tags: - - Directory - x-speakeasy-group: Directory - x-speakeasy-name-override: Get - /api/v1/iam/personal_clients: - post: - description: Create creates a new PersonalClient object for the current User. - operationId: c1.api.iam.v1.PersonalClientService.Create - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.iam.v1.PersonalClientServiceCreateRequest' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.iam.v1.PersonalClientServiceCreateResponse' - description: The PersonalClientServiceCreateResponse message contains the created personal client and client secret. - summary: Create - tags: - - Personal Client - x-speakeasy-group: PersonalClient - x-speakeasy-name-override: Create - /api/v1/iam/roles: - get: - description: List all roles for the current user. - operationId: c1.api.iam.v1.Roles.List - parameters: - - in: query - name: page_size - schema: - description: The pageSize field. - format: int32 - readOnly: false - type: integer - - in: query - name: page_token - schema: - description: The pageToken field. - readOnly: false - type: string - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.iam.v1.ListRolesResponse' - description: The ListRolesResponse message contains a list of results and a nextPageToken if applicable. - summary: List - tags: - - Role - x-speakeasy-group: Roles - x-speakeasy-name-override: List - /api/v1/iam/roles/{role_id}: - get: - description: Get a role by id. - operationId: c1.api.iam.v1.Roles.Get - parameters: - - in: path - name: role_id - required: true - schema: - description: The roleId field. - readOnly: false - type: string - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.iam.v1.GetRolesResponse' - description: The GetRolesResponse message contains the retrieved role. - summary: Get - tags: - - Role - x-speakeasy-group: Roles - x-speakeasy-name-override: Get - post: - description: Update a role by passing a Role object. - operationId: c1.api.iam.v1.Roles.Update - parameters: - - in: path - name: role_id - required: true - schema: - description: The id of the role. - readOnly: true - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.iam.v1.UpdateRoleRequestInput' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.iam.v1.UpdateRolesResponse' - description: UpdateRolesResponse is the response message containing the updated role. - summary: Update - tags: - - Role - x-speakeasy-group: Roles - x-speakeasy-name-override: Update - /api/v1/policies: - get: - description: List policies. - operationId: c1.api.policy.v1.Policies.List - parameters: - - in: query - name: page_size - schema: - description: The pageSize field. - format: int32 - readOnly: false - type: integer - - in: query - name: page_token - schema: - description: The pageToken field. - readOnly: false - type: string - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.policy.v1.ListPolicyResponse' - description: Successful response - summary: List - tags: - - Policy - x-speakeasy-group: Policies - x-speakeasy-name-override: List - post: - description: Create a policy. - operationId: c1.api.policy.v1.Policies.Create - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.policy.v1.CreatePolicyRequest' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.policy.v1.CreatePolicyResponse' - description: The CreatePolicyResponse message contains the created policy object. - summary: Create - tags: - - Policy - x-speakeasy-entity-operation: Policy#create - x-speakeasy-group: Policies - x-speakeasy-name-override: Create - /api/v1/policies/{id}: - delete: - description: Delete a policy by ID. - operationId: c1.api.policy.v1.Policies.Delete - parameters: - - in: path - name: id - required: true - schema: - description: The Id of the policy to delete. - readOnly: false - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.policy.v1.DeletePolicyRequestInput' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.policy.v1.DeletePolicyResponse' - description: Empty response with a status code indicating success. - summary: Delete - tags: - - Policy - x-speakeasy-entity-operation: Policy#delete - x-speakeasy-group: Policies - x-speakeasy-name-override: Delete - get: - description: Get a policy by ID. - operationId: c1.api.policy.v1.Policies.Get - parameters: - - in: path - name: id - required: true - schema: - description: The id field. - readOnly: false - type: string - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.policy.v1.GetPolicyResponse' - description: The GetPolicyResponse message contains the policy object. - summary: Get - tags: - - Policy - x-speakeasy-entity-operation: Policy#read - x-speakeasy-group: Policies - x-speakeasy-name-override: Get - post: - description: Update a policy by providing a policy object and an update mask. - operationId: c1.api.policy.v1.Policies.Update - parameters: - - in: path - name: id - required: true - schema: - description: The ID of the Policy. - readOnly: true - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.policy.v1.UpdatePolicyRequestInput' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.policy.v1.UpdatePolicyResponse' - description: The UpdatePolicyResponse message contains the updated policy object. - summary: Update - tags: - - Policy - x-speakeasy-entity-operation: Policy#update - x-speakeasy-group: Policies - x-speakeasy-name-override: Update - /api/v1/policies/validate/cel: - post: - description: Validate policies - operationId: c1.api.policy.v1.PolicyValidate.ValidateCEL - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.policy.v1.ValidatePolicyCELRequest' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.policy.v1.ValidatePolicyCELResponse' - description: Successful response - summary: Validate Cel - tags: - - Policy - x-speakeasy-group: PolicyValidate - x-speakeasy-name-override: ValidateCEL - /api/v1/search/app_resource_types: - post: - description: Search app resources based on filters specified in the request body. - operationId: c1.api.app.v1.AppResourceSearch.SearchAppResourceTypes - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.SearchAppResourceTypesRequest' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.SearchAppResourceTypesResponse' - description: The SearchAppResourceTypesResponse message contains a list of results and a nextPageToken if applicable. - summary: Search App Resource Types - tags: - - App Resource - x-speakeasy-group: AppResourceSearch - x-speakeasy-name-override: SearchAppResourceTypes - /api/v1/search/apps: - post: - description: Search apps based on filters specified in the request body. - operationId: c1.api.app.v1.AppSearch.Search - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.SearchAppsRequest' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.SearchAppsResponse' - description: The SearchAppsResponse message contains a list of results and a nextPageToken if applicable. - summary: Search - tags: - - App - x-speakeasy-group: AppSearch - x-speakeasy-name-override: Search - /api/v1/search/attributes: - post: - description: Search attributes based on filters specified in the request body. - operationId: c1.api.attribute.v1.AttributeSearch.SearchAttributeValues - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.attribute.v1.SearchAttributeValuesRequest' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.attribute.v1.SearchAttributeValuesResponse' - description: SearchAttributeValuesResponse is the response for searching AttributeValues. - summary: Search Attribute Values - tags: - - Attribute - x-speakeasy-group: AttributeSearch - x-speakeasy-name-override: SearchAttributeValues - /api/v1/search/entitlements: - post: - description: Search app entitlements based on filters specified in the request body. - operationId: c1.api.app.v1.AppEntitlementSearchService.Search - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.AppEntitlementSearchServiceSearchRequest' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.AppEntitlementSearchServiceSearchResponse' - description: Successful response - summary: Search - tags: - - App Entitlement - x-speakeasy-group: AppEntitlementSearch - x-speakeasy-name-override: Search - /api/v1/search/past-grants: - get: - description: Invokes the c1.api.app.v1.AppEntitlementUserBindingService.SearchPastGrants method. - operationId: c1.api.app.v1.AppEntitlementUserBindingService.SearchPastGrants - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.app.v1.SearchPastGrantsResponse' - description: The SearchPastGrantsRequest message contains a list of results and a nextPageToken if applicable. - summary: Search Past Grants - tags: - - App Entitlement User Binding History - x-speakeasy-group: AppEntitlementUserBinding - x-speakeasy-name-override: SearchPastGrants - /api/v1/search/policies: - post: - description: Search policies based on filters specified in the request body. - operationId: c1.api.policy.v1.PolicySearch.Search - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.policy.v1.SearchPoliciesRequest' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.policy.v1.ListPolicyResponse' - description: Successful response - summary: Search - tags: - - Policy - x-speakeasy-group: PolicySearch - x-speakeasy-name-override: Search - /api/v1/search/request_catalog/entitlements: - post: - description: Search request catalogs based on filters specified in the request body. - operationId: c1.api.requestcatalog.v1.RequestCatalogSearchService.SearchEntitlements - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.requestcatalog.v1.RequestCatalogSearchServiceSearchEntitlementsRequest' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.requestcatalog.v1.RequestCatalogSearchServiceSearchEntitlementsResponse' - description: The RequestCatalogSearchServiceSearchEntitlementsResponse message contains a list of results and a nextPageToken if applicable. - summary: Search Entitlements - tags: - - Request Catalog - x-speakeasy-group: RequestCatalogSearch - x-speakeasy-name-override: SearchEntitlements - /api/v1/search/systemlog/exports: - post: - description: Invokes the c1.api.systemlog.v1.ExportsSearchService.Search method. - operationId: c1.api.systemlog.v1.ExportsSearchService.Search - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.systemlog.v1.ExportsSearchServiceSearchRequest' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.systemlog.v1.ExportsSearchServiceSearchResponse' - description: Successful response - summary: Search - tags: - - System Log - x-speakeasy-group: ExportsSearch - x-speakeasy-name-override: Search - /api/v1/search/tasks: - post: - description: Search tasks based on filters specified in the request body. - operationId: c1.api.task.v1.TaskSearchService.Search - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.task.v1.TaskSearchRequest' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.task.v1.TaskSearchResponse' - description: The TaskSearchResponse message contains a list of results and a nextPageToken if applicable. - summary: Search - tags: - - Task - x-speakeasy-group: TaskSearch - x-speakeasy-name-override: Search - /api/v1/search/users: - post: - description: Search users based on filters specified in the request body. - operationId: c1.api.user.v1.UserSearch.Search - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.user.v1.SearchUsersRequest' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.user.v1.SearchUsersResponse' - description: Successful response - summary: Search - tags: - - User - x-speakeasy-group: UserSearch - x-speakeasy-name-override: Search - /api/v1/search/webhooks: - post: - description: Invokes the c1.api.webhooks.v1.WebhooksSearch.Search method. - operationId: c1.api.webhooks.v1.WebhooksSearch.Search - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.webhooks.v1.WebhooksSearchRequest' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.webhooks.v1.WebhooksSearchResponse' - description: Successful response - summary: Search - tags: - - Webhook - x-speakeasy-group: WebhooksSearch - x-speakeasy-name-override: Search - /api/v1/settings/aws-external-id: - get: - description: Invokes the c1.api.settings.v1.AWSExternalIDSettings.Get method. - operationId: c1.api.settings.v1.AWSExternalIDSettings.Get - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.settings.v1.GetAWSExternalIDResponse' - description: Successful response - summary: Get - tags: - - AWS External ID Settings - x-speakeasy-entity-operation: AWS_EXTERNAL_ID#read - x-speakeasy-group: AWSExternalIDSettings - x-speakeasy-name-override: Get - /api/v1/settings/session: - get: - description: Invokes the c1.api.settings.v1.SessionSettingsService.Get method. - operationId: c1.api.settings.v1.SessionSettingsService.Get - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.settings.v1.GetSessionSettingsResponse' - description: Successful response - summary: Get - tags: - - Session Settings - x-speakeasy-group: SessionSettings - x-speakeasy-name-override: Get - post: - description: Invokes the c1.api.settings.v1.SessionSettingsService.Update method. - operationId: c1.api.settings.v1.SessionSettingsService.Update - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.settings.v1.UpdateSessionSettingsRequest' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.settings.v1.UpdateSessionSettingsResponse' - description: Successful response - summary: Update - tags: - - Session Settings - x-speakeasy-group: SessionSettings - x-speakeasy-name-override: Update - /api/v1/systemlog/events: - post: - description: |- - ListEvents pulls Events from the ConductorOne system. - - This endpoint should be used to synchorize the - system log events to external systems. - operationId: c1.api.systemlog.v1.SystemLogService.ListEvents - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.systemlog.v1.SystemLogServiceListEventsRequest' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.systemlog.v1.SystemLogServiceListEventsResponse' - description: Successful response - summary: List Events - tags: - - System Log - x-speakeasy-group: SystemLog - x-speakeasy-name-override: ListEvents - /api/v1/systemlog/exports: - get: - description: List Exports. - operationId: c1.api.systemlog.v1.ExportService.List - parameters: - - in: query - name: page_size - schema: - description: The pageSize field. - format: int32 - readOnly: false - type: integer - - in: query - name: page_token - schema: - description: The pageToken field. - readOnly: false - type: string - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.systemlog.v1.ExportServiceListResponse' - description: Successful response - summary: List - tags: - - System Log - x-speakeasy-group: Export - x-speakeasy-name-override: List - post: - description: Create a system log export. - operationId: c1.api.systemlog.v1.ExportService.Create - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.systemlog.v1.ExportServiceCreateRequest' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.systemlog.v1.ExportServiceCreateResponse' - description: Successful response - summary: Create - tags: - - System Log - x-speakeasy-entity-operation: SystemlogExport#create - x-speakeasy-group: Export - x-speakeasy-name-override: Create - /api/v1/systemlog/exports/{export_id}: - delete: - description: Delete a policy by ID. - operationId: c1.api.systemlog.v1.ExportService.Delete - parameters: - - in: path - name: export_id - required: true - schema: - description: The exportId field. - readOnly: false - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.systemlog.v1.ExportServiceDeleteRequestInput' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.systemlog.v1.ExportServiceDeleteResponse' - description: Successful response - summary: Delete - tags: - - System Log - x-speakeasy-entity-operation: SystemlogExport#delete - x-speakeasy-group: Export - x-speakeasy-name-override: Delete - get: - description: Get a system log export by ID - operationId: c1.api.systemlog.v1.ExportService.Get - parameters: - - in: path - name: export_id - required: true - schema: - description: The exportId field. - readOnly: false - type: string - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.systemlog.v1.ExportServiceGetResponse' - description: The ExportServiceGetResponse message contains the system log exporter object. - summary: Get - tags: - - System Log - x-speakeasy-entity-operation: SystemlogExport#read - x-speakeasy-group: Export - x-speakeasy-name-override: Get - post: - description: Update a system log export by providing a policy object and an update mask. - operationId: c1.api.systemlog.v1.ExportService.Update - parameters: - - in: path - name: export_id - required: true - schema: - description: The exportId field. - readOnly: true - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.systemlog.v1.ExportServiceUpdateRequestInput' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.systemlog.v1.ExportServiceUpdateResponse' - description: Successful response - summary: Update - tags: - - System Log - x-speakeasy-entity-operation: SystemlogExport#update - x-speakeasy-group: Export - x-speakeasy-name-override: Update - /api/v1/task/grant: - post: - description: Create a grant task - operationId: c1.api.task.v1.TaskService.CreateGrantTask - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.task.v1.TaskServiceCreateGrantRequest' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.task.v1.TaskServiceCreateGrantResponse' - description: The TaskServiceCreateGrantResponse returns a task view which has a task including JSONPATHs to the expanded items in the expanded array. - summary: Create Grant Task - tags: - - Task - x-speakeasy-group: Task - x-speakeasy-name-override: CreateGrantTask - /api/v1/task/offboarding: - post: - description: Invokes the c1.api.task.v1.TaskService.CreateOffboardingTask method. - operationId: c1.api.task.v1.TaskService.CreateOffboardingTask - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.task.v1.TaskServiceCreateOffboardingRequest' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.task.v1.TaskServiceCreateOffboardingResponse' - description: Successful response - summary: Create Offboarding Task - tags: - - Task - x-speakeasy-group: Task - x-speakeasy-name-override: CreateOffboardingTask - /api/v1/task/revoke: - post: - description: Create a revoke task - operationId: c1.api.task.v1.TaskService.CreateRevokeTask - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.task.v1.TaskServiceCreateRevokeRequest' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.task.v1.TaskServiceCreateRevokeResponse' - description: The TaskServiceCreateRevokeResponse returns a task view which has a task including JSONPATHs to the expanded items in the expanded array. - summary: Create Revoke Task - tags: - - Task - x-speakeasy-group: Task - x-speakeasy-name-override: CreateRevokeTask - /api/v1/tasks/{id}: - get: - description: Get a task by ID - operationId: c1.api.task.v1.TaskService.Get - parameters: - - in: path - name: id - required: true - schema: - description: The id field. - readOnly: false - type: string - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.task.v1.TaskServiceGetResponse' - description: The TaskServiceGetResponse returns a task view which has a task including JSONPATHs to the expanded items in the expanded array. - summary: Get - tags: - - Task - x-speakeasy-group: Task - x-speakeasy-name-override: Get - /api/v1/tasks/{task_id}/action/approve: - post: - description: Invokes the c1.api.task.v1.TaskActionsService.Approve method. - operationId: c1.api.task.v1.TaskActionsService.Approve - parameters: - - in: path - name: task_id - required: true - schema: - description: The ID of the task to approve. - readOnly: false - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.task.v1.TaskActionsServiceApproveRequestInput' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.task.v1.TaskActionsServiceApproveResponse' - description: The TaskActionsServiceApproveResponse returns a task view with paths indicating the location of expanded items in the array. - summary: Approve - tags: - - Task - x-speakeasy-group: TaskActions - x-speakeasy-name-override: Approve - /api/v1/tasks/{task_id}/action/comment: - post: - description: Invokes the c1.api.task.v1.TaskActionsService.Comment method. - operationId: c1.api.task.v1.TaskActionsService.Comment - parameters: - - in: path - name: task_id - required: true - schema: - description: The ID of the task to be commented on - readOnly: false - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.task.v1.TaskActionsServiceCommentRequestInput' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.task.v1.TaskActionsServiceCommentResponse' - description: Task actions service comment response returns the task view inluding the expanded array of items that are indicated by the expand mask on the request. - summary: Comment - tags: - - Task - x-speakeasy-group: TaskActions - x-speakeasy-name-override: Comment - /api/v1/tasks/{task_id}/action/deny: - post: - description: Invokes the c1.api.task.v1.TaskActionsService.Deny method. - operationId: c1.api.task.v1.TaskActionsService.Deny - parameters: - - in: path - name: task_id - required: true - schema: - description: The ID of the task to be denied. - readOnly: false - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.task.v1.TaskActionsServiceDenyRequestInput' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.task.v1.TaskActionsServiceDenyResponse' - description: The TaskActionsServiceDenyResponse returns a task view with paths indicating the location of expanded items in the array. - summary: Deny - tags: - - Task - x-speakeasy-group: TaskActions - x-speakeasy-name-override: Deny - /api/v1/tasks/{task_id}/action/escalate: - post: - description: Invokes the c1.api.task.v1.TaskActionsService.EscalateToEmergencyAccess method. - operationId: c1.api.task.v1.TaskActionsService.EscalateToEmergencyAccess - parameters: - - in: path - name: task_id - required: true - schema: - description: The taskId field. - readOnly: false - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.task.v1.TaskActionsServiceEscalateToEmergencyAccessRequestInput' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.task.v1.TaskServiceActionResponse' - description: Successful response - summary: Escalate To Emergency Access - tags: - - Task - x-speakeasy-group: TaskActions - x-speakeasy-name-override: EscalateToEmergencyAccess - /api/v1/tasks/{task_id}/action/reassign: - post: - description: Invokes the c1.api.task.v1.TaskActionsService.Reassign method. - operationId: c1.api.task.v1.TaskActionsService.Reassign - parameters: - - in: path - name: task_id - required: true - schema: - description: The taskId field. - readOnly: false - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.task.v1.TaskActionsServiceReassignRequestInput' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.task.v1.TaskActionsServiceReassignResponse' - description: The TaskActionsServiceReassignResponse returns a task view with paths indicating the location of expanded items in the array. - summary: Reassign - tags: - - Task - x-speakeasy-group: TaskActions - x-speakeasy-name-override: Reassign - /api/v1/tasks/{task_id}/action/restart: - post: - description: Invokes the c1.api.task.v1.TaskActionsService.Restart method. - operationId: c1.api.task.v1.TaskActionsService.Restart - parameters: - - in: path - name: task_id - required: true - schema: - description: The ID of the task to restart. - readOnly: false - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.task.v1.TaskActionsServiceRestartRequestInput' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.task.v1.TaskActionsServiceRestartResponse' - description: Successful response - summary: Restart - tags: - - Task - x-speakeasy-group: TaskActions - x-speakeasy-name-override: Restart - /api/v1/users: - get: - description: List users. - operationId: c1.api.user.v1.UserService.List - parameters: - - in: query - name: page_size - schema: - description: The pageSize field. - format: int32 - readOnly: false - type: integer - - in: query - name: page_token - schema: - description: The pageToken field. - readOnly: false - type: string - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.user.v1.UserServiceListResponse' - description: The UserServiceListResponse message contains a list of results and a nextPageToken if applicable. - summary: List - tags: - - User - x-speakeasy-group: User - x-speakeasy-name-override: List - /api/v1/users/{id}: - get: - description: Get a user by ID. - operationId: c1.api.user.v1.UserService.Get - parameters: - - in: path - name: id - required: true - schema: - description: The id field. - readOnly: false - type: string - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.user.v1.UserServiceGetResponse' - description: The UserServiceGetResponse returns a user view which has a user including JSONPATHs to the expanded items in the expanded array. - summary: Get - tags: - - User - x-speakeasy-group: User - x-speakeasy-name-override: Get - /api/v1/webhooks: - get: - description: Invokes the c1.api.webhooks.v1.WebhooksService.List method. - operationId: c1.api.webhooks.v1.WebhooksService.List - parameters: - - in: query - name: page_size - schema: - description: The pageSize field. - format: int32 - readOnly: false - type: integer - - in: query - name: page_token - schema: - description: The pageToken field. - readOnly: false - type: string - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.webhooks.v1.WebhooksServiceListResponse' - description: Successful response - summary: List - tags: - - Webhook - x-speakeasy-group: Webhooks - x-speakeasy-name-override: List - post: - description: Invokes the c1.api.webhooks.v1.WebhooksService.Create method. - operationId: c1.api.webhooks.v1.WebhooksService.Create - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.webhooks.v1.WebhooksServiceCreateRequest' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.webhooks.v1.WebhooksServiceCreateResponse' - description: Successful response - summary: Create - tags: - - Webhook - x-speakeasy-entity-operation: Webhook#create - x-speakeasy-group: Webhooks - x-speakeasy-name-override: Create - /api/v1/webhooks/{id}: - delete: - description: Invokes the c1.api.webhooks.v1.WebhooksService.Delete method. - operationId: c1.api.webhooks.v1.WebhooksService.Delete - parameters: - - in: path - name: id - required: true - schema: - description: The id field. - readOnly: false - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.webhooks.v1.WebhooksServiceDeleteRequestInput' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.webhooks.v1.WebhooksServiceDeleteResponse' - description: Empty response body. Status code indicates success. - summary: Delete - tags: - - Webhook - x-speakeasy-entity-operation: Webhook#delete - x-speakeasy-group: Webhooks - x-speakeasy-name-override: Delete - get: - description: Invokes the c1.api.webhooks.v1.WebhooksService.Get method. - operationId: c1.api.webhooks.v1.WebhooksService.Get - parameters: - - in: path - name: id - required: true - schema: - description: The id field. - readOnly: false - type: string - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.webhooks.v1.WebhooksServiceGetResponse' - description: Successful response - summary: Get - tags: - - Webhook - x-speakeasy-entity-operation: Webhook#read - x-speakeasy-group: Webhooks - x-speakeasy-name-override: Get - post: - description: Invokes the c1.api.webhooks.v1.WebhooksService.Update method. - operationId: c1.api.webhooks.v1.WebhooksService.Update - parameters: - - in: path - name: id - required: true - schema: - description: The id field. - readOnly: false - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.webhooks.v1.WebhooksServiceUpdateRequestInput' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.webhooks.v1.WebhooksServiceUpdateResponse' - description: Successful response - summary: Update - tags: - - Webhook - x-speakeasy-entity-operation: Webhook#update - x-speakeasy-group: Webhooks - x-speakeasy-name-override: Update - /api/v1/webhooks/{id}/test: - post: - description: Invokes the c1.api.webhooks.v1.WebhooksService.Test method. - operationId: c1.api.webhooks.v1.WebhooksService.Test - parameters: - - in: path - name: id - required: true - schema: - description: The id field. - readOnly: false - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.webhooks.v1.WebhooksServiceTestRequestInput' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/c1.api.webhooks.v1.WebhooksServiceTestResponse' - description: Successful response - summary: Test - tags: - - Webhook - x-speakeasy-group: Webhooks - x-speakeasy-name-override: Test -security: - - bearerAuth: [] - oauth: [] -servers: - - description: The ConductorOne API server for the current tenant. - url: https://{tenantDomain}.conductor.one - variables: - tenantDomain: - default: example - description: The domain of the tenant to use for this request. diff --git a/overlay.yaml b/overlay.yaml new file mode 100644 index 00000000..3eb00cb3 --- /dev/null +++ b/overlay.yaml @@ -0,0 +1,9 @@ +overlay: 1.0.0 +x-speakeasy-jsonpath: rfc9535 +info: + title: Make request bodies required + version: 0.0.0 +actions: + - target: $.paths..requestBody + update: + required: true \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 97c6a1f0..1e1cb838 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "sdk" -version = "0.16.0" +version = "0.16.1" description = "Python Client SDK Generated by Speakeasy" authors = [{ name = "Speakeasy" },] readme = "README-PYPI.md" @@ -35,19 +35,11 @@ in-project = true [tool.poetry.group.dev.dependencies] mypy = "==1.15.0" pylint = "==3.2.3" -pytest = "^8.4.2" -python-dotenv = "^1.1.1" [build-system] requires = ["poetry-core"] build-backend = "poetry.core.masonry.api" -[dependency-groups] -dev = [ - "pytest>=8.4.2", - "python-dotenv>=1.2.1", -] - [tool.pytest.ini_options] asyncio_default_fixture_loop_scope = "function" pythonpath = ["src"] diff --git a/src/sdk/_version.py b/src/sdk/_version.py index ff6de302..e4c136d4 100644 --- a/src/sdk/_version.py +++ b/src/sdk/_version.py @@ -3,10 +3,10 @@ import importlib.metadata __title__: str = "sdk" -__version__: str = "0.16.0" +__version__: str = "0.16.1" __openapi_doc_version__: str = "0.1.0-alpha" -__gen_version__: str = "2.731.4" -__user_agent__: str = "speakeasy-sdk/python 0.16.0 2.731.4 0.1.0-alpha sdk" +__gen_version__: str = "2.731.9" +__user_agent__: str = "speakeasy-sdk/python 0.16.1 2.731.9 0.1.0-alpha sdk" try: if __package__ is not None: diff --git a/src/sdk/accessconflict.py b/src/sdk/accessconflict.py index ade06f91..abfdb9ae 100644 --- a/src/sdk/accessconflict.py +++ b/src/sdk/accessconflict.py @@ -13,12 +13,10 @@ class AccessConflict(BaseSDK): def create_monitor( self, *, - request: Optional[ - Union[ - shared.ConflictMonitorCreateRequest, - shared.ConflictMonitorCreateRequestTypedDict, - ] - ] = None, + request: Union[ + shared.ConflictMonitorCreateRequest, + shared.ConflictMonitorCreateRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -45,10 +43,8 @@ def create_monitor( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal( - request, Optional[shared.ConflictMonitorCreateRequest] - ) - request = cast(Optional[shared.ConflictMonitorCreateRequest], request) + request = utils.unmarshal(request, shared.ConflictMonitorCreateRequest) + request = cast(shared.ConflictMonitorCreateRequest, request) req = self._build_request( method="POST", @@ -56,7 +52,7 @@ def create_monitor( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -64,11 +60,7 @@ def create_monitor( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, - False, - True, - "json", - Optional[shared.ConflictMonitorCreateRequest], + request, False, False, "json", shared.ConflictMonitorCreateRequest ), timeout_ms=timeout_ms, ) @@ -115,12 +107,10 @@ def create_monitor( async def create_monitor_async( self, *, - request: Optional[ - Union[ - shared.ConflictMonitorCreateRequest, - shared.ConflictMonitorCreateRequestTypedDict, - ] - ] = None, + request: Union[ + shared.ConflictMonitorCreateRequest, + shared.ConflictMonitorCreateRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -147,10 +137,8 @@ async def create_monitor_async( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal( - request, Optional[shared.ConflictMonitorCreateRequest] - ) - request = cast(Optional[shared.ConflictMonitorCreateRequest], request) + request = utils.unmarshal(request, shared.ConflictMonitorCreateRequest) + request = cast(shared.ConflictMonitorCreateRequest, request) req = self._build_request_async( method="POST", @@ -158,7 +146,7 @@ async def create_monitor_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -166,11 +154,7 @@ async def create_monitor_async( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, - False, - True, - "json", - Optional[shared.ConflictMonitorCreateRequest], + request, False, False, "json", shared.ConflictMonitorCreateRequest ), timeout_ms=timeout_ms, ) @@ -262,7 +246,7 @@ def delete_monitor( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -272,9 +256,9 @@ def delete_monitor( get_serialized_body=lambda: utils.serialize_request_body( request.conflict_monitor_delete_request, False, - True, + False, "json", - Optional[shared.ConflictMonitorDeleteRequest], + shared.ConflictMonitorDeleteRequest, ), timeout_ms=timeout_ms, ) @@ -366,7 +350,7 @@ async def delete_monitor_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -376,9 +360,9 @@ async def delete_monitor_async( get_serialized_body=lambda: utils.serialize_request_body( request.conflict_monitor_delete_request, False, - True, + False, "json", - Optional[shared.ConflictMonitorDeleteRequest], + shared.ConflictMonitorDeleteRequest, ), timeout_ms=timeout_ms, ) @@ -668,7 +652,7 @@ def update_monitor( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -678,9 +662,9 @@ def update_monitor( get_serialized_body=lambda: utils.serialize_request_body( request.conflict_monitor_update_request, False, - True, + False, "json", - Optional[shared.ConflictMonitorUpdateRequest], + shared.ConflictMonitorUpdateRequest, ), timeout_ms=timeout_ms, ) @@ -772,7 +756,7 @@ async def update_monitor_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -782,9 +766,9 @@ async def update_monitor_async( get_serialized_body=lambda: utils.serialize_request_body( request.conflict_monitor_update_request, False, - True, + False, "json", - Optional[shared.ConflictMonitorUpdateRequest], + shared.ConflictMonitorUpdateRequest, ), timeout_ms=timeout_ms, ) diff --git a/src/sdk/accountprovisionpolicytest.py b/src/sdk/accountprovisionpolicytest.py index 487f3493..b4d548d5 100644 --- a/src/sdk/accountprovisionpolicytest.py +++ b/src/sdk/accountprovisionpolicytest.py @@ -13,12 +13,10 @@ class AccountProvisionPolicyTest(BaseSDK): def test( self, *, - request: Optional[ - Union[ - shared.TestAccountProvisionPolicyRequest, - shared.TestAccountProvisionPolicyRequestTypedDict, - ] - ] = None, + request: Union[ + shared.TestAccountProvisionPolicyRequest, + shared.TestAccountProvisionPolicyRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -45,10 +43,8 @@ def test( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal( - request, Optional[shared.TestAccountProvisionPolicyRequest] - ) - request = cast(Optional[shared.TestAccountProvisionPolicyRequest], request) + request = utils.unmarshal(request, shared.TestAccountProvisionPolicyRequest) + request = cast(shared.TestAccountProvisionPolicyRequest, request) req = self._build_request( method="POST", @@ -56,7 +52,7 @@ def test( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -64,11 +60,7 @@ def test( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, - False, - True, - "json", - Optional[shared.TestAccountProvisionPolicyRequest], + request, False, False, "json", shared.TestAccountProvisionPolicyRequest ), timeout_ms=timeout_ms, ) @@ -115,12 +107,10 @@ def test( async def test_async( self, *, - request: Optional[ - Union[ - shared.TestAccountProvisionPolicyRequest, - shared.TestAccountProvisionPolicyRequestTypedDict, - ] - ] = None, + request: Union[ + shared.TestAccountProvisionPolicyRequest, + shared.TestAccountProvisionPolicyRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -147,10 +137,8 @@ async def test_async( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal( - request, Optional[shared.TestAccountProvisionPolicyRequest] - ) - request = cast(Optional[shared.TestAccountProvisionPolicyRequest], request) + request = utils.unmarshal(request, shared.TestAccountProvisionPolicyRequest) + request = cast(shared.TestAccountProvisionPolicyRequest, request) req = self._build_request_async( method="POST", @@ -158,7 +146,7 @@ async def test_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -166,11 +154,7 @@ async def test_async( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, - False, - True, - "json", - Optional[shared.TestAccountProvisionPolicyRequest], + request, False, False, "json", shared.TestAccountProvisionPolicyRequest ), timeout_ms=timeout_ms, ) diff --git a/src/sdk/appaccessrequestsdefaults.py b/src/sdk/appaccessrequestsdefaults.py index 0ed11207..a9719c30 100644 --- a/src/sdk/appaccessrequestsdefaults.py +++ b/src/sdk/appaccessrequestsdefaults.py @@ -58,7 +58,7 @@ def cancel_app_access_requests_defaults( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -68,9 +68,9 @@ def cancel_app_access_requests_defaults( get_serialized_body=lambda: utils.serialize_request_body( request.cancel_access_request_defaults_request, False, - True, + False, "json", - Optional[shared.CancelAccessRequestDefaultsRequest], + shared.CancelAccessRequestDefaultsRequest, ), timeout_ms=timeout_ms, ) @@ -162,7 +162,7 @@ async def cancel_app_access_requests_defaults_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -172,9 +172,9 @@ async def cancel_app_access_requests_defaults_async( get_serialized_body=lambda: utils.serialize_request_body( request.cancel_access_request_defaults_request, False, - True, + False, "json", - Optional[shared.CancelAccessRequestDefaultsRequest], + shared.CancelAccessRequestDefaultsRequest, ), timeout_ms=timeout_ms, ) @@ -266,7 +266,7 @@ def create_app_access_requests_defaults( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -276,9 +276,9 @@ def create_app_access_requests_defaults( get_serialized_body=lambda: utils.serialize_request_body( request.app_access_request_defaults, False, - True, + False, "json", - Optional[shared.AppAccessRequestDefaults1], + shared.AppAccessRequestDefaults1, ), timeout_ms=timeout_ms, ) @@ -370,7 +370,7 @@ async def create_app_access_requests_defaults_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -380,9 +380,9 @@ async def create_app_access_requests_defaults_async( get_serialized_body=lambda: utils.serialize_request_body( request.app_access_request_defaults, False, - True, + False, "json", - Optional[shared.AppAccessRequestDefaults1], + shared.AppAccessRequestDefaults1, ), timeout_ms=timeout_ms, ) diff --git a/src/sdk/appentitlementmonitorbinding.py b/src/sdk/appentitlementmonitorbinding.py index 2c9f5e99..5b90d5d3 100644 --- a/src/sdk/appentitlementmonitorbinding.py +++ b/src/sdk/appentitlementmonitorbinding.py @@ -13,12 +13,10 @@ class AppEntitlementMonitorBinding(BaseSDK): def create_app_entitlement_monitor_binding( self, *, - request: Optional[ - Union[ - shared.CreateAppEntitlementMonitorBindingRequest, - shared.CreateAppEntitlementMonitorBindingRequestTypedDict, - ] - ] = None, + request: Union[ + shared.CreateAppEntitlementMonitorBindingRequest, + shared.CreateAppEntitlementMonitorBindingRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -46,11 +44,9 @@ def create_app_entitlement_monitor_binding( if not isinstance(request, BaseModel): request = utils.unmarshal( - request, Optional[shared.CreateAppEntitlementMonitorBindingRequest] + request, shared.CreateAppEntitlementMonitorBindingRequest ) - request = cast( - Optional[shared.CreateAppEntitlementMonitorBindingRequest], request - ) + request = cast(shared.CreateAppEntitlementMonitorBindingRequest, request) req = self._build_request( method="POST", @@ -58,7 +54,7 @@ def create_app_entitlement_monitor_binding( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -68,9 +64,9 @@ def create_app_entitlement_monitor_binding( get_serialized_body=lambda: utils.serialize_request_body( request, False, - True, + False, "json", - Optional[shared.CreateAppEntitlementMonitorBindingRequest], + shared.CreateAppEntitlementMonitorBindingRequest, ), timeout_ms=timeout_ms, ) @@ -117,12 +113,10 @@ def create_app_entitlement_monitor_binding( async def create_app_entitlement_monitor_binding_async( self, *, - request: Optional[ - Union[ - shared.CreateAppEntitlementMonitorBindingRequest, - shared.CreateAppEntitlementMonitorBindingRequestTypedDict, - ] - ] = None, + request: Union[ + shared.CreateAppEntitlementMonitorBindingRequest, + shared.CreateAppEntitlementMonitorBindingRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -150,11 +144,9 @@ async def create_app_entitlement_monitor_binding_async( if not isinstance(request, BaseModel): request = utils.unmarshal( - request, Optional[shared.CreateAppEntitlementMonitorBindingRequest] + request, shared.CreateAppEntitlementMonitorBindingRequest ) - request = cast( - Optional[shared.CreateAppEntitlementMonitorBindingRequest], request - ) + request = cast(shared.CreateAppEntitlementMonitorBindingRequest, request) req = self._build_request_async( method="POST", @@ -162,7 +154,7 @@ async def create_app_entitlement_monitor_binding_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -172,9 +164,9 @@ async def create_app_entitlement_monitor_binding_async( get_serialized_body=lambda: utils.serialize_request_body( request, False, - True, + False, "json", - Optional[shared.CreateAppEntitlementMonitorBindingRequest], + shared.CreateAppEntitlementMonitorBindingRequest, ), timeout_ms=timeout_ms, ) @@ -221,12 +213,10 @@ async def create_app_entitlement_monitor_binding_async( def delete_app_entitlement_monitor_binding( self, *, - request: Optional[ - Union[ - shared.DeleteAppEntitlementMonitorBindingRequest, - shared.DeleteAppEntitlementMonitorBindingRequestTypedDict, - ] - ] = None, + request: Union[ + shared.DeleteAppEntitlementMonitorBindingRequest, + shared.DeleteAppEntitlementMonitorBindingRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -254,11 +244,9 @@ def delete_app_entitlement_monitor_binding( if not isinstance(request, BaseModel): request = utils.unmarshal( - request, Optional[shared.DeleteAppEntitlementMonitorBindingRequest] + request, shared.DeleteAppEntitlementMonitorBindingRequest ) - request = cast( - Optional[shared.DeleteAppEntitlementMonitorBindingRequest], request - ) + request = cast(shared.DeleteAppEntitlementMonitorBindingRequest, request) req = self._build_request( method="DELETE", @@ -266,7 +254,7 @@ def delete_app_entitlement_monitor_binding( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -276,9 +264,9 @@ def delete_app_entitlement_monitor_binding( get_serialized_body=lambda: utils.serialize_request_body( request, False, - True, + False, "json", - Optional[shared.DeleteAppEntitlementMonitorBindingRequest], + shared.DeleteAppEntitlementMonitorBindingRequest, ), timeout_ms=timeout_ms, ) @@ -326,12 +314,10 @@ def delete_app_entitlement_monitor_binding( async def delete_app_entitlement_monitor_binding_async( self, *, - request: Optional[ - Union[ - shared.DeleteAppEntitlementMonitorBindingRequest, - shared.DeleteAppEntitlementMonitorBindingRequestTypedDict, - ] - ] = None, + request: Union[ + shared.DeleteAppEntitlementMonitorBindingRequest, + shared.DeleteAppEntitlementMonitorBindingRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -359,11 +345,9 @@ async def delete_app_entitlement_monitor_binding_async( if not isinstance(request, BaseModel): request = utils.unmarshal( - request, Optional[shared.DeleteAppEntitlementMonitorBindingRequest] + request, shared.DeleteAppEntitlementMonitorBindingRequest ) - request = cast( - Optional[shared.DeleteAppEntitlementMonitorBindingRequest], request - ) + request = cast(shared.DeleteAppEntitlementMonitorBindingRequest, request) req = self._build_request_async( method="DELETE", @@ -371,7 +355,7 @@ async def delete_app_entitlement_monitor_binding_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -381,9 +365,9 @@ async def delete_app_entitlement_monitor_binding_async( get_serialized_body=lambda: utils.serialize_request_body( request, False, - True, + False, "json", - Optional[shared.DeleteAppEntitlementMonitorBindingRequest], + shared.DeleteAppEntitlementMonitorBindingRequest, ), timeout_ms=timeout_ms, ) @@ -431,12 +415,10 @@ async def delete_app_entitlement_monitor_binding_async( def get_app_entitlement_monitor_binding( self, *, - request: Optional[ - Union[ - shared.GetAppEntitlementMonitorBindingRequest, - shared.GetAppEntitlementMonitorBindingRequestTypedDict, - ] - ] = None, + request: Union[ + shared.GetAppEntitlementMonitorBindingRequest, + shared.GetAppEntitlementMonitorBindingRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -464,9 +446,9 @@ def get_app_entitlement_monitor_binding( if not isinstance(request, BaseModel): request = utils.unmarshal( - request, Optional[shared.GetAppEntitlementMonitorBindingRequest] + request, shared.GetAppEntitlementMonitorBindingRequest ) - request = cast(Optional[shared.GetAppEntitlementMonitorBindingRequest], request) + request = cast(shared.GetAppEntitlementMonitorBindingRequest, request) req = self._build_request( method="POST", @@ -474,7 +456,7 @@ def get_app_entitlement_monitor_binding( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -484,9 +466,9 @@ def get_app_entitlement_monitor_binding( get_serialized_body=lambda: utils.serialize_request_body( request, False, - True, + False, "json", - Optional[shared.GetAppEntitlementMonitorBindingRequest], + shared.GetAppEntitlementMonitorBindingRequest, ), timeout_ms=timeout_ms, ) @@ -533,12 +515,10 @@ def get_app_entitlement_monitor_binding( async def get_app_entitlement_monitor_binding_async( self, *, - request: Optional[ - Union[ - shared.GetAppEntitlementMonitorBindingRequest, - shared.GetAppEntitlementMonitorBindingRequestTypedDict, - ] - ] = None, + request: Union[ + shared.GetAppEntitlementMonitorBindingRequest, + shared.GetAppEntitlementMonitorBindingRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -566,9 +546,9 @@ async def get_app_entitlement_monitor_binding_async( if not isinstance(request, BaseModel): request = utils.unmarshal( - request, Optional[shared.GetAppEntitlementMonitorBindingRequest] + request, shared.GetAppEntitlementMonitorBindingRequest ) - request = cast(Optional[shared.GetAppEntitlementMonitorBindingRequest], request) + request = cast(shared.GetAppEntitlementMonitorBindingRequest, request) req = self._build_request_async( method="POST", @@ -576,7 +556,7 @@ async def get_app_entitlement_monitor_binding_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -586,9 +566,9 @@ async def get_app_entitlement_monitor_binding_async( get_serialized_body=lambda: utils.serialize_request_body( request, False, - True, + False, "json", - Optional[shared.GetAppEntitlementMonitorBindingRequest], + shared.GetAppEntitlementMonitorBindingRequest, ), timeout_ms=timeout_ms, ) diff --git a/src/sdk/appentitlementowners.py b/src/sdk/appentitlementowners.py index ccea5489..60c87438 100644 --- a/src/sdk/appentitlementowners.py +++ b/src/sdk/appentitlementowners.py @@ -54,7 +54,7 @@ def add( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -64,9 +64,9 @@ def add( get_serialized_body=lambda: utils.serialize_request_body( request.add_app_entitlement_owner_request, False, - True, + False, "json", - Optional[shared.AddAppEntitlementOwnerRequest], + shared.AddAppEntitlementOwnerRequest, ), timeout_ms=timeout_ms, ) @@ -154,7 +154,7 @@ async def add_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -164,9 +164,9 @@ async def add_async( get_serialized_body=lambda: utils.serialize_request_body( request.add_app_entitlement_owner_request, False, - True, + False, "json", - Optional[shared.AddAppEntitlementOwnerRequest], + shared.AddAppEntitlementOwnerRequest, ), timeout_ms=timeout_ms, ) @@ -254,7 +254,7 @@ def delete( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -264,9 +264,9 @@ def delete( get_serialized_body=lambda: utils.serialize_request_body( request.delete_app_entitlement_owners_request, False, - True, + False, "json", - Optional[shared.DeleteAppEntitlementOwnersRequest], + shared.DeleteAppEntitlementOwnersRequest, ), timeout_ms=timeout_ms, ) @@ -354,7 +354,7 @@ async def delete_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -364,9 +364,9 @@ async def delete_async( get_serialized_body=lambda: utils.serialize_request_body( request.delete_app_entitlement_owners_request, False, - True, + False, "json", - Optional[shared.DeleteAppEntitlementOwnersRequest], + shared.DeleteAppEntitlementOwnersRequest, ), timeout_ms=timeout_ms, ) @@ -830,7 +830,7 @@ def remove( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -840,9 +840,9 @@ def remove( get_serialized_body=lambda: utils.serialize_request_body( request.remove_app_entitlement_owner_request, False, - True, + False, "json", - Optional[shared.RemoveAppEntitlementOwnerRequest], + shared.RemoveAppEntitlementOwnerRequest, ), timeout_ms=timeout_ms, ) @@ -930,7 +930,7 @@ async def remove_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -940,9 +940,9 @@ async def remove_async( get_serialized_body=lambda: utils.serialize_request_body( request.remove_app_entitlement_owner_request, False, - True, + False, "json", - Optional[shared.RemoveAppEntitlementOwnerRequest], + shared.RemoveAppEntitlementOwnerRequest, ), timeout_ms=timeout_ms, ) @@ -1030,7 +1030,7 @@ def set( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -1040,9 +1040,9 @@ def set( get_serialized_body=lambda: utils.serialize_request_body( request.set_app_entitlement_owners_request, False, - True, + False, "json", - Optional[shared.SetAppEntitlementOwnersRequest], + shared.SetAppEntitlementOwnersRequest, ), timeout_ms=timeout_ms, ) @@ -1130,7 +1130,7 @@ async def set_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -1140,9 +1140,9 @@ async def set_async( get_serialized_body=lambda: utils.serialize_request_body( request.set_app_entitlement_owners_request, False, - True, + False, "json", - Optional[shared.SetAppEntitlementOwnersRequest], + shared.SetAppEntitlementOwnersRequest, ), timeout_ms=timeout_ms, ) diff --git a/src/sdk/appentitlements.py b/src/sdk/appentitlements.py index 14e1b5f9..cf82dd64 100644 --- a/src/sdk/appentitlements.py +++ b/src/sdk/appentitlements.py @@ -58,7 +58,7 @@ def add_automation_exclusion( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -68,9 +68,9 @@ def add_automation_exclusion( get_serialized_body=lambda: utils.serialize_request_body( request.add_automation_exclusion_request, False, - True, + False, "json", - Optional[shared.AddAutomationExclusionRequest], + shared.AddAutomationExclusionRequest, ), timeout_ms=timeout_ms, ) @@ -161,7 +161,7 @@ async def add_automation_exclusion_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -171,9 +171,9 @@ async def add_automation_exclusion_async( get_serialized_body=lambda: utils.serialize_request_body( request.add_automation_exclusion_request, False, - True, + False, "json", - Optional[shared.AddAutomationExclusionRequest], + shared.AddAutomationExclusionRequest, ), timeout_ms=timeout_ms, ) @@ -265,7 +265,7 @@ def add_manually_managed_members( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -275,9 +275,9 @@ def add_manually_managed_members( get_serialized_body=lambda: utils.serialize_request_body( request.add_manually_managed_users_request, False, - True, + False, "json", - Optional[shared.AddManuallyManagedUsersRequest], + shared.AddManuallyManagedUsersRequest, ), timeout_ms=timeout_ms, ) @@ -371,7 +371,7 @@ async def add_manually_managed_members_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -381,9 +381,9 @@ async def add_manually_managed_members_async( get_serialized_body=lambda: utils.serialize_request_body( request.add_manually_managed_users_request, False, - True, + False, "json", - Optional[shared.AddManuallyManagedUsersRequest], + shared.AddManuallyManagedUsersRequest, ), timeout_ms=timeout_ms, ) @@ -473,7 +473,7 @@ def create( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -483,9 +483,9 @@ def create( get_serialized_body=lambda: utils.serialize_request_body( request.create_app_entitlement_request, False, - True, + False, "json", - Optional[shared.CreateAppEntitlementRequest], + shared.CreateAppEntitlementRequest, ), timeout_ms=timeout_ms, ) @@ -573,7 +573,7 @@ async def create_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -583,9 +583,9 @@ async def create_async( get_serialized_body=lambda: utils.serialize_request_body( request.create_app_entitlement_request, False, - True, + False, "json", - Optional[shared.CreateAppEntitlementRequest], + shared.CreateAppEntitlementRequest, ), timeout_ms=timeout_ms, ) @@ -675,7 +675,7 @@ def create_automation( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -685,9 +685,9 @@ def create_automation( get_serialized_body=lambda: utils.serialize_request_body( request.create_automation_request, False, - True, + False, "json", - Optional[shared.CreateAutomationRequest], + shared.CreateAutomationRequest, ), timeout_ms=timeout_ms, ) @@ -777,7 +777,7 @@ async def create_automation_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -787,9 +787,9 @@ async def create_automation_async( get_serialized_body=lambda: utils.serialize_request_body( request.create_automation_request, False, - True, + False, "json", - Optional[shared.CreateAutomationRequest], + shared.CreateAutomationRequest, ), timeout_ms=timeout_ms, ) @@ -877,7 +877,7 @@ def delete( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -887,9 +887,9 @@ def delete( get_serialized_body=lambda: utils.serialize_request_body( request.delete_app_entitlement_request, False, - True, + False, "json", - Optional[shared.DeleteAppEntitlementRequest], + shared.DeleteAppEntitlementRequest, ), timeout_ms=timeout_ms, ) @@ -977,7 +977,7 @@ async def delete_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -987,9 +987,9 @@ async def delete_async( get_serialized_body=lambda: utils.serialize_request_body( request.delete_app_entitlement_request, False, - True, + False, "json", - Optional[shared.DeleteAppEntitlementRequest], + shared.DeleteAppEntitlementRequest, ), timeout_ms=timeout_ms, ) @@ -1079,7 +1079,7 @@ def delete_automation( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -1089,9 +1089,9 @@ def delete_automation( get_serialized_body=lambda: utils.serialize_request_body( request.delete_automation_request, False, - True, + False, "json", - Optional[shared.DeleteAutomationRequest], + shared.DeleteAutomationRequest, ), timeout_ms=timeout_ms, ) @@ -1181,7 +1181,7 @@ async def delete_automation_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -1191,9 +1191,9 @@ async def delete_automation_async( get_serialized_body=lambda: utils.serialize_request_body( request.delete_automation_request, False, - True, + False, "json", - Optional[shared.DeleteAutomationRequest], + shared.DeleteAutomationRequest, ), timeout_ms=timeout_ms, ) @@ -2613,7 +2613,7 @@ def remove_automation_exclusion( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -2623,9 +2623,9 @@ def remove_automation_exclusion( get_serialized_body=lambda: utils.serialize_request_body( request.remove_automation_exclusion_request, False, - True, + False, "json", - Optional[shared.RemoveAutomationExclusionRequest], + shared.RemoveAutomationExclusionRequest, ), timeout_ms=timeout_ms, ) @@ -2719,7 +2719,7 @@ async def remove_automation_exclusion_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -2729,9 +2729,9 @@ async def remove_automation_exclusion_async( get_serialized_body=lambda: utils.serialize_request_body( request.remove_automation_exclusion_request, False, - True, + False, "json", - Optional[shared.RemoveAutomationExclusionRequest], + shared.RemoveAutomationExclusionRequest, ), timeout_ms=timeout_ms, ) @@ -2825,7 +2825,7 @@ def remove_entitlement_membership( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -2835,9 +2835,9 @@ def remove_entitlement_membership( get_serialized_body=lambda: utils.serialize_request_body( request.remove_entitlement_membership_request, False, - True, + False, "json", - Optional[shared.RemoveEntitlementMembershipRequest], + shared.RemoveEntitlementMembershipRequest, ), timeout_ms=timeout_ms, ) @@ -2931,7 +2931,7 @@ async def remove_entitlement_membership_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -2941,9 +2941,9 @@ async def remove_entitlement_membership_async( get_serialized_body=lambda: utils.serialize_request_body( request.remove_entitlement_membership_request, False, - True, + False, "json", - Optional[shared.RemoveEntitlementMembershipRequest], + shared.RemoveEntitlementMembershipRequest, ), timeout_ms=timeout_ms, ) @@ -3033,7 +3033,7 @@ def update( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -3043,9 +3043,9 @@ def update( get_serialized_body=lambda: utils.serialize_request_body( request.update_app_entitlement_request, False, - True, + False, "json", - Optional[shared.UpdateAppEntitlementRequest], + shared.UpdateAppEntitlementRequest, ), timeout_ms=timeout_ms, ) @@ -3133,7 +3133,7 @@ async def update_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -3143,9 +3143,9 @@ async def update_async( get_serialized_body=lambda: utils.serialize_request_body( request.update_app_entitlement_request, False, - True, + False, "json", - Optional[shared.UpdateAppEntitlementRequest], + shared.UpdateAppEntitlementRequest, ), timeout_ms=timeout_ms, ) @@ -3235,7 +3235,7 @@ def update_automation( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -3245,9 +3245,9 @@ def update_automation( get_serialized_body=lambda: utils.serialize_request_body( request.app_entitlement_service_update_automation_request, False, - True, + False, "json", - Optional[shared.AppEntitlementServiceUpdateAutomationRequest], + shared.AppEntitlementServiceUpdateAutomationRequest, ), timeout_ms=timeout_ms, ) @@ -3338,7 +3338,7 @@ async def update_automation_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -3348,9 +3348,9 @@ async def update_automation_async( get_serialized_body=lambda: utils.serialize_request_body( request.app_entitlement_service_update_automation_request, False, - True, + False, "json", - Optional[shared.AppEntitlementServiceUpdateAutomationRequest], + shared.AppEntitlementServiceUpdateAutomationRequest, ), timeout_ms=timeout_ms, ) diff --git a/src/sdk/appentitlementsearch.py b/src/sdk/appentitlementsearch.py index 0475b5f8..2fccfce1 100644 --- a/src/sdk/appentitlementsearch.py +++ b/src/sdk/appentitlementsearch.py @@ -14,12 +14,10 @@ class AppEntitlementSearch(BaseSDK): def search( self, *, - request: Optional[ - Union[ - shared.AppEntitlementSearchServiceSearchRequest, - shared.AppEntitlementSearchServiceSearchRequestTypedDict, - ] - ] = None, + request: Union[ + shared.AppEntitlementSearchServiceSearchRequest, + shared.AppEntitlementSearchServiceSearchRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -47,11 +45,9 @@ def search( if not isinstance(request, BaseModel): request = utils.unmarshal( - request, Optional[shared.AppEntitlementSearchServiceSearchRequest] + request, shared.AppEntitlementSearchServiceSearchRequest ) - request = cast( - Optional[shared.AppEntitlementSearchServiceSearchRequest], request - ) + request = cast(shared.AppEntitlementSearchServiceSearchRequest, request) req = self._build_request( method="POST", @@ -59,7 +55,7 @@ def search( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -69,9 +65,9 @@ def search( get_serialized_body=lambda: utils.serialize_request_body( request, False, - True, + False, "json", - Optional[shared.AppEntitlementSearchServiceSearchRequest], + shared.AppEntitlementSearchServiceSearchRequest, ), timeout_ms=timeout_ms, ) @@ -164,12 +160,10 @@ def next_func() -> ( async def search_async( self, *, - request: Optional[ - Union[ - shared.AppEntitlementSearchServiceSearchRequest, - shared.AppEntitlementSearchServiceSearchRequestTypedDict, - ] - ] = None, + request: Union[ + shared.AppEntitlementSearchServiceSearchRequest, + shared.AppEntitlementSearchServiceSearchRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -197,11 +191,9 @@ async def search_async( if not isinstance(request, BaseModel): request = utils.unmarshal( - request, Optional[shared.AppEntitlementSearchServiceSearchRequest] + request, shared.AppEntitlementSearchServiceSearchRequest ) - request = cast( - Optional[shared.AppEntitlementSearchServiceSearchRequest], request - ) + request = cast(shared.AppEntitlementSearchServiceSearchRequest, request) req = self._build_request_async( method="POST", @@ -209,7 +201,7 @@ async def search_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -219,9 +211,9 @@ async def search_async( get_serialized_body=lambda: utils.serialize_request_body( request, False, - True, + False, "json", - Optional[shared.AppEntitlementSearchServiceSearchRequest], + shared.AppEntitlementSearchServiceSearchRequest, ), timeout_ms=timeout_ms, ) @@ -702,12 +694,10 @@ async def search_app_entitlements_with_expired_async( def search_grants( self, *, - request: Optional[ - Union[ - shared.AppEntitlementSearchServiceSearchGrantsRequest, - shared.AppEntitlementSearchServiceSearchGrantsRequestTypedDict, - ] - ] = None, + request: Union[ + shared.AppEntitlementSearchServiceSearchGrantsRequest, + shared.AppEntitlementSearchServiceSearchGrantsRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -735,11 +725,9 @@ def search_grants( if not isinstance(request, BaseModel): request = utils.unmarshal( - request, Optional[shared.AppEntitlementSearchServiceSearchGrantsRequest] + request, shared.AppEntitlementSearchServiceSearchGrantsRequest ) - request = cast( - Optional[shared.AppEntitlementSearchServiceSearchGrantsRequest], request - ) + request = cast(shared.AppEntitlementSearchServiceSearchGrantsRequest, request) req = self._build_request( method="POST", @@ -747,7 +735,7 @@ def search_grants( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -757,9 +745,9 @@ def search_grants( get_serialized_body=lambda: utils.serialize_request_body( request, False, - True, + False, "json", - Optional[shared.AppEntitlementSearchServiceSearchGrantsRequest], + shared.AppEntitlementSearchServiceSearchGrantsRequest, ), timeout_ms=timeout_ms, ) @@ -807,12 +795,10 @@ def search_grants( async def search_grants_async( self, *, - request: Optional[ - Union[ - shared.AppEntitlementSearchServiceSearchGrantsRequest, - shared.AppEntitlementSearchServiceSearchGrantsRequestTypedDict, - ] - ] = None, + request: Union[ + shared.AppEntitlementSearchServiceSearchGrantsRequest, + shared.AppEntitlementSearchServiceSearchGrantsRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -840,11 +826,9 @@ async def search_grants_async( if not isinstance(request, BaseModel): request = utils.unmarshal( - request, Optional[shared.AppEntitlementSearchServiceSearchGrantsRequest] + request, shared.AppEntitlementSearchServiceSearchGrantsRequest ) - request = cast( - Optional[shared.AppEntitlementSearchServiceSearchGrantsRequest], request - ) + request = cast(shared.AppEntitlementSearchServiceSearchGrantsRequest, request) req = self._build_request_async( method="POST", @@ -852,7 +836,7 @@ async def search_grants_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -862,9 +846,9 @@ async def search_grants_async( get_serialized_body=lambda: utils.serialize_request_body( request, False, - True, + False, "json", - Optional[shared.AppEntitlementSearchServiceSearchGrantsRequest], + shared.AppEntitlementSearchServiceSearchGrantsRequest, ), timeout_ms=timeout_ms, ) diff --git a/src/sdk/appentitlementsproxy.py b/src/sdk/appentitlementsproxy.py index 5268fc76..a0502f2c 100644 --- a/src/sdk/appentitlementsproxy.py +++ b/src/sdk/appentitlementsproxy.py @@ -54,7 +54,7 @@ def create( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -64,9 +64,9 @@ def create( get_serialized_body=lambda: utils.serialize_request_body( request.create_app_entitlement_proxy_request, False, - True, + False, "json", - Optional[shared.CreateAppEntitlementProxyRequest], + shared.CreateAppEntitlementProxyRequest, ), timeout_ms=timeout_ms, ) @@ -154,7 +154,7 @@ async def create_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -164,9 +164,9 @@ async def create_async( get_serialized_body=lambda: utils.serialize_request_body( request.create_app_entitlement_proxy_request, False, - True, + False, "json", - Optional[shared.CreateAppEntitlementProxyRequest], + shared.CreateAppEntitlementProxyRequest, ), timeout_ms=timeout_ms, ) @@ -254,7 +254,7 @@ def delete( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -264,9 +264,9 @@ def delete( get_serialized_body=lambda: utils.serialize_request_body( request.delete_app_entitlement_proxy_request, False, - True, + False, "json", - Optional[shared.DeleteAppEntitlementProxyRequest], + shared.DeleteAppEntitlementProxyRequest, ), timeout_ms=timeout_ms, ) @@ -354,7 +354,7 @@ async def delete_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -364,9 +364,9 @@ async def delete_async( get_serialized_body=lambda: utils.serialize_request_body( request.delete_app_entitlement_proxy_request, False, - True, + False, "json", - Optional[shared.DeleteAppEntitlementProxyRequest], + shared.DeleteAppEntitlementProxyRequest, ), timeout_ms=timeout_ms, ) diff --git a/src/sdk/appentitlementuserbinding.py b/src/sdk/appentitlementuserbinding.py index 17b4e3c4..9a21f20a 100644 --- a/src/sdk/appentitlementuserbinding.py +++ b/src/sdk/appentitlementuserbinding.py @@ -254,7 +254,7 @@ def remove_grant_duration( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -264,9 +264,9 @@ def remove_grant_duration( get_serialized_body=lambda: utils.serialize_request_body( request.remove_grant_duration_request, False, - True, + False, "json", - Optional[shared.RemoveGrantDurationRequest], + shared.RemoveGrantDurationRequest, ), timeout_ms=timeout_ms, ) @@ -360,7 +360,7 @@ async def remove_grant_duration_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -370,9 +370,9 @@ async def remove_grant_duration_async( get_serialized_body=lambda: utils.serialize_request_body( request.remove_grant_duration_request, False, - True, + False, "json", - Optional[shared.RemoveGrantDurationRequest], + shared.RemoveGrantDurationRequest, ), timeout_ms=timeout_ms, ) @@ -419,9 +419,9 @@ async def remove_grant_duration_async( def search_grant_feed( self, *, - request: Optional[ - Union[shared.SearchGrantFeedRequest, shared.SearchGrantFeedRequestTypedDict] - ] = None, + request: Union[ + shared.SearchGrantFeedRequest, shared.SearchGrantFeedRequestTypedDict + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -448,8 +448,8 @@ def search_grant_feed( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal(request, Optional[shared.SearchGrantFeedRequest]) - request = cast(Optional[shared.SearchGrantFeedRequest], request) + request = utils.unmarshal(request, shared.SearchGrantFeedRequest) + request = cast(shared.SearchGrantFeedRequest, request) req = self._build_request( method="POST", @@ -457,7 +457,7 @@ def search_grant_feed( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -465,7 +465,7 @@ def search_grant_feed( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, False, True, "json", Optional[shared.SearchGrantFeedRequest] + request, False, False, "json", shared.SearchGrantFeedRequest ), timeout_ms=timeout_ms, ) @@ -512,9 +512,9 @@ def search_grant_feed( async def search_grant_feed_async( self, *, - request: Optional[ - Union[shared.SearchGrantFeedRequest, shared.SearchGrantFeedRequestTypedDict] - ] = None, + request: Union[ + shared.SearchGrantFeedRequest, shared.SearchGrantFeedRequestTypedDict + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -541,8 +541,8 @@ async def search_grant_feed_async( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal(request, Optional[shared.SearchGrantFeedRequest]) - request = cast(Optional[shared.SearchGrantFeedRequest], request) + request = utils.unmarshal(request, shared.SearchGrantFeedRequest) + request = cast(shared.SearchGrantFeedRequest, request) req = self._build_request_async( method="POST", @@ -550,7 +550,7 @@ async def search_grant_feed_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -558,7 +558,7 @@ async def search_grant_feed_async( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, False, True, "json", Optional[shared.SearchGrantFeedRequest] + request, False, False, "json", shared.SearchGrantFeedRequest ), timeout_ms=timeout_ms, ) @@ -605,11 +605,9 @@ async def search_grant_feed_async( def search_past_grants( self, *, - request: Optional[ - Union[ - shared.SearchPastGrantsRequest, shared.SearchPastGrantsRequestTypedDict - ] - ] = None, + request: Union[ + shared.SearchPastGrantsRequest, shared.SearchPastGrantsRequestTypedDict + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -636,8 +634,8 @@ def search_past_grants( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal(request, Optional[shared.SearchPastGrantsRequest]) - request = cast(Optional[shared.SearchPastGrantsRequest], request) + request = utils.unmarshal(request, shared.SearchPastGrantsRequest) + request = cast(shared.SearchPastGrantsRequest, request) req = self._build_request( method="POST", @@ -645,7 +643,7 @@ def search_past_grants( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -653,7 +651,7 @@ def search_past_grants( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, False, True, "json", Optional[shared.SearchPastGrantsRequest] + request, False, False, "json", shared.SearchPastGrantsRequest ), timeout_ms=timeout_ms, ) @@ -700,11 +698,9 @@ def search_past_grants( async def search_past_grants_async( self, *, - request: Optional[ - Union[ - shared.SearchPastGrantsRequest, shared.SearchPastGrantsRequestTypedDict - ] - ] = None, + request: Union[ + shared.SearchPastGrantsRequest, shared.SearchPastGrantsRequestTypedDict + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -731,8 +727,8 @@ async def search_past_grants_async( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal(request, Optional[shared.SearchPastGrantsRequest]) - request = cast(Optional[shared.SearchPastGrantsRequest], request) + request = utils.unmarshal(request, shared.SearchPastGrantsRequest) + request = cast(shared.SearchPastGrantsRequest, request) req = self._build_request_async( method="POST", @@ -740,7 +736,7 @@ async def search_past_grants_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -748,7 +744,7 @@ async def search_past_grants_async( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, False, True, "json", Optional[shared.SearchPastGrantsRequest] + request, False, False, "json", shared.SearchPastGrantsRequest ), timeout_ms=timeout_ms, ) @@ -842,7 +838,7 @@ def update_grant_duration( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -852,9 +848,9 @@ def update_grant_duration( get_serialized_body=lambda: utils.serialize_request_body( request.update_grant_duration_request, False, - True, + False, "json", - Optional[shared.UpdateGrantDurationRequest], + shared.UpdateGrantDurationRequest, ), timeout_ms=timeout_ms, ) @@ -948,7 +944,7 @@ async def update_grant_duration_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -958,9 +954,9 @@ async def update_grant_duration_async( get_serialized_body=lambda: utils.serialize_request_body( request.update_grant_duration_request, False, - True, + False, "json", - Optional[shared.UpdateGrantDurationRequest], + shared.UpdateGrantDurationRequest, ), timeout_ms=timeout_ms, ) diff --git a/src/sdk/appowners.py b/src/sdk/appowners.py index defd7ca3..628f9253 100644 --- a/src/sdk/appowners.py +++ b/src/sdk/appowners.py @@ -52,7 +52,7 @@ def add( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -62,9 +62,9 @@ def add( get_serialized_body=lambda: utils.serialize_request_body( request.add_app_owner_request, False, - True, + False, "json", - Optional[shared.AddAppOwnerRequest], + shared.AddAppOwnerRequest, ), timeout_ms=timeout_ms, ) @@ -150,7 +150,7 @@ async def add_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -160,9 +160,9 @@ async def add_async( get_serialized_body=lambda: utils.serialize_request_body( request.add_app_owner_request, False, - True, + False, "json", - Optional[shared.AddAppOwnerRequest], + shared.AddAppOwnerRequest, ), timeout_ms=timeout_ms, ) @@ -250,7 +250,7 @@ def delete( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -260,9 +260,9 @@ def delete( get_serialized_body=lambda: utils.serialize_request_body( request.delete_app_owners_request, False, - True, + False, "json", - Optional[shared.DeleteAppOwnersRequest], + shared.DeleteAppOwnersRequest, ), timeout_ms=timeout_ms, ) @@ -350,7 +350,7 @@ async def delete_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -360,9 +360,9 @@ async def delete_async( get_serialized_body=lambda: utils.serialize_request_body( request.delete_app_owners_request, False, - True, + False, "json", - Optional[shared.DeleteAppOwnersRequest], + shared.DeleteAppOwnersRequest, ), timeout_ms=timeout_ms, ) @@ -822,7 +822,7 @@ def remove( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -832,9 +832,9 @@ def remove( get_serialized_body=lambda: utils.serialize_request_body( request.remove_app_owner_request, False, - True, + False, "json", - Optional[shared.RemoveAppOwnerRequest], + shared.RemoveAppOwnerRequest, ), timeout_ms=timeout_ms, ) @@ -922,7 +922,7 @@ async def remove_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -932,9 +932,9 @@ async def remove_async( get_serialized_body=lambda: utils.serialize_request_body( request.remove_app_owner_request, False, - True, + False, "json", - Optional[shared.RemoveAppOwnerRequest], + shared.RemoveAppOwnerRequest, ), timeout_ms=timeout_ms, ) @@ -1020,7 +1020,7 @@ def set( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -1030,9 +1030,9 @@ def set( get_serialized_body=lambda: utils.serialize_request_body( request.set_app_owners_request, False, - True, + False, "json", - Optional[shared.SetAppOwnersRequest], + shared.SetAppOwnersRequest, ), timeout_ms=timeout_ms, ) @@ -1118,7 +1118,7 @@ async def set_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -1128,9 +1128,9 @@ async def set_async( get_serialized_body=lambda: utils.serialize_request_body( request.set_app_owners_request, False, - True, + False, "json", - Optional[shared.SetAppOwnersRequest], + shared.SetAppOwnersRequest, ), timeout_ms=timeout_ms, ) diff --git a/src/sdk/appreportaction.py b/src/sdk/appreportaction.py index 35bf3f3a..2e72aaed 100644 --- a/src/sdk/appreportaction.py +++ b/src/sdk/appreportaction.py @@ -57,7 +57,7 @@ def generate_report( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -67,9 +67,9 @@ def generate_report( get_serialized_body=lambda: utils.serialize_request_body( request.app_actions_service_generate_report_request, False, - True, + False, "json", - Optional[shared.AppActionsServiceGenerateReportRequest], + shared.AppActionsServiceGenerateReportRequest, ), timeout_ms=timeout_ms, ) @@ -160,7 +160,7 @@ async def generate_report_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -170,9 +170,9 @@ async def generate_report_async( get_serialized_body=lambda: utils.serialize_request_body( request.app_actions_service_generate_report_request, False, - True, + False, "json", - Optional[shared.AppActionsServiceGenerateReportRequest], + shared.AppActionsServiceGenerateReportRequest, ), timeout_ms=timeout_ms, ) diff --git a/src/sdk/appresource.py b/src/sdk/appresource.py index d545084a..3f70fd91 100644 --- a/src/sdk/appresource.py +++ b/src/sdk/appresource.py @@ -60,7 +60,7 @@ def create_manually_managed_app_resource( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -70,9 +70,9 @@ def create_manually_managed_app_resource( get_serialized_body=lambda: utils.serialize_request_body( request.create_manually_managed_app_resource_request, False, - True, + False, "json", - Optional[shared.CreateManuallyManagedAppResourceRequest], + shared.CreateManuallyManagedAppResourceRequest, ), timeout_ms=timeout_ms, ) @@ -166,7 +166,7 @@ async def create_manually_managed_app_resource_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -176,9 +176,9 @@ async def create_manually_managed_app_resource_async( get_serialized_body=lambda: utils.serialize_request_body( request.create_manually_managed_app_resource_request, False, - True, + False, "json", - Optional[shared.CreateManuallyManagedAppResourceRequest], + shared.CreateManuallyManagedAppResourceRequest, ), timeout_ms=timeout_ms, ) @@ -272,7 +272,7 @@ def delete_manually_managed_app_resource( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -282,9 +282,9 @@ def delete_manually_managed_app_resource( get_serialized_body=lambda: utils.serialize_request_body( request.delete_manually_managed_app_resource_request, False, - True, + False, "json", - Optional[shared.DeleteManuallyManagedAppResourceRequest], + shared.DeleteManuallyManagedAppResourceRequest, ), timeout_ms=timeout_ms, ) @@ -378,7 +378,7 @@ async def delete_manually_managed_app_resource_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -388,9 +388,9 @@ async def delete_manually_managed_app_resource_async( get_serialized_body=lambda: utils.serialize_request_body( request.delete_manually_managed_app_resource_request, False, - True, + False, "json", - Optional[shared.DeleteManuallyManagedAppResourceRequest], + shared.DeleteManuallyManagedAppResourceRequest, ), timeout_ms=timeout_ms, ) @@ -850,7 +850,7 @@ def update( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -860,9 +860,9 @@ def update( get_serialized_body=lambda: utils.serialize_request_body( request.app_resource_service_update_request, False, - True, + False, "json", - Optional[shared.AppResourceServiceUpdateRequest], + shared.AppResourceServiceUpdateRequest, ), timeout_ms=timeout_ms, ) @@ -950,7 +950,7 @@ async def update_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -960,9 +960,9 @@ async def update_async( get_serialized_body=lambda: utils.serialize_request_body( request.app_resource_service_update_request, False, - True, + False, "json", - Optional[shared.AppResourceServiceUpdateRequest], + shared.AppResourceServiceUpdateRequest, ), timeout_ms=timeout_ms, ) diff --git a/src/sdk/appresourceowners.py b/src/sdk/appresourceowners.py index 7247be99..337f25b4 100644 --- a/src/sdk/appresourceowners.py +++ b/src/sdk/appresourceowners.py @@ -54,7 +54,7 @@ def add( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -64,9 +64,9 @@ def add( get_serialized_body=lambda: utils.serialize_request_body( request.add_app_resource_owner_request, False, - True, + False, "json", - Optional[shared.AddAppResourceOwnerRequest], + shared.AddAppResourceOwnerRequest, ), timeout_ms=timeout_ms, ) @@ -154,7 +154,7 @@ async def add_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -164,9 +164,9 @@ async def add_async( get_serialized_body=lambda: utils.serialize_request_body( request.add_app_resource_owner_request, False, - True, + False, "json", - Optional[shared.AddAppResourceOwnerRequest], + shared.AddAppResourceOwnerRequest, ), timeout_ms=timeout_ms, ) @@ -254,7 +254,7 @@ def delete( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -264,9 +264,9 @@ def delete( get_serialized_body=lambda: utils.serialize_request_body( request.delete_app_resource_owners_request, False, - True, + False, "json", - Optional[shared.DeleteAppResourceOwnersRequest], + shared.DeleteAppResourceOwnersRequest, ), timeout_ms=timeout_ms, ) @@ -354,7 +354,7 @@ async def delete_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -364,9 +364,9 @@ async def delete_async( get_serialized_body=lambda: utils.serialize_request_body( request.delete_app_resource_owners_request, False, - True, + False, "json", - Optional[shared.DeleteAppResourceOwnersRequest], + shared.DeleteAppResourceOwnersRequest, ), timeout_ms=timeout_ms, ) @@ -830,7 +830,7 @@ def remove( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -840,9 +840,9 @@ def remove( get_serialized_body=lambda: utils.serialize_request_body( request.remove_app_resource_owner_request, False, - True, + False, "json", - Optional[shared.RemoveAppResourceOwnerRequest], + shared.RemoveAppResourceOwnerRequest, ), timeout_ms=timeout_ms, ) @@ -930,7 +930,7 @@ async def remove_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -940,9 +940,9 @@ async def remove_async( get_serialized_body=lambda: utils.serialize_request_body( request.remove_app_resource_owner_request, False, - True, + False, "json", - Optional[shared.RemoveAppResourceOwnerRequest], + shared.RemoveAppResourceOwnerRequest, ), timeout_ms=timeout_ms, ) @@ -1030,7 +1030,7 @@ def set( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -1040,9 +1040,9 @@ def set( get_serialized_body=lambda: utils.serialize_request_body( request.set_app_resource_owners_request, False, - True, + False, "json", - Optional[shared.SetAppResourceOwnersRequest], + shared.SetAppResourceOwnersRequest, ), timeout_ms=timeout_ms, ) @@ -1130,7 +1130,7 @@ async def set_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -1140,9 +1140,9 @@ async def set_async( get_serialized_body=lambda: utils.serialize_request_body( request.set_app_resource_owners_request, False, - True, + False, "json", - Optional[shared.SetAppResourceOwnersRequest], + shared.SetAppResourceOwnersRequest, ), timeout_ms=timeout_ms, ) diff --git a/src/sdk/appresourcesearch.py b/src/sdk/appresourcesearch.py index fcabb4f7..5c504fb1 100644 --- a/src/sdk/appresourcesearch.py +++ b/src/sdk/appresourcesearch.py @@ -14,12 +14,10 @@ class AppResourceSearch(BaseSDK): def search_app_resource_types( self, *, - request: Optional[ - Union[ - shared.SearchAppResourceTypesRequest, - shared.SearchAppResourceTypesRequestTypedDict, - ] - ] = None, + request: Union[ + shared.SearchAppResourceTypesRequest, + shared.SearchAppResourceTypesRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -46,10 +44,8 @@ def search_app_resource_types( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal( - request, Optional[shared.SearchAppResourceTypesRequest] - ) - request = cast(Optional[shared.SearchAppResourceTypesRequest], request) + request = utils.unmarshal(request, shared.SearchAppResourceTypesRequest) + request = cast(shared.SearchAppResourceTypesRequest, request) req = self._build_request( method="POST", @@ -57,7 +53,7 @@ def search_app_resource_types( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -65,11 +61,7 @@ def search_app_resource_types( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, - False, - True, - "json", - Optional[shared.SearchAppResourceTypesRequest], + request, False, False, "json", shared.SearchAppResourceTypesRequest ), timeout_ms=timeout_ms, ) @@ -148,12 +140,10 @@ def next_func() -> ( async def search_app_resource_types_async( self, *, - request: Optional[ - Union[ - shared.SearchAppResourceTypesRequest, - shared.SearchAppResourceTypesRequestTypedDict, - ] - ] = None, + request: Union[ + shared.SearchAppResourceTypesRequest, + shared.SearchAppResourceTypesRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -180,10 +170,8 @@ async def search_app_resource_types_async( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal( - request, Optional[shared.SearchAppResourceTypesRequest] - ) - request = cast(Optional[shared.SearchAppResourceTypesRequest], request) + request = utils.unmarshal(request, shared.SearchAppResourceTypesRequest) + request = cast(shared.SearchAppResourceTypesRequest, request) req = self._build_request_async( method="POST", @@ -191,7 +179,7 @@ async def search_app_resource_types_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -199,11 +187,7 @@ async def search_app_resource_types_async( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, - False, - True, - "json", - Optional[shared.SearchAppResourceTypesRequest], + request, False, False, "json", shared.SearchAppResourceTypesRequest ), timeout_ms=timeout_ms, ) @@ -282,12 +266,9 @@ def next_func() -> ( def search_app_resources( self, *, - request: Optional[ - Union[ - shared.SearchAppResourcesRequest, - shared.SearchAppResourcesRequestTypedDict, - ] - ] = None, + request: Union[ + shared.SearchAppResourcesRequest, shared.SearchAppResourcesRequestTypedDict + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -314,10 +295,8 @@ def search_app_resources( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal( - request, Optional[shared.SearchAppResourcesRequest] - ) - request = cast(Optional[shared.SearchAppResourcesRequest], request) + request = utils.unmarshal(request, shared.SearchAppResourcesRequest) + request = cast(shared.SearchAppResourcesRequest, request) req = self._build_request( method="POST", @@ -325,7 +304,7 @@ def search_app_resources( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -333,7 +312,7 @@ def search_app_resources( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, False, True, "json", Optional[shared.SearchAppResourcesRequest] + request, False, False, "json", shared.SearchAppResourcesRequest ), timeout_ms=timeout_ms, ) @@ -412,12 +391,9 @@ def next_func() -> ( async def search_app_resources_async( self, *, - request: Optional[ - Union[ - shared.SearchAppResourcesRequest, - shared.SearchAppResourcesRequestTypedDict, - ] - ] = None, + request: Union[ + shared.SearchAppResourcesRequest, shared.SearchAppResourcesRequestTypedDict + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -444,10 +420,8 @@ async def search_app_resources_async( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal( - request, Optional[shared.SearchAppResourcesRequest] - ) - request = cast(Optional[shared.SearchAppResourcesRequest], request) + request = utils.unmarshal(request, shared.SearchAppResourcesRequest) + request = cast(shared.SearchAppResourcesRequest, request) req = self._build_request_async( method="POST", @@ -455,7 +429,7 @@ async def search_app_resources_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -463,7 +437,7 @@ async def search_app_resources_async( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, False, True, "json", Optional[shared.SearchAppResourcesRequest] + request, False, False, "json", shared.SearchAppResourcesRequest ), timeout_ms=timeout_ms, ) diff --git a/src/sdk/appresourcetype.py b/src/sdk/appresourcetype.py index 34f035c4..f448248a 100644 --- a/src/sdk/appresourcetype.py +++ b/src/sdk/appresourcetype.py @@ -58,7 +58,7 @@ def create_manually_managed_resource_type( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -68,9 +68,9 @@ def create_manually_managed_resource_type( get_serialized_body=lambda: utils.serialize_request_body( request.create_manually_managed_resource_type_request, False, - True, + False, "json", - Optional[shared.CreateManuallyManagedResourceTypeRequest], + shared.CreateManuallyManagedResourceTypeRequest, ), timeout_ms=timeout_ms, ) @@ -162,7 +162,7 @@ async def create_manually_managed_resource_type_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -172,9 +172,9 @@ async def create_manually_managed_resource_type_async( get_serialized_body=lambda: utils.serialize_request_body( request.create_manually_managed_resource_type_request, False, - True, + False, "json", - Optional[shared.CreateManuallyManagedResourceTypeRequest], + shared.CreateManuallyManagedResourceTypeRequest, ), timeout_ms=timeout_ms, ) @@ -266,7 +266,7 @@ def delete_manually_managed_resource_type( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -276,9 +276,9 @@ def delete_manually_managed_resource_type( get_serialized_body=lambda: utils.serialize_request_body( request.delete_manually_managed_resource_type_request, False, - True, + False, "json", - Optional[shared.DeleteManuallyManagedResourceTypeRequest], + shared.DeleteManuallyManagedResourceTypeRequest, ), timeout_ms=timeout_ms, ) @@ -370,7 +370,7 @@ async def delete_manually_managed_resource_type_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -380,9 +380,9 @@ async def delete_manually_managed_resource_type_async( get_serialized_body=lambda: utils.serialize_request_body( request.delete_manually_managed_resource_type_request, False, - True, + False, "json", - Optional[shared.DeleteManuallyManagedResourceTypeRequest], + shared.DeleteManuallyManagedResourceTypeRequest, ), timeout_ms=timeout_ms, ) @@ -846,7 +846,7 @@ def update_manually_managed_resource_type( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -856,9 +856,9 @@ def update_manually_managed_resource_type( get_serialized_body=lambda: utils.serialize_request_body( request.update_manually_managed_resource_type_request, False, - True, + False, "json", - Optional[shared.UpdateManuallyManagedResourceTypeRequest], + shared.UpdateManuallyManagedResourceTypeRequest, ), timeout_ms=timeout_ms, ) @@ -950,7 +950,7 @@ async def update_manually_managed_resource_type_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -960,9 +960,9 @@ async def update_manually_managed_resource_type_async( get_serialized_body=lambda: utils.serialize_request_body( request.update_manually_managed_resource_type_request, False, - True, + False, "json", - Optional[shared.UpdateManuallyManagedResourceTypeRequest], + shared.UpdateManuallyManagedResourceTypeRequest, ), timeout_ms=timeout_ms, ) diff --git a/src/sdk/apps.py b/src/sdk/apps.py index de484ea8..8711458a 100644 --- a/src/sdk/apps.py +++ b/src/sdk/apps.py @@ -13,9 +13,7 @@ class Apps(BaseSDK): def create( self, *, - request: Optional[ - Union[shared.CreateAppRequest, shared.CreateAppRequestTypedDict] - ] = None, + request: Union[shared.CreateAppRequest, shared.CreateAppRequestTypedDict], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -42,8 +40,8 @@ def create( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal(request, Optional[shared.CreateAppRequest]) - request = cast(Optional[shared.CreateAppRequest], request) + request = utils.unmarshal(request, shared.CreateAppRequest) + request = cast(shared.CreateAppRequest, request) req = self._build_request( method="POST", @@ -51,7 +49,7 @@ def create( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -59,7 +57,7 @@ def create( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, False, True, "json", Optional[shared.CreateAppRequest] + request, False, False, "json", shared.CreateAppRequest ), timeout_ms=timeout_ms, ) @@ -106,9 +104,7 @@ def create( async def create_async( self, *, - request: Optional[ - Union[shared.CreateAppRequest, shared.CreateAppRequestTypedDict] - ] = None, + request: Union[shared.CreateAppRequest, shared.CreateAppRequestTypedDict], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -135,8 +131,8 @@ async def create_async( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal(request, Optional[shared.CreateAppRequest]) - request = cast(Optional[shared.CreateAppRequest], request) + request = utils.unmarshal(request, shared.CreateAppRequest) + request = cast(shared.CreateAppRequest, request) req = self._build_request_async( method="POST", @@ -144,7 +140,7 @@ async def create_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -152,7 +148,7 @@ async def create_async( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, False, True, "json", Optional[shared.CreateAppRequest] + request, False, False, "json", shared.CreateAppRequest ), timeout_ms=timeout_ms, ) @@ -238,7 +234,7 @@ def delete( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -248,9 +244,9 @@ def delete( get_serialized_body=lambda: utils.serialize_request_body( request.delete_app_request, False, - True, + False, "json", - Optional[shared.DeleteAppRequest], + shared.DeleteAppRequest, ), timeout_ms=timeout_ms, ) @@ -336,7 +332,7 @@ async def delete_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -346,9 +342,9 @@ async def delete_async( get_serialized_body=lambda: utils.serialize_request_body( request.delete_app_request, False, - True, + False, "json", - Optional[shared.DeleteAppRequest], + shared.DeleteAppRequest, ), timeout_ms=timeout_ms, ) @@ -798,7 +794,7 @@ def update( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -808,9 +804,9 @@ def update( get_serialized_body=lambda: utils.serialize_request_body( request.update_app_request, False, - True, + False, "json", - Optional[shared.UpdateAppRequest], + shared.UpdateAppRequest, ), timeout_ms=timeout_ms, ) @@ -896,7 +892,7 @@ async def update_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -906,9 +902,9 @@ async def update_async( get_serialized_body=lambda: utils.serialize_request_body( request.update_app_request, False, - True, + False, "json", - Optional[shared.UpdateAppRequest], + shared.UpdateAppRequest, ), timeout_ms=timeout_ms, ) diff --git a/src/sdk/appsearch.py b/src/sdk/appsearch.py index af42a50d..8daf36cf 100644 --- a/src/sdk/appsearch.py +++ b/src/sdk/appsearch.py @@ -14,9 +14,7 @@ class AppSearch(BaseSDK): def search( self, *, - request: Optional[ - Union[shared.SearchAppsRequest, shared.SearchAppsRequestTypedDict] - ] = None, + request: Union[shared.SearchAppsRequest, shared.SearchAppsRequestTypedDict], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -43,8 +41,8 @@ def search( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal(request, Optional[shared.SearchAppsRequest]) - request = cast(Optional[shared.SearchAppsRequest], request) + request = utils.unmarshal(request, shared.SearchAppsRequest) + request = cast(shared.SearchAppsRequest, request) req = self._build_request( method="POST", @@ -52,7 +50,7 @@ def search( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -60,7 +58,7 @@ def search( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, False, True, "json", Optional[shared.SearchAppsRequest] + request, False, False, "json", shared.SearchAppsRequest ), timeout_ms=timeout_ms, ) @@ -133,9 +131,7 @@ def next_func() -> Optional[operations.C1APIAppV1AppSearchSearchResponse]: async def search_async( self, *, - request: Optional[ - Union[shared.SearchAppsRequest, shared.SearchAppsRequestTypedDict] - ] = None, + request: Union[shared.SearchAppsRequest, shared.SearchAppsRequestTypedDict], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -162,8 +158,8 @@ async def search_async( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal(request, Optional[shared.SearchAppsRequest]) - request = cast(Optional[shared.SearchAppsRequest], request) + request = utils.unmarshal(request, shared.SearchAppsRequest) + request = cast(shared.SearchAppsRequest, request) req = self._build_request_async( method="POST", @@ -171,7 +167,7 @@ async def search_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -179,7 +175,7 @@ async def search_async( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, False, True, "json", Optional[shared.SearchAppsRequest] + request, False, False, "json", shared.SearchAppsRequest ), timeout_ms=timeout_ms, ) diff --git a/src/sdk/appusagecontrols.py b/src/sdk/appusagecontrols.py index 8eab0d24..64344214 100644 --- a/src/sdk/appusagecontrols.py +++ b/src/sdk/appusagecontrols.py @@ -242,7 +242,7 @@ def update( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -252,9 +252,9 @@ def update( get_serialized_body=lambda: utils.serialize_request_body( request.update_app_usage_controls_request, False, - True, + False, "json", - Optional[shared.UpdateAppUsageControlsRequest], + shared.UpdateAppUsageControlsRequest, ), timeout_ms=timeout_ms, ) @@ -344,7 +344,7 @@ async def update_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -354,9 +354,9 @@ async def update_async( get_serialized_body=lambda: utils.serialize_request_body( request.update_app_usage_controls_request, False, - True, + False, "json", - Optional[shared.UpdateAppUsageControlsRequest], + shared.UpdateAppUsageControlsRequest, ), timeout_ms=timeout_ms, ) diff --git a/src/sdk/appuser.py b/src/sdk/appuser.py index 79a0376a..4405f0ad 100644 --- a/src/sdk/appuser.py +++ b/src/sdk/appuser.py @@ -581,12 +581,10 @@ async def list_app_users_for_user_async( def search( self, *, - request: Optional[ - Union[ - shared.AppUserServiceSearchRequest, - shared.AppUserServiceSearchRequestTypedDict, - ] - ] = None, + request: Union[ + shared.AppUserServiceSearchRequest, + shared.AppUserServiceSearchRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -613,10 +611,8 @@ def search( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal( - request, Optional[shared.AppUserServiceSearchRequest] - ) - request = cast(Optional[shared.AppUserServiceSearchRequest], request) + request = utils.unmarshal(request, shared.AppUserServiceSearchRequest) + request = cast(shared.AppUserServiceSearchRequest, request) req = self._build_request( method="POST", @@ -624,7 +620,7 @@ def search( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -632,11 +628,7 @@ def search( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, - False, - True, - "json", - Optional[shared.AppUserServiceSearchRequest], + request, False, False, "json", shared.AppUserServiceSearchRequest ), timeout_ms=timeout_ms, ) @@ -683,12 +675,10 @@ def search( async def search_async( self, *, - request: Optional[ - Union[ - shared.AppUserServiceSearchRequest, - shared.AppUserServiceSearchRequestTypedDict, - ] - ] = None, + request: Union[ + shared.AppUserServiceSearchRequest, + shared.AppUserServiceSearchRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -715,10 +705,8 @@ async def search_async( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal( - request, Optional[shared.AppUserServiceSearchRequest] - ) - request = cast(Optional[shared.AppUserServiceSearchRequest], request) + request = utils.unmarshal(request, shared.AppUserServiceSearchRequest) + request = cast(shared.AppUserServiceSearchRequest, request) req = self._build_request_async( method="POST", @@ -726,7 +714,7 @@ async def search_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -734,11 +722,7 @@ async def search_async( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, - False, - True, - "json", - Optional[shared.AppUserServiceSearchRequest], + request, False, False, "json", shared.AppUserServiceSearchRequest ), timeout_ms=timeout_ms, ) @@ -827,7 +811,7 @@ def update( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -837,9 +821,9 @@ def update( get_serialized_body=lambda: utils.serialize_request_body( request.app_user_service_update_request, False, - True, + False, "json", - Optional[shared.AppUserServiceUpdateRequest], + shared.AppUserServiceUpdateRequest, ), timeout_ms=timeout_ms, ) @@ -928,7 +912,7 @@ async def update_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -938,9 +922,9 @@ async def update_async( get_serialized_body=lambda: utils.serialize_request_body( request.app_user_service_update_request, False, - True, + False, "json", - Optional[shared.AppUserServiceUpdateRequest], + shared.AppUserServiceUpdateRequest, ), timeout_ms=timeout_ms, ) diff --git a/src/sdk/attributes.py b/src/sdk/attributes.py index 43140f50..cec5ba29 100644 --- a/src/sdk/attributes.py +++ b/src/sdk/attributes.py @@ -13,12 +13,10 @@ class Attributes(BaseSDK): def create_attribute_value( self, *, - request: Optional[ - Union[ - shared.CreateAttributeValueRequest, - shared.CreateAttributeValueRequestTypedDict, - ] - ] = None, + request: Union[ + shared.CreateAttributeValueRequest, + shared.CreateAttributeValueRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -45,10 +43,8 @@ def create_attribute_value( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal( - request, Optional[shared.CreateAttributeValueRequest] - ) - request = cast(Optional[shared.CreateAttributeValueRequest], request) + request = utils.unmarshal(request, shared.CreateAttributeValueRequest) + request = cast(shared.CreateAttributeValueRequest, request) req = self._build_request( method="POST", @@ -56,7 +52,7 @@ def create_attribute_value( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -64,11 +60,7 @@ def create_attribute_value( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, - False, - True, - "json", - Optional[shared.CreateAttributeValueRequest], + request, False, False, "json", shared.CreateAttributeValueRequest ), timeout_ms=timeout_ms, ) @@ -115,12 +107,10 @@ def create_attribute_value( async def create_attribute_value_async( self, *, - request: Optional[ - Union[ - shared.CreateAttributeValueRequest, - shared.CreateAttributeValueRequestTypedDict, - ] - ] = None, + request: Union[ + shared.CreateAttributeValueRequest, + shared.CreateAttributeValueRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -147,10 +137,8 @@ async def create_attribute_value_async( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal( - request, Optional[shared.CreateAttributeValueRequest] - ) - request = cast(Optional[shared.CreateAttributeValueRequest], request) + request = utils.unmarshal(request, shared.CreateAttributeValueRequest) + request = cast(shared.CreateAttributeValueRequest, request) req = self._build_request_async( method="POST", @@ -158,7 +146,7 @@ async def create_attribute_value_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -166,11 +154,7 @@ async def create_attribute_value_async( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, - False, - True, - "json", - Optional[shared.CreateAttributeValueRequest], + request, False, False, "json", shared.CreateAttributeValueRequest ), timeout_ms=timeout_ms, ) @@ -217,12 +201,10 @@ async def create_attribute_value_async( def create_compliance_framework_attribute_value( self, *, - request: Optional[ - Union[ - shared.CreateComplianceFrameworkAttributeValueRequest, - shared.CreateComplianceFrameworkAttributeValueRequestTypedDict, - ] - ] = None, + request: Union[ + shared.CreateComplianceFrameworkAttributeValueRequest, + shared.CreateComplianceFrameworkAttributeValueRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -250,11 +232,9 @@ def create_compliance_framework_attribute_value( if not isinstance(request, BaseModel): request = utils.unmarshal( - request, Optional[shared.CreateComplianceFrameworkAttributeValueRequest] + request, shared.CreateComplianceFrameworkAttributeValueRequest ) - request = cast( - Optional[shared.CreateComplianceFrameworkAttributeValueRequest], request - ) + request = cast(shared.CreateComplianceFrameworkAttributeValueRequest, request) req = self._build_request( method="POST", @@ -262,7 +242,7 @@ def create_compliance_framework_attribute_value( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -272,9 +252,9 @@ def create_compliance_framework_attribute_value( get_serialized_body=lambda: utils.serialize_request_body( request, False, - True, + False, "json", - Optional[shared.CreateComplianceFrameworkAttributeValueRequest], + shared.CreateComplianceFrameworkAttributeValueRequest, ), timeout_ms=timeout_ms, ) @@ -322,12 +302,10 @@ def create_compliance_framework_attribute_value( async def create_compliance_framework_attribute_value_async( self, *, - request: Optional[ - Union[ - shared.CreateComplianceFrameworkAttributeValueRequest, - shared.CreateComplianceFrameworkAttributeValueRequestTypedDict, - ] - ] = None, + request: Union[ + shared.CreateComplianceFrameworkAttributeValueRequest, + shared.CreateComplianceFrameworkAttributeValueRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -355,11 +333,9 @@ async def create_compliance_framework_attribute_value_async( if not isinstance(request, BaseModel): request = utils.unmarshal( - request, Optional[shared.CreateComplianceFrameworkAttributeValueRequest] + request, shared.CreateComplianceFrameworkAttributeValueRequest ) - request = cast( - Optional[shared.CreateComplianceFrameworkAttributeValueRequest], request - ) + request = cast(shared.CreateComplianceFrameworkAttributeValueRequest, request) req = self._build_request_async( method="POST", @@ -367,7 +343,7 @@ async def create_compliance_framework_attribute_value_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -377,9 +353,9 @@ async def create_compliance_framework_attribute_value_async( get_serialized_body=lambda: utils.serialize_request_body( request, False, - True, + False, "json", - Optional[shared.CreateComplianceFrameworkAttributeValueRequest], + shared.CreateComplianceFrameworkAttributeValueRequest, ), timeout_ms=timeout_ms, ) @@ -427,12 +403,10 @@ async def create_compliance_framework_attribute_value_async( def create_risk_level_attribute_value( self, *, - request: Optional[ - Union[ - shared.CreateRiskLevelAttributeValueRequest, - shared.CreateRiskLevelAttributeValueRequestTypedDict, - ] - ] = None, + request: Union[ + shared.CreateRiskLevelAttributeValueRequest, + shared.CreateRiskLevelAttributeValueRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -460,9 +434,9 @@ def create_risk_level_attribute_value( if not isinstance(request, BaseModel): request = utils.unmarshal( - request, Optional[shared.CreateRiskLevelAttributeValueRequest] + request, shared.CreateRiskLevelAttributeValueRequest ) - request = cast(Optional[shared.CreateRiskLevelAttributeValueRequest], request) + request = cast(shared.CreateRiskLevelAttributeValueRequest, request) req = self._build_request( method="POST", @@ -470,7 +444,7 @@ def create_risk_level_attribute_value( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -480,9 +454,9 @@ def create_risk_level_attribute_value( get_serialized_body=lambda: utils.serialize_request_body( request, False, - True, + False, "json", - Optional[shared.CreateRiskLevelAttributeValueRequest], + shared.CreateRiskLevelAttributeValueRequest, ), timeout_ms=timeout_ms, ) @@ -529,12 +503,10 @@ def create_risk_level_attribute_value( async def create_risk_level_attribute_value_async( self, *, - request: Optional[ - Union[ - shared.CreateRiskLevelAttributeValueRequest, - shared.CreateRiskLevelAttributeValueRequestTypedDict, - ] - ] = None, + request: Union[ + shared.CreateRiskLevelAttributeValueRequest, + shared.CreateRiskLevelAttributeValueRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -562,9 +534,9 @@ async def create_risk_level_attribute_value_async( if not isinstance(request, BaseModel): request = utils.unmarshal( - request, Optional[shared.CreateRiskLevelAttributeValueRequest] + request, shared.CreateRiskLevelAttributeValueRequest ) - request = cast(Optional[shared.CreateRiskLevelAttributeValueRequest], request) + request = cast(shared.CreateRiskLevelAttributeValueRequest, request) req = self._build_request_async( method="POST", @@ -572,7 +544,7 @@ async def create_risk_level_attribute_value_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -582,9 +554,9 @@ async def create_risk_level_attribute_value_async( get_serialized_body=lambda: utils.serialize_request_body( request, False, - True, + False, "json", - Optional[shared.CreateRiskLevelAttributeValueRequest], + shared.CreateRiskLevelAttributeValueRequest, ), timeout_ms=timeout_ms, ) @@ -675,7 +647,7 @@ def delete_attribute_value( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -685,9 +657,9 @@ def delete_attribute_value( get_serialized_body=lambda: utils.serialize_request_body( request.delete_attribute_value_request, False, - True, + False, "json", - Optional[shared.DeleteAttributeValueRequest], + shared.DeleteAttributeValueRequest, ), timeout_ms=timeout_ms, ) @@ -778,7 +750,7 @@ async def delete_attribute_value_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -788,9 +760,9 @@ async def delete_attribute_value_async( get_serialized_body=lambda: utils.serialize_request_body( request.delete_attribute_value_request, False, - True, + False, "json", - Optional[shared.DeleteAttributeValueRequest], + shared.DeleteAttributeValueRequest, ), timeout_ms=timeout_ms, ) @@ -882,7 +854,7 @@ def delete_compliance_framework_attribute_value( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -892,9 +864,9 @@ def delete_compliance_framework_attribute_value( get_serialized_body=lambda: utils.serialize_request_body( request.delete_compliance_framework_attribute_value_request, False, - True, + False, "json", - Optional[shared.DeleteComplianceFrameworkAttributeValueRequest], + shared.DeleteComplianceFrameworkAttributeValueRequest, ), timeout_ms=timeout_ms, ) @@ -987,7 +959,7 @@ async def delete_compliance_framework_attribute_value_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -997,9 +969,9 @@ async def delete_compliance_framework_attribute_value_async( get_serialized_body=lambda: utils.serialize_request_body( request.delete_compliance_framework_attribute_value_request, False, - True, + False, "json", - Optional[shared.DeleteComplianceFrameworkAttributeValueRequest], + shared.DeleteComplianceFrameworkAttributeValueRequest, ), timeout_ms=timeout_ms, ) @@ -1092,7 +1064,7 @@ def delete_risk_level_attribute_value( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -1102,9 +1074,9 @@ def delete_risk_level_attribute_value( get_serialized_body=lambda: utils.serialize_request_body( request.delete_risk_level_attribute_value_request, False, - True, + False, "json", - Optional[shared.DeleteRiskLevelAttributeValueRequest], + shared.DeleteRiskLevelAttributeValueRequest, ), timeout_ms=timeout_ms, ) @@ -1196,7 +1168,7 @@ async def delete_risk_level_attribute_value_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -1206,9 +1178,9 @@ async def delete_risk_level_attribute_value_async( get_serialized_body=lambda: utils.serialize_request_body( request.delete_risk_level_attribute_value_request, False, - True, + False, "json", - Optional[shared.DeleteRiskLevelAttributeValueRequest], + shared.DeleteRiskLevelAttributeValueRequest, ), timeout_ms=timeout_ms, ) diff --git a/src/sdk/attributesearch.py b/src/sdk/attributesearch.py index 0cf952ce..6452c38a 100644 --- a/src/sdk/attributesearch.py +++ b/src/sdk/attributesearch.py @@ -13,12 +13,10 @@ class AttributeSearch(BaseSDK): def search_attribute_values( self, *, - request: Optional[ - Union[ - shared.SearchAttributeValuesRequest, - shared.SearchAttributeValuesRequestTypedDict, - ] - ] = None, + request: Union[ + shared.SearchAttributeValuesRequest, + shared.SearchAttributeValuesRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -45,10 +43,8 @@ def search_attribute_values( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal( - request, Optional[shared.SearchAttributeValuesRequest] - ) - request = cast(Optional[shared.SearchAttributeValuesRequest], request) + request = utils.unmarshal(request, shared.SearchAttributeValuesRequest) + request = cast(shared.SearchAttributeValuesRequest, request) req = self._build_request( method="POST", @@ -56,7 +52,7 @@ def search_attribute_values( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -64,11 +60,7 @@ def search_attribute_values( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, - False, - True, - "json", - Optional[shared.SearchAttributeValuesRequest], + request, False, False, "json", shared.SearchAttributeValuesRequest ), timeout_ms=timeout_ms, ) @@ -117,12 +109,10 @@ def search_attribute_values( async def search_attribute_values_async( self, *, - request: Optional[ - Union[ - shared.SearchAttributeValuesRequest, - shared.SearchAttributeValuesRequestTypedDict, - ] - ] = None, + request: Union[ + shared.SearchAttributeValuesRequest, + shared.SearchAttributeValuesRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -149,10 +139,8 @@ async def search_attribute_values_async( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal( - request, Optional[shared.SearchAttributeValuesRequest] - ) - request = cast(Optional[shared.SearchAttributeValuesRequest], request) + request = utils.unmarshal(request, shared.SearchAttributeValuesRequest) + request = cast(shared.SearchAttributeValuesRequest, request) req = self._build_request_async( method="POST", @@ -160,7 +148,7 @@ async def search_attribute_values_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -168,11 +156,7 @@ async def search_attribute_values_async( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, - False, - True, - "json", - Optional[shared.SearchAttributeValuesRequest], + request, False, False, "json", shared.SearchAttributeValuesRequest ), timeout_ms=timeout_ms, ) diff --git a/src/sdk/automation.py b/src/sdk/automation.py index 55fb443c..85414dc7 100644 --- a/src/sdk/automation.py +++ b/src/sdk/automation.py @@ -13,12 +13,10 @@ class Automation(BaseSDK): def create_automation( self, *, - request: Optional[ - Union[ - shared.CreateAutomationRequestInput, - shared.CreateAutomationRequestInputTypedDict, - ] - ] = None, + request: Union[ + shared.CreateAutomationRequestInput, + shared.CreateAutomationRequestInputTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -45,10 +43,8 @@ def create_automation( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal( - request, Optional[shared.CreateAutomationRequestInput] - ) - request = cast(Optional[shared.CreateAutomationRequestInput], request) + request = utils.unmarshal(request, shared.CreateAutomationRequestInput) + request = cast(shared.CreateAutomationRequestInput, request) req = self._build_request( method="POST", @@ -56,7 +52,7 @@ def create_automation( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -64,11 +60,7 @@ def create_automation( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, - False, - True, - "json", - Optional[shared.CreateAutomationRequestInput], + request, False, False, "json", shared.CreateAutomationRequestInput ), timeout_ms=timeout_ms, ) @@ -117,12 +109,10 @@ def create_automation( async def create_automation_async( self, *, - request: Optional[ - Union[ - shared.CreateAutomationRequestInput, - shared.CreateAutomationRequestInputTypedDict, - ] - ] = None, + request: Union[ + shared.CreateAutomationRequestInput, + shared.CreateAutomationRequestInputTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -149,10 +139,8 @@ async def create_automation_async( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal( - request, Optional[shared.CreateAutomationRequestInput] - ) - request = cast(Optional[shared.CreateAutomationRequestInput], request) + request = utils.unmarshal(request, shared.CreateAutomationRequestInput) + request = cast(shared.CreateAutomationRequestInput, request) req = self._build_request_async( method="POST", @@ -160,7 +148,7 @@ async def create_automation_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -168,11 +156,7 @@ async def create_automation_async( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, - False, - True, - "json", - Optional[shared.CreateAutomationRequestInput], + request, False, False, "json", shared.CreateAutomationRequestInput ), timeout_ms=timeout_ms, ) @@ -266,7 +250,7 @@ def delete_automation( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -276,9 +260,9 @@ def delete_automation( get_serialized_body=lambda: utils.serialize_request_body( request.delete_automation_request, False, - True, + False, "json", - Optional[shared.DeleteAutomationRequest], + shared.DeleteAutomationRequest, ), timeout_ms=timeout_ms, ) @@ -372,7 +356,7 @@ async def delete_automation_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -382,9 +366,9 @@ async def delete_automation_async( get_serialized_body=lambda: utils.serialize_request_body( request.delete_automation_request, False, - True, + False, "json", - Optional[shared.DeleteAutomationRequest], + shared.DeleteAutomationRequest, ), timeout_ms=timeout_ms, ) @@ -478,7 +462,7 @@ def execute_automation( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -488,9 +472,9 @@ def execute_automation( get_serialized_body=lambda: utils.serialize_request_body( request.execute_automation_request, False, - True, + False, "json", - Optional[shared.ExecuteAutomationRequest], + shared.ExecuteAutomationRequest, ), timeout_ms=timeout_ms, ) @@ -584,7 +568,7 @@ async def execute_automation_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -594,9 +578,9 @@ async def execute_automation_async( get_serialized_body=lambda: utils.serialize_request_body( request.execute_automation_request, False, - True, + False, "json", - Optional[shared.ExecuteAutomationRequest], + shared.ExecuteAutomationRequest, ), timeout_ms=timeout_ms, ) @@ -1048,7 +1032,7 @@ def update_automation( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -1058,9 +1042,9 @@ def update_automation( get_serialized_body=lambda: utils.serialize_request_body( request.update_automation_request, False, - True, + False, "json", - Optional[shared.UpdateAutomationRequest], + shared.UpdateAutomationRequest, ), timeout_ms=timeout_ms, ) @@ -1154,7 +1138,7 @@ async def update_automation_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -1164,9 +1148,9 @@ async def update_automation_async( get_serialized_body=lambda: utils.serialize_request_body( request.update_automation_request, False, - True, + False, "json", - Optional[shared.UpdateAutomationRequest], + shared.UpdateAutomationRequest, ), timeout_ms=timeout_ms, ) diff --git a/src/sdk/automationexecutionactions.py b/src/sdk/automationexecutionactions.py index 46616b43..e7b9129a 100644 --- a/src/sdk/automationexecutionactions.py +++ b/src/sdk/automationexecutionactions.py @@ -58,7 +58,7 @@ def terminate_automation( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -68,9 +68,9 @@ def terminate_automation( get_serialized_body=lambda: utils.serialize_request_body( request.terminate_automation_request, False, - True, + False, "json", - Optional[shared.TerminateAutomationRequest], + shared.TerminateAutomationRequest, ), timeout_ms=timeout_ms, ) @@ -162,7 +162,7 @@ async def terminate_automation_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -172,9 +172,9 @@ async def terminate_automation_async( get_serialized_body=lambda: utils.serialize_request_body( request.terminate_automation_request, False, - True, + False, "json", - Optional[shared.TerminateAutomationRequest], + shared.TerminateAutomationRequest, ), timeout_ms=timeout_ms, ) diff --git a/src/sdk/automationexecutionsearch.py b/src/sdk/automationexecutionsearch.py index 1974d1d3..28c8e445 100644 --- a/src/sdk/automationexecutionsearch.py +++ b/src/sdk/automationexecutionsearch.py @@ -13,12 +13,10 @@ class AutomationExecutionSearch(BaseSDK): def search_automation_executions( self, *, - request: Optional[ - Union[ - shared.SearchAutomationExecutionsRequest, - shared.SearchAutomationExecutionsRequestTypedDict, - ] - ] = None, + request: Union[ + shared.SearchAutomationExecutionsRequest, + shared.SearchAutomationExecutionsRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -45,10 +43,8 @@ def search_automation_executions( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal( - request, Optional[shared.SearchAutomationExecutionsRequest] - ) - request = cast(Optional[shared.SearchAutomationExecutionsRequest], request) + request = utils.unmarshal(request, shared.SearchAutomationExecutionsRequest) + request = cast(shared.SearchAutomationExecutionsRequest, request) req = self._build_request( method="POST", @@ -56,7 +52,7 @@ def search_automation_executions( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -64,11 +60,7 @@ def search_automation_executions( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, - False, - True, - "json", - Optional[shared.SearchAutomationExecutionsRequest], + request, False, False, "json", shared.SearchAutomationExecutionsRequest ), timeout_ms=timeout_ms, ) @@ -115,12 +107,10 @@ def search_automation_executions( async def search_automation_executions_async( self, *, - request: Optional[ - Union[ - shared.SearchAutomationExecutionsRequest, - shared.SearchAutomationExecutionsRequestTypedDict, - ] - ] = None, + request: Union[ + shared.SearchAutomationExecutionsRequest, + shared.SearchAutomationExecutionsRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -147,10 +137,8 @@ async def search_automation_executions_async( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal( - request, Optional[shared.SearchAutomationExecutionsRequest] - ) - request = cast(Optional[shared.SearchAutomationExecutionsRequest], request) + request = utils.unmarshal(request, shared.SearchAutomationExecutionsRequest) + request = cast(shared.SearchAutomationExecutionsRequest, request) req = self._build_request_async( method="POST", @@ -158,7 +146,7 @@ async def search_automation_executions_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -166,11 +154,7 @@ async def search_automation_executions_async( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, - False, - True, - "json", - Optional[shared.SearchAutomationExecutionsRequest], + request, False, False, "json", shared.SearchAutomationExecutionsRequest ), timeout_ms=timeout_ms, ) diff --git a/src/sdk/automationsearch.py b/src/sdk/automationsearch.py index d906b4f3..af230c8e 100644 --- a/src/sdk/automationsearch.py +++ b/src/sdk/automationsearch.py @@ -13,12 +13,10 @@ class AutomationSearch(BaseSDK): def search_automation_template_versions( self, *, - request: Optional[ - Union[ - shared.SearchAutomationTemplateVersionsRequest, - shared.SearchAutomationTemplateVersionsRequestTypedDict, - ] - ] = None, + request: Union[ + shared.SearchAutomationTemplateVersionsRequest, + shared.SearchAutomationTemplateVersionsRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -46,11 +44,9 @@ def search_automation_template_versions( if not isinstance(request, BaseModel): request = utils.unmarshal( - request, Optional[shared.SearchAutomationTemplateVersionsRequest] + request, shared.SearchAutomationTemplateVersionsRequest ) - request = cast( - Optional[shared.SearchAutomationTemplateVersionsRequest], request - ) + request = cast(shared.SearchAutomationTemplateVersionsRequest, request) req = self._build_request( method="POST", @@ -58,7 +54,7 @@ def search_automation_template_versions( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -68,9 +64,9 @@ def search_automation_template_versions( get_serialized_body=lambda: utils.serialize_request_body( request, False, - True, + False, "json", - Optional[shared.SearchAutomationTemplateVersionsRequest], + shared.SearchAutomationTemplateVersionsRequest, ), timeout_ms=timeout_ms, ) @@ -117,12 +113,10 @@ def search_automation_template_versions( async def search_automation_template_versions_async( self, *, - request: Optional[ - Union[ - shared.SearchAutomationTemplateVersionsRequest, - shared.SearchAutomationTemplateVersionsRequestTypedDict, - ] - ] = None, + request: Union[ + shared.SearchAutomationTemplateVersionsRequest, + shared.SearchAutomationTemplateVersionsRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -150,11 +144,9 @@ async def search_automation_template_versions_async( if not isinstance(request, BaseModel): request = utils.unmarshal( - request, Optional[shared.SearchAutomationTemplateVersionsRequest] + request, shared.SearchAutomationTemplateVersionsRequest ) - request = cast( - Optional[shared.SearchAutomationTemplateVersionsRequest], request - ) + request = cast(shared.SearchAutomationTemplateVersionsRequest, request) req = self._build_request_async( method="POST", @@ -162,7 +154,7 @@ async def search_automation_template_versions_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -172,9 +164,9 @@ async def search_automation_template_versions_async( get_serialized_body=lambda: utils.serialize_request_body( request, False, - True, + False, "json", - Optional[shared.SearchAutomationTemplateVersionsRequest], + shared.SearchAutomationTemplateVersionsRequest, ), timeout_ms=timeout_ms, ) @@ -221,12 +213,9 @@ async def search_automation_template_versions_async( def search_automations( self, *, - request: Optional[ - Union[ - shared.SearchAutomationsRequest, - shared.SearchAutomationsRequestTypedDict, - ] - ] = None, + request: Union[ + shared.SearchAutomationsRequest, shared.SearchAutomationsRequestTypedDict + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -253,10 +242,8 @@ def search_automations( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal( - request, Optional[shared.SearchAutomationsRequest] - ) - request = cast(Optional[shared.SearchAutomationsRequest], request) + request = utils.unmarshal(request, shared.SearchAutomationsRequest) + request = cast(shared.SearchAutomationsRequest, request) req = self._build_request( method="POST", @@ -264,7 +251,7 @@ def search_automations( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -272,7 +259,7 @@ def search_automations( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, False, True, "json", Optional[shared.SearchAutomationsRequest] + request, False, False, "json", shared.SearchAutomationsRequest ), timeout_ms=timeout_ms, ) @@ -319,12 +306,9 @@ def search_automations( async def search_automations_async( self, *, - request: Optional[ - Union[ - shared.SearchAutomationsRequest, - shared.SearchAutomationsRequestTypedDict, - ] - ] = None, + request: Union[ + shared.SearchAutomationsRequest, shared.SearchAutomationsRequestTypedDict + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -351,10 +335,8 @@ async def search_automations_async( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal( - request, Optional[shared.SearchAutomationsRequest] - ) - request = cast(Optional[shared.SearchAutomationsRequest], request) + request = utils.unmarshal(request, shared.SearchAutomationsRequest) + request = cast(shared.SearchAutomationsRequest, request) req = self._build_request_async( method="POST", @@ -362,7 +344,7 @@ async def search_automations_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -370,7 +352,7 @@ async def search_automations_async( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, False, True, "json", Optional[shared.SearchAutomationsRequest] + request, False, False, "json", shared.SearchAutomationsRequest ), timeout_ms=timeout_ms, ) diff --git a/src/sdk/connector.py b/src/sdk/connector.py index f83c4aa2..4dd60edf 100644 --- a/src/sdk/connector.py +++ b/src/sdk/connector.py @@ -56,7 +56,7 @@ def confirm_sync_valid( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -66,9 +66,9 @@ def confirm_sync_valid( get_serialized_body=lambda: utils.serialize_request_body( request.confirm_sync_valid_request, False, - True, + False, "json", - Optional[shared.ConfirmSyncValidRequest], + shared.ConfirmSyncValidRequest, ), timeout_ms=timeout_ms, ) @@ -158,7 +158,7 @@ async def confirm_sync_valid_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -168,9 +168,9 @@ async def confirm_sync_valid_async( get_serialized_body=lambda: utils.serialize_request_body( request.confirm_sync_valid_request, False, - True, + False, "json", - Optional[shared.ConfirmSyncValidRequest], + shared.ConfirmSyncValidRequest, ), timeout_ms=timeout_ms, ) @@ -258,7 +258,7 @@ def create( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -268,9 +268,9 @@ def create( get_serialized_body=lambda: utils.serialize_request_body( request.connector_service_create_request, False, - True, + False, "json", - Optional[shared.ConnectorServiceCreateRequest], + shared.ConnectorServiceCreateRequest, ), timeout_ms=timeout_ms, ) @@ -358,7 +358,7 @@ async def create_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -368,9 +368,9 @@ async def create_async( get_serialized_body=lambda: utils.serialize_request_body( request.connector_service_create_request, False, - True, + False, "json", - Optional[shared.ConnectorServiceCreateRequest], + shared.ConnectorServiceCreateRequest, ), timeout_ms=timeout_ms, ) @@ -460,7 +460,7 @@ def create_delegated( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -470,9 +470,9 @@ def create_delegated( get_serialized_body=lambda: utils.serialize_request_body( request.connector_service_create_delegated_request, False, - True, + False, "json", - Optional[shared.ConnectorServiceCreateDelegatedRequest], + shared.ConnectorServiceCreateDelegatedRequest, ), timeout_ms=timeout_ms, ) @@ -562,7 +562,7 @@ async def create_delegated_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -572,9 +572,9 @@ async def create_delegated_async( get_serialized_body=lambda: utils.serialize_request_body( request.connector_service_create_delegated_request, False, - True, + False, "json", - Optional[shared.ConnectorServiceCreateDelegatedRequest], + shared.ConnectorServiceCreateDelegatedRequest, ), timeout_ms=timeout_ms, ) @@ -662,7 +662,7 @@ def delete( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -672,9 +672,9 @@ def delete( get_serialized_body=lambda: utils.serialize_request_body( request.connector_service_delete_request, False, - True, + False, "json", - Optional[shared.ConnectorServiceDeleteRequest], + shared.ConnectorServiceDeleteRequest, ), timeout_ms=timeout_ms, ) @@ -762,7 +762,7 @@ async def delete_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -772,9 +772,9 @@ async def delete_async( get_serialized_body=lambda: utils.serialize_request_body( request.connector_service_delete_request, False, - True, + False, "json", - Optional[shared.ConnectorServiceDeleteRequest], + shared.ConnectorServiceDeleteRequest, ), timeout_ms=timeout_ms, ) @@ -862,7 +862,7 @@ def force_sync( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -872,9 +872,9 @@ def force_sync( get_serialized_body=lambda: utils.serialize_request_body( request.force_sync_request, False, - True, + False, "json", - Optional[shared.ForceSyncRequest], + shared.ForceSyncRequest, ), timeout_ms=timeout_ms, ) @@ -962,7 +962,7 @@ async def force_sync_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -972,9 +972,9 @@ async def force_sync_async( get_serialized_body=lambda: utils.serialize_request_body( request.force_sync_request, False, - True, + False, "json", - Optional[shared.ForceSyncRequest], + shared.ForceSyncRequest, ), timeout_ms=timeout_ms, ) @@ -1624,7 +1624,7 @@ def pause_sync( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -1634,9 +1634,9 @@ def pause_sync( get_serialized_body=lambda: utils.serialize_request_body( request.pause_sync_request, False, - True, + False, "json", - Optional[shared.PauseSyncRequest], + shared.PauseSyncRequest, ), timeout_ms=timeout_ms, ) @@ -1724,7 +1724,7 @@ async def pause_sync_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -1734,9 +1734,9 @@ async def pause_sync_async( get_serialized_body=lambda: utils.serialize_request_body( request.pause_sync_request, False, - True, + False, "json", - Optional[shared.PauseSyncRequest], + shared.PauseSyncRequest, ), timeout_ms=timeout_ms, ) @@ -1824,7 +1824,7 @@ def resume_sync( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -1834,9 +1834,9 @@ def resume_sync( get_serialized_body=lambda: utils.serialize_request_body( request.resume_sync_request, False, - True, + False, "json", - Optional[shared.ResumeSyncRequest], + shared.ResumeSyncRequest, ), timeout_ms=timeout_ms, ) @@ -1924,7 +1924,7 @@ async def resume_sync_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -1934,9 +1934,9 @@ async def resume_sync_async( get_serialized_body=lambda: utils.serialize_request_body( request.resume_sync_request, False, - True, + False, "json", - Optional[shared.ResumeSyncRequest], + shared.ResumeSyncRequest, ), timeout_ms=timeout_ms, ) @@ -2026,7 +2026,7 @@ def revoke_credential( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -2036,9 +2036,9 @@ def revoke_credential( get_serialized_body=lambda: utils.serialize_request_body( request.connector_service_revoke_credential_request, False, - True, + False, "json", - Optional[shared.ConnectorServiceRevokeCredentialRequest], + shared.ConnectorServiceRevokeCredentialRequest, ), timeout_ms=timeout_ms, ) @@ -2128,7 +2128,7 @@ async def revoke_credential_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -2138,9 +2138,9 @@ async def revoke_credential_async( get_serialized_body=lambda: utils.serialize_request_body( request.connector_service_revoke_credential_request, False, - True, + False, "json", - Optional[shared.ConnectorServiceRevokeCredentialRequest], + shared.ConnectorServiceRevokeCredentialRequest, ), timeout_ms=timeout_ms, ) @@ -2187,12 +2187,10 @@ async def revoke_credential_async( def rotate_credential( self, *, - request: Optional[ - Union[ - shared.ConnectorServiceRotateCredentialRequest, - shared.ConnectorServiceRotateCredentialRequestTypedDict, - ] - ] = None, + request: Union[ + shared.ConnectorServiceRotateCredentialRequest, + shared.ConnectorServiceRotateCredentialRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -2220,11 +2218,9 @@ def rotate_credential( if not isinstance(request, BaseModel): request = utils.unmarshal( - request, Optional[shared.ConnectorServiceRotateCredentialRequest] + request, shared.ConnectorServiceRotateCredentialRequest ) - request = cast( - Optional[shared.ConnectorServiceRotateCredentialRequest], request - ) + request = cast(shared.ConnectorServiceRotateCredentialRequest, request) req = self._build_request( method="POST", @@ -2232,7 +2228,7 @@ def rotate_credential( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -2242,9 +2238,9 @@ def rotate_credential( get_serialized_body=lambda: utils.serialize_request_body( request, False, - True, + False, "json", - Optional[shared.ConnectorServiceRotateCredentialRequest], + shared.ConnectorServiceRotateCredentialRequest, ), timeout_ms=timeout_ms, ) @@ -2291,12 +2287,10 @@ def rotate_credential( async def rotate_credential_async( self, *, - request: Optional[ - Union[ - shared.ConnectorServiceRotateCredentialRequest, - shared.ConnectorServiceRotateCredentialRequestTypedDict, - ] - ] = None, + request: Union[ + shared.ConnectorServiceRotateCredentialRequest, + shared.ConnectorServiceRotateCredentialRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -2324,11 +2318,9 @@ async def rotate_credential_async( if not isinstance(request, BaseModel): request = utils.unmarshal( - request, Optional[shared.ConnectorServiceRotateCredentialRequest] + request, shared.ConnectorServiceRotateCredentialRequest ) - request = cast( - Optional[shared.ConnectorServiceRotateCredentialRequest], request - ) + request = cast(shared.ConnectorServiceRotateCredentialRequest, request) req = self._build_request_async( method="POST", @@ -2336,7 +2328,7 @@ async def rotate_credential_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -2346,9 +2338,9 @@ async def rotate_credential_async( get_serialized_body=lambda: utils.serialize_request_body( request, False, - True, + False, "json", - Optional[shared.ConnectorServiceRotateCredentialRequest], + shared.ConnectorServiceRotateCredentialRequest, ), timeout_ms=timeout_ms, ) @@ -2436,7 +2428,7 @@ def update( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -2446,9 +2438,9 @@ def update( get_serialized_body=lambda: utils.serialize_request_body( request.connector_service_update_request, False, - True, + False, "json", - Optional[shared.ConnectorServiceUpdateRequest], + shared.ConnectorServiceUpdateRequest, ), timeout_ms=timeout_ms, ) @@ -2536,7 +2528,7 @@ async def update_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -2546,9 +2538,9 @@ async def update_async( get_serialized_body=lambda: utils.serialize_request_body( request.connector_service_update_request, False, - True, + False, "json", - Optional[shared.ConnectorServiceUpdateRequest], + shared.ConnectorServiceUpdateRequest, ), timeout_ms=timeout_ms, ) @@ -2638,7 +2630,7 @@ def update_delegated( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -2648,9 +2640,9 @@ def update_delegated( get_serialized_body=lambda: utils.serialize_request_body( request.connector_service_update_delegated_request, False, - True, + False, "json", - Optional[shared.ConnectorServiceUpdateDelegatedRequest], + shared.ConnectorServiceUpdateDelegatedRequest, ), timeout_ms=timeout_ms, ) @@ -2740,7 +2732,7 @@ async def update_delegated_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -2750,9 +2742,9 @@ async def update_delegated_async( get_serialized_body=lambda: utils.serialize_request_body( request.connector_service_update_delegated_request, False, - True, + False, "json", - Optional[shared.ConnectorServiceUpdateDelegatedRequest], + shared.ConnectorServiceUpdateDelegatedRequest, ), timeout_ms=timeout_ms, ) @@ -2799,9 +2791,9 @@ async def update_delegated_async( def validate_http_connector_config( self, *, - request: Optional[ - Union[shared.EditorValidateRequest, shared.EditorValidateRequestTypedDict] - ] = None, + request: Union[ + shared.EditorValidateRequest, shared.EditorValidateRequestTypedDict + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -2828,8 +2820,8 @@ def validate_http_connector_config( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal(request, Optional[shared.EditorValidateRequest]) - request = cast(Optional[shared.EditorValidateRequest], request) + request = utils.unmarshal(request, shared.EditorValidateRequest) + request = cast(shared.EditorValidateRequest, request) req = self._build_request( method="POST", @@ -2837,7 +2829,7 @@ def validate_http_connector_config( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -2845,7 +2837,7 @@ def validate_http_connector_config( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, False, True, "json", Optional[shared.EditorValidateRequest] + request, False, False, "json", shared.EditorValidateRequest ), timeout_ms=timeout_ms, ) @@ -2892,9 +2884,9 @@ def validate_http_connector_config( async def validate_http_connector_config_async( self, *, - request: Optional[ - Union[shared.EditorValidateRequest, shared.EditorValidateRequestTypedDict] - ] = None, + request: Union[ + shared.EditorValidateRequest, shared.EditorValidateRequestTypedDict + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -2921,8 +2913,8 @@ async def validate_http_connector_config_async( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal(request, Optional[shared.EditorValidateRequest]) - request = cast(Optional[shared.EditorValidateRequest], request) + request = utils.unmarshal(request, shared.EditorValidateRequest) + request = cast(shared.EditorValidateRequest, request) req = self._build_request_async( method="POST", @@ -2930,7 +2922,7 @@ async def validate_http_connector_config_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -2938,7 +2930,7 @@ async def validate_http_connector_config_async( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, False, True, "json", Optional[shared.EditorValidateRequest] + request, False, False, "json", shared.EditorValidateRequest ), timeout_ms=timeout_ms, ) diff --git a/src/sdk/connectorcatalog.py b/src/sdk/connectorcatalog.py index 9d2bee5b..45607844 100644 --- a/src/sdk/connectorcatalog.py +++ b/src/sdk/connectorcatalog.py @@ -13,12 +13,10 @@ class ConnectorCatalog(BaseSDK): def configuration_schema( self, *, - request: Optional[ - Union[ - shared.ConnectorCatalogServiceConfigurationSchemaRequest, - shared.ConnectorCatalogServiceConfigurationSchemaRequestTypedDict, - ] - ] = None, + request: Union[ + shared.ConnectorCatalogServiceConfigurationSchemaRequest, + shared.ConnectorCatalogServiceConfigurationSchemaRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -46,11 +44,10 @@ def configuration_schema( if not isinstance(request, BaseModel): request = utils.unmarshal( - request, - Optional[shared.ConnectorCatalogServiceConfigurationSchemaRequest], + request, shared.ConnectorCatalogServiceConfigurationSchemaRequest ) request = cast( - Optional[shared.ConnectorCatalogServiceConfigurationSchemaRequest], request + shared.ConnectorCatalogServiceConfigurationSchemaRequest, request ) req = self._build_request( @@ -59,7 +56,7 @@ def configuration_schema( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -69,9 +66,9 @@ def configuration_schema( get_serialized_body=lambda: utils.serialize_request_body( request, False, - True, + False, "json", - Optional[shared.ConnectorCatalogServiceConfigurationSchemaRequest], + shared.ConnectorCatalogServiceConfigurationSchemaRequest, ), timeout_ms=timeout_ms, ) @@ -119,12 +116,10 @@ def configuration_schema( async def configuration_schema_async( self, *, - request: Optional[ - Union[ - shared.ConnectorCatalogServiceConfigurationSchemaRequest, - shared.ConnectorCatalogServiceConfigurationSchemaRequestTypedDict, - ] - ] = None, + request: Union[ + shared.ConnectorCatalogServiceConfigurationSchemaRequest, + shared.ConnectorCatalogServiceConfigurationSchemaRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -152,11 +147,10 @@ async def configuration_schema_async( if not isinstance(request, BaseModel): request = utils.unmarshal( - request, - Optional[shared.ConnectorCatalogServiceConfigurationSchemaRequest], + request, shared.ConnectorCatalogServiceConfigurationSchemaRequest ) request = cast( - Optional[shared.ConnectorCatalogServiceConfigurationSchemaRequest], request + shared.ConnectorCatalogServiceConfigurationSchemaRequest, request ) req = self._build_request_async( @@ -165,7 +159,7 @@ async def configuration_schema_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -175,9 +169,9 @@ async def configuration_schema_async( get_serialized_body=lambda: utils.serialize_request_body( request, False, - True, + False, "json", - Optional[shared.ConnectorCatalogServiceConfigurationSchemaRequest], + shared.ConnectorCatalogServiceConfigurationSchemaRequest, ), timeout_ms=timeout_ms, ) diff --git a/src/sdk/directory.py b/src/sdk/directory.py index f2269ae8..21c62932 100644 --- a/src/sdk/directory.py +++ b/src/sdk/directory.py @@ -13,12 +13,10 @@ class Directory(BaseSDK): def create( self, *, - request: Optional[ - Union[ - shared.DirectoryServiceCreateRequest, - shared.DirectoryServiceCreateRequestTypedDict, - ] - ] = None, + request: Union[ + shared.DirectoryServiceCreateRequest, + shared.DirectoryServiceCreateRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -45,10 +43,8 @@ def create( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal( - request, Optional[shared.DirectoryServiceCreateRequest] - ) - request = cast(Optional[shared.DirectoryServiceCreateRequest], request) + request = utils.unmarshal(request, shared.DirectoryServiceCreateRequest) + request = cast(shared.DirectoryServiceCreateRequest, request) req = self._build_request( method="POST", @@ -56,7 +52,7 @@ def create( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -64,11 +60,7 @@ def create( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, - False, - True, - "json", - Optional[shared.DirectoryServiceCreateRequest], + request, False, False, "json", shared.DirectoryServiceCreateRequest ), timeout_ms=timeout_ms, ) @@ -115,12 +107,10 @@ def create( async def create_async( self, *, - request: Optional[ - Union[ - shared.DirectoryServiceCreateRequest, - shared.DirectoryServiceCreateRequestTypedDict, - ] - ] = None, + request: Union[ + shared.DirectoryServiceCreateRequest, + shared.DirectoryServiceCreateRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -147,10 +137,8 @@ async def create_async( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal( - request, Optional[shared.DirectoryServiceCreateRequest] - ) - request = cast(Optional[shared.DirectoryServiceCreateRequest], request) + request = utils.unmarshal(request, shared.DirectoryServiceCreateRequest) + request = cast(shared.DirectoryServiceCreateRequest, request) req = self._build_request_async( method="POST", @@ -158,7 +146,7 @@ async def create_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -166,11 +154,7 @@ async def create_async( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, - False, - True, - "json", - Optional[shared.DirectoryServiceCreateRequest], + request, False, False, "json", shared.DirectoryServiceCreateRequest ), timeout_ms=timeout_ms, ) @@ -260,7 +244,7 @@ def delete( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -270,9 +254,9 @@ def delete( get_serialized_body=lambda: utils.serialize_request_body( request.directory_service_delete_request, False, - True, + False, "json", - Optional[shared.DirectoryServiceDeleteRequest], + shared.DirectoryServiceDeleteRequest, ), timeout_ms=timeout_ms, ) @@ -362,7 +346,7 @@ async def delete_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -372,9 +356,9 @@ async def delete_async( get_serialized_body=lambda: utils.serialize_request_body( request.directory_service_delete_request, False, - True, + False, "json", - Optional[shared.DirectoryServiceDeleteRequest], + shared.DirectoryServiceDeleteRequest, ), timeout_ms=timeout_ms, ) @@ -836,7 +820,7 @@ def update( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -846,9 +830,9 @@ def update( get_serialized_body=lambda: utils.serialize_request_body( request.directory_service_update_request, False, - True, + False, "json", - Optional[shared.DirectoryServiceUpdateRequest], + shared.DirectoryServiceUpdateRequest, ), timeout_ms=timeout_ms, ) @@ -938,7 +922,7 @@ async def update_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -948,9 +932,9 @@ async def update_async( get_serialized_body=lambda: utils.serialize_request_body( request.directory_service_update_request, False, - True, + False, "json", - Optional[shared.DirectoryServiceUpdateRequest], + shared.DirectoryServiceUpdateRequest, ), timeout_ms=timeout_ms, ) diff --git a/src/sdk/export.py b/src/sdk/export.py index 71ad02c7..00e8dcf9 100644 --- a/src/sdk/export.py +++ b/src/sdk/export.py @@ -13,12 +13,10 @@ class Export(BaseSDK): def create( self, *, - request: Optional[ - Union[ - shared.ExportServiceCreateRequest, - shared.ExportServiceCreateRequestTypedDict, - ] - ] = None, + request: Union[ + shared.ExportServiceCreateRequest, + shared.ExportServiceCreateRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -45,10 +43,8 @@ def create( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal( - request, Optional[shared.ExportServiceCreateRequest] - ) - request = cast(Optional[shared.ExportServiceCreateRequest], request) + request = utils.unmarshal(request, shared.ExportServiceCreateRequest) + request = cast(shared.ExportServiceCreateRequest, request) req = self._build_request( method="POST", @@ -56,7 +52,7 @@ def create( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -64,11 +60,7 @@ def create( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, - False, - True, - "json", - Optional[shared.ExportServiceCreateRequest], + request, False, False, "json", shared.ExportServiceCreateRequest ), timeout_ms=timeout_ms, ) @@ -115,12 +107,10 @@ def create( async def create_async( self, *, - request: Optional[ - Union[ - shared.ExportServiceCreateRequest, - shared.ExportServiceCreateRequestTypedDict, - ] - ] = None, + request: Union[ + shared.ExportServiceCreateRequest, + shared.ExportServiceCreateRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -147,10 +137,8 @@ async def create_async( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal( - request, Optional[shared.ExportServiceCreateRequest] - ) - request = cast(Optional[shared.ExportServiceCreateRequest], request) + request = utils.unmarshal(request, shared.ExportServiceCreateRequest) + request = cast(shared.ExportServiceCreateRequest, request) req = self._build_request_async( method="POST", @@ -158,7 +146,7 @@ async def create_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -166,11 +154,7 @@ async def create_async( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, - False, - True, - "json", - Optional[shared.ExportServiceCreateRequest], + request, False, False, "json", shared.ExportServiceCreateRequest ), timeout_ms=timeout_ms, ) @@ -258,7 +242,7 @@ def delete( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -268,9 +252,9 @@ def delete( get_serialized_body=lambda: utils.serialize_request_body( request.export_service_delete_request, False, - True, + False, "json", - Optional[shared.ExportServiceDeleteRequest], + shared.ExportServiceDeleteRequest, ), timeout_ms=timeout_ms, ) @@ -358,7 +342,7 @@ async def delete_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -368,9 +352,9 @@ async def delete_async( get_serialized_body=lambda: utils.serialize_request_body( request.export_service_delete_request, False, - True, + False, "json", - Optional[shared.ExportServiceDeleteRequest], + shared.ExportServiceDeleteRequest, ), timeout_ms=timeout_ms, ) @@ -832,7 +816,7 @@ def list_events( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -842,9 +826,9 @@ def list_events( get_serialized_body=lambda: utils.serialize_request_body( request.export_service_list_events_request, False, - True, + False, "json", - Optional[shared.ExportServiceListEventsRequest], + shared.ExportServiceListEventsRequest, ), timeout_ms=timeout_ms, ) @@ -934,7 +918,7 @@ async def list_events_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -944,9 +928,9 @@ async def list_events_async( get_serialized_body=lambda: utils.serialize_request_body( request.export_service_list_events_request, False, - True, + False, "json", - Optional[shared.ExportServiceListEventsRequest], + shared.ExportServiceListEventsRequest, ), timeout_ms=timeout_ms, ) @@ -1034,7 +1018,7 @@ def update( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -1044,9 +1028,9 @@ def update( get_serialized_body=lambda: utils.serialize_request_body( request.export_service_update_request, False, - True, + False, "json", - Optional[shared.ExportServiceUpdateRequest], + shared.ExportServiceUpdateRequest, ), timeout_ms=timeout_ms, ) @@ -1134,7 +1118,7 @@ async def update_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -1144,9 +1128,9 @@ async def update_async( get_serialized_body=lambda: utils.serialize_request_body( request.export_service_update_request, False, - True, + False, "json", - Optional[shared.ExportServiceUpdateRequest], + shared.ExportServiceUpdateRequest, ), timeout_ms=timeout_ms, ) diff --git a/src/sdk/exportssearch.py b/src/sdk/exportssearch.py index cb60e046..ab46cdda 100644 --- a/src/sdk/exportssearch.py +++ b/src/sdk/exportssearch.py @@ -13,12 +13,10 @@ class ExportsSearch(BaseSDK): def search( self, *, - request: Optional[ - Union[ - shared.ExportsSearchServiceSearchRequest, - shared.ExportsSearchServiceSearchRequestTypedDict, - ] - ] = None, + request: Union[ + shared.ExportsSearchServiceSearchRequest, + shared.ExportsSearchServiceSearchRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -45,10 +43,8 @@ def search( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal( - request, Optional[shared.ExportsSearchServiceSearchRequest] - ) - request = cast(Optional[shared.ExportsSearchServiceSearchRequest], request) + request = utils.unmarshal(request, shared.ExportsSearchServiceSearchRequest) + request = cast(shared.ExportsSearchServiceSearchRequest, request) req = self._build_request( method="POST", @@ -56,7 +52,7 @@ def search( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -64,11 +60,7 @@ def search( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, - False, - True, - "json", - Optional[shared.ExportsSearchServiceSearchRequest], + request, False, False, "json", shared.ExportsSearchServiceSearchRequest ), timeout_ms=timeout_ms, ) @@ -115,12 +107,10 @@ def search( async def search_async( self, *, - request: Optional[ - Union[ - shared.ExportsSearchServiceSearchRequest, - shared.ExportsSearchServiceSearchRequestTypedDict, - ] - ] = None, + request: Union[ + shared.ExportsSearchServiceSearchRequest, + shared.ExportsSearchServiceSearchRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -147,10 +137,8 @@ async def search_async( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal( - request, Optional[shared.ExportsSearchServiceSearchRequest] - ) - request = cast(Optional[shared.ExportsSearchServiceSearchRequest], request) + request = utils.unmarshal(request, shared.ExportsSearchServiceSearchRequest) + request = cast(shared.ExportsSearchServiceSearchRequest, request) req = self._build_request_async( method="POST", @@ -158,7 +146,7 @@ async def search_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -166,11 +154,7 @@ async def search_async( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, - False, - True, - "json", - Optional[shared.ExportsSearchServiceSearchRequest], + request, False, False, "json", shared.ExportsSearchServiceSearchRequest ), timeout_ms=timeout_ms, ) diff --git a/src/sdk/functions.py b/src/sdk/functions.py index fd8fd527..1e87ca11 100644 --- a/src/sdk/functions.py +++ b/src/sdk/functions.py @@ -56,7 +56,7 @@ def commit( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -66,9 +66,9 @@ def commit( get_serialized_body=lambda: utils.serialize_request_body( request.functions_service_commit_request, False, - True, + False, "json", - Optional[shared.FunctionsServiceCommitRequest], + shared.FunctionsServiceCommitRequest, ), timeout_ms=timeout_ms, ) @@ -158,7 +158,7 @@ async def commit_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -168,9 +168,9 @@ async def commit_async( get_serialized_body=lambda: utils.serialize_request_body( request.functions_service_commit_request, False, - True, + False, "json", - Optional[shared.FunctionsServiceCommitRequest], + shared.FunctionsServiceCommitRequest, ), timeout_ms=timeout_ms, ) @@ -217,12 +217,10 @@ async def commit_async( def create_function( self, *, - request: Optional[ - Union[ - shared.FunctionsServiceCreateFunctionRequest, - shared.FunctionsServiceCreateFunctionRequestTypedDict, - ] - ] = None, + request: Union[ + shared.FunctionsServiceCreateFunctionRequest, + shared.FunctionsServiceCreateFunctionRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -250,9 +248,9 @@ def create_function( if not isinstance(request, BaseModel): request = utils.unmarshal( - request, Optional[shared.FunctionsServiceCreateFunctionRequest] + request, shared.FunctionsServiceCreateFunctionRequest ) - request = cast(Optional[shared.FunctionsServiceCreateFunctionRequest], request) + request = cast(shared.FunctionsServiceCreateFunctionRequest, request) req = self._build_request( method="POST", @@ -260,7 +258,7 @@ def create_function( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -270,9 +268,9 @@ def create_function( get_serialized_body=lambda: utils.serialize_request_body( request, False, - True, + False, "json", - Optional[shared.FunctionsServiceCreateFunctionRequest], + shared.FunctionsServiceCreateFunctionRequest, ), timeout_ms=timeout_ms, ) @@ -319,12 +317,10 @@ def create_function( async def create_function_async( self, *, - request: Optional[ - Union[ - shared.FunctionsServiceCreateFunctionRequest, - shared.FunctionsServiceCreateFunctionRequestTypedDict, - ] - ] = None, + request: Union[ + shared.FunctionsServiceCreateFunctionRequest, + shared.FunctionsServiceCreateFunctionRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -352,9 +348,9 @@ async def create_function_async( if not isinstance(request, BaseModel): request = utils.unmarshal( - request, Optional[shared.FunctionsServiceCreateFunctionRequest] + request, shared.FunctionsServiceCreateFunctionRequest ) - request = cast(Optional[shared.FunctionsServiceCreateFunctionRequest], request) + request = cast(shared.FunctionsServiceCreateFunctionRequest, request) req = self._build_request_async( method="POST", @@ -362,7 +358,7 @@ async def create_function_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -372,9 +368,9 @@ async def create_function_async( get_serialized_body=lambda: utils.serialize_request_body( request, False, - True, + False, "json", - Optional[shared.FunctionsServiceCreateFunctionRequest], + shared.FunctionsServiceCreateFunctionRequest, ), timeout_ms=timeout_ms, ) @@ -464,7 +460,7 @@ def create_tag( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -474,9 +470,9 @@ def create_tag( get_serialized_body=lambda: utils.serialize_request_body( request.functions_service_create_tag_request, False, - True, + False, "json", - Optional[shared.FunctionsServiceCreateTagRequest], + shared.FunctionsServiceCreateTagRequest, ), timeout_ms=timeout_ms, ) @@ -566,7 +562,7 @@ async def create_tag_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -576,9 +572,9 @@ async def create_tag_async( get_serialized_body=lambda: utils.serialize_request_body( request.functions_service_create_tag_request, False, - True, + False, "json", - Optional[shared.FunctionsServiceCreateTagRequest], + shared.FunctionsServiceCreateTagRequest, ), timeout_ms=timeout_ms, ) @@ -669,7 +665,7 @@ def delete_function( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -679,9 +675,9 @@ def delete_function( get_serialized_body=lambda: utils.serialize_request_body( request.functions_service_delete_function_request, False, - True, + False, "json", - Optional[shared.FunctionsServiceDeleteFunctionRequest], + shared.FunctionsServiceDeleteFunctionRequest, ), timeout_ms=timeout_ms, ) @@ -772,7 +768,7 @@ async def delete_function_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -782,9 +778,9 @@ async def delete_function_async( get_serialized_body=lambda: utils.serialize_request_body( request.functions_service_delete_function_request, False, - True, + False, "json", - Optional[shared.FunctionsServiceDeleteFunctionRequest], + shared.FunctionsServiceDeleteFunctionRequest, ), timeout_ms=timeout_ms, ) @@ -1254,7 +1250,7 @@ def invoke( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -1264,9 +1260,9 @@ def invoke( get_serialized_body=lambda: utils.serialize_request_body( request.functions_service_invoke_request, False, - True, + False, "json", - Optional[shared.FunctionsServiceInvokeRequest], + shared.FunctionsServiceInvokeRequest, ), timeout_ms=timeout_ms, ) @@ -1356,7 +1352,7 @@ async def invoke_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -1366,9 +1362,9 @@ async def invoke_async( get_serialized_body=lambda: utils.serialize_request_body( request.functions_service_invoke_request, False, - True, + False, "json", - Optional[shared.FunctionsServiceInvokeRequest], + shared.FunctionsServiceInvokeRequest, ), timeout_ms=timeout_ms, ) @@ -1957,12 +1953,10 @@ async def list_tags_async( def update_function( self, *, - request: Optional[ - Union[ - shared.FunctionsServiceUpdateFunctionRequest, - shared.FunctionsServiceUpdateFunctionRequestTypedDict, - ] - ] = None, + request: Union[ + shared.FunctionsServiceUpdateFunctionRequest, + shared.FunctionsServiceUpdateFunctionRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -1990,9 +1984,9 @@ def update_function( if not isinstance(request, BaseModel): request = utils.unmarshal( - request, Optional[shared.FunctionsServiceUpdateFunctionRequest] + request, shared.FunctionsServiceUpdateFunctionRequest ) - request = cast(Optional[shared.FunctionsServiceUpdateFunctionRequest], request) + request = cast(shared.FunctionsServiceUpdateFunctionRequest, request) req = self._build_request( method="POST", @@ -2000,7 +1994,7 @@ def update_function( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -2010,9 +2004,9 @@ def update_function( get_serialized_body=lambda: utils.serialize_request_body( request, False, - True, + False, "json", - Optional[shared.FunctionsServiceUpdateFunctionRequest], + shared.FunctionsServiceUpdateFunctionRequest, ), timeout_ms=timeout_ms, ) @@ -2059,12 +2053,10 @@ def update_function( async def update_function_async( self, *, - request: Optional[ - Union[ - shared.FunctionsServiceUpdateFunctionRequest, - shared.FunctionsServiceUpdateFunctionRequestTypedDict, - ] - ] = None, + request: Union[ + shared.FunctionsServiceUpdateFunctionRequest, + shared.FunctionsServiceUpdateFunctionRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -2092,9 +2084,9 @@ async def update_function_async( if not isinstance(request, BaseModel): request = utils.unmarshal( - request, Optional[shared.FunctionsServiceUpdateFunctionRequest] + request, shared.FunctionsServiceUpdateFunctionRequest ) - request = cast(Optional[shared.FunctionsServiceUpdateFunctionRequest], request) + request = cast(shared.FunctionsServiceUpdateFunctionRequest, request) req = self._build_request_async( method="POST", @@ -2102,7 +2094,7 @@ async def update_function_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -2112,9 +2104,9 @@ async def update_function_async( get_serialized_body=lambda: utils.serialize_request_body( request, False, - True, + False, "json", - Optional[shared.FunctionsServiceUpdateFunctionRequest], + shared.FunctionsServiceUpdateFunctionRequest, ), timeout_ms=timeout_ms, ) diff --git a/src/sdk/functionssearch.py b/src/sdk/functionssearch.py index fd9807c0..6d144345 100644 --- a/src/sdk/functionssearch.py +++ b/src/sdk/functionssearch.py @@ -13,9 +13,9 @@ class FunctionsSearch(BaseSDK): def search( self, *, - request: Optional[ - Union[shared.FunctionsSearchRequest, shared.FunctionsSearchRequestTypedDict] - ] = None, + request: Union[ + shared.FunctionsSearchRequest, shared.FunctionsSearchRequestTypedDict + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -42,8 +42,8 @@ def search( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal(request, Optional[shared.FunctionsSearchRequest]) - request = cast(Optional[shared.FunctionsSearchRequest], request) + request = utils.unmarshal(request, shared.FunctionsSearchRequest) + request = cast(shared.FunctionsSearchRequest, request) req = self._build_request( method="POST", @@ -51,7 +51,7 @@ def search( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -59,7 +59,7 @@ def search( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, False, True, "json", Optional[shared.FunctionsSearchRequest] + request, False, False, "json", shared.FunctionsSearchRequest ), timeout_ms=timeout_ms, ) @@ -106,9 +106,9 @@ def search( async def search_async( self, *, - request: Optional[ - Union[shared.FunctionsSearchRequest, shared.FunctionsSearchRequestTypedDict] - ] = None, + request: Union[ + shared.FunctionsSearchRequest, shared.FunctionsSearchRequestTypedDict + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -135,8 +135,8 @@ async def search_async( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal(request, Optional[shared.FunctionsSearchRequest]) - request = cast(Optional[shared.FunctionsSearchRequest], request) + request = utils.unmarshal(request, shared.FunctionsSearchRequest) + request = cast(shared.FunctionsSearchRequest, request) req = self._build_request_async( method="POST", @@ -144,7 +144,7 @@ async def search_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -152,7 +152,7 @@ async def search_async( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, False, True, "json", Optional[shared.FunctionsSearchRequest] + request, False, False, "json", shared.FunctionsSearchRequest ), timeout_ms=timeout_ms, ) diff --git a/src/sdk/models/operations/c1_api_accessconflict_v1_accessconflictservice_deletemonitor.py b/src/sdk/models/operations/c1_api_accessconflict_v1_accessconflictservice_deletemonitor.py index 3d4bb985..e8015724 100644 --- a/src/sdk/models/operations/c1_api_accessconflict_v1_accessconflictservice_deletemonitor.py +++ b/src/sdk/models/operations/c1_api_accessconflict_v1_accessconflictservice_deletemonitor.py @@ -15,22 +15,22 @@ class C1APIAccessconflictV1AccessConflictServiceDeleteMonitorRequestTypedDict( TypedDict ): - id: str - conflict_monitor_delete_request: NotRequired[ + conflict_monitor_delete_request: ( shared_conflictmonitordeleterequest.ConflictMonitorDeleteRequestTypedDict - ] + ) + id: str class C1APIAccessconflictV1AccessConflictServiceDeleteMonitorRequest(BaseModel): + conflict_monitor_delete_request: Annotated[ + shared_conflictmonitordeleterequest.ConflictMonitorDeleteRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - conflict_monitor_delete_request: Annotated[ - Optional[shared_conflictmonitordeleterequest.ConflictMonitorDeleteRequest], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIAccessconflictV1AccessConflictServiceDeleteMonitorResponseTypedDict( TypedDict diff --git a/src/sdk/models/operations/c1_api_accessconflict_v1_accessconflictservice_updatemonitor.py b/src/sdk/models/operations/c1_api_accessconflict_v1_accessconflictservice_updatemonitor.py index 37465ac4..575e2a8a 100644 --- a/src/sdk/models/operations/c1_api_accessconflict_v1_accessconflictservice_updatemonitor.py +++ b/src/sdk/models/operations/c1_api_accessconflict_v1_accessconflictservice_updatemonitor.py @@ -15,22 +15,22 @@ class C1APIAccessconflictV1AccessConflictServiceUpdateMonitorRequestTypedDict( TypedDict ): - id: str - conflict_monitor_update_request: NotRequired[ + conflict_monitor_update_request: ( shared_conflictmonitorupdaterequest.ConflictMonitorUpdateRequestTypedDict - ] + ) + id: str class C1APIAccessconflictV1AccessConflictServiceUpdateMonitorRequest(BaseModel): + conflict_monitor_update_request: Annotated[ + shared_conflictmonitorupdaterequest.ConflictMonitorUpdateRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - conflict_monitor_update_request: Annotated[ - Optional[shared_conflictmonitorupdaterequest.ConflictMonitorUpdateRequest], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIAccessconflictV1AccessConflictServiceUpdateMonitorResponseTypedDict( TypedDict diff --git a/src/sdk/models/operations/c1_api_app_v1_appaccessrequestsdefaultsservice_cancelappaccessrequestsdefaults.py b/src/sdk/models/operations/c1_api_app_v1_appaccessrequestsdefaultsservice_cancelappaccessrequestsdefaults.py index 467686ad..4b770292 100644 --- a/src/sdk/models/operations/c1_api_app_v1_appaccessrequestsdefaultsservice_cancelappaccessrequestsdefaults.py +++ b/src/sdk/models/operations/c1_api_app_v1_appaccessrequestsdefaultsservice_cancelappaccessrequestsdefaults.py @@ -15,26 +15,22 @@ class C1APIAppV1AppAccessRequestsDefaultsServiceCancelAppAccessRequestsDefaultsRequestTypedDict( TypedDict ): + cancel_access_request_defaults_request: shared_cancelaccessrequestdefaultsrequest.CancelAccessRequestDefaultsRequestTypedDict app_id: str - cancel_access_request_defaults_request: NotRequired[ - shared_cancelaccessrequestdefaultsrequest.CancelAccessRequestDefaultsRequestTypedDict - ] class C1APIAppV1AppAccessRequestsDefaultsServiceCancelAppAccessRequestsDefaultsRequest( BaseModel ): + cancel_access_request_defaults_request: Annotated[ + shared_cancelaccessrequestdefaultsrequest.CancelAccessRequestDefaultsRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + app_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - cancel_access_request_defaults_request: Annotated[ - Optional[ - shared_cancelaccessrequestdefaultsrequest.CancelAccessRequestDefaultsRequest - ], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIAppV1AppAccessRequestsDefaultsServiceCancelAppAccessRequestsDefaultsResponseTypedDict( TypedDict diff --git a/src/sdk/models/operations/c1_api_app_v1_appaccessrequestsdefaultsservice_createappaccessrequestsdefaults.py b/src/sdk/models/operations/c1_api_app_v1_appaccessrequestsdefaultsservice_createappaccessrequestsdefaults.py index 88797383..2c38422b 100644 --- a/src/sdk/models/operations/c1_api_app_v1_appaccessrequestsdefaultsservice_createappaccessrequestsdefaults.py +++ b/src/sdk/models/operations/c1_api_app_v1_appaccessrequestsdefaultsservice_createappaccessrequestsdefaults.py @@ -14,24 +14,24 @@ class C1APIAppV1AppAccessRequestsDefaultsServiceCreateAppAccessRequestsDefaultsRequestTypedDict( TypedDict ): - app_id: str - app_access_request_defaults: NotRequired[ + app_access_request_defaults: ( shared_appaccessrequestdefaults.AppAccessRequestDefaults1TypedDict - ] + ) + app_id: str class C1APIAppV1AppAccessRequestsDefaultsServiceCreateAppAccessRequestsDefaultsRequest( BaseModel ): + app_access_request_defaults: Annotated[ + shared_appaccessrequestdefaults.AppAccessRequestDefaults1, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + app_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - app_access_request_defaults: Annotated[ - Optional[shared_appaccessrequestdefaults.AppAccessRequestDefaults1], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIAppV1AppAccessRequestsDefaultsServiceCreateAppAccessRequestsDefaultsResponseTypedDict( TypedDict diff --git a/src/sdk/models/operations/c1_api_app_v1_appentitlementowners_add.py b/src/sdk/models/operations/c1_api_app_v1_appentitlementowners_add.py index 8bbffa86..e54598f3 100644 --- a/src/sdk/models/operations/c1_api_app_v1_appentitlementowners_add.py +++ b/src/sdk/models/operations/c1_api_app_v1_appentitlementowners_add.py @@ -13,14 +13,19 @@ class C1APIAppV1AppEntitlementOwnersAddRequestTypedDict(TypedDict): + add_app_entitlement_owner_request: ( + shared_addappentitlementownerrequest.AddAppEntitlementOwnerRequestTypedDict + ) app_id: str entitlement_id: str - add_app_entitlement_owner_request: NotRequired[ - shared_addappentitlementownerrequest.AddAppEntitlementOwnerRequestTypedDict - ] class C1APIAppV1AppEntitlementOwnersAddRequest(BaseModel): + add_app_entitlement_owner_request: Annotated[ + shared_addappentitlementownerrequest.AddAppEntitlementOwnerRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + app_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] @@ -29,11 +34,6 @@ class C1APIAppV1AppEntitlementOwnersAddRequest(BaseModel): str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - add_app_entitlement_owner_request: Annotated[ - Optional[shared_addappentitlementownerrequest.AddAppEntitlementOwnerRequest], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIAppV1AppEntitlementOwnersAddResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_app_v1_appentitlementowners_delete.py b/src/sdk/models/operations/c1_api_app_v1_appentitlementowners_delete.py index 71c325a5..e1fcfcee 100644 --- a/src/sdk/models/operations/c1_api_app_v1_appentitlementowners_delete.py +++ b/src/sdk/models/operations/c1_api_app_v1_appentitlementowners_delete.py @@ -13,14 +13,17 @@ class C1APIAppV1AppEntitlementOwnersDeleteRequestTypedDict(TypedDict): + delete_app_entitlement_owners_request: shared_deleteappentitlementownersrequest.DeleteAppEntitlementOwnersRequestTypedDict app_id: str entitlement_id: str - delete_app_entitlement_owners_request: NotRequired[ - shared_deleteappentitlementownersrequest.DeleteAppEntitlementOwnersRequestTypedDict - ] class C1APIAppV1AppEntitlementOwnersDeleteRequest(BaseModel): + delete_app_entitlement_owners_request: Annotated[ + shared_deleteappentitlementownersrequest.DeleteAppEntitlementOwnersRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + app_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] @@ -29,13 +32,6 @@ class C1APIAppV1AppEntitlementOwnersDeleteRequest(BaseModel): str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - delete_app_entitlement_owners_request: Annotated[ - Optional[ - shared_deleteappentitlementownersrequest.DeleteAppEntitlementOwnersRequest - ], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIAppV1AppEntitlementOwnersDeleteResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_app_v1_appentitlementowners_remove.py b/src/sdk/models/operations/c1_api_app_v1_appentitlementowners_remove.py index 1fcf4c12..78995fad 100644 --- a/src/sdk/models/operations/c1_api_app_v1_appentitlementowners_remove.py +++ b/src/sdk/models/operations/c1_api_app_v1_appentitlementowners_remove.py @@ -13,15 +13,18 @@ class C1APIAppV1AppEntitlementOwnersRemoveRequestTypedDict(TypedDict): + remove_app_entitlement_owner_request: shared_removeappentitlementownerrequest.RemoveAppEntitlementOwnerRequestTypedDict app_id: str entitlement_id: str user_id: str - remove_app_entitlement_owner_request: NotRequired[ - shared_removeappentitlementownerrequest.RemoveAppEntitlementOwnerRequestTypedDict - ] class C1APIAppV1AppEntitlementOwnersRemoveRequest(BaseModel): + remove_app_entitlement_owner_request: Annotated[ + shared_removeappentitlementownerrequest.RemoveAppEntitlementOwnerRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + app_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] @@ -34,13 +37,6 @@ class C1APIAppV1AppEntitlementOwnersRemoveRequest(BaseModel): str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - remove_app_entitlement_owner_request: Annotated[ - Optional[ - shared_removeappentitlementownerrequest.RemoveAppEntitlementOwnerRequest - ], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIAppV1AppEntitlementOwnersRemoveResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_app_v1_appentitlementowners_set.py b/src/sdk/models/operations/c1_api_app_v1_appentitlementowners_set.py index ee279740..e3e3dfe6 100644 --- a/src/sdk/models/operations/c1_api_app_v1_appentitlementowners_set.py +++ b/src/sdk/models/operations/c1_api_app_v1_appentitlementowners_set.py @@ -13,14 +13,19 @@ class C1APIAppV1AppEntitlementOwnersSetRequestTypedDict(TypedDict): + set_app_entitlement_owners_request: ( + shared_setappentitlementownersrequest.SetAppEntitlementOwnersRequestTypedDict + ) app_id: str entitlement_id: str - set_app_entitlement_owners_request: NotRequired[ - shared_setappentitlementownersrequest.SetAppEntitlementOwnersRequestTypedDict - ] class C1APIAppV1AppEntitlementOwnersSetRequest(BaseModel): + set_app_entitlement_owners_request: Annotated[ + shared_setappentitlementownersrequest.SetAppEntitlementOwnersRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + app_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] @@ -29,11 +34,6 @@ class C1APIAppV1AppEntitlementOwnersSetRequest(BaseModel): str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - set_app_entitlement_owners_request: Annotated[ - Optional[shared_setappentitlementownersrequest.SetAppEntitlementOwnersRequest], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIAppV1AppEntitlementOwnersSetResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_app_v1_appentitlements_addautomationexclusion.py b/src/sdk/models/operations/c1_api_app_v1_appentitlements_addautomationexclusion.py index 3b4973e9..6d62d001 100644 --- a/src/sdk/models/operations/c1_api_app_v1_appentitlements_addautomationexclusion.py +++ b/src/sdk/models/operations/c1_api_app_v1_appentitlements_addautomationexclusion.py @@ -13,14 +13,19 @@ class C1APIAppV1AppEntitlementsAddAutomationExclusionRequestTypedDict(TypedDict): + add_automation_exclusion_request: ( + shared_addautomationexclusionrequest.AddAutomationExclusionRequestTypedDict + ) app_entitlement_id: str app_id: str - add_automation_exclusion_request: NotRequired[ - shared_addautomationexclusionrequest.AddAutomationExclusionRequestTypedDict - ] class C1APIAppV1AppEntitlementsAddAutomationExclusionRequest(BaseModel): + add_automation_exclusion_request: Annotated[ + shared_addautomationexclusionrequest.AddAutomationExclusionRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + app_entitlement_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] @@ -29,11 +34,6 @@ class C1APIAppV1AppEntitlementsAddAutomationExclusionRequest(BaseModel): str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - add_automation_exclusion_request: Annotated[ - Optional[shared_addautomationexclusionrequest.AddAutomationExclusionRequest], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIAppV1AppEntitlementsAddAutomationExclusionResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_app_v1_appentitlements_addmanuallymanagedmembers.py b/src/sdk/models/operations/c1_api_app_v1_appentitlements_addmanuallymanagedmembers.py index 8aacce17..19148cb2 100644 --- a/src/sdk/models/operations/c1_api_app_v1_appentitlements_addmanuallymanagedmembers.py +++ b/src/sdk/models/operations/c1_api_app_v1_appentitlements_addmanuallymanagedmembers.py @@ -13,14 +13,19 @@ class C1APIAppV1AppEntitlementsAddManuallyManagedMembersRequestTypedDict(TypedDict): + add_manually_managed_users_request: ( + shared_addmanuallymanagedusersrequest.AddManuallyManagedUsersRequestTypedDict + ) app_entitlement_id: str app_id: str - add_manually_managed_users_request: NotRequired[ - shared_addmanuallymanagedusersrequest.AddManuallyManagedUsersRequestTypedDict - ] class C1APIAppV1AppEntitlementsAddManuallyManagedMembersRequest(BaseModel): + add_manually_managed_users_request: Annotated[ + shared_addmanuallymanagedusersrequest.AddManuallyManagedUsersRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + app_entitlement_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] @@ -29,11 +34,6 @@ class C1APIAppV1AppEntitlementsAddManuallyManagedMembersRequest(BaseModel): str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - add_manually_managed_users_request: Annotated[ - Optional[shared_addmanuallymanagedusersrequest.AddManuallyManagedUsersRequest], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIAppV1AppEntitlementsAddManuallyManagedMembersResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_app_v1_appentitlements_create.py b/src/sdk/models/operations/c1_api_app_v1_appentitlements_create.py index 5eeb94a4..bdfac5af 100644 --- a/src/sdk/models/operations/c1_api_app_v1_appentitlements_create.py +++ b/src/sdk/models/operations/c1_api_app_v1_appentitlements_create.py @@ -13,22 +13,22 @@ class C1APIAppV1AppEntitlementsCreateRequestTypedDict(TypedDict): - app_id: str - create_app_entitlement_request: NotRequired[ + create_app_entitlement_request: ( shared_createappentitlementrequest.CreateAppEntitlementRequestTypedDict - ] + ) + app_id: str class C1APIAppV1AppEntitlementsCreateRequest(BaseModel): + create_app_entitlement_request: Annotated[ + shared_createappentitlementrequest.CreateAppEntitlementRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + app_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - create_app_entitlement_request: Annotated[ - Optional[shared_createappentitlementrequest.CreateAppEntitlementRequest], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIAppV1AppEntitlementsCreateResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_app_v1_appentitlements_createautomation.py b/src/sdk/models/operations/c1_api_app_v1_appentitlements_createautomation.py index 79900bd0..7a6868e9 100644 --- a/src/sdk/models/operations/c1_api_app_v1_appentitlements_createautomation.py +++ b/src/sdk/models/operations/c1_api_app_v1_appentitlements_createautomation.py @@ -13,14 +13,19 @@ class C1APIAppV1AppEntitlementsCreateAutomationRequestTypedDict(TypedDict): + create_automation_request: ( + shared_createautomationrequest.CreateAutomationRequestTypedDict + ) app_entitlement_id: str app_id: str - create_automation_request: NotRequired[ - shared_createautomationrequest.CreateAutomationRequestTypedDict - ] class C1APIAppV1AppEntitlementsCreateAutomationRequest(BaseModel): + create_automation_request: Annotated[ + shared_createautomationrequest.CreateAutomationRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + app_entitlement_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] @@ -29,11 +34,6 @@ class C1APIAppV1AppEntitlementsCreateAutomationRequest(BaseModel): str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - create_automation_request: Annotated[ - Optional[shared_createautomationrequest.CreateAutomationRequest], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIAppV1AppEntitlementsCreateAutomationResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_app_v1_appentitlements_delete.py b/src/sdk/models/operations/c1_api_app_v1_appentitlements_delete.py index 4033216b..e56b065e 100644 --- a/src/sdk/models/operations/c1_api_app_v1_appentitlements_delete.py +++ b/src/sdk/models/operations/c1_api_app_v1_appentitlements_delete.py @@ -13,14 +13,19 @@ class C1APIAppV1AppEntitlementsDeleteRequestTypedDict(TypedDict): + delete_app_entitlement_request: ( + shared_deleteappentitlementrequest.DeleteAppEntitlementRequestTypedDict + ) app_id: str id: str - delete_app_entitlement_request: NotRequired[ - shared_deleteappentitlementrequest.DeleteAppEntitlementRequestTypedDict - ] class C1APIAppV1AppEntitlementsDeleteRequest(BaseModel): + delete_app_entitlement_request: Annotated[ + shared_deleteappentitlementrequest.DeleteAppEntitlementRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + app_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] @@ -29,11 +34,6 @@ class C1APIAppV1AppEntitlementsDeleteRequest(BaseModel): str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - delete_app_entitlement_request: Annotated[ - Optional[shared_deleteappentitlementrequest.DeleteAppEntitlementRequest], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIAppV1AppEntitlementsDeleteResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_app_v1_appentitlements_deleteautomation.py b/src/sdk/models/operations/c1_api_app_v1_appentitlements_deleteautomation.py index 9e7814bc..c4ca4548 100644 --- a/src/sdk/models/operations/c1_api_app_v1_appentitlements_deleteautomation.py +++ b/src/sdk/models/operations/c1_api_app_v1_appentitlements_deleteautomation.py @@ -13,14 +13,19 @@ class C1APIAppV1AppEntitlementsDeleteAutomationRequestTypedDict(TypedDict): + delete_automation_request: ( + shared_deleteautomationrequest.DeleteAutomationRequestTypedDict + ) app_entitlement_id: str app_id: str - delete_automation_request: NotRequired[ - shared_deleteautomationrequest.DeleteAutomationRequestTypedDict - ] class C1APIAppV1AppEntitlementsDeleteAutomationRequest(BaseModel): + delete_automation_request: Annotated[ + shared_deleteautomationrequest.DeleteAutomationRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + app_entitlement_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] @@ -29,11 +34,6 @@ class C1APIAppV1AppEntitlementsDeleteAutomationRequest(BaseModel): str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - delete_automation_request: Annotated[ - Optional[shared_deleteautomationrequest.DeleteAutomationRequest], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIAppV1AppEntitlementsDeleteAutomationResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_app_v1_appentitlements_removeautomationexclusion.py b/src/sdk/models/operations/c1_api_app_v1_appentitlements_removeautomationexclusion.py index 6437a5a7..a049a243 100644 --- a/src/sdk/models/operations/c1_api_app_v1_appentitlements_removeautomationexclusion.py +++ b/src/sdk/models/operations/c1_api_app_v1_appentitlements_removeautomationexclusion.py @@ -13,14 +13,17 @@ class C1APIAppV1AppEntitlementsRemoveAutomationExclusionRequestTypedDict(TypedDict): + remove_automation_exclusion_request: shared_removeautomationexclusionrequest.RemoveAutomationExclusionRequestTypedDict app_entitlement_id: str app_id: str - remove_automation_exclusion_request: NotRequired[ - shared_removeautomationexclusionrequest.RemoveAutomationExclusionRequestTypedDict - ] class C1APIAppV1AppEntitlementsRemoveAutomationExclusionRequest(BaseModel): + remove_automation_exclusion_request: Annotated[ + shared_removeautomationexclusionrequest.RemoveAutomationExclusionRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + app_entitlement_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] @@ -29,13 +32,6 @@ class C1APIAppV1AppEntitlementsRemoveAutomationExclusionRequest(BaseModel): str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - remove_automation_exclusion_request: Annotated[ - Optional[ - shared_removeautomationexclusionrequest.RemoveAutomationExclusionRequest - ], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIAppV1AppEntitlementsRemoveAutomationExclusionResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_app_v1_appentitlements_removeentitlementmembership.py b/src/sdk/models/operations/c1_api_app_v1_appentitlements_removeentitlementmembership.py index 63a4a138..630e6ce9 100644 --- a/src/sdk/models/operations/c1_api_app_v1_appentitlements_removeentitlementmembership.py +++ b/src/sdk/models/operations/c1_api_app_v1_appentitlements_removeentitlementmembership.py @@ -13,14 +13,17 @@ class C1APIAppV1AppEntitlementsRemoveEntitlementMembershipRequestTypedDict(TypedDict): + remove_entitlement_membership_request: shared_removeentitlementmembershiprequest.RemoveEntitlementMembershipRequestTypedDict app_entitlement_id: str app_id: str - remove_entitlement_membership_request: NotRequired[ - shared_removeentitlementmembershiprequest.RemoveEntitlementMembershipRequestTypedDict - ] class C1APIAppV1AppEntitlementsRemoveEntitlementMembershipRequest(BaseModel): + remove_entitlement_membership_request: Annotated[ + shared_removeentitlementmembershiprequest.RemoveEntitlementMembershipRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + app_entitlement_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] @@ -29,13 +32,6 @@ class C1APIAppV1AppEntitlementsRemoveEntitlementMembershipRequest(BaseModel): str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - remove_entitlement_membership_request: Annotated[ - Optional[ - shared_removeentitlementmembershiprequest.RemoveEntitlementMembershipRequest - ], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIAppV1AppEntitlementsRemoveEntitlementMembershipResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_app_v1_appentitlements_update.py b/src/sdk/models/operations/c1_api_app_v1_appentitlements_update.py index 274e88bd..a6770a56 100644 --- a/src/sdk/models/operations/c1_api_app_v1_appentitlements_update.py +++ b/src/sdk/models/operations/c1_api_app_v1_appentitlements_update.py @@ -13,14 +13,19 @@ class C1APIAppV1AppEntitlementsUpdateRequestTypedDict(TypedDict): + update_app_entitlement_request: ( + shared_updateappentitlementrequest.UpdateAppEntitlementRequestTypedDict + ) app_id: str id: str - update_app_entitlement_request: NotRequired[ - shared_updateappentitlementrequest.UpdateAppEntitlementRequestTypedDict - ] class C1APIAppV1AppEntitlementsUpdateRequest(BaseModel): + update_app_entitlement_request: Annotated[ + shared_updateappentitlementrequest.UpdateAppEntitlementRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + app_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] @@ -29,11 +34,6 @@ class C1APIAppV1AppEntitlementsUpdateRequest(BaseModel): str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - update_app_entitlement_request: Annotated[ - Optional[shared_updateappentitlementrequest.UpdateAppEntitlementRequest], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIAppV1AppEntitlementsUpdateResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_app_v1_appentitlements_updateautomation.py b/src/sdk/models/operations/c1_api_app_v1_appentitlements_updateautomation.py index c322ffee..beee220a 100644 --- a/src/sdk/models/operations/c1_api_app_v1_appentitlements_updateautomation.py +++ b/src/sdk/models/operations/c1_api_app_v1_appentitlements_updateautomation.py @@ -13,14 +13,17 @@ class C1APIAppV1AppEntitlementsUpdateAutomationRequestTypedDict(TypedDict): + app_entitlement_service_update_automation_request: shared_appentitlementserviceupdateautomationrequest.AppEntitlementServiceUpdateAutomationRequestTypedDict app_entitlement_id: str app_id: str - app_entitlement_service_update_automation_request: NotRequired[ - shared_appentitlementserviceupdateautomationrequest.AppEntitlementServiceUpdateAutomationRequestTypedDict - ] class C1APIAppV1AppEntitlementsUpdateAutomationRequest(BaseModel): + app_entitlement_service_update_automation_request: Annotated[ + shared_appentitlementserviceupdateautomationrequest.AppEntitlementServiceUpdateAutomationRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + app_entitlement_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] @@ -29,13 +32,6 @@ class C1APIAppV1AppEntitlementsUpdateAutomationRequest(BaseModel): str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - app_entitlement_service_update_automation_request: Annotated[ - Optional[ - shared_appentitlementserviceupdateautomationrequest.AppEntitlementServiceUpdateAutomationRequest - ], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIAppV1AppEntitlementsUpdateAutomationResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_app_v1_appentitlementsproxy_create.py b/src/sdk/models/operations/c1_api_app_v1_appentitlementsproxy_create.py index 7fa3ffbd..a7e770a0 100644 --- a/src/sdk/models/operations/c1_api_app_v1_appentitlementsproxy_create.py +++ b/src/sdk/models/operations/c1_api_app_v1_appentitlementsproxy_create.py @@ -13,16 +13,19 @@ class C1APIAppV1AppEntitlementsProxyCreateRequestTypedDict(TypedDict): + create_app_entitlement_proxy_request: shared_createappentitlementproxyrequest.CreateAppEntitlementProxyRequestTypedDict dst_app_entitlement_id: str dst_app_id: str src_app_entitlement_id: str src_app_id: str - create_app_entitlement_proxy_request: NotRequired[ - shared_createappentitlementproxyrequest.CreateAppEntitlementProxyRequestTypedDict - ] class C1APIAppV1AppEntitlementsProxyCreateRequest(BaseModel): + create_app_entitlement_proxy_request: Annotated[ + shared_createappentitlementproxyrequest.CreateAppEntitlementProxyRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + dst_app_entitlement_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] @@ -39,13 +42,6 @@ class C1APIAppV1AppEntitlementsProxyCreateRequest(BaseModel): str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - create_app_entitlement_proxy_request: Annotated[ - Optional[ - shared_createappentitlementproxyrequest.CreateAppEntitlementProxyRequest - ], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIAppV1AppEntitlementsProxyCreateResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_app_v1_appentitlementsproxy_delete.py b/src/sdk/models/operations/c1_api_app_v1_appentitlementsproxy_delete.py index e3d117fd..6d9620fc 100644 --- a/src/sdk/models/operations/c1_api_app_v1_appentitlementsproxy_delete.py +++ b/src/sdk/models/operations/c1_api_app_v1_appentitlementsproxy_delete.py @@ -13,16 +13,19 @@ class C1APIAppV1AppEntitlementsProxyDeleteRequestTypedDict(TypedDict): + delete_app_entitlement_proxy_request: shared_deleteappentitlementproxyrequest.DeleteAppEntitlementProxyRequestTypedDict dst_app_entitlement_id: str dst_app_id: str src_app_entitlement_id: str src_app_id: str - delete_app_entitlement_proxy_request: NotRequired[ - shared_deleteappentitlementproxyrequest.DeleteAppEntitlementProxyRequestTypedDict - ] class C1APIAppV1AppEntitlementsProxyDeleteRequest(BaseModel): + delete_app_entitlement_proxy_request: Annotated[ + shared_deleteappentitlementproxyrequest.DeleteAppEntitlementProxyRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + dst_app_entitlement_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] @@ -39,13 +42,6 @@ class C1APIAppV1AppEntitlementsProxyDeleteRequest(BaseModel): str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - delete_app_entitlement_proxy_request: Annotated[ - Optional[ - shared_deleteappentitlementproxyrequest.DeleteAppEntitlementProxyRequest - ], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIAppV1AppEntitlementsProxyDeleteResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_app_v1_appentitlementuserbindingservice_removegrantduration.py b/src/sdk/models/operations/c1_api_app_v1_appentitlementuserbindingservice_removegrantduration.py index db27b303..fa238a02 100644 --- a/src/sdk/models/operations/c1_api_app_v1_appentitlementuserbindingservice_removegrantduration.py +++ b/src/sdk/models/operations/c1_api_app_v1_appentitlementuserbindingservice_removegrantduration.py @@ -15,15 +15,20 @@ class C1APIAppV1AppEntitlementUserBindingServiceRemoveGrantDurationRequestTypedDict( TypedDict ): + remove_grant_duration_request: ( + shared_removegrantdurationrequest.RemoveGrantDurationRequestTypedDict + ) app_entitlement_id: str app_id: str app_user_id: str - remove_grant_duration_request: NotRequired[ - shared_removegrantdurationrequest.RemoveGrantDurationRequestTypedDict - ] class C1APIAppV1AppEntitlementUserBindingServiceRemoveGrantDurationRequest(BaseModel): + remove_grant_duration_request: Annotated[ + shared_removegrantdurationrequest.RemoveGrantDurationRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + app_entitlement_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] @@ -36,11 +41,6 @@ class C1APIAppV1AppEntitlementUserBindingServiceRemoveGrantDurationRequest(BaseM str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - remove_grant_duration_request: Annotated[ - Optional[shared_removegrantdurationrequest.RemoveGrantDurationRequest], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIAppV1AppEntitlementUserBindingServiceRemoveGrantDurationResponseTypedDict( TypedDict diff --git a/src/sdk/models/operations/c1_api_app_v1_appentitlementuserbindingservice_updategrantduration.py b/src/sdk/models/operations/c1_api_app_v1_appentitlementuserbindingservice_updategrantduration.py index e0159e91..b2301a26 100644 --- a/src/sdk/models/operations/c1_api_app_v1_appentitlementuserbindingservice_updategrantduration.py +++ b/src/sdk/models/operations/c1_api_app_v1_appentitlementuserbindingservice_updategrantduration.py @@ -15,15 +15,20 @@ class C1APIAppV1AppEntitlementUserBindingServiceUpdateGrantDurationRequestTypedDict( TypedDict ): + update_grant_duration_request: ( + shared_updategrantdurationrequest.UpdateGrantDurationRequestTypedDict + ) app_entitlement_id: str app_id: str app_user_id: str - update_grant_duration_request: NotRequired[ - shared_updategrantdurationrequest.UpdateGrantDurationRequestTypedDict - ] class C1APIAppV1AppEntitlementUserBindingServiceUpdateGrantDurationRequest(BaseModel): + update_grant_duration_request: Annotated[ + shared_updategrantdurationrequest.UpdateGrantDurationRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + app_entitlement_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] @@ -36,11 +41,6 @@ class C1APIAppV1AppEntitlementUserBindingServiceUpdateGrantDurationRequest(BaseM str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - update_grant_duration_request: Annotated[ - Optional[shared_updategrantdurationrequest.UpdateGrantDurationRequest], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIAppV1AppEntitlementUserBindingServiceUpdateGrantDurationResponseTypedDict( TypedDict diff --git a/src/sdk/models/operations/c1_api_app_v1_appowners_add.py b/src/sdk/models/operations/c1_api_app_v1_appowners_add.py index 539b3f45..24c9a02b 100644 --- a/src/sdk/models/operations/c1_api_app_v1_appowners_add.py +++ b/src/sdk/models/operations/c1_api_app_v1_appowners_add.py @@ -13,14 +13,17 @@ class C1APIAppV1AppOwnersAddRequestTypedDict(TypedDict): + add_app_owner_request: shared_addappownerrequest.AddAppOwnerRequestTypedDict app_id: str user_id: str - add_app_owner_request: NotRequired[ - shared_addappownerrequest.AddAppOwnerRequestTypedDict - ] class C1APIAppV1AppOwnersAddRequest(BaseModel): + add_app_owner_request: Annotated[ + shared_addappownerrequest.AddAppOwnerRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + app_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] @@ -29,11 +32,6 @@ class C1APIAppV1AppOwnersAddRequest(BaseModel): str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - add_app_owner_request: Annotated[ - Optional[shared_addappownerrequest.AddAppOwnerRequest], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIAppV1AppOwnersAddResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_app_v1_appowners_delete.py b/src/sdk/models/operations/c1_api_app_v1_appowners_delete.py index ddf3bd59..7b7a9627 100644 --- a/src/sdk/models/operations/c1_api_app_v1_appowners_delete.py +++ b/src/sdk/models/operations/c1_api_app_v1_appowners_delete.py @@ -13,22 +13,22 @@ class C1APIAppV1AppOwnersDeleteRequestTypedDict(TypedDict): - app_id: str - delete_app_owners_request: NotRequired[ + delete_app_owners_request: ( shared_deleteappownersrequest.DeleteAppOwnersRequestTypedDict - ] + ) + app_id: str class C1APIAppV1AppOwnersDeleteRequest(BaseModel): + delete_app_owners_request: Annotated[ + shared_deleteappownersrequest.DeleteAppOwnersRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + app_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - delete_app_owners_request: Annotated[ - Optional[shared_deleteappownersrequest.DeleteAppOwnersRequest], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIAppV1AppOwnersDeleteResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_app_v1_appowners_remove.py b/src/sdk/models/operations/c1_api_app_v1_appowners_remove.py index 98518e31..07177816 100644 --- a/src/sdk/models/operations/c1_api_app_v1_appowners_remove.py +++ b/src/sdk/models/operations/c1_api_app_v1_appowners_remove.py @@ -13,14 +13,19 @@ class C1APIAppV1AppOwnersRemoveRequestTypedDict(TypedDict): + remove_app_owner_request: ( + shared_removeappownerrequest.RemoveAppOwnerRequestTypedDict + ) app_id: str user_id: str - remove_app_owner_request: NotRequired[ - shared_removeappownerrequest.RemoveAppOwnerRequestTypedDict - ] class C1APIAppV1AppOwnersRemoveRequest(BaseModel): + remove_app_owner_request: Annotated[ + shared_removeappownerrequest.RemoveAppOwnerRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + app_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] @@ -29,11 +34,6 @@ class C1APIAppV1AppOwnersRemoveRequest(BaseModel): str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - remove_app_owner_request: Annotated[ - Optional[shared_removeappownerrequest.RemoveAppOwnerRequest], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIAppV1AppOwnersRemoveResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_app_v1_appowners_set.py b/src/sdk/models/operations/c1_api_app_v1_appowners_set.py index 919bc32e..656ec01e 100644 --- a/src/sdk/models/operations/c1_api_app_v1_appowners_set.py +++ b/src/sdk/models/operations/c1_api_app_v1_appowners_set.py @@ -13,22 +13,20 @@ class C1APIAppV1AppOwnersSetRequestTypedDict(TypedDict): + set_app_owners_request: shared_setappownersrequest.SetAppOwnersRequestTypedDict app_id: str - set_app_owners_request: NotRequired[ - shared_setappownersrequest.SetAppOwnersRequestTypedDict - ] class C1APIAppV1AppOwnersSetRequest(BaseModel): + set_app_owners_request: Annotated[ + shared_setappownersrequest.SetAppOwnersRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + app_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - set_app_owners_request: Annotated[ - Optional[shared_setappownersrequest.SetAppOwnersRequest], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIAppV1AppOwnersSetResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_app_v1_appreportactionservice_generatereport.py b/src/sdk/models/operations/c1_api_app_v1_appreportactionservice_generatereport.py index c96da149..8f73d51a 100644 --- a/src/sdk/models/operations/c1_api_app_v1_appreportactionservice_generatereport.py +++ b/src/sdk/models/operations/c1_api_app_v1_appreportactionservice_generatereport.py @@ -13,24 +13,20 @@ class C1APIAppV1AppReportActionServiceGenerateReportRequestTypedDict(TypedDict): + app_actions_service_generate_report_request: shared_appactionsservicegeneratereportrequest.AppActionsServiceGenerateReportRequestTypedDict app_id: str - app_actions_service_generate_report_request: NotRequired[ - shared_appactionsservicegeneratereportrequest.AppActionsServiceGenerateReportRequestTypedDict - ] class C1APIAppV1AppReportActionServiceGenerateReportRequest(BaseModel): + app_actions_service_generate_report_request: Annotated[ + shared_appactionsservicegeneratereportrequest.AppActionsServiceGenerateReportRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + app_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - app_actions_service_generate_report_request: Annotated[ - Optional[ - shared_appactionsservicegeneratereportrequest.AppActionsServiceGenerateReportRequest - ], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIAppV1AppReportActionServiceGenerateReportResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_app_v1_appresourceowners_add.py b/src/sdk/models/operations/c1_api_app_v1_appresourceowners_add.py index 5cb02079..98bf6d9d 100644 --- a/src/sdk/models/operations/c1_api_app_v1_appresourceowners_add.py +++ b/src/sdk/models/operations/c1_api_app_v1_appresourceowners_add.py @@ -13,15 +13,20 @@ class C1APIAppV1AppResourceOwnersAddRequestTypedDict(TypedDict): + add_app_resource_owner_request: ( + shared_addappresourceownerrequest.AddAppResourceOwnerRequestTypedDict + ) app_id: str resource_id: str resource_type_id: str - add_app_resource_owner_request: NotRequired[ - shared_addappresourceownerrequest.AddAppResourceOwnerRequestTypedDict - ] class C1APIAppV1AppResourceOwnersAddRequest(BaseModel): + add_app_resource_owner_request: Annotated[ + shared_addappresourceownerrequest.AddAppResourceOwnerRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + app_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] @@ -34,11 +39,6 @@ class C1APIAppV1AppResourceOwnersAddRequest(BaseModel): str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - add_app_resource_owner_request: Annotated[ - Optional[shared_addappresourceownerrequest.AddAppResourceOwnerRequest], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIAppV1AppResourceOwnersAddResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_app_v1_appresourceowners_delete.py b/src/sdk/models/operations/c1_api_app_v1_appresourceowners_delete.py index c39d25e1..18f6e4d0 100644 --- a/src/sdk/models/operations/c1_api_app_v1_appresourceowners_delete.py +++ b/src/sdk/models/operations/c1_api_app_v1_appresourceowners_delete.py @@ -13,15 +13,20 @@ class C1APIAppV1AppResourceOwnersDeleteRequestTypedDict(TypedDict): + delete_app_resource_owners_request: ( + shared_deleteappresourceownersrequest.DeleteAppResourceOwnersRequestTypedDict + ) app_id: str resource_id: str resource_type_id: str - delete_app_resource_owners_request: NotRequired[ - shared_deleteappresourceownersrequest.DeleteAppResourceOwnersRequestTypedDict - ] class C1APIAppV1AppResourceOwnersDeleteRequest(BaseModel): + delete_app_resource_owners_request: Annotated[ + shared_deleteappresourceownersrequest.DeleteAppResourceOwnersRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + app_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] @@ -34,11 +39,6 @@ class C1APIAppV1AppResourceOwnersDeleteRequest(BaseModel): str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - delete_app_resource_owners_request: Annotated[ - Optional[shared_deleteappresourceownersrequest.DeleteAppResourceOwnersRequest], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIAppV1AppResourceOwnersDeleteResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_app_v1_appresourceowners_remove.py b/src/sdk/models/operations/c1_api_app_v1_appresourceowners_remove.py index 0436990c..8e868111 100644 --- a/src/sdk/models/operations/c1_api_app_v1_appresourceowners_remove.py +++ b/src/sdk/models/operations/c1_api_app_v1_appresourceowners_remove.py @@ -13,15 +13,20 @@ class C1APIAppV1AppResourceOwnersRemoveRequestTypedDict(TypedDict): + remove_app_resource_owner_request: ( + shared_removeappresourceownerrequest.RemoveAppResourceOwnerRequestTypedDict + ) app_id: str resource_id: str resource_type_id: str - remove_app_resource_owner_request: NotRequired[ - shared_removeappresourceownerrequest.RemoveAppResourceOwnerRequestTypedDict - ] class C1APIAppV1AppResourceOwnersRemoveRequest(BaseModel): + remove_app_resource_owner_request: Annotated[ + shared_removeappresourceownerrequest.RemoveAppResourceOwnerRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + app_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] @@ -34,11 +39,6 @@ class C1APIAppV1AppResourceOwnersRemoveRequest(BaseModel): str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - remove_app_resource_owner_request: Annotated[ - Optional[shared_removeappresourceownerrequest.RemoveAppResourceOwnerRequest], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIAppV1AppResourceOwnersRemoveResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_app_v1_appresourceowners_set.py b/src/sdk/models/operations/c1_api_app_v1_appresourceowners_set.py index c75ecfb4..b60c8c0f 100644 --- a/src/sdk/models/operations/c1_api_app_v1_appresourceowners_set.py +++ b/src/sdk/models/operations/c1_api_app_v1_appresourceowners_set.py @@ -13,15 +13,20 @@ class C1APIAppV1AppResourceOwnersSetRequestTypedDict(TypedDict): + set_app_resource_owners_request: ( + shared_setappresourceownersrequest.SetAppResourceOwnersRequestTypedDict + ) app_id: str resource_id: str resource_type_id: str - set_app_resource_owners_request: NotRequired[ - shared_setappresourceownersrequest.SetAppResourceOwnersRequestTypedDict - ] class C1APIAppV1AppResourceOwnersSetRequest(BaseModel): + set_app_resource_owners_request: Annotated[ + shared_setappresourceownersrequest.SetAppResourceOwnersRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + app_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] @@ -34,11 +39,6 @@ class C1APIAppV1AppResourceOwnersSetRequest(BaseModel): str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - set_app_resource_owners_request: Annotated[ - Optional[shared_setappresourceownersrequest.SetAppResourceOwnersRequest], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIAppV1AppResourceOwnersSetResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_app_v1_appresourceservice_createmanuallymanagedappresource.py b/src/sdk/models/operations/c1_api_app_v1_appresourceservice_createmanuallymanagedappresource.py index b2f7b7cc..e1f3cdac 100644 --- a/src/sdk/models/operations/c1_api_app_v1_appresourceservice_createmanuallymanagedappresource.py +++ b/src/sdk/models/operations/c1_api_app_v1_appresourceservice_createmanuallymanagedappresource.py @@ -15,14 +15,17 @@ class C1APIAppV1AppResourceServiceCreateManuallyManagedAppResourceRequestTypedDict( TypedDict ): + create_manually_managed_app_resource_request: shared_createmanuallymanagedappresourcerequest.CreateManuallyManagedAppResourceRequestTypedDict app_id: str app_resource_type_id: str - create_manually_managed_app_resource_request: NotRequired[ - shared_createmanuallymanagedappresourcerequest.CreateManuallyManagedAppResourceRequestTypedDict - ] class C1APIAppV1AppResourceServiceCreateManuallyManagedAppResourceRequest(BaseModel): + create_manually_managed_app_resource_request: Annotated[ + shared_createmanuallymanagedappresourcerequest.CreateManuallyManagedAppResourceRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + app_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] @@ -31,13 +34,6 @@ class C1APIAppV1AppResourceServiceCreateManuallyManagedAppResourceRequest(BaseMo str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - create_manually_managed_app_resource_request: Annotated[ - Optional[ - shared_createmanuallymanagedappresourcerequest.CreateManuallyManagedAppResourceRequest - ], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIAppV1AppResourceServiceCreateManuallyManagedAppResourceResponseTypedDict( TypedDict diff --git a/src/sdk/models/operations/c1_api_app_v1_appresourceservice_deletemanuallymanagedappresource.py b/src/sdk/models/operations/c1_api_app_v1_appresourceservice_deletemanuallymanagedappresource.py index 0a061e68..b563524f 100644 --- a/src/sdk/models/operations/c1_api_app_v1_appresourceservice_deletemanuallymanagedappresource.py +++ b/src/sdk/models/operations/c1_api_app_v1_appresourceservice_deletemanuallymanagedappresource.py @@ -15,15 +15,18 @@ class C1APIAppV1AppResourceServiceDeleteManuallyManagedAppResourceRequestTypedDict( TypedDict ): + delete_manually_managed_app_resource_request: shared_deletemanuallymanagedappresourcerequest.DeleteManuallyManagedAppResourceRequestTypedDict app_id: str app_resource_type_id: str id: str - delete_manually_managed_app_resource_request: NotRequired[ - shared_deletemanuallymanagedappresourcerequest.DeleteManuallyManagedAppResourceRequestTypedDict - ] class C1APIAppV1AppResourceServiceDeleteManuallyManagedAppResourceRequest(BaseModel): + delete_manually_managed_app_resource_request: Annotated[ + shared_deletemanuallymanagedappresourcerequest.DeleteManuallyManagedAppResourceRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + app_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] @@ -36,13 +39,6 @@ class C1APIAppV1AppResourceServiceDeleteManuallyManagedAppResourceRequest(BaseMo str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - delete_manually_managed_app_resource_request: Annotated[ - Optional[ - shared_deletemanuallymanagedappresourcerequest.DeleteManuallyManagedAppResourceRequest - ], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIAppV1AppResourceServiceDeleteManuallyManagedAppResourceResponseTypedDict( TypedDict diff --git a/src/sdk/models/operations/c1_api_app_v1_appresourceservice_update.py b/src/sdk/models/operations/c1_api_app_v1_appresourceservice_update.py index 71e95575..74c541cf 100644 --- a/src/sdk/models/operations/c1_api_app_v1_appresourceservice_update.py +++ b/src/sdk/models/operations/c1_api_app_v1_appresourceservice_update.py @@ -13,15 +13,20 @@ class C1APIAppV1AppResourceServiceUpdateRequestTypedDict(TypedDict): + app_resource_service_update_request: ( + shared_appresourceserviceupdaterequest.AppResourceServiceUpdateRequestTypedDict + ) app_id: str app_resource_type_id: str id: str - app_resource_service_update_request: NotRequired[ - shared_appresourceserviceupdaterequest.AppResourceServiceUpdateRequestTypedDict - ] class C1APIAppV1AppResourceServiceUpdateRequest(BaseModel): + app_resource_service_update_request: Annotated[ + shared_appresourceserviceupdaterequest.AppResourceServiceUpdateRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + app_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] @@ -34,13 +39,6 @@ class C1APIAppV1AppResourceServiceUpdateRequest(BaseModel): str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - app_resource_service_update_request: Annotated[ - Optional[ - shared_appresourceserviceupdaterequest.AppResourceServiceUpdateRequest - ], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIAppV1AppResourceServiceUpdateResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_app_v1_appresourcetypeservice_createmanuallymanagedresourcetype.py b/src/sdk/models/operations/c1_api_app_v1_appresourcetypeservice_createmanuallymanagedresourcetype.py index 5b3325d3..2d7abef9 100644 --- a/src/sdk/models/operations/c1_api_app_v1_appresourcetypeservice_createmanuallymanagedresourcetype.py +++ b/src/sdk/models/operations/c1_api_app_v1_appresourcetypeservice_createmanuallymanagedresourcetype.py @@ -15,26 +15,22 @@ class C1APIAppV1AppResourceTypeServiceCreateManuallyManagedResourceTypeRequestTypedDict( TypedDict ): + create_manually_managed_resource_type_request: shared_createmanuallymanagedresourcetyperequest.CreateManuallyManagedResourceTypeRequestTypedDict app_id: str - create_manually_managed_resource_type_request: NotRequired[ - shared_createmanuallymanagedresourcetyperequest.CreateManuallyManagedResourceTypeRequestTypedDict - ] class C1APIAppV1AppResourceTypeServiceCreateManuallyManagedResourceTypeRequest( BaseModel ): + create_manually_managed_resource_type_request: Annotated[ + shared_createmanuallymanagedresourcetyperequest.CreateManuallyManagedResourceTypeRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + app_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - create_manually_managed_resource_type_request: Annotated[ - Optional[ - shared_createmanuallymanagedresourcetyperequest.CreateManuallyManagedResourceTypeRequest - ], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIAppV1AppResourceTypeServiceCreateManuallyManagedResourceTypeResponseTypedDict( TypedDict diff --git a/src/sdk/models/operations/c1_api_app_v1_appresourcetypeservice_deletemanuallymanagedresourcetype.py b/src/sdk/models/operations/c1_api_app_v1_appresourcetypeservice_deletemanuallymanagedresourcetype.py index 7044ca57..d48181bb 100644 --- a/src/sdk/models/operations/c1_api_app_v1_appresourcetypeservice_deletemanuallymanagedresourcetype.py +++ b/src/sdk/models/operations/c1_api_app_v1_appresourcetypeservice_deletemanuallymanagedresourcetype.py @@ -15,16 +15,19 @@ class C1APIAppV1AppResourceTypeServiceDeleteManuallyManagedResourceTypeRequestTypedDict( TypedDict ): + delete_manually_managed_resource_type_request: shared_deletemanuallymanagedresourcetyperequest.DeleteManuallyManagedResourceTypeRequestTypedDict app_id: str id: str - delete_manually_managed_resource_type_request: NotRequired[ - shared_deletemanuallymanagedresourcetyperequest.DeleteManuallyManagedResourceTypeRequestTypedDict - ] class C1APIAppV1AppResourceTypeServiceDeleteManuallyManagedResourceTypeRequest( BaseModel ): + delete_manually_managed_resource_type_request: Annotated[ + shared_deletemanuallymanagedresourcetyperequest.DeleteManuallyManagedResourceTypeRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + app_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] @@ -33,13 +36,6 @@ class C1APIAppV1AppResourceTypeServiceDeleteManuallyManagedResourceTypeRequest( str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - delete_manually_managed_resource_type_request: Annotated[ - Optional[ - shared_deletemanuallymanagedresourcetyperequest.DeleteManuallyManagedResourceTypeRequest - ], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIAppV1AppResourceTypeServiceDeleteManuallyManagedResourceTypeResponseTypedDict( TypedDict diff --git a/src/sdk/models/operations/c1_api_app_v1_appresourcetypeservice_updatemanuallymanagedresourcetype.py b/src/sdk/models/operations/c1_api_app_v1_appresourcetypeservice_updatemanuallymanagedresourcetype.py index f06e78ba..6366fd0b 100644 --- a/src/sdk/models/operations/c1_api_app_v1_appresourcetypeservice_updatemanuallymanagedresourcetype.py +++ b/src/sdk/models/operations/c1_api_app_v1_appresourcetypeservice_updatemanuallymanagedresourcetype.py @@ -15,16 +15,19 @@ class C1APIAppV1AppResourceTypeServiceUpdateManuallyManagedResourceTypeRequestTypedDict( TypedDict ): + update_manually_managed_resource_type_request: shared_updatemanuallymanagedresourcetyperequest.UpdateManuallyManagedResourceTypeRequestTypedDict app_id: str id: str - update_manually_managed_resource_type_request: NotRequired[ - shared_updatemanuallymanagedresourcetyperequest.UpdateManuallyManagedResourceTypeRequestTypedDict - ] class C1APIAppV1AppResourceTypeServiceUpdateManuallyManagedResourceTypeRequest( BaseModel ): + update_manually_managed_resource_type_request: Annotated[ + shared_updatemanuallymanagedresourcetyperequest.UpdateManuallyManagedResourceTypeRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + app_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] @@ -33,13 +36,6 @@ class C1APIAppV1AppResourceTypeServiceUpdateManuallyManagedResourceTypeRequest( str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - update_manually_managed_resource_type_request: Annotated[ - Optional[ - shared_updatemanuallymanagedresourcetyperequest.UpdateManuallyManagedResourceTypeRequest - ], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIAppV1AppResourceTypeServiceUpdateManuallyManagedResourceTypeResponseTypedDict( TypedDict diff --git a/src/sdk/models/operations/c1_api_app_v1_apps_delete.py b/src/sdk/models/operations/c1_api_app_v1_apps_delete.py index f12c5c2d..89279766 100644 --- a/src/sdk/models/operations/c1_api_app_v1_apps_delete.py +++ b/src/sdk/models/operations/c1_api_app_v1_apps_delete.py @@ -13,20 +13,20 @@ class C1APIAppV1AppsDeleteRequestTypedDict(TypedDict): + delete_app_request: shared_deleteapprequest.DeleteAppRequestTypedDict id: str - delete_app_request: NotRequired[shared_deleteapprequest.DeleteAppRequestTypedDict] class C1APIAppV1AppsDeleteRequest(BaseModel): + delete_app_request: Annotated[ + shared_deleteapprequest.DeleteAppRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - delete_app_request: Annotated[ - Optional[shared_deleteapprequest.DeleteAppRequest], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIAppV1AppsDeleteResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_app_v1_apps_update.py b/src/sdk/models/operations/c1_api_app_v1_apps_update.py index b6c3c401..b6dfb652 100644 --- a/src/sdk/models/operations/c1_api_app_v1_apps_update.py +++ b/src/sdk/models/operations/c1_api_app_v1_apps_update.py @@ -13,20 +13,20 @@ class C1APIAppV1AppsUpdateRequestTypedDict(TypedDict): + update_app_request: shared_updateapprequest.UpdateAppRequestTypedDict id: str - update_app_request: NotRequired[shared_updateapprequest.UpdateAppRequestTypedDict] class C1APIAppV1AppsUpdateRequest(BaseModel): + update_app_request: Annotated[ + shared_updateapprequest.UpdateAppRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - update_app_request: Annotated[ - Optional[shared_updateapprequest.UpdateAppRequest], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIAppV1AppsUpdateResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_app_v1_appusagecontrolsservice_update.py b/src/sdk/models/operations/c1_api_app_v1_appusagecontrolsservice_update.py index e06a05de..69e89949 100644 --- a/src/sdk/models/operations/c1_api_app_v1_appusagecontrolsservice_update.py +++ b/src/sdk/models/operations/c1_api_app_v1_appusagecontrolsservice_update.py @@ -13,22 +13,22 @@ class C1APIAppV1AppUsageControlsServiceUpdateRequestTypedDict(TypedDict): - app_id: str - update_app_usage_controls_request: NotRequired[ + update_app_usage_controls_request: ( shared_updateappusagecontrolsrequest.UpdateAppUsageControlsRequestTypedDict - ] + ) + app_id: str class C1APIAppV1AppUsageControlsServiceUpdateRequest(BaseModel): + update_app_usage_controls_request: Annotated[ + shared_updateappusagecontrolsrequest.UpdateAppUsageControlsRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + app_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - update_app_usage_controls_request: Annotated[ - Optional[shared_updateappusagecontrolsrequest.UpdateAppUsageControlsRequest], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIAppV1AppUsageControlsServiceUpdateResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_app_v1_appuserservice_update.py b/src/sdk/models/operations/c1_api_app_v1_appuserservice_update.py index c1a9bfa4..9a329ffb 100644 --- a/src/sdk/models/operations/c1_api_app_v1_appuserservice_update.py +++ b/src/sdk/models/operations/c1_api_app_v1_appuserservice_update.py @@ -13,14 +13,19 @@ class C1APIAppV1AppUserServiceUpdateRequestTypedDict(TypedDict): + app_user_service_update_request: ( + shared_appuserserviceupdaterequest.AppUserServiceUpdateRequestTypedDict + ) app_user_app_id: str app_user_id: str - app_user_service_update_request: NotRequired[ - shared_appuserserviceupdaterequest.AppUserServiceUpdateRequestTypedDict - ] class C1APIAppV1AppUserServiceUpdateRequest(BaseModel): + app_user_service_update_request: Annotated[ + shared_appuserserviceupdaterequest.AppUserServiceUpdateRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + app_user_app_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] @@ -29,11 +34,6 @@ class C1APIAppV1AppUserServiceUpdateRequest(BaseModel): str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - app_user_service_update_request: Annotated[ - Optional[shared_appuserserviceupdaterequest.AppUserServiceUpdateRequest], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIAppV1AppUserServiceUpdateResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_app_v1_connectorservice_confirmsyncvalid.py b/src/sdk/models/operations/c1_api_app_v1_connectorservice_confirmsyncvalid.py index 4a9583de..0cd35570 100644 --- a/src/sdk/models/operations/c1_api_app_v1_connectorservice_confirmsyncvalid.py +++ b/src/sdk/models/operations/c1_api_app_v1_connectorservice_confirmsyncvalid.py @@ -13,15 +13,20 @@ class C1APIAppV1ConnectorServiceConfirmSyncValidRequestTypedDict(TypedDict): + confirm_sync_valid_request: ( + shared_confirmsyncvalidrequest.ConfirmSyncValidRequestTypedDict + ) app_id: str connector_id: str sync_lifecycle_id: str - confirm_sync_valid_request: NotRequired[ - shared_confirmsyncvalidrequest.ConfirmSyncValidRequestTypedDict - ] class C1APIAppV1ConnectorServiceConfirmSyncValidRequest(BaseModel): + confirm_sync_valid_request: Annotated[ + shared_confirmsyncvalidrequest.ConfirmSyncValidRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + app_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] @@ -34,11 +39,6 @@ class C1APIAppV1ConnectorServiceConfirmSyncValidRequest(BaseModel): str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - confirm_sync_valid_request: Annotated[ - Optional[shared_confirmsyncvalidrequest.ConfirmSyncValidRequest], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIAppV1ConnectorServiceConfirmSyncValidResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_app_v1_connectorservice_create.py b/src/sdk/models/operations/c1_api_app_v1_connectorservice_create.py index f58a5c28..f061ac00 100644 --- a/src/sdk/models/operations/c1_api_app_v1_connectorservice_create.py +++ b/src/sdk/models/operations/c1_api_app_v1_connectorservice_create.py @@ -13,22 +13,22 @@ class C1APIAppV1ConnectorServiceCreateRequestTypedDict(TypedDict): - app_id: str - connector_service_create_request: NotRequired[ + connector_service_create_request: ( shared_connectorservicecreaterequest.ConnectorServiceCreateRequestTypedDict - ] + ) + app_id: str class C1APIAppV1ConnectorServiceCreateRequest(BaseModel): + connector_service_create_request: Annotated[ + shared_connectorservicecreaterequest.ConnectorServiceCreateRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + app_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - connector_service_create_request: Annotated[ - Optional[shared_connectorservicecreaterequest.ConnectorServiceCreateRequest], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIAppV1ConnectorServiceCreateResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_app_v1_connectorservice_createdelegated.py b/src/sdk/models/operations/c1_api_app_v1_connectorservice_createdelegated.py index c5bec091..a2e1a4c1 100644 --- a/src/sdk/models/operations/c1_api_app_v1_connectorservice_createdelegated.py +++ b/src/sdk/models/operations/c1_api_app_v1_connectorservice_createdelegated.py @@ -13,24 +13,20 @@ class C1APIAppV1ConnectorServiceCreateDelegatedRequestTypedDict(TypedDict): + connector_service_create_delegated_request: shared_connectorservicecreatedelegatedrequest.ConnectorServiceCreateDelegatedRequestTypedDict app_id: str - connector_service_create_delegated_request: NotRequired[ - shared_connectorservicecreatedelegatedrequest.ConnectorServiceCreateDelegatedRequestTypedDict - ] class C1APIAppV1ConnectorServiceCreateDelegatedRequest(BaseModel): + connector_service_create_delegated_request: Annotated[ + shared_connectorservicecreatedelegatedrequest.ConnectorServiceCreateDelegatedRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + app_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - connector_service_create_delegated_request: Annotated[ - Optional[ - shared_connectorservicecreatedelegatedrequest.ConnectorServiceCreateDelegatedRequest - ], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIAppV1ConnectorServiceCreateDelegatedResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_app_v1_connectorservice_delete.py b/src/sdk/models/operations/c1_api_app_v1_connectorservice_delete.py index cd616e9c..170b2511 100644 --- a/src/sdk/models/operations/c1_api_app_v1_connectorservice_delete.py +++ b/src/sdk/models/operations/c1_api_app_v1_connectorservice_delete.py @@ -13,14 +13,19 @@ class C1APIAppV1ConnectorServiceDeleteRequestTypedDict(TypedDict): + connector_service_delete_request: ( + shared_connectorservicedeleterequest.ConnectorServiceDeleteRequestTypedDict + ) app_id: str id: str - connector_service_delete_request: NotRequired[ - shared_connectorservicedeleterequest.ConnectorServiceDeleteRequestTypedDict - ] class C1APIAppV1ConnectorServiceDeleteRequest(BaseModel): + connector_service_delete_request: Annotated[ + shared_connectorservicedeleterequest.ConnectorServiceDeleteRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + app_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] @@ -29,11 +34,6 @@ class C1APIAppV1ConnectorServiceDeleteRequest(BaseModel): str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - connector_service_delete_request: Annotated[ - Optional[shared_connectorservicedeleterequest.ConnectorServiceDeleteRequest], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIAppV1ConnectorServiceDeleteResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_app_v1_connectorservice_forcesync.py b/src/sdk/models/operations/c1_api_app_v1_connectorservice_forcesync.py index 6c2c3788..7e6d3f1e 100644 --- a/src/sdk/models/operations/c1_api_app_v1_connectorservice_forcesync.py +++ b/src/sdk/models/operations/c1_api_app_v1_connectorservice_forcesync.py @@ -13,12 +13,17 @@ class C1APIAppV1ConnectorServiceForceSyncRequestTypedDict(TypedDict): + force_sync_request: shared_forcesyncrequest.ForceSyncRequestTypedDict app_id: str connector_id: str - force_sync_request: NotRequired[shared_forcesyncrequest.ForceSyncRequestTypedDict] class C1APIAppV1ConnectorServiceForceSyncRequest(BaseModel): + force_sync_request: Annotated[ + shared_forcesyncrequest.ForceSyncRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + app_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] @@ -27,11 +32,6 @@ class C1APIAppV1ConnectorServiceForceSyncRequest(BaseModel): str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - force_sync_request: Annotated[ - Optional[shared_forcesyncrequest.ForceSyncRequest], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIAppV1ConnectorServiceForceSyncResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_app_v1_connectorservice_pausesync.py b/src/sdk/models/operations/c1_api_app_v1_connectorservice_pausesync.py index 119f7d17..2fdc8351 100644 --- a/src/sdk/models/operations/c1_api_app_v1_connectorservice_pausesync.py +++ b/src/sdk/models/operations/c1_api_app_v1_connectorservice_pausesync.py @@ -13,12 +13,17 @@ class C1APIAppV1ConnectorServicePauseSyncRequestTypedDict(TypedDict): + pause_sync_request: shared_pausesyncrequest.PauseSyncRequestTypedDict app_id: str connector_id: str - pause_sync_request: NotRequired[shared_pausesyncrequest.PauseSyncRequestTypedDict] class C1APIAppV1ConnectorServicePauseSyncRequest(BaseModel): + pause_sync_request: Annotated[ + shared_pausesyncrequest.PauseSyncRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + app_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] @@ -27,11 +32,6 @@ class C1APIAppV1ConnectorServicePauseSyncRequest(BaseModel): str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - pause_sync_request: Annotated[ - Optional[shared_pausesyncrequest.PauseSyncRequest], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIAppV1ConnectorServicePauseSyncResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_app_v1_connectorservice_resumesync.py b/src/sdk/models/operations/c1_api_app_v1_connectorservice_resumesync.py index b23a3910..f03dbbcd 100644 --- a/src/sdk/models/operations/c1_api_app_v1_connectorservice_resumesync.py +++ b/src/sdk/models/operations/c1_api_app_v1_connectorservice_resumesync.py @@ -13,14 +13,17 @@ class C1APIAppV1ConnectorServiceResumeSyncRequestTypedDict(TypedDict): + resume_sync_request: shared_resumesyncrequest.ResumeSyncRequestTypedDict app_id: str connector_id: str - resume_sync_request: NotRequired[ - shared_resumesyncrequest.ResumeSyncRequestTypedDict - ] class C1APIAppV1ConnectorServiceResumeSyncRequest(BaseModel): + resume_sync_request: Annotated[ + shared_resumesyncrequest.ResumeSyncRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + app_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] @@ -29,11 +32,6 @@ class C1APIAppV1ConnectorServiceResumeSyncRequest(BaseModel): str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - resume_sync_request: Annotated[ - Optional[shared_resumesyncrequest.ResumeSyncRequest], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIAppV1ConnectorServiceResumeSyncResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_app_v1_connectorservice_revokecredential.py b/src/sdk/models/operations/c1_api_app_v1_connectorservice_revokecredential.py index 2653d836..77d4c569 100644 --- a/src/sdk/models/operations/c1_api_app_v1_connectorservice_revokecredential.py +++ b/src/sdk/models/operations/c1_api_app_v1_connectorservice_revokecredential.py @@ -13,15 +13,18 @@ class C1APIAppV1ConnectorServiceRevokeCredentialRequestTypedDict(TypedDict): + connector_service_revoke_credential_request: shared_connectorservicerevokecredentialrequest.ConnectorServiceRevokeCredentialRequestTypedDict app_id: str connector_id: str id: str - connector_service_revoke_credential_request: NotRequired[ - shared_connectorservicerevokecredentialrequest.ConnectorServiceRevokeCredentialRequestTypedDict - ] class C1APIAppV1ConnectorServiceRevokeCredentialRequest(BaseModel): + connector_service_revoke_credential_request: Annotated[ + shared_connectorservicerevokecredentialrequest.ConnectorServiceRevokeCredentialRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + app_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] @@ -34,13 +37,6 @@ class C1APIAppV1ConnectorServiceRevokeCredentialRequest(BaseModel): str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - connector_service_revoke_credential_request: Annotated[ - Optional[ - shared_connectorservicerevokecredentialrequest.ConnectorServiceRevokeCredentialRequest - ], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIAppV1ConnectorServiceRevokeCredentialResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_app_v1_connectorservice_update.py b/src/sdk/models/operations/c1_api_app_v1_connectorservice_update.py index 2e58270e..2b1034bc 100644 --- a/src/sdk/models/operations/c1_api_app_v1_connectorservice_update.py +++ b/src/sdk/models/operations/c1_api_app_v1_connectorservice_update.py @@ -13,14 +13,19 @@ class C1APIAppV1ConnectorServiceUpdateRequestTypedDict(TypedDict): + connector_service_update_request: ( + shared_connectorserviceupdaterequest.ConnectorServiceUpdateRequestTypedDict + ) app_id: str id: str - connector_service_update_request: NotRequired[ - shared_connectorserviceupdaterequest.ConnectorServiceUpdateRequestTypedDict - ] class C1APIAppV1ConnectorServiceUpdateRequest(BaseModel): + connector_service_update_request: Annotated[ + shared_connectorserviceupdaterequest.ConnectorServiceUpdateRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + app_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] @@ -29,11 +34,6 @@ class C1APIAppV1ConnectorServiceUpdateRequest(BaseModel): str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - connector_service_update_request: Annotated[ - Optional[shared_connectorserviceupdaterequest.ConnectorServiceUpdateRequest], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIAppV1ConnectorServiceUpdateResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_app_v1_connectorservice_updatedelegated.py b/src/sdk/models/operations/c1_api_app_v1_connectorservice_updatedelegated.py index c7f97166..62d79e94 100644 --- a/src/sdk/models/operations/c1_api_app_v1_connectorservice_updatedelegated.py +++ b/src/sdk/models/operations/c1_api_app_v1_connectorservice_updatedelegated.py @@ -13,14 +13,17 @@ class C1APIAppV1ConnectorServiceUpdateDelegatedRequestTypedDict(TypedDict): + connector_service_update_delegated_request: shared_connectorserviceupdatedelegatedrequest.ConnectorServiceUpdateDelegatedRequestTypedDict connector_app_id: str connector_id: str - connector_service_update_delegated_request: NotRequired[ - shared_connectorserviceupdatedelegatedrequest.ConnectorServiceUpdateDelegatedRequestTypedDict - ] class C1APIAppV1ConnectorServiceUpdateDelegatedRequest(BaseModel): + connector_service_update_delegated_request: Annotated[ + shared_connectorserviceupdatedelegatedrequest.ConnectorServiceUpdateDelegatedRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + connector_app_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] @@ -29,13 +32,6 @@ class C1APIAppV1ConnectorServiceUpdateDelegatedRequest(BaseModel): str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - connector_service_update_delegated_request: Annotated[ - Optional[ - shared_connectorserviceupdatedelegatedrequest.ConnectorServiceUpdateDelegatedRequest - ], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIAppV1ConnectorServiceUpdateDelegatedResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_attribute_v1_attributes_deleteattributevalue.py b/src/sdk/models/operations/c1_api_attribute_v1_attributes_deleteattributevalue.py index d01f861d..935b6c5c 100644 --- a/src/sdk/models/operations/c1_api_attribute_v1_attributes_deleteattributevalue.py +++ b/src/sdk/models/operations/c1_api_attribute_v1_attributes_deleteattributevalue.py @@ -13,22 +13,22 @@ class C1APIAttributeV1AttributesDeleteAttributeValueRequestTypedDict(TypedDict): - id: str - delete_attribute_value_request: NotRequired[ + delete_attribute_value_request: ( shared_deleteattributevaluerequest.DeleteAttributeValueRequestTypedDict - ] + ) + id: str class C1APIAttributeV1AttributesDeleteAttributeValueRequest(BaseModel): + delete_attribute_value_request: Annotated[ + shared_deleteattributevaluerequest.DeleteAttributeValueRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - delete_attribute_value_request: Annotated[ - Optional[shared_deleteattributevaluerequest.DeleteAttributeValueRequest], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIAttributeV1AttributesDeleteAttributeValueResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_attribute_v1_attributes_deletecomplianceframeworkattributevalue.py b/src/sdk/models/operations/c1_api_attribute_v1_attributes_deletecomplianceframeworkattributevalue.py index 5159cbd7..7b841f66 100644 --- a/src/sdk/models/operations/c1_api_attribute_v1_attributes_deletecomplianceframeworkattributevalue.py +++ b/src/sdk/models/operations/c1_api_attribute_v1_attributes_deletecomplianceframeworkattributevalue.py @@ -15,26 +15,22 @@ class C1APIAttributeV1AttributesDeleteComplianceFrameworkAttributeValueRequestTypedDict( TypedDict ): + delete_compliance_framework_attribute_value_request: shared_deletecomplianceframeworkattributevaluerequest.DeleteComplianceFrameworkAttributeValueRequestTypedDict id: str - delete_compliance_framework_attribute_value_request: NotRequired[ - shared_deletecomplianceframeworkattributevaluerequest.DeleteComplianceFrameworkAttributeValueRequestTypedDict - ] class C1APIAttributeV1AttributesDeleteComplianceFrameworkAttributeValueRequest( BaseModel ): + delete_compliance_framework_attribute_value_request: Annotated[ + shared_deletecomplianceframeworkattributevaluerequest.DeleteComplianceFrameworkAttributeValueRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - delete_compliance_framework_attribute_value_request: Annotated[ - Optional[ - shared_deletecomplianceframeworkattributevaluerequest.DeleteComplianceFrameworkAttributeValueRequest - ], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIAttributeV1AttributesDeleteComplianceFrameworkAttributeValueResponseTypedDict( TypedDict diff --git a/src/sdk/models/operations/c1_api_attribute_v1_attributes_deleterisklevelattributevalue.py b/src/sdk/models/operations/c1_api_attribute_v1_attributes_deleterisklevelattributevalue.py index 7fc4d344..0b4ab8a8 100644 --- a/src/sdk/models/operations/c1_api_attribute_v1_attributes_deleterisklevelattributevalue.py +++ b/src/sdk/models/operations/c1_api_attribute_v1_attributes_deleterisklevelattributevalue.py @@ -15,24 +15,20 @@ class C1APIAttributeV1AttributesDeleteRiskLevelAttributeValueRequestTypedDict( TypedDict ): + delete_risk_level_attribute_value_request: shared_deleterisklevelattributevaluerequest.DeleteRiskLevelAttributeValueRequestTypedDict id: str - delete_risk_level_attribute_value_request: NotRequired[ - shared_deleterisklevelattributevaluerequest.DeleteRiskLevelAttributeValueRequestTypedDict - ] class C1APIAttributeV1AttributesDeleteRiskLevelAttributeValueRequest(BaseModel): + delete_risk_level_attribute_value_request: Annotated[ + shared_deleterisklevelattributevaluerequest.DeleteRiskLevelAttributeValueRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - delete_risk_level_attribute_value_request: Annotated[ - Optional[ - shared_deleterisklevelattributevaluerequest.DeleteRiskLevelAttributeValueRequest - ], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIAttributeV1AttributesDeleteRiskLevelAttributeValueResponseTypedDict( TypedDict diff --git a/src/sdk/models/operations/c1_api_automations_v1_automationexecutionactionsservice_terminateautomation.py b/src/sdk/models/operations/c1_api_automations_v1_automationexecutionactionsservice_terminateautomation.py index 3dc2574b..b5701e80 100644 --- a/src/sdk/models/operations/c1_api_automations_v1_automationexecutionactionsservice_terminateautomation.py +++ b/src/sdk/models/operations/c1_api_automations_v1_automationexecutionactionsservice_terminateautomation.py @@ -23,15 +23,20 @@ class C1APIAutomationsV1AutomationExecutionActionsServiceTerminateAutomationRequestTypedDict( TypedDict ): - id: int - terminate_automation_request: NotRequired[ + terminate_automation_request: ( shared_terminateautomationrequest.TerminateAutomationRequestTypedDict - ] + ) + id: int class C1APIAutomationsV1AutomationExecutionActionsServiceTerminateAutomationRequest( BaseModel ): + terminate_automation_request: Annotated[ + shared_terminateautomationrequest.TerminateAutomationRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + id: Annotated[ Annotated[ int, BeforeValidator(validate_int), PlainSerializer(serialize_int(True)) @@ -39,11 +44,6 @@ class C1APIAutomationsV1AutomationExecutionActionsServiceTerminateAutomationRequ FieldMetadata(path=PathParamMetadata(style="simple", explode=False)), ] - terminate_automation_request: Annotated[ - Optional[shared_terminateautomationrequest.TerminateAutomationRequest], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIAutomationsV1AutomationExecutionActionsServiceTerminateAutomationResponseTypedDict( TypedDict diff --git a/src/sdk/models/operations/c1_api_automations_v1_automationservice_deleteautomation.py b/src/sdk/models/operations/c1_api_automations_v1_automationservice_deleteautomation.py index c77f5b01..71d92ed1 100644 --- a/src/sdk/models/operations/c1_api_automations_v1_automationservice_deleteautomation.py +++ b/src/sdk/models/operations/c1_api_automations_v1_automationservice_deleteautomation.py @@ -13,22 +13,22 @@ class C1APIAutomationsV1AutomationServiceDeleteAutomationRequestTypedDict(TypedDict): - id: str - delete_automation_request: NotRequired[ + delete_automation_request: ( shared_deleteautomationrequest.DeleteAutomationRequestTypedDict - ] + ) + id: str class C1APIAutomationsV1AutomationServiceDeleteAutomationRequest(BaseModel): + delete_automation_request: Annotated[ + shared_deleteautomationrequest.DeleteAutomationRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - delete_automation_request: Annotated[ - Optional[shared_deleteautomationrequest.DeleteAutomationRequest], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIAutomationsV1AutomationServiceDeleteAutomationResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_automations_v1_automationservice_executeautomation.py b/src/sdk/models/operations/c1_api_automations_v1_automationservice_executeautomation.py index ab24b35f..6290173e 100644 --- a/src/sdk/models/operations/c1_api_automations_v1_automationservice_executeautomation.py +++ b/src/sdk/models/operations/c1_api_automations_v1_automationservice_executeautomation.py @@ -13,22 +13,22 @@ class C1APIAutomationsV1AutomationServiceExecuteAutomationRequestTypedDict(TypedDict): - id: str - execute_automation_request: NotRequired[ + execute_automation_request: ( shared_executeautomationrequest.ExecuteAutomationRequestTypedDict - ] + ) + id: str class C1APIAutomationsV1AutomationServiceExecuteAutomationRequest(BaseModel): + execute_automation_request: Annotated[ + shared_executeautomationrequest.ExecuteAutomationRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - execute_automation_request: Annotated[ - Optional[shared_executeautomationrequest.ExecuteAutomationRequest], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIAutomationsV1AutomationServiceExecuteAutomationResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_automations_v1_automationservice_updateautomation.py b/src/sdk/models/operations/c1_api_automations_v1_automationservice_updateautomation.py index 153757b5..ac2ef2fd 100644 --- a/src/sdk/models/operations/c1_api_automations_v1_automationservice_updateautomation.py +++ b/src/sdk/models/operations/c1_api_automations_v1_automationservice_updateautomation.py @@ -13,22 +13,22 @@ class C1APIAutomationsV1AutomationServiceUpdateAutomationRequestTypedDict(TypedDict): - id: str - update_automation_request: NotRequired[ + update_automation_request: ( shared_updateautomationrequest.UpdateAutomationRequestTypedDict - ] + ) + id: str class C1APIAutomationsV1AutomationServiceUpdateAutomationRequest(BaseModel): + update_automation_request: Annotated[ + shared_updateautomationrequest.UpdateAutomationRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - update_automation_request: Annotated[ - Optional[shared_updateautomationrequest.UpdateAutomationRequest], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIAutomationsV1AutomationServiceUpdateAutomationResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_directory_v1_directoryservice_delete.py b/src/sdk/models/operations/c1_api_directory_v1_directoryservice_delete.py index 33da6564..78a2bb6b 100644 --- a/src/sdk/models/operations/c1_api_directory_v1_directoryservice_delete.py +++ b/src/sdk/models/operations/c1_api_directory_v1_directoryservice_delete.py @@ -13,22 +13,22 @@ class C1APIDirectoryV1DirectoryServiceDeleteRequestTypedDict(TypedDict): - app_id: str - directory_service_delete_request: NotRequired[ + directory_service_delete_request: ( shared_directoryservicedeleterequest.DirectoryServiceDeleteRequestTypedDict - ] + ) + app_id: str class C1APIDirectoryV1DirectoryServiceDeleteRequest(BaseModel): + directory_service_delete_request: Annotated[ + shared_directoryservicedeleterequest.DirectoryServiceDeleteRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + app_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - directory_service_delete_request: Annotated[ - Optional[shared_directoryservicedeleterequest.DirectoryServiceDeleteRequest], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIDirectoryV1DirectoryServiceDeleteResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_directory_v1_directoryservice_update.py b/src/sdk/models/operations/c1_api_directory_v1_directoryservice_update.py index 0fdd0804..f5b3ee6d 100644 --- a/src/sdk/models/operations/c1_api_directory_v1_directoryservice_update.py +++ b/src/sdk/models/operations/c1_api_directory_v1_directoryservice_update.py @@ -13,22 +13,22 @@ class C1APIDirectoryV1DirectoryServiceUpdateRequestTypedDict(TypedDict): - app_id: str - directory_service_update_request: NotRequired[ + directory_service_update_request: ( shared_directoryserviceupdaterequest.DirectoryServiceUpdateRequestTypedDict - ] + ) + app_id: str class C1APIDirectoryV1DirectoryServiceUpdateRequest(BaseModel): + directory_service_update_request: Annotated[ + shared_directoryserviceupdaterequest.DirectoryServiceUpdateRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + app_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - directory_service_update_request: Annotated[ - Optional[shared_directoryserviceupdaterequest.DirectoryServiceUpdateRequest], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIDirectoryV1DirectoryServiceUpdateResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_functions_v1_functionsservice_commit.py b/src/sdk/models/operations/c1_api_functions_v1_functionsservice_commit.py index 5af1f420..14994785 100644 --- a/src/sdk/models/operations/c1_api_functions_v1_functionsservice_commit.py +++ b/src/sdk/models/operations/c1_api_functions_v1_functionsservice_commit.py @@ -13,22 +13,22 @@ class C1APIFunctionsV1FunctionsServiceCommitRequestTypedDict(TypedDict): - function_id: str - functions_service_commit_request: NotRequired[ + functions_service_commit_request: ( shared_functionsservicecommitrequest.FunctionsServiceCommitRequestTypedDict - ] + ) + function_id: str class C1APIFunctionsV1FunctionsServiceCommitRequest(BaseModel): + functions_service_commit_request: Annotated[ + shared_functionsservicecommitrequest.FunctionsServiceCommitRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + function_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - functions_service_commit_request: Annotated[ - Optional[shared_functionsservicecommitrequest.FunctionsServiceCommitRequest], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIFunctionsV1FunctionsServiceCommitResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_functions_v1_functionsservice_createtag.py b/src/sdk/models/operations/c1_api_functions_v1_functionsservice_createtag.py index 11ce481b..11953963 100644 --- a/src/sdk/models/operations/c1_api_functions_v1_functionsservice_createtag.py +++ b/src/sdk/models/operations/c1_api_functions_v1_functionsservice_createtag.py @@ -13,24 +13,20 @@ class C1APIFunctionsV1FunctionsServiceCreateTagRequestTypedDict(TypedDict): + functions_service_create_tag_request: shared_functionsservicecreatetagrequest.FunctionsServiceCreateTagRequestTypedDict function_id: str - functions_service_create_tag_request: NotRequired[ - shared_functionsservicecreatetagrequest.FunctionsServiceCreateTagRequestTypedDict - ] class C1APIFunctionsV1FunctionsServiceCreateTagRequest(BaseModel): + functions_service_create_tag_request: Annotated[ + shared_functionsservicecreatetagrequest.FunctionsServiceCreateTagRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + function_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - functions_service_create_tag_request: Annotated[ - Optional[ - shared_functionsservicecreatetagrequest.FunctionsServiceCreateTagRequest - ], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIFunctionsV1FunctionsServiceCreateTagResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_functions_v1_functionsservice_deletefunction.py b/src/sdk/models/operations/c1_api_functions_v1_functionsservice_deletefunction.py index 0645730e..ff349320 100644 --- a/src/sdk/models/operations/c1_api_functions_v1_functionsservice_deletefunction.py +++ b/src/sdk/models/operations/c1_api_functions_v1_functionsservice_deletefunction.py @@ -13,24 +13,20 @@ class C1APIFunctionsV1FunctionsServiceDeleteFunctionRequestTypedDict(TypedDict): + functions_service_delete_function_request: shared_functionsservicedeletefunctionrequest.FunctionsServiceDeleteFunctionRequestTypedDict id: str - functions_service_delete_function_request: NotRequired[ - shared_functionsservicedeletefunctionrequest.FunctionsServiceDeleteFunctionRequestTypedDict - ] class C1APIFunctionsV1FunctionsServiceDeleteFunctionRequest(BaseModel): + functions_service_delete_function_request: Annotated[ + shared_functionsservicedeletefunctionrequest.FunctionsServiceDeleteFunctionRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - functions_service_delete_function_request: Annotated[ - Optional[ - shared_functionsservicedeletefunctionrequest.FunctionsServiceDeleteFunctionRequest - ], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIFunctionsV1FunctionsServiceDeleteFunctionResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_functions_v1_functionsservice_invoke.py b/src/sdk/models/operations/c1_api_functions_v1_functionsservice_invoke.py index af6682a1..f9c79c7b 100644 --- a/src/sdk/models/operations/c1_api_functions_v1_functionsservice_invoke.py +++ b/src/sdk/models/operations/c1_api_functions_v1_functionsservice_invoke.py @@ -13,22 +13,22 @@ class C1APIFunctionsV1FunctionsServiceInvokeRequestTypedDict(TypedDict): - function_id: str - functions_service_invoke_request: NotRequired[ + functions_service_invoke_request: ( shared_functionsserviceinvokerequest.FunctionsServiceInvokeRequestTypedDict - ] + ) + function_id: str class C1APIFunctionsV1FunctionsServiceInvokeRequest(BaseModel): + functions_service_invoke_request: Annotated[ + shared_functionsserviceinvokerequest.FunctionsServiceInvokeRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + function_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - functions_service_invoke_request: Annotated[ - Optional[shared_functionsserviceinvokerequest.FunctionsServiceInvokeRequest], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIFunctionsV1FunctionsServiceInvokeResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_iam_v1_personalclientservice_delete.py b/src/sdk/models/operations/c1_api_iam_v1_personalclientservice_delete.py index 5660721d..9dc3797d 100644 --- a/src/sdk/models/operations/c1_api_iam_v1_personalclientservice_delete.py +++ b/src/sdk/models/operations/c1_api_iam_v1_personalclientservice_delete.py @@ -13,24 +13,20 @@ class C1APIIamV1PersonalClientServiceDeleteRequestTypedDict(TypedDict): + personal_client_service_delete_request: shared_personalclientservicedeleterequest.PersonalClientServiceDeleteRequestTypedDict id: str - personal_client_service_delete_request: NotRequired[ - shared_personalclientservicedeleterequest.PersonalClientServiceDeleteRequestTypedDict - ] class C1APIIamV1PersonalClientServiceDeleteRequest(BaseModel): + personal_client_service_delete_request: Annotated[ + shared_personalclientservicedeleterequest.PersonalClientServiceDeleteRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - personal_client_service_delete_request: Annotated[ - Optional[ - shared_personalclientservicedeleterequest.PersonalClientServiceDeleteRequest - ], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIIamV1PersonalClientServiceDeleteResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_iam_v1_personalclientservice_update.py b/src/sdk/models/operations/c1_api_iam_v1_personalclientservice_update.py index cad4d2de..c55b33f6 100644 --- a/src/sdk/models/operations/c1_api_iam_v1_personalclientservice_update.py +++ b/src/sdk/models/operations/c1_api_iam_v1_personalclientservice_update.py @@ -13,24 +13,20 @@ class C1APIIamV1PersonalClientServiceUpdateRequestTypedDict(TypedDict): + personal_client_service_update_request: shared_personalclientserviceupdaterequest.PersonalClientServiceUpdateRequestTypedDict id: str - personal_client_service_update_request: NotRequired[ - shared_personalclientserviceupdaterequest.PersonalClientServiceUpdateRequestTypedDict - ] class C1APIIamV1PersonalClientServiceUpdateRequest(BaseModel): + personal_client_service_update_request: Annotated[ + shared_personalclientserviceupdaterequest.PersonalClientServiceUpdateRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - personal_client_service_update_request: Annotated[ - Optional[ - shared_personalclientserviceupdaterequest.PersonalClientServiceUpdateRequest - ], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIIamV1PersonalClientServiceUpdateResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_iam_v1_roles_update.py b/src/sdk/models/operations/c1_api_iam_v1_roles_update.py index cf61e489..bc792eb2 100644 --- a/src/sdk/models/operations/c1_api_iam_v1_roles_update.py +++ b/src/sdk/models/operations/c1_api_iam_v1_roles_update.py @@ -13,22 +13,20 @@ class C1APIIamV1RolesUpdateRequestTypedDict(TypedDict): + update_role_request: shared_updaterolerequest.UpdateRoleRequestTypedDict role_id: str - update_role_request: NotRequired[ - shared_updaterolerequest.UpdateRoleRequestTypedDict - ] class C1APIIamV1RolesUpdateRequest(BaseModel): + update_role_request: Annotated[ + shared_updaterolerequest.UpdateRoleRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + role_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - update_role_request: Annotated[ - Optional[shared_updaterolerequest.UpdateRoleRequest], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIIamV1RolesUpdateResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_policy_v1_policies_delete.py b/src/sdk/models/operations/c1_api_policy_v1_policies_delete.py index 59373356..ae4fa36c 100644 --- a/src/sdk/models/operations/c1_api_policy_v1_policies_delete.py +++ b/src/sdk/models/operations/c1_api_policy_v1_policies_delete.py @@ -13,22 +13,20 @@ class C1APIPolicyV1PoliciesDeleteRequestTypedDict(TypedDict): + delete_policy_request: shared_deletepolicyrequest.DeletePolicyRequestTypedDict id: str - delete_policy_request: NotRequired[ - shared_deletepolicyrequest.DeletePolicyRequestTypedDict - ] class C1APIPolicyV1PoliciesDeleteRequest(BaseModel): + delete_policy_request: Annotated[ + shared_deletepolicyrequest.DeletePolicyRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - delete_policy_request: Annotated[ - Optional[shared_deletepolicyrequest.DeletePolicyRequest], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIPolicyV1PoliciesDeleteResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_policy_v1_policies_update.py b/src/sdk/models/operations/c1_api_policy_v1_policies_update.py index afe20934..11a11508 100644 --- a/src/sdk/models/operations/c1_api_policy_v1_policies_update.py +++ b/src/sdk/models/operations/c1_api_policy_v1_policies_update.py @@ -13,22 +13,20 @@ class C1APIPolicyV1PoliciesUpdateRequestTypedDict(TypedDict): + update_policy_request: shared_updatepolicyrequest.UpdatePolicyRequestTypedDict id: str - update_policy_request: NotRequired[ - shared_updatepolicyrequest.UpdatePolicyRequestTypedDict - ] class C1APIPolicyV1PoliciesUpdateRequest(BaseModel): + update_policy_request: Annotated[ + shared_updatepolicyrequest.UpdatePolicyRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - update_policy_request: Annotated[ - Optional[shared_updatepolicyrequest.UpdatePolicyRequest], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIPolicyV1PoliciesUpdateResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_request_schema_v1_requestschemaservice_delete.py b/src/sdk/models/operations/c1_api_request_schema_v1_requestschemaservice_delete.py index 8a6d8cc7..a11fbcb9 100644 --- a/src/sdk/models/operations/c1_api_request_schema_v1_requestschemaservice_delete.py +++ b/src/sdk/models/operations/c1_api_request_schema_v1_requestschemaservice_delete.py @@ -13,24 +13,20 @@ class C1APIRequestSchemaV1RequestSchemaServiceDeleteRequestTypedDict(TypedDict): + request_schema_service_delete_request: shared_requestschemaservicedeleterequest.RequestSchemaServiceDeleteRequestTypedDict request_schema_id: str - request_schema_service_delete_request: NotRequired[ - shared_requestschemaservicedeleterequest.RequestSchemaServiceDeleteRequestTypedDict - ] class C1APIRequestSchemaV1RequestSchemaServiceDeleteRequest(BaseModel): + request_schema_service_delete_request: Annotated[ + shared_requestschemaservicedeleterequest.RequestSchemaServiceDeleteRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + request_schema_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - request_schema_service_delete_request: Annotated[ - Optional[ - shared_requestschemaservicedeleterequest.RequestSchemaServiceDeleteRequest - ], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIRequestSchemaV1RequestSchemaServiceDeleteResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_request_schema_v1_requestschemaservice_update.py b/src/sdk/models/operations/c1_api_request_schema_v1_requestschemaservice_update.py index e475f860..69c0e727 100644 --- a/src/sdk/models/operations/c1_api_request_schema_v1_requestschemaservice_update.py +++ b/src/sdk/models/operations/c1_api_request_schema_v1_requestschemaservice_update.py @@ -13,24 +13,20 @@ class C1APIRequestSchemaV1RequestSchemaServiceUpdateRequestTypedDict(TypedDict): + request_schema_service_update_request: shared_requestschemaserviceupdaterequest.RequestSchemaServiceUpdateRequestTypedDict request_schema_id: str - request_schema_service_update_request: NotRequired[ - shared_requestschemaserviceupdaterequest.RequestSchemaServiceUpdateRequestTypedDict - ] class C1APIRequestSchemaV1RequestSchemaServiceUpdateRequest(BaseModel): + request_schema_service_update_request: Annotated[ + shared_requestschemaserviceupdaterequest.RequestSchemaServiceUpdateRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + request_schema_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - request_schema_service_update_request: Annotated[ - Optional[ - shared_requestschemaserviceupdaterequest.RequestSchemaServiceUpdateRequest - ], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIRequestSchemaV1RequestSchemaServiceUpdateResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_requestcatalog_v1_requestcatalogmanagementservice_addaccessentitlements.py b/src/sdk/models/operations/c1_api_requestcatalog_v1_requestcatalogmanagementservice_addaccessentitlements.py index ab65d904..a416cf24 100644 --- a/src/sdk/models/operations/c1_api_requestcatalog_v1_requestcatalogmanagementservice_addaccessentitlements.py +++ b/src/sdk/models/operations/c1_api_requestcatalog_v1_requestcatalogmanagementservice_addaccessentitlements.py @@ -15,26 +15,22 @@ class C1APIRequestcatalogV1RequestCatalogManagementServiceAddAccessEntitlementsRequestTypedDict( TypedDict ): + request_catalog_management_service_add_access_entitlements_request: shared_requestcatalogmanagementserviceaddaccessentitlementsrequest.RequestCatalogManagementServiceAddAccessEntitlementsRequestTypedDict catalog_id: str - request_catalog_management_service_add_access_entitlements_request: NotRequired[ - shared_requestcatalogmanagementserviceaddaccessentitlementsrequest.RequestCatalogManagementServiceAddAccessEntitlementsRequestTypedDict - ] class C1APIRequestcatalogV1RequestCatalogManagementServiceAddAccessEntitlementsRequest( BaseModel ): + request_catalog_management_service_add_access_entitlements_request: Annotated[ + shared_requestcatalogmanagementserviceaddaccessentitlementsrequest.RequestCatalogManagementServiceAddAccessEntitlementsRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + catalog_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - request_catalog_management_service_add_access_entitlements_request: Annotated[ - Optional[ - shared_requestcatalogmanagementserviceaddaccessentitlementsrequest.RequestCatalogManagementServiceAddAccessEntitlementsRequest - ], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIRequestcatalogV1RequestCatalogManagementServiceAddAccessEntitlementsResponseTypedDict( TypedDict diff --git a/src/sdk/models/operations/c1_api_requestcatalog_v1_requestcatalogmanagementservice_addappentitlements.py b/src/sdk/models/operations/c1_api_requestcatalog_v1_requestcatalogmanagementservice_addappentitlements.py index c9eda8ca..a7d73d02 100644 --- a/src/sdk/models/operations/c1_api_requestcatalog_v1_requestcatalogmanagementservice_addappentitlements.py +++ b/src/sdk/models/operations/c1_api_requestcatalog_v1_requestcatalogmanagementservice_addappentitlements.py @@ -15,26 +15,22 @@ class C1APIRequestcatalogV1RequestCatalogManagementServiceAddAppEntitlementsRequestTypedDict( TypedDict ): + request_catalog_management_service_add_app_entitlements_request: shared_requestcatalogmanagementserviceaddappentitlementsrequest.RequestCatalogManagementServiceAddAppEntitlementsRequestTypedDict catalog_id: str - request_catalog_management_service_add_app_entitlements_request: NotRequired[ - shared_requestcatalogmanagementserviceaddappentitlementsrequest.RequestCatalogManagementServiceAddAppEntitlementsRequestTypedDict - ] class C1APIRequestcatalogV1RequestCatalogManagementServiceAddAppEntitlementsRequest( BaseModel ): + request_catalog_management_service_add_app_entitlements_request: Annotated[ + shared_requestcatalogmanagementserviceaddappentitlementsrequest.RequestCatalogManagementServiceAddAppEntitlementsRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + catalog_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - request_catalog_management_service_add_app_entitlements_request: Annotated[ - Optional[ - shared_requestcatalogmanagementserviceaddappentitlementsrequest.RequestCatalogManagementServiceAddAppEntitlementsRequest - ], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIRequestcatalogV1RequestCatalogManagementServiceAddAppEntitlementsResponseTypedDict( TypedDict diff --git a/src/sdk/models/operations/c1_api_requestcatalog_v1_requestcatalogmanagementservice_createbundleautomation.py b/src/sdk/models/operations/c1_api_requestcatalog_v1_requestcatalogmanagementservice_createbundleautomation.py index 9aa2600d..3f00a092 100644 --- a/src/sdk/models/operations/c1_api_requestcatalog_v1_requestcatalogmanagementservice_createbundleautomation.py +++ b/src/sdk/models/operations/c1_api_requestcatalog_v1_requestcatalogmanagementservice_createbundleautomation.py @@ -15,24 +15,24 @@ class C1APIRequestcatalogV1RequestCatalogManagementServiceCreateBundleAutomationRequestTypedDict( TypedDict ): - request_catalog_id: str - create_bundle_automation_request: NotRequired[ + create_bundle_automation_request: ( shared_createbundleautomationrequest.CreateBundleAutomationRequestTypedDict - ] + ) + request_catalog_id: str class C1APIRequestcatalogV1RequestCatalogManagementServiceCreateBundleAutomationRequest( BaseModel ): + create_bundle_automation_request: Annotated[ + shared_createbundleautomationrequest.CreateBundleAutomationRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + request_catalog_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - create_bundle_automation_request: Annotated[ - Optional[shared_createbundleautomationrequest.CreateBundleAutomationRequest], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIRequestcatalogV1RequestCatalogManagementServiceCreateBundleAutomationResponseTypedDict( TypedDict diff --git a/src/sdk/models/operations/c1_api_requestcatalog_v1_requestcatalogmanagementservice_delete.py b/src/sdk/models/operations/c1_api_requestcatalog_v1_requestcatalogmanagementservice_delete.py index c34218ba..e9680165 100644 --- a/src/sdk/models/operations/c1_api_requestcatalog_v1_requestcatalogmanagementservice_delete.py +++ b/src/sdk/models/operations/c1_api_requestcatalog_v1_requestcatalogmanagementservice_delete.py @@ -15,24 +15,20 @@ class C1APIRequestcatalogV1RequestCatalogManagementServiceDeleteRequestTypedDict( TypedDict ): + request_catalog_management_service_delete_request: shared_requestcatalogmanagementservicedeleterequest.RequestCatalogManagementServiceDeleteRequestTypedDict id: str - request_catalog_management_service_delete_request: NotRequired[ - shared_requestcatalogmanagementservicedeleterequest.RequestCatalogManagementServiceDeleteRequestTypedDict - ] class C1APIRequestcatalogV1RequestCatalogManagementServiceDeleteRequest(BaseModel): + request_catalog_management_service_delete_request: Annotated[ + shared_requestcatalogmanagementservicedeleterequest.RequestCatalogManagementServiceDeleteRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - request_catalog_management_service_delete_request: Annotated[ - Optional[ - shared_requestcatalogmanagementservicedeleterequest.RequestCatalogManagementServiceDeleteRequest - ], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIRequestcatalogV1RequestCatalogManagementServiceDeleteResponseTypedDict( TypedDict diff --git a/src/sdk/models/operations/c1_api_requestcatalog_v1_requestcatalogmanagementservice_deletebundleautomation.py b/src/sdk/models/operations/c1_api_requestcatalog_v1_requestcatalogmanagementservice_deletebundleautomation.py index 2e3a517c..547d38ee 100644 --- a/src/sdk/models/operations/c1_api_requestcatalog_v1_requestcatalogmanagementservice_deletebundleautomation.py +++ b/src/sdk/models/operations/c1_api_requestcatalog_v1_requestcatalogmanagementservice_deletebundleautomation.py @@ -15,24 +15,24 @@ class C1APIRequestcatalogV1RequestCatalogManagementServiceDeleteBundleAutomationRequestTypedDict( TypedDict ): - request_catalog_id: str - delete_bundle_automation_request: NotRequired[ + delete_bundle_automation_request: ( shared_deletebundleautomationrequest.DeleteBundleAutomationRequestTypedDict - ] + ) + request_catalog_id: str class C1APIRequestcatalogV1RequestCatalogManagementServiceDeleteBundleAutomationRequest( BaseModel ): + delete_bundle_automation_request: Annotated[ + shared_deletebundleautomationrequest.DeleteBundleAutomationRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + request_catalog_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - delete_bundle_automation_request: Annotated[ - Optional[shared_deletebundleautomationrequest.DeleteBundleAutomationRequest], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIRequestcatalogV1RequestCatalogManagementServiceDeleteBundleAutomationResponseTypedDict( TypedDict diff --git a/src/sdk/models/operations/c1_api_requestcatalog_v1_requestcatalogmanagementservice_forcerunbundleautomation.py b/src/sdk/models/operations/c1_api_requestcatalog_v1_requestcatalogmanagementservice_forcerunbundleautomation.py index 3985cecd..bbaab336 100644 --- a/src/sdk/models/operations/c1_api_requestcatalog_v1_requestcatalogmanagementservice_forcerunbundleautomation.py +++ b/src/sdk/models/operations/c1_api_requestcatalog_v1_requestcatalogmanagementservice_forcerunbundleautomation.py @@ -15,26 +15,24 @@ class C1APIRequestcatalogV1RequestCatalogManagementServiceForceRunBundleAutomationRequestTypedDict( TypedDict ): - request_catalog_id: str - force_run_bundle_automation_request: NotRequired[ + force_run_bundle_automation_request: ( shared_forcerunbundleautomationrequest.ForceRunBundleAutomationRequestTypedDict - ] + ) + request_catalog_id: str class C1APIRequestcatalogV1RequestCatalogManagementServiceForceRunBundleAutomationRequest( BaseModel ): + force_run_bundle_automation_request: Annotated[ + shared_forcerunbundleautomationrequest.ForceRunBundleAutomationRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + request_catalog_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - force_run_bundle_automation_request: Annotated[ - Optional[ - shared_forcerunbundleautomationrequest.ForceRunBundleAutomationRequest - ], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIRequestcatalogV1RequestCatalogManagementServiceForceRunBundleAutomationResponseTypedDict( TypedDict diff --git a/src/sdk/models/operations/c1_api_requestcatalog_v1_requestcatalogmanagementservice_removeaccessentitlements.py b/src/sdk/models/operations/c1_api_requestcatalog_v1_requestcatalogmanagementservice_removeaccessentitlements.py index d9a87851..d9cd2f37 100644 --- a/src/sdk/models/operations/c1_api_requestcatalog_v1_requestcatalogmanagementservice_removeaccessentitlements.py +++ b/src/sdk/models/operations/c1_api_requestcatalog_v1_requestcatalogmanagementservice_removeaccessentitlements.py @@ -15,26 +15,22 @@ class C1APIRequestcatalogV1RequestCatalogManagementServiceRemoveAccessEntitlementsRequestTypedDict( TypedDict ): + request_catalog_management_service_remove_access_entitlements_request: shared_requestcatalogmanagementserviceremoveaccessentitlementsrequest.RequestCatalogManagementServiceRemoveAccessEntitlementsRequestTypedDict catalog_id: str - request_catalog_management_service_remove_access_entitlements_request: NotRequired[ - shared_requestcatalogmanagementserviceremoveaccessentitlementsrequest.RequestCatalogManagementServiceRemoveAccessEntitlementsRequestTypedDict - ] class C1APIRequestcatalogV1RequestCatalogManagementServiceRemoveAccessEntitlementsRequest( BaseModel ): + request_catalog_management_service_remove_access_entitlements_request: Annotated[ + shared_requestcatalogmanagementserviceremoveaccessentitlementsrequest.RequestCatalogManagementServiceRemoveAccessEntitlementsRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + catalog_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - request_catalog_management_service_remove_access_entitlements_request: Annotated[ - Optional[ - shared_requestcatalogmanagementserviceremoveaccessentitlementsrequest.RequestCatalogManagementServiceRemoveAccessEntitlementsRequest - ], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIRequestcatalogV1RequestCatalogManagementServiceRemoveAccessEntitlementsResponseTypedDict( TypedDict diff --git a/src/sdk/models/operations/c1_api_requestcatalog_v1_requestcatalogmanagementservice_removeappentitlements.py b/src/sdk/models/operations/c1_api_requestcatalog_v1_requestcatalogmanagementservice_removeappentitlements.py index df4ccab0..b5348c64 100644 --- a/src/sdk/models/operations/c1_api_requestcatalog_v1_requestcatalogmanagementservice_removeappentitlements.py +++ b/src/sdk/models/operations/c1_api_requestcatalog_v1_requestcatalogmanagementservice_removeappentitlements.py @@ -15,26 +15,22 @@ class C1APIRequestcatalogV1RequestCatalogManagementServiceRemoveAppEntitlementsRequestTypedDict( TypedDict ): + request_catalog_management_service_remove_app_entitlements_request: shared_requestcatalogmanagementserviceremoveappentitlementsrequest.RequestCatalogManagementServiceRemoveAppEntitlementsRequestTypedDict catalog_id: str - request_catalog_management_service_remove_app_entitlements_request: NotRequired[ - shared_requestcatalogmanagementserviceremoveappentitlementsrequest.RequestCatalogManagementServiceRemoveAppEntitlementsRequestTypedDict - ] class C1APIRequestcatalogV1RequestCatalogManagementServiceRemoveAppEntitlementsRequest( BaseModel ): + request_catalog_management_service_remove_app_entitlements_request: Annotated[ + shared_requestcatalogmanagementserviceremoveappentitlementsrequest.RequestCatalogManagementServiceRemoveAppEntitlementsRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + catalog_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - request_catalog_management_service_remove_app_entitlements_request: Annotated[ - Optional[ - shared_requestcatalogmanagementserviceremoveappentitlementsrequest.RequestCatalogManagementServiceRemoveAppEntitlementsRequest - ], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIRequestcatalogV1RequestCatalogManagementServiceRemoveAppEntitlementsResponseTypedDict( TypedDict diff --git a/src/sdk/models/operations/c1_api_requestcatalog_v1_requestcatalogmanagementservice_resumepausedbundleautomation.py b/src/sdk/models/operations/c1_api_requestcatalog_v1_requestcatalogmanagementservice_resumepausedbundleautomation.py index 6179f3f7..89303978 100644 --- a/src/sdk/models/operations/c1_api_requestcatalog_v1_requestcatalogmanagementservice_resumepausedbundleautomation.py +++ b/src/sdk/models/operations/c1_api_requestcatalog_v1_requestcatalogmanagementservice_resumepausedbundleautomation.py @@ -15,26 +15,22 @@ class C1APIRequestcatalogV1RequestCatalogManagementServiceResumePausedBundleAutomationRequestTypedDict( TypedDict ): + resume_paused_bundle_automation_request: shared_resumepausedbundleautomationrequest.ResumePausedBundleAutomationRequestTypedDict request_catalog_id: str - resume_paused_bundle_automation_request: NotRequired[ - shared_resumepausedbundleautomationrequest.ResumePausedBundleAutomationRequestTypedDict - ] class C1APIRequestcatalogV1RequestCatalogManagementServiceResumePausedBundleAutomationRequest( BaseModel ): + resume_paused_bundle_automation_request: Annotated[ + shared_resumepausedbundleautomationrequest.ResumePausedBundleAutomationRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + request_catalog_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - resume_paused_bundle_automation_request: Annotated[ - Optional[ - shared_resumepausedbundleautomationrequest.ResumePausedBundleAutomationRequest - ], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIRequestcatalogV1RequestCatalogManagementServiceResumePausedBundleAutomationResponseTypedDict( TypedDict diff --git a/src/sdk/models/operations/c1_api_requestcatalog_v1_requestcatalogmanagementservice_setbundleautomation.py b/src/sdk/models/operations/c1_api_requestcatalog_v1_requestcatalogmanagementservice_setbundleautomation.py index a25a57f5..d4eae936 100644 --- a/src/sdk/models/operations/c1_api_requestcatalog_v1_requestcatalogmanagementservice_setbundleautomation.py +++ b/src/sdk/models/operations/c1_api_requestcatalog_v1_requestcatalogmanagementservice_setbundleautomation.py @@ -15,24 +15,24 @@ class C1APIRequestcatalogV1RequestCatalogManagementServiceSetBundleAutomationRequestTypedDict( TypedDict ): - request_catalog_id: str - set_bundle_automation_request: NotRequired[ + set_bundle_automation_request: ( shared_setbundleautomationrequest.SetBundleAutomationRequestTypedDict - ] + ) + request_catalog_id: str class C1APIRequestcatalogV1RequestCatalogManagementServiceSetBundleAutomationRequest( BaseModel ): + set_bundle_automation_request: Annotated[ + shared_setbundleautomationrequest.SetBundleAutomationRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + request_catalog_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - set_bundle_automation_request: Annotated[ - Optional[shared_setbundleautomationrequest.SetBundleAutomationRequest], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIRequestcatalogV1RequestCatalogManagementServiceSetBundleAutomationResponseTypedDict( TypedDict diff --git a/src/sdk/models/operations/c1_api_requestcatalog_v1_requestcatalogmanagementservice_update.py b/src/sdk/models/operations/c1_api_requestcatalog_v1_requestcatalogmanagementservice_update.py index 6f929498..95b39fe4 100644 --- a/src/sdk/models/operations/c1_api_requestcatalog_v1_requestcatalogmanagementservice_update.py +++ b/src/sdk/models/operations/c1_api_requestcatalog_v1_requestcatalogmanagementservice_update.py @@ -15,24 +15,20 @@ class C1APIRequestcatalogV1RequestCatalogManagementServiceUpdateRequestTypedDict( TypedDict ): + request_catalog_management_service_update_request: shared_requestcatalogmanagementserviceupdaterequest.RequestCatalogManagementServiceUpdateRequestTypedDict id: str - request_catalog_management_service_update_request: NotRequired[ - shared_requestcatalogmanagementserviceupdaterequest.RequestCatalogManagementServiceUpdateRequestTypedDict - ] class C1APIRequestcatalogV1RequestCatalogManagementServiceUpdateRequest(BaseModel): + request_catalog_management_service_update_request: Annotated[ + shared_requestcatalogmanagementserviceupdaterequest.RequestCatalogManagementServiceUpdateRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - request_catalog_management_service_update_request: Annotated[ - Optional[ - shared_requestcatalogmanagementserviceupdaterequest.RequestCatalogManagementServiceUpdateRequest - ], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIRequestcatalogV1RequestCatalogManagementServiceUpdateResponseTypedDict( TypedDict diff --git a/src/sdk/models/operations/c1_api_requestcatalog_v1_requestcatalogmanagementservice_updateappentitlements.py b/src/sdk/models/operations/c1_api_requestcatalog_v1_requestcatalogmanagementservice_updateappentitlements.py index 0df8baa1..22e8ea73 100644 --- a/src/sdk/models/operations/c1_api_requestcatalog_v1_requestcatalogmanagementservice_updateappentitlements.py +++ b/src/sdk/models/operations/c1_api_requestcatalog_v1_requestcatalogmanagementservice_updateappentitlements.py @@ -15,26 +15,22 @@ class C1APIRequestcatalogV1RequestCatalogManagementServiceUpdateAppEntitlementsRequestTypedDict( TypedDict ): + request_catalog_management_service_update_app_entitlements_request: shared_requestcatalogmanagementserviceupdateappentitlementsrequest.RequestCatalogManagementServiceUpdateAppEntitlementsRequestTypedDict catalog_id: str - request_catalog_management_service_update_app_entitlements_request: NotRequired[ - shared_requestcatalogmanagementserviceupdateappentitlementsrequest.RequestCatalogManagementServiceUpdateAppEntitlementsRequestTypedDict - ] class C1APIRequestcatalogV1RequestCatalogManagementServiceUpdateAppEntitlementsRequest( BaseModel ): + request_catalog_management_service_update_app_entitlements_request: Annotated[ + shared_requestcatalogmanagementserviceupdateappentitlementsrequest.RequestCatalogManagementServiceUpdateAppEntitlementsRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + catalog_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - request_catalog_management_service_update_app_entitlements_request: Annotated[ - Optional[ - shared_requestcatalogmanagementserviceupdateappentitlementsrequest.RequestCatalogManagementServiceUpdateAppEntitlementsRequest - ], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIRequestcatalogV1RequestCatalogManagementServiceUpdateAppEntitlementsResponseTypedDict( TypedDict diff --git a/src/sdk/models/operations/c1_api_stepup_v1_stepupproviderservice_delete.py b/src/sdk/models/operations/c1_api_stepup_v1_stepupproviderservice_delete.py index a0744c31..4d84046b 100644 --- a/src/sdk/models/operations/c1_api_stepup_v1_stepupproviderservice_delete.py +++ b/src/sdk/models/operations/c1_api_stepup_v1_stepupproviderservice_delete.py @@ -13,22 +13,22 @@ class C1APIStepupV1StepUpProviderServiceDeleteRequestTypedDict(TypedDict): - id: str - delete_step_up_provider_request: NotRequired[ + delete_step_up_provider_request: ( shared_deletestepupproviderrequest.DeleteStepUpProviderRequestTypedDict - ] + ) + id: str class C1APIStepupV1StepUpProviderServiceDeleteRequest(BaseModel): + delete_step_up_provider_request: Annotated[ + shared_deletestepupproviderrequest.DeleteStepUpProviderRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - delete_step_up_provider_request: Annotated[ - Optional[shared_deletestepupproviderrequest.DeleteStepUpProviderRequest], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIStepupV1StepUpProviderServiceDeleteResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_stepup_v1_stepupproviderservice_test.py b/src/sdk/models/operations/c1_api_stepup_v1_stepupproviderservice_test.py index 735073d5..d89820ad 100644 --- a/src/sdk/models/operations/c1_api_stepup_v1_stepupproviderservice_test.py +++ b/src/sdk/models/operations/c1_api_stepup_v1_stepupproviderservice_test.py @@ -13,22 +13,22 @@ class C1APIStepupV1StepUpProviderServiceTestRequestTypedDict(TypedDict): - id: str - test_step_up_provider_request: NotRequired[ + test_step_up_provider_request: ( shared_teststepupproviderrequest.TestStepUpProviderRequestTypedDict - ] + ) + id: str class C1APIStepupV1StepUpProviderServiceTestRequest(BaseModel): + test_step_up_provider_request: Annotated[ + shared_teststepupproviderrequest.TestStepUpProviderRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - test_step_up_provider_request: Annotated[ - Optional[shared_teststepupproviderrequest.TestStepUpProviderRequest], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIStepupV1StepUpProviderServiceTestResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_stepup_v1_stepupproviderservice_update.py b/src/sdk/models/operations/c1_api_stepup_v1_stepupproviderservice_update.py index 8d1e835f..8a974925 100644 --- a/src/sdk/models/operations/c1_api_stepup_v1_stepupproviderservice_update.py +++ b/src/sdk/models/operations/c1_api_stepup_v1_stepupproviderservice_update.py @@ -13,22 +13,22 @@ class C1APIStepupV1StepUpProviderServiceUpdateRequestTypedDict(TypedDict): - id: str - update_step_up_provider_request: NotRequired[ + update_step_up_provider_request: ( shared_updatestepupproviderrequest.UpdateStepUpProviderRequestTypedDict - ] + ) + id: str class C1APIStepupV1StepUpProviderServiceUpdateRequest(BaseModel): + update_step_up_provider_request: Annotated[ + shared_updatestepupproviderrequest.UpdateStepUpProviderRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - update_step_up_provider_request: Annotated[ - Optional[shared_updatestepupproviderrequest.UpdateStepUpProviderRequest], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIStepupV1StepUpProviderServiceUpdateResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_stepup_v1_stepupproviderservice_updatesecret.py b/src/sdk/models/operations/c1_api_stepup_v1_stepupproviderservice_updatesecret.py index 525bffb6..aa30971d 100644 --- a/src/sdk/models/operations/c1_api_stepup_v1_stepupproviderservice_updatesecret.py +++ b/src/sdk/models/operations/c1_api_stepup_v1_stepupproviderservice_updatesecret.py @@ -13,24 +13,20 @@ class C1APIStepupV1StepUpProviderServiceUpdateSecretRequestTypedDict(TypedDict): + update_step_up_provider_secret_request: shared_updatestepupprovidersecretrequest.UpdateStepUpProviderSecretRequestTypedDict id: str - update_step_up_provider_secret_request: NotRequired[ - shared_updatestepupprovidersecretrequest.UpdateStepUpProviderSecretRequestTypedDict - ] class C1APIStepupV1StepUpProviderServiceUpdateSecretRequest(BaseModel): + update_step_up_provider_secret_request: Annotated[ + shared_updatestepupprovidersecretrequest.UpdateStepUpProviderSecretRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - update_step_up_provider_secret_request: Annotated[ - Optional[ - shared_updatestepupprovidersecretrequest.UpdateStepUpProviderSecretRequest - ], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIStepupV1StepUpProviderServiceUpdateSecretResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_systemlog_v1_exportservice_delete.py b/src/sdk/models/operations/c1_api_systemlog_v1_exportservice_delete.py index b3f92c4b..9b091c20 100644 --- a/src/sdk/models/operations/c1_api_systemlog_v1_exportservice_delete.py +++ b/src/sdk/models/operations/c1_api_systemlog_v1_exportservice_delete.py @@ -13,22 +13,22 @@ class C1APISystemlogV1ExportServiceDeleteRequestTypedDict(TypedDict): - export_id: str - export_service_delete_request: NotRequired[ + export_service_delete_request: ( shared_exportservicedeleterequest.ExportServiceDeleteRequestTypedDict - ] + ) + export_id: str class C1APISystemlogV1ExportServiceDeleteRequest(BaseModel): + export_service_delete_request: Annotated[ + shared_exportservicedeleterequest.ExportServiceDeleteRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + export_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - export_service_delete_request: Annotated[ - Optional[shared_exportservicedeleterequest.ExportServiceDeleteRequest], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APISystemlogV1ExportServiceDeleteResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_systemlog_v1_exportservice_listevents.py b/src/sdk/models/operations/c1_api_systemlog_v1_exportservice_listevents.py index 57ebedb7..94e562c9 100644 --- a/src/sdk/models/operations/c1_api_systemlog_v1_exportservice_listevents.py +++ b/src/sdk/models/operations/c1_api_systemlog_v1_exportservice_listevents.py @@ -13,22 +13,22 @@ class C1APISystemlogV1ExportServiceListEventsRequestTypedDict(TypedDict): - export_id: str - export_service_list_events_request: NotRequired[ + export_service_list_events_request: ( shared_exportservicelisteventsrequest.ExportServiceListEventsRequestTypedDict - ] + ) + export_id: str class C1APISystemlogV1ExportServiceListEventsRequest(BaseModel): + export_service_list_events_request: Annotated[ + shared_exportservicelisteventsrequest.ExportServiceListEventsRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + export_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - export_service_list_events_request: Annotated[ - Optional[shared_exportservicelisteventsrequest.ExportServiceListEventsRequest], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APISystemlogV1ExportServiceListEventsResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_systemlog_v1_exportservice_update.py b/src/sdk/models/operations/c1_api_systemlog_v1_exportservice_update.py index dee39dce..5b6e5a3e 100644 --- a/src/sdk/models/operations/c1_api_systemlog_v1_exportservice_update.py +++ b/src/sdk/models/operations/c1_api_systemlog_v1_exportservice_update.py @@ -13,22 +13,22 @@ class C1APISystemlogV1ExportServiceUpdateRequestTypedDict(TypedDict): - export_id: str - export_service_update_request: NotRequired[ + export_service_update_request: ( shared_exportserviceupdaterequest.ExportServiceUpdateRequestTypedDict - ] + ) + export_id: str class C1APISystemlogV1ExportServiceUpdateRequest(BaseModel): + export_service_update_request: Annotated[ + shared_exportserviceupdaterequest.ExportServiceUpdateRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + export_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - export_service_update_request: Annotated[ - Optional[shared_exportserviceupdaterequest.ExportServiceUpdateRequest], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APISystemlogV1ExportServiceUpdateResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_task_v1_taskactionsservice_approve.py b/src/sdk/models/operations/c1_api_task_v1_taskactionsservice_approve.py index ec0a2d06..7aa8e4a5 100644 --- a/src/sdk/models/operations/c1_api_task_v1_taskactionsservice_approve.py +++ b/src/sdk/models/operations/c1_api_task_v1_taskactionsservice_approve.py @@ -13,24 +13,20 @@ class C1APITaskV1TaskActionsServiceApproveRequestTypedDict(TypedDict): + task_actions_service_approve_request: shared_taskactionsserviceapproverequest.TaskActionsServiceApproveRequestTypedDict task_id: str - task_actions_service_approve_request: NotRequired[ - shared_taskactionsserviceapproverequest.TaskActionsServiceApproveRequestTypedDict - ] class C1APITaskV1TaskActionsServiceApproveRequest(BaseModel): + task_actions_service_approve_request: Annotated[ + shared_taskactionsserviceapproverequest.TaskActionsServiceApproveRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + task_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - task_actions_service_approve_request: Annotated[ - Optional[ - shared_taskactionsserviceapproverequest.TaskActionsServiceApproveRequest - ], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APITaskV1TaskActionsServiceApproveResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_task_v1_taskactionsservice_approvewithstepup.py b/src/sdk/models/operations/c1_api_task_v1_taskactionsservice_approvewithstepup.py index ab2edd3e..4d5b629e 100644 --- a/src/sdk/models/operations/c1_api_task_v1_taskactionsservice_approvewithstepup.py +++ b/src/sdk/models/operations/c1_api_task_v1_taskactionsservice_approvewithstepup.py @@ -13,24 +13,20 @@ class C1APITaskV1TaskActionsServiceApproveWithStepUpRequestTypedDict(TypedDict): + task_actions_service_approve_with_step_up_request: shared_taskactionsserviceapprovewithstepuprequest.TaskActionsServiceApproveWithStepUpRequestTypedDict task_id: str - task_actions_service_approve_with_step_up_request: NotRequired[ - shared_taskactionsserviceapprovewithstepuprequest.TaskActionsServiceApproveWithStepUpRequestTypedDict - ] class C1APITaskV1TaskActionsServiceApproveWithStepUpRequest(BaseModel): + task_actions_service_approve_with_step_up_request: Annotated[ + shared_taskactionsserviceapprovewithstepuprequest.TaskActionsServiceApproveWithStepUpRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + task_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - task_actions_service_approve_with_step_up_request: Annotated[ - Optional[ - shared_taskactionsserviceapprovewithstepuprequest.TaskActionsServiceApproveWithStepUpRequest - ], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APITaskV1TaskActionsServiceApproveWithStepUpResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_task_v1_taskactionsservice_close.py b/src/sdk/models/operations/c1_api_task_v1_taskactionsservice_close.py index 04368b12..0543f8aa 100644 --- a/src/sdk/models/operations/c1_api_task_v1_taskactionsservice_close.py +++ b/src/sdk/models/operations/c1_api_task_v1_taskactionsservice_close.py @@ -13,22 +13,22 @@ class C1APITaskV1TaskActionsServiceCloseRequestTypedDict(TypedDict): - task_id: str - task_actions_service_close_request: NotRequired[ + task_actions_service_close_request: ( shared_taskactionsservicecloserequest.TaskActionsServiceCloseRequestTypedDict - ] + ) + task_id: str class C1APITaskV1TaskActionsServiceCloseRequest(BaseModel): + task_actions_service_close_request: Annotated[ + shared_taskactionsservicecloserequest.TaskActionsServiceCloseRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + task_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - task_actions_service_close_request: Annotated[ - Optional[shared_taskactionsservicecloserequest.TaskActionsServiceCloseRequest], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APITaskV1TaskActionsServiceCloseResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_task_v1_taskactionsservice_comment.py b/src/sdk/models/operations/c1_api_task_v1_taskactionsservice_comment.py index 150d3d40..a6657b82 100644 --- a/src/sdk/models/operations/c1_api_task_v1_taskactionsservice_comment.py +++ b/src/sdk/models/operations/c1_api_task_v1_taskactionsservice_comment.py @@ -13,24 +13,20 @@ class C1APITaskV1TaskActionsServiceCommentRequestTypedDict(TypedDict): + task_actions_service_comment_request: shared_taskactionsservicecommentrequest.TaskActionsServiceCommentRequestTypedDict task_id: str - task_actions_service_comment_request: NotRequired[ - shared_taskactionsservicecommentrequest.TaskActionsServiceCommentRequestTypedDict - ] class C1APITaskV1TaskActionsServiceCommentRequest(BaseModel): + task_actions_service_comment_request: Annotated[ + shared_taskactionsservicecommentrequest.TaskActionsServiceCommentRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + task_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - task_actions_service_comment_request: Annotated[ - Optional[ - shared_taskactionsservicecommentrequest.TaskActionsServiceCommentRequest - ], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APITaskV1TaskActionsServiceCommentResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_task_v1_taskactionsservice_deny.py b/src/sdk/models/operations/c1_api_task_v1_taskactionsservice_deny.py index b72dfb3b..9e7a5bf7 100644 --- a/src/sdk/models/operations/c1_api_task_v1_taskactionsservice_deny.py +++ b/src/sdk/models/operations/c1_api_task_v1_taskactionsservice_deny.py @@ -13,22 +13,22 @@ class C1APITaskV1TaskActionsServiceDenyRequestTypedDict(TypedDict): - task_id: str - task_actions_service_deny_request: NotRequired[ + task_actions_service_deny_request: ( shared_taskactionsservicedenyrequest.TaskActionsServiceDenyRequestTypedDict - ] + ) + task_id: str class C1APITaskV1TaskActionsServiceDenyRequest(BaseModel): + task_actions_service_deny_request: Annotated[ + shared_taskactionsservicedenyrequest.TaskActionsServiceDenyRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + task_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - task_actions_service_deny_request: Annotated[ - Optional[shared_taskactionsservicedenyrequest.TaskActionsServiceDenyRequest], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APITaskV1TaskActionsServiceDenyResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_task_v1_taskactionsservice_escalatetoemergencyaccess.py b/src/sdk/models/operations/c1_api_task_v1_taskactionsservice_escalatetoemergencyaccess.py index 4e997775..54dd6284 100644 --- a/src/sdk/models/operations/c1_api_task_v1_taskactionsservice_escalatetoemergencyaccess.py +++ b/src/sdk/models/operations/c1_api_task_v1_taskactionsservice_escalatetoemergencyaccess.py @@ -13,24 +13,20 @@ class C1APITaskV1TaskActionsServiceEscalateToEmergencyAccessRequestTypedDict(TypedDict): + task_actions_service_escalate_to_emergency_access_request: shared_taskactionsserviceescalatetoemergencyaccessrequest.TaskActionsServiceEscalateToEmergencyAccessRequestTypedDict task_id: str - task_actions_service_escalate_to_emergency_access_request: NotRequired[ - shared_taskactionsserviceescalatetoemergencyaccessrequest.TaskActionsServiceEscalateToEmergencyAccessRequestTypedDict - ] class C1APITaskV1TaskActionsServiceEscalateToEmergencyAccessRequest(BaseModel): + task_actions_service_escalate_to_emergency_access_request: Annotated[ + shared_taskactionsserviceescalatetoemergencyaccessrequest.TaskActionsServiceEscalateToEmergencyAccessRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + task_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - task_actions_service_escalate_to_emergency_access_request: Annotated[ - Optional[ - shared_taskactionsserviceescalatetoemergencyaccessrequest.TaskActionsServiceEscalateToEmergencyAccessRequest - ], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APITaskV1TaskActionsServiceEscalateToEmergencyAccessResponseTypedDict( TypedDict diff --git a/src/sdk/models/operations/c1_api_task_v1_taskactionsservice_hardreset.py b/src/sdk/models/operations/c1_api_task_v1_taskactionsservice_hardreset.py index 55fe83bd..14df0029 100644 --- a/src/sdk/models/operations/c1_api_task_v1_taskactionsservice_hardreset.py +++ b/src/sdk/models/operations/c1_api_task_v1_taskactionsservice_hardreset.py @@ -13,24 +13,20 @@ class C1APITaskV1TaskActionsServiceHardResetRequestTypedDict(TypedDict): + task_actions_service_hard_reset_request: shared_taskactionsservicehardresetrequest.TaskActionsServiceHardResetRequestTypedDict task_id: str - task_actions_service_hard_reset_request: NotRequired[ - shared_taskactionsservicehardresetrequest.TaskActionsServiceHardResetRequestTypedDict - ] class C1APITaskV1TaskActionsServiceHardResetRequest(BaseModel): + task_actions_service_hard_reset_request: Annotated[ + shared_taskactionsservicehardresetrequest.TaskActionsServiceHardResetRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + task_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - task_actions_service_hard_reset_request: Annotated[ - Optional[ - shared_taskactionsservicehardresetrequest.TaskActionsServiceHardResetRequest - ], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APITaskV1TaskActionsServiceHardResetResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_task_v1_taskactionsservice_processnow.py b/src/sdk/models/operations/c1_api_task_v1_taskactionsservice_processnow.py index 91a71cfe..20563eed 100644 --- a/src/sdk/models/operations/c1_api_task_v1_taskactionsservice_processnow.py +++ b/src/sdk/models/operations/c1_api_task_v1_taskactionsservice_processnow.py @@ -13,24 +13,20 @@ class C1APITaskV1TaskActionsServiceProcessNowRequestTypedDict(TypedDict): + task_actions_service_process_now_request: shared_taskactionsserviceprocessnowrequest.TaskActionsServiceProcessNowRequestTypedDict task_id: str - task_actions_service_process_now_request: NotRequired[ - shared_taskactionsserviceprocessnowrequest.TaskActionsServiceProcessNowRequestTypedDict - ] class C1APITaskV1TaskActionsServiceProcessNowRequest(BaseModel): + task_actions_service_process_now_request: Annotated[ + shared_taskactionsserviceprocessnowrequest.TaskActionsServiceProcessNowRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + task_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - task_actions_service_process_now_request: Annotated[ - Optional[ - shared_taskactionsserviceprocessnowrequest.TaskActionsServiceProcessNowRequest - ], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APITaskV1TaskActionsServiceProcessNowResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_task_v1_taskactionsservice_reassign.py b/src/sdk/models/operations/c1_api_task_v1_taskactionsservice_reassign.py index 0f87024f..0cbe4642 100644 --- a/src/sdk/models/operations/c1_api_task_v1_taskactionsservice_reassign.py +++ b/src/sdk/models/operations/c1_api_task_v1_taskactionsservice_reassign.py @@ -13,24 +13,20 @@ class C1APITaskV1TaskActionsServiceReassignRequestTypedDict(TypedDict): + task_actions_service_reassign_request: shared_taskactionsservicereassignrequest.TaskActionsServiceReassignRequestTypedDict task_id: str - task_actions_service_reassign_request: NotRequired[ - shared_taskactionsservicereassignrequest.TaskActionsServiceReassignRequestTypedDict - ] class C1APITaskV1TaskActionsServiceReassignRequest(BaseModel): + task_actions_service_reassign_request: Annotated[ + shared_taskactionsservicereassignrequest.TaskActionsServiceReassignRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + task_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - task_actions_service_reassign_request: Annotated[ - Optional[ - shared_taskactionsservicereassignrequest.TaskActionsServiceReassignRequest - ], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APITaskV1TaskActionsServiceReassignResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_task_v1_taskactionsservice_restart.py b/src/sdk/models/operations/c1_api_task_v1_taskactionsservice_restart.py index f2344cca..b9cde16a 100644 --- a/src/sdk/models/operations/c1_api_task_v1_taskactionsservice_restart.py +++ b/src/sdk/models/operations/c1_api_task_v1_taskactionsservice_restart.py @@ -13,24 +13,20 @@ class C1APITaskV1TaskActionsServiceRestartRequestTypedDict(TypedDict): + task_actions_service_restart_request: shared_taskactionsservicerestartrequest.TaskActionsServiceRestartRequestTypedDict task_id: str - task_actions_service_restart_request: NotRequired[ - shared_taskactionsservicerestartrequest.TaskActionsServiceRestartRequestTypedDict - ] class C1APITaskV1TaskActionsServiceRestartRequest(BaseModel): + task_actions_service_restart_request: Annotated[ + shared_taskactionsservicerestartrequest.TaskActionsServiceRestartRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + task_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - task_actions_service_restart_request: Annotated[ - Optional[ - shared_taskactionsservicerestartrequest.TaskActionsServiceRestartRequest - ], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APITaskV1TaskActionsServiceRestartResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_task_v1_taskactionsservice_skipstep.py b/src/sdk/models/operations/c1_api_task_v1_taskactionsservice_skipstep.py index 67354913..1b77e359 100644 --- a/src/sdk/models/operations/c1_api_task_v1_taskactionsservice_skipstep.py +++ b/src/sdk/models/operations/c1_api_task_v1_taskactionsservice_skipstep.py @@ -13,24 +13,20 @@ class C1APITaskV1TaskActionsServiceSkipStepRequestTypedDict(TypedDict): + task_actions_service_skip_step_request: shared_taskactionsserviceskipsteprequest.TaskActionsServiceSkipStepRequestTypedDict task_id: str - task_actions_service_skip_step_request: NotRequired[ - shared_taskactionsserviceskipsteprequest.TaskActionsServiceSkipStepRequestTypedDict - ] class C1APITaskV1TaskActionsServiceSkipStepRequest(BaseModel): + task_actions_service_skip_step_request: Annotated[ + shared_taskactionsserviceskipsteprequest.TaskActionsServiceSkipStepRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + task_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - task_actions_service_skip_step_request: Annotated[ - Optional[ - shared_taskactionsserviceskipsteprequest.TaskActionsServiceSkipStepRequest - ], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APITaskV1TaskActionsServiceSkipStepResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_task_v1_taskactionsservice_updategrantduration.py b/src/sdk/models/operations/c1_api_task_v1_taskactionsservice_updategrantduration.py index b30abdfe..73a9280a 100644 --- a/src/sdk/models/operations/c1_api_task_v1_taskactionsservice_updategrantduration.py +++ b/src/sdk/models/operations/c1_api_task_v1_taskactionsservice_updategrantduration.py @@ -13,24 +13,20 @@ class C1APITaskV1TaskActionsServiceUpdateGrantDurationRequestTypedDict(TypedDict): + task_actions_service_update_grant_duration_request: shared_taskactionsserviceupdategrantdurationrequest.TaskActionsServiceUpdateGrantDurationRequestTypedDict task_id: str - task_actions_service_update_grant_duration_request: NotRequired[ - shared_taskactionsserviceupdategrantdurationrequest.TaskActionsServiceUpdateGrantDurationRequestTypedDict - ] class C1APITaskV1TaskActionsServiceUpdateGrantDurationRequest(BaseModel): + task_actions_service_update_grant_duration_request: Annotated[ + shared_taskactionsserviceupdategrantdurationrequest.TaskActionsServiceUpdateGrantDurationRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + task_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - task_actions_service_update_grant_duration_request: Annotated[ - Optional[ - shared_taskactionsserviceupdategrantdurationrequest.TaskActionsServiceUpdateGrantDurationRequest - ], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APITaskV1TaskActionsServiceUpdateGrantDurationResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_task_v1_taskactionsservice_updaterequestdata.py b/src/sdk/models/operations/c1_api_task_v1_taskactionsservice_updaterequestdata.py index 7b311f05..841fde9f 100644 --- a/src/sdk/models/operations/c1_api_task_v1_taskactionsservice_updaterequestdata.py +++ b/src/sdk/models/operations/c1_api_task_v1_taskactionsservice_updaterequestdata.py @@ -13,24 +13,20 @@ class C1APITaskV1TaskActionsServiceUpdateRequestDataRequestTypedDict(TypedDict): + task_actions_service_update_request_data_request: shared_taskactionsserviceupdaterequestdatarequest.TaskActionsServiceUpdateRequestDataRequestTypedDict task_id: str - task_actions_service_update_request_data_request: NotRequired[ - shared_taskactionsserviceupdaterequestdatarequest.TaskActionsServiceUpdateRequestDataRequestTypedDict - ] class C1APITaskV1TaskActionsServiceUpdateRequestDataRequest(BaseModel): + task_actions_service_update_request_data_request: Annotated[ + shared_taskactionsserviceupdaterequestdatarequest.TaskActionsServiceUpdateRequestDataRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + task_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - task_actions_service_update_request_data_request: Annotated[ - Optional[ - shared_taskactionsserviceupdaterequestdatarequest.TaskActionsServiceUpdateRequestDataRequest - ], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APITaskV1TaskActionsServiceUpdateRequestDataResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_user_v1_userservice_setexpiringuserdelegationbindingbyadmin.py b/src/sdk/models/operations/c1_api_user_v1_userservice_setexpiringuserdelegationbindingbyadmin.py index bfe97158..d6c357ed 100644 --- a/src/sdk/models/operations/c1_api_user_v1_userservice_setexpiringuserdelegationbindingbyadmin.py +++ b/src/sdk/models/operations/c1_api_user_v1_userservice_setexpiringuserdelegationbindingbyadmin.py @@ -15,24 +15,20 @@ class C1APIUserV1UserServiceSetExpiringUserDelegationBindingByAdminRequestTypedDict( TypedDict ): + set_expiring_user_delegation_binding_by_admin_request: shared_setexpiringuserdelegationbindingbyadminrequest.SetExpiringUserDelegationBindingByAdminRequestTypedDict user_id: str - set_expiring_user_delegation_binding_by_admin_request: NotRequired[ - shared_setexpiringuserdelegationbindingbyadminrequest.SetExpiringUserDelegationBindingByAdminRequestTypedDict - ] class C1APIUserV1UserServiceSetExpiringUserDelegationBindingByAdminRequest(BaseModel): + set_expiring_user_delegation_binding_by_admin_request: Annotated[ + shared_setexpiringuserdelegationbindingbyadminrequest.SetExpiringUserDelegationBindingByAdminRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + user_id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - set_expiring_user_delegation_binding_by_admin_request: Annotated[ - Optional[ - shared_setexpiringuserdelegationbindingbyadminrequest.SetExpiringUserDelegationBindingByAdminRequest - ], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIUserV1UserServiceSetExpiringUserDelegationBindingByAdminResponseTypedDict( TypedDict diff --git a/src/sdk/models/operations/c1_api_webhooks_v1_webhooksservice_delete.py b/src/sdk/models/operations/c1_api_webhooks_v1_webhooksservice_delete.py index 9e6ef7c5..3f1e2255 100644 --- a/src/sdk/models/operations/c1_api_webhooks_v1_webhooksservice_delete.py +++ b/src/sdk/models/operations/c1_api_webhooks_v1_webhooksservice_delete.py @@ -13,22 +13,22 @@ class C1APIWebhooksV1WebhooksServiceDeleteRequestTypedDict(TypedDict): - id: str - webhooks_service_delete_request: NotRequired[ + webhooks_service_delete_request: ( shared_webhooksservicedeleterequest.WebhooksServiceDeleteRequestTypedDict - ] + ) + id: str class C1APIWebhooksV1WebhooksServiceDeleteRequest(BaseModel): + webhooks_service_delete_request: Annotated[ + shared_webhooksservicedeleterequest.WebhooksServiceDeleteRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - webhooks_service_delete_request: Annotated[ - Optional[shared_webhooksservicedeleterequest.WebhooksServiceDeleteRequest], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIWebhooksV1WebhooksServiceDeleteResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_webhooks_v1_webhooksservice_test.py b/src/sdk/models/operations/c1_api_webhooks_v1_webhooksservice_test.py index e0b843c9..28fcf400 100644 --- a/src/sdk/models/operations/c1_api_webhooks_v1_webhooksservice_test.py +++ b/src/sdk/models/operations/c1_api_webhooks_v1_webhooksservice_test.py @@ -13,22 +13,22 @@ class C1APIWebhooksV1WebhooksServiceTestRequestTypedDict(TypedDict): - id: str - webhooks_service_test_request: NotRequired[ + webhooks_service_test_request: ( shared_webhooksservicetestrequest.WebhooksServiceTestRequestTypedDict - ] + ) + id: str class C1APIWebhooksV1WebhooksServiceTestRequest(BaseModel): + webhooks_service_test_request: Annotated[ + shared_webhooksservicetestrequest.WebhooksServiceTestRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - webhooks_service_test_request: Annotated[ - Optional[shared_webhooksservicetestrequest.WebhooksServiceTestRequest], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIWebhooksV1WebhooksServiceTestResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/operations/c1_api_webhooks_v1_webhooksservice_update.py b/src/sdk/models/operations/c1_api_webhooks_v1_webhooksservice_update.py index ada1231b..c5cab82e 100644 --- a/src/sdk/models/operations/c1_api_webhooks_v1_webhooksservice_update.py +++ b/src/sdk/models/operations/c1_api_webhooks_v1_webhooksservice_update.py @@ -13,22 +13,22 @@ class C1APIWebhooksV1WebhooksServiceUpdateRequestTypedDict(TypedDict): - id: str - webhooks_service_update_request: NotRequired[ + webhooks_service_update_request: ( shared_webhooksserviceupdaterequest.WebhooksServiceUpdateRequestTypedDict - ] + ) + id: str class C1APIWebhooksV1WebhooksServiceUpdateRequest(BaseModel): + webhooks_service_update_request: Annotated[ + shared_webhooksserviceupdaterequest.WebhooksServiceUpdateRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - webhooks_service_update_request: Annotated[ - Optional[shared_webhooksserviceupdaterequest.WebhooksServiceUpdateRequest], - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] = None - class C1APIWebhooksV1WebhooksServiceUpdateResponseTypedDict(TypedDict): content_type: str diff --git a/src/sdk/models/shared/__init__.py b/src/sdk/models/shared/__init__.py index 866798b6..a5b91dd2 100644 --- a/src/sdk/models/shared/__init__.py +++ b/src/sdk/models/shared/__init__.py @@ -659,6 +659,7 @@ CreatePolicyResponseTypedDict, ) from .createrevoketasks import CreateRevokeTasks, CreateRevokeTasksTypedDict + from .createrevoketasksv2 import CreateRevokeTasksV2, CreateRevokeTasksV2TypedDict from .createrisklevelattributevaluerequest import ( CreateRiskLevelAttributeValueRequest, CreateRiskLevelAttributeValueRequestTypedDict, @@ -868,7 +869,31 @@ ) from .emailnotifications import EmailNotifications, EmailNotificationsTypedDict from .encrypteddata import EncryptedData, EncryptedDataTypedDict + from .entitlementexclusioncriteria import ( + EntitlementExclusionCriteria, + EntitlementExclusionCriteriaTypedDict, + ) + from .entitlementexclusionlist import ( + EntitlementExclusionList, + EntitlementExclusionListTypedDict, + ) + from .entitlementexclusionnone import ( + EntitlementExclusionNone, + EntitlementExclusionNoneTypedDict, + ) from .entitlementfilter import EntitlementFilter, EntitlementFilterTypedDict + from .entitlementinclusionall import ( + EntitlementInclusionAll, + EntitlementInclusionAllTypedDict, + ) + from .entitlementinclusioncriteria import ( + EntitlementInclusionCriteria, + EntitlementInclusionCriteriaTypedDict, + ) + from .entitlementinclusionlist import ( + EntitlementInclusionList, + EntitlementInclusionListTypedDict, + ) from .entitlementownerapproval import ( EntitlementOwnerApproval, EntitlementOwnerApprovalTypedDict, @@ -1847,6 +1872,7 @@ from .stringmapfield import StringMapField, StringMapFieldTypedDict from .stringrules import StringRules, StringRulesTypedDict, WellKnownRegex from .stringslicefield import StringSliceField, StringSliceFieldTypedDict + from .syncconfig import SyncConfig, SyncConfigTypedDict from .systemlogservicelisteventsrequest import ( SortDirection, SystemLogServiceListEventsRequest, @@ -3072,6 +3098,8 @@ "CreatePolicyResponseTypedDict", "CreateRevokeTasks", "CreateRevokeTasksTypedDict", + "CreateRevokeTasksV2", + "CreateRevokeTasksV2TypedDict", "CreateRiskLevelAttributeValueRequest", "CreateRiskLevelAttributeValueRequestTypedDict", "CreateRiskLevelAttributeValueResponse", @@ -3214,9 +3242,21 @@ "EncryptedData", "EncryptedDataTypedDict", "EnrollmentBehavior", + "EntitlementExclusionCriteria", + "EntitlementExclusionCriteriaTypedDict", + "EntitlementExclusionList", + "EntitlementExclusionListTypedDict", + "EntitlementExclusionNone", + "EntitlementExclusionNoneTypedDict", "EntitlementFilter", "EntitlementFilterTypedDict", "EntitlementGroup", + "EntitlementInclusionAll", + "EntitlementInclusionAllTypedDict", + "EntitlementInclusionCriteria", + "EntitlementInclusionCriteriaTypedDict", + "EntitlementInclusionList", + "EntitlementInclusionListTypedDict", "EntitlementOwnerApproval", "EntitlementOwnerApprovalTypedDict", "EnumRules", @@ -3962,6 +4002,8 @@ "StringRulesTypedDict", "StringSliceField", "StringSliceFieldTypedDict", + "SyncConfig", + "SyncConfigTypedDict", "SystemLogServiceListEventsRequest", "SystemLogServiceListEventsRequestTypedDict", "SystemLogServiceListEventsResponse", @@ -4920,6 +4962,8 @@ "CreatePolicyResponseTypedDict": ".createpolicyresponse", "CreateRevokeTasks": ".createrevoketasks", "CreateRevokeTasksTypedDict": ".createrevoketasks", + "CreateRevokeTasksV2": ".createrevoketasksv2", + "CreateRevokeTasksV2TypedDict": ".createrevoketasksv2", "CreateRiskLevelAttributeValueRequest": ".createrisklevelattributevaluerequest", "CreateRiskLevelAttributeValueRequestTypedDict": ".createrisklevelattributevaluerequest", "CreateRiskLevelAttributeValueResponse": ".createrisklevelattributevalueresponse", @@ -5054,8 +5098,20 @@ "EmailNotificationsTypedDict": ".emailnotifications", "EncryptedData": ".encrypteddata", "EncryptedDataTypedDict": ".encrypteddata", + "EntitlementExclusionCriteria": ".entitlementexclusioncriteria", + "EntitlementExclusionCriteriaTypedDict": ".entitlementexclusioncriteria", + "EntitlementExclusionList": ".entitlementexclusionlist", + "EntitlementExclusionListTypedDict": ".entitlementexclusionlist", + "EntitlementExclusionNone": ".entitlementexclusionnone", + "EntitlementExclusionNoneTypedDict": ".entitlementexclusionnone", "EntitlementFilter": ".entitlementfilter", "EntitlementFilterTypedDict": ".entitlementfilter", + "EntitlementInclusionAll": ".entitlementinclusionall", + "EntitlementInclusionAllTypedDict": ".entitlementinclusionall", + "EntitlementInclusionCriteria": ".entitlementinclusioncriteria", + "EntitlementInclusionCriteriaTypedDict": ".entitlementinclusioncriteria", + "EntitlementInclusionList": ".entitlementinclusionlist", + "EntitlementInclusionListTypedDict": ".entitlementinclusionlist", "EntitlementOwnerApproval": ".entitlementownerapproval", "EntitlementOwnerApprovalTypedDict": ".entitlementownerapproval", "EnumRules": ".enumrules", @@ -5776,6 +5832,8 @@ "WellKnownRegex": ".stringrules", "StringSliceField": ".stringslicefield", "StringSliceFieldTypedDict": ".stringslicefield", + "SyncConfig": ".syncconfig", + "SyncConfigTypedDict": ".syncconfig", "SortDirection": ".systemlogservicelisteventsrequest", "SystemLogServiceListEventsRequest": ".systemlogservicelisteventsrequest", "SystemLogServiceListEventsRequestTypedDict": ".systemlogservicelisteventsrequest", diff --git a/src/sdk/models/shared/accountfilter.py b/src/sdk/models/shared/accountfilter.py index 291e5b06..910c6f4b 100644 --- a/src/sdk/models/shared/accountfilter.py +++ b/src/sdk/models/shared/accountfilter.py @@ -3,8 +3,10 @@ from __future__ import annotations from enum import Enum import pydantic +from pydantic import field_serializer from pydantic.functional_validators import PlainValidator from sdk import utils +from sdk.models import shared from sdk.types import BaseModel from sdk.utils import validate_open_enum from typing import Optional @@ -35,3 +37,12 @@ class AccountFilter(BaseModel): pydantic.Field(alias="accountType"), ] = None r"""The accountType field.""" + + @field_serializer("account_type") + def serialize_account_type(self, value): + if isinstance(value, str): + try: + return shared.AccountType(value) + except ValueError: + return value + return value diff --git a/src/sdk/models/shared/agentapproval.py b/src/sdk/models/shared/agentapproval.py index 9b3b99d8..6e506a77 100644 --- a/src/sdk/models/shared/agentapproval.py +++ b/src/sdk/models/shared/agentapproval.py @@ -3,9 +3,10 @@ from __future__ import annotations from enum import Enum import pydantic -from pydantic import model_serializer +from pydantic import field_serializer, model_serializer from pydantic.functional_validators import PlainValidator from sdk import utils +from sdk.models import shared from sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL from sdk.utils import validate_open_enum from typing import List, Optional @@ -88,6 +89,24 @@ class AgentApproval(BaseModel): ] = UNSET r"""The users to reassign the task to if the agent failure action is reassign to users.""" + @field_serializer("agent_failure_action") + def serialize_agent_failure_action(self, value): + if isinstance(value, str): + try: + return shared.AgentFailureAction(value) + except ValueError: + return value + return value + + @field_serializer("agent_mode") + def serialize_agent_mode(self, value): + if isinstance(value, str): + try: + return shared.AgentMode(value) + except ValueError: + return value + return value + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = [ diff --git a/src/sdk/models/shared/app.py b/src/sdk/models/shared/app.py index 403c9ac6..e8f9f928 100644 --- a/src/sdk/models/shared/app.py +++ b/src/sdk/models/shared/app.py @@ -5,10 +5,11 @@ from datetime import datetime from enum import Enum import pydantic -from pydantic import model_serializer +from pydantic import field_serializer, model_serializer from pydantic.functional_serializers import PlainSerializer from pydantic.functional_validators import BeforeValidator, PlainValidator from sdk import utils +from sdk.models import shared from sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL from sdk.utils import serialize_int, validate_int, validate_open_enum from typing import List, Optional @@ -184,6 +185,15 @@ class App(BaseModel): ] = None r"""The number of users with grants to this app.""" + @field_serializer("identity_matching") + def serialize_identity_matching(self, value): + if isinstance(value, str): + try: + return shared.IdentityMatching(value) + except ValueError: + return value + return value + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = [ @@ -334,3 +344,12 @@ class AppInput(BaseModel): Optional[bool], pydantic.Field(alias="strictAccessEntitlementProvisioning") ] = None r"""The strictAccessEntitlementProvisioning field.""" + + @field_serializer("identity_matching") + def serialize_identity_matching(self, value): + if isinstance(value, str): + try: + return shared.IdentityMatching(value) + except ValueError: + return value + return value diff --git a/src/sdk/models/shared/appaccessrequestdefaults.py b/src/sdk/models/shared/appaccessrequestdefaults.py index c6fbc2b9..f939e498 100644 --- a/src/sdk/models/shared/appaccessrequestdefaults.py +++ b/src/sdk/models/shared/appaccessrequestdefaults.py @@ -3,9 +3,10 @@ from __future__ import annotations from enum import Enum import pydantic -from pydantic import model_serializer +from pydantic import field_serializer, model_serializer from pydantic.functional_validators import PlainValidator from sdk import utils +from sdk.models import shared from sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL from sdk.utils import validate_open_enum from typing import List, Optional @@ -128,6 +129,15 @@ class AppAccessRequestDefaults(BaseModel): state: Annotated[Optional[State], PlainValidator(validate_open_enum(False))] = None r"""The last applied state of the app access request defaults.""" + @field_serializer("state") + def serialize_state(self, value): + if isinstance(value, str): + try: + return shared.State(value) + except ValueError: + return value + return value + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = [ @@ -247,6 +257,15 @@ class AppAccessRequestDefaults1(BaseModel): state: Annotated[Optional[State], PlainValidator(validate_open_enum(False))] = None r"""The last applied state of the app access request defaults.""" + @field_serializer("state") + def serialize_state(self, value): + if isinstance(value, str): + try: + return shared.State(value) + except ValueError: + return value + return value + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = [ diff --git a/src/sdk/models/shared/appentitlement.py b/src/sdk/models/shared/appentitlement.py index 1015846e..50ffb2b5 100644 --- a/src/sdk/models/shared/appentitlement.py +++ b/src/sdk/models/shared/appentitlement.py @@ -6,10 +6,11 @@ from datetime import datetime from enum import Enum import pydantic -from pydantic import model_serializer +from pydantic import field_serializer, model_serializer from pydantic.functional_serializers import PlainSerializer from pydantic.functional_validators import BeforeValidator, PlainValidator from sdk import utils +from sdk.models import shared from sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL from sdk.utils import serialize_int, validate_int, validate_open_enum from typing import Dict, List, Optional @@ -313,6 +314,15 @@ class AppEntitlement(BaseModel): OptionalNullable[str], pydantic.Field(alias="userEditedMask") ] = UNSET + @field_serializer("purpose") + def serialize_purpose(self, value): + if isinstance(value, str): + try: + return shared.Purpose(value) + except ValueError: + return value + return value + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = [ @@ -617,6 +627,15 @@ class AppEntitlementInput(BaseModel): OptionalNullable[str], pydantic.Field(alias="userEditedMask") ] = UNSET + @field_serializer("purpose") + def serialize_purpose(self, value): + if isinstance(value, str): + try: + return shared.Purpose(value) + except ValueError: + return value + return value + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = [ diff --git a/src/sdk/models/shared/appentitlementautomationlastrunstatus.py b/src/sdk/models/shared/appentitlementautomationlastrunstatus.py index 7a160aac..8268f218 100644 --- a/src/sdk/models/shared/appentitlementautomationlastrunstatus.py +++ b/src/sdk/models/shared/appentitlementautomationlastrunstatus.py @@ -4,8 +4,10 @@ from datetime import datetime from enum import Enum import pydantic +from pydantic import field_serializer from pydantic.functional_validators import PlainValidator from sdk import utils +from sdk.models import shared from sdk.types import BaseModel from sdk.utils import validate_open_enum from typing import Optional @@ -56,3 +58,12 @@ class AppEntitlementAutomationLastRunStatus(BaseModel): PlainValidator(validate_open_enum(False)), ] = None r"""The status field.""" + + @field_serializer("status") + def serialize_status(self, value): + if isinstance(value, str): + try: + return shared.AppEntitlementAutomationLastRunStatusStatus(value) + except ValueError: + return value + return value diff --git a/src/sdk/models/shared/appentitlementmonitorbinding.py b/src/sdk/models/shared/appentitlementmonitorbinding.py index db914bac..5907027e 100644 --- a/src/sdk/models/shared/appentitlementmonitorbinding.py +++ b/src/sdk/models/shared/appentitlementmonitorbinding.py @@ -4,8 +4,10 @@ from datetime import datetime from enum import Enum import pydantic +from pydantic import field_serializer from pydantic.functional_validators import PlainValidator from sdk import utils +from sdk.models import shared from sdk.types import BaseModel from sdk.utils import validate_open_enum from typing import Optional @@ -63,3 +65,12 @@ class AppEntitlementMonitorBinding(BaseModel): r"""The monitorId field.""" updated_at: Annotated[Optional[datetime], pydantic.Field(alias="updatedAt")] = None + + @field_serializer("entitlement_group") + def serialize_entitlement_group(self, value): + if isinstance(value, str): + try: + return shared.EntitlementGroup(value) + except ValueError: + return value + return value diff --git a/src/sdk/models/shared/appentitlementuserbindingfeed.py b/src/sdk/models/shared/appentitlementuserbindingfeed.py index b891d252..b263d665 100644 --- a/src/sdk/models/shared/appentitlementuserbindingfeed.py +++ b/src/sdk/models/shared/appentitlementuserbindingfeed.py @@ -4,8 +4,10 @@ from datetime import datetime from enum import Enum import pydantic +from pydantic import field_serializer from pydantic.functional_validators import PlainValidator from sdk import utils +from sdk.models import shared from sdk.types import BaseModel from sdk.utils import validate_open_enum from typing import Optional @@ -60,3 +62,12 @@ class AppEntitlementUserBindingFeed(BaseModel): ticket_id: Annotated[Optional[str], pydantic.Field(alias="ticketId")] = None r"""The ticketId field.""" + + @field_serializer("event_type") + def serialize_event_type(self, value): + if isinstance(value, str): + try: + return shared.EventType(value) + except ValueError: + return value + return value diff --git a/src/sdk/models/shared/appgroupapproval.py b/src/sdk/models/shared/appgroupapproval.py index 69a1363f..8c8d4af3 100644 --- a/src/sdk/models/shared/appgroupapproval.py +++ b/src/sdk/models/shared/appgroupapproval.py @@ -29,6 +29,8 @@ class AppGroupApprovalTypedDict(TypedDict): r"""Configuration to specific which users to fallback to if fallback is enabled and the group is empty.""" is_group_fallback_enabled: NotRequired[bool] r"""Configuration to enable fallback for group fallback.""" + require_distinct_approvers: NotRequired[bool] + r"""Configuration to require distinct approvers across approval steps of a rule.""" class AppGroupApproval(BaseModel): @@ -64,6 +66,11 @@ class AppGroupApproval(BaseModel): ] = None r"""Configuration to enable fallback for group fallback.""" + require_distinct_approvers: Annotated[ + Optional[bool], pydantic.Field(alias="requireDistinctApprovers") + ] = None + r"""Configuration to require distinct approvers across approval steps of a rule.""" + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = [ @@ -74,6 +81,7 @@ def serialize_model(self, handler): "fallbackGroupIds", "fallbackUserIds", "isGroupFallbackEnabled", + "requireDistinctApprovers", ] nullable_fields = ["fallbackGroupIds", "fallbackUserIds"] null_default_fields = [] diff --git a/src/sdk/models/shared/appownerapproval.py b/src/sdk/models/shared/appownerapproval.py index 149397f3..0ebf985d 100644 --- a/src/sdk/models/shared/appownerapproval.py +++ b/src/sdk/models/shared/appownerapproval.py @@ -12,6 +12,8 @@ class AppOwnerApprovalTypedDict(TypedDict): allow_self_approval: NotRequired[bool] r"""Configuration that allows a user to self approve if they are an app owner during this approval step.""" + require_distinct_approvers: NotRequired[bool] + r"""Configuration to require distinct approvers across approval steps of a rule.""" class AppOwnerApproval(BaseModel): @@ -21,3 +23,8 @@ class AppOwnerApproval(BaseModel): Optional[bool], pydantic.Field(alias="allowSelfApproval") ] = None r"""Configuration that allows a user to self approve if they are an app owner during this approval step.""" + + require_distinct_approvers: Annotated[ + Optional[bool], pydantic.Field(alias="requireDistinctApprovers") + ] = None + r"""Configuration to require distinct approvers across approval steps of a rule.""" diff --git a/src/sdk/models/shared/apppopulationreport.py b/src/sdk/models/shared/apppopulationreport.py index 64048e65..735bec4f 100644 --- a/src/sdk/models/shared/apppopulationreport.py +++ b/src/sdk/models/shared/apppopulationreport.py @@ -4,8 +4,10 @@ from datetime import datetime from enum import Enum import pydantic +from pydantic import field_serializer from pydantic.functional_validators import PlainValidator from sdk import utils +from sdk.models import shared from sdk.types import BaseModel from sdk.utils import validate_open_enum from typing import Dict, Optional @@ -58,3 +60,12 @@ class AppPopulationReport(BaseModel): Optional[AppPopulationReportState], PlainValidator(validate_open_enum(False)) ] = None r"""The state field tracks the state of the AppPopulationReport. This state field can be one of REPORT_STATE_PENDING, REPORT_STATE_UNSPECIFIED, REPORT_STATE_OK, REPORT_STATE_ERROR.""" + + @field_serializer("state") + def serialize_state(self, value): + if isinstance(value, str): + try: + return shared.AppPopulationReportState(value) + except ValueError: + return value + return value diff --git a/src/sdk/models/shared/approvalinstance.py b/src/sdk/models/shared/approvalinstance.py index 38be3fcc..bde24fd0 100644 --- a/src/sdk/models/shared/approvalinstance.py +++ b/src/sdk/models/shared/approvalinstance.py @@ -14,9 +14,10 @@ from .skippedaction import SkippedAction, SkippedActionTypedDict from enum import Enum import pydantic -from pydantic import model_serializer +from pydantic import field_serializer, model_serializer from pydantic.functional_validators import PlainValidator from sdk import utils +from sdk.models import shared from sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL from sdk.utils import validate_open_enum from typing import Optional @@ -165,6 +166,15 @@ class ApprovalInstance(BaseModel): ] = None r"""The state of the approval instance""" + @field_serializer("state") + def serialize_state(self, value): + if isinstance(value, str): + try: + return shared.ApprovalInstanceState(value) + except ValueError: + return value + return value + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = [ diff --git a/src/sdk/models/shared/appuser.py b/src/sdk/models/shared/appuser.py index f68cc907..96ab6808 100644 --- a/src/sdk/models/shared/appuser.py +++ b/src/sdk/models/shared/appuser.py @@ -6,9 +6,10 @@ from datetime import datetime from enum import Enum import pydantic -from pydantic import model_serializer +from pydantic import field_serializer, model_serializer from pydantic.functional_validators import PlainValidator from sdk import utils +from sdk.models import shared from sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL from sdk.utils import validate_open_enum from typing import Any, Dict, List, Optional @@ -113,6 +114,15 @@ class AppUser(BaseModel): usernames: OptionalNullable[List[str]] = UNSET r"""The usernames field of the application user.""" + @field_serializer("app_user_type") + def serialize_app_user_type(self, value): + if isinstance(value, str): + try: + return shared.AppUserType(value) + except ValueError: + return value + return value + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = [ @@ -183,3 +193,12 @@ class AppUserInput(BaseModel): pydantic.Field(alias="appUserType"), ] = None r"""The appplication user type. Type can be user, system or service.""" + + @field_serializer("app_user_type") + def serialize_app_user_type(self, value): + if isinstance(value, str): + try: + return shared.AppUserType(value) + except ValueError: + return value + return value diff --git a/src/sdk/models/shared/appuserstatus.py b/src/sdk/models/shared/appuserstatus.py index 9c3dc14d..9eb6610d 100644 --- a/src/sdk/models/shared/appuserstatus.py +++ b/src/sdk/models/shared/appuserstatus.py @@ -2,8 +2,10 @@ from __future__ import annotations from enum import Enum +from pydantic import field_serializer from pydantic.functional_validators import PlainValidator from sdk import utils +from sdk.models import shared from sdk.types import BaseModel from sdk.utils import validate_open_enum from typing import Optional @@ -38,3 +40,12 @@ class AppUserStatus(BaseModel): Optional[AppUserStatusStatus], PlainValidator(validate_open_enum(False)) ] = None r"""The application user status field.""" + + @field_serializer("status") + def serialize_status(self, value): + if isinstance(value, str): + try: + return shared.AppUserStatusStatus(value) + except ValueError: + return value + return value diff --git a/src/sdk/models/shared/automation.py b/src/sdk/models/shared/automation.py index 6899ac37..70a57b4f 100644 --- a/src/sdk/models/shared/automation.py +++ b/src/sdk/models/shared/automation.py @@ -11,10 +11,11 @@ from datetime import datetime from enum import Enum import pydantic -from pydantic import model_serializer +from pydantic import field_serializer, model_serializer from pydantic.functional_serializers import PlainSerializer from pydantic.functional_validators import BeforeValidator, PlainValidator from sdk import utils +from sdk.models import shared from sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL from sdk.utils import serialize_int, validate_int, validate_open_enum from typing import List, Optional @@ -161,6 +162,15 @@ class Automation(BaseModel): triggers: OptionalNullable[List[AutomationTrigger]] = UNSET r"""The triggers field.""" + @field_serializer("primary_trigger_type") + def serialize_primary_trigger_type(self, value): + if isinstance(value, str): + try: + return shared.PrimaryTriggerType(value) + except ValueError: + return value + return value + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = [ @@ -332,6 +342,15 @@ class AutomationInput(BaseModel): triggers: OptionalNullable[List[AutomationTrigger]] = UNSET r"""The triggers field.""" + @field_serializer("primary_trigger_type") + def serialize_primary_trigger_type(self, value): + if isinstance(value, str): + try: + return shared.PrimaryTriggerType(value) + except ValueError: + return value + return value + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = [ diff --git a/src/sdk/models/shared/automationexecution.py b/src/sdk/models/shared/automationexecution.py index 896bcb4d..e9720f90 100644 --- a/src/sdk/models/shared/automationexecution.py +++ b/src/sdk/models/shared/automationexecution.py @@ -5,9 +5,11 @@ from datetime import datetime from enum import Enum import pydantic +from pydantic import field_serializer from pydantic.functional_serializers import PlainSerializer from pydantic.functional_validators import BeforeValidator, PlainValidator from sdk import utils +from sdk.models import shared from sdk.types import BaseModel from sdk.utils import serialize_int, validate_int, validate_open_enum from typing import Optional @@ -97,3 +99,12 @@ class AutomationExecution(BaseModel): r"""The state field.""" updated_at: Annotated[Optional[datetime], pydantic.Field(alias="updatedAt")] = None + + @field_serializer("state") + def serialize_state(self, value): + if isinstance(value, str): + try: + return shared.AutomationExecutionState(value) + except ValueError: + return value + return value diff --git a/src/sdk/models/shared/automationstep.py b/src/sdk/models/shared/automationstep.py index 5b72a651..89fcd72c 100644 --- a/src/sdk/models/shared/automationstep.py +++ b/src/sdk/models/shared/automationstep.py @@ -13,6 +13,7 @@ ) from .createaccessreview import CreateAccessReview, CreateAccessReviewTypedDict from .createrevoketasks import CreateRevokeTasks, CreateRevokeTasksTypedDict +from .createrevoketasksv2 import CreateRevokeTasksV2, CreateRevokeTasksV2TypedDict from .grantentitlements import GrantEntitlements, GrantEntitlementsTypedDict from .removefromdelegation import RemoveFromDelegation, RemoveFromDelegationTypedDict from .runautomation import RunAutomation, RunAutomationTypedDict @@ -41,6 +42,7 @@ class AutomationStepTypedDict(TypedDict): - waitForDuration - unenrollFromAllAccessProfiles - createRevokeTasks + - createRevokeTasksV2 - sendEmail - removeFromDelegation - runAutomation @@ -85,6 +87,27 @@ class AutomationStepTypedDict(TypedDict): r"""The CreateAccessReview message.""" create_revoke_tasks: NotRequired[Nullable[CreateRevokeTasksTypedDict]] r"""The CreateRevokeTasks message.""" + create_revoke_tasks_v2: NotRequired[Nullable[CreateRevokeTasksV2TypedDict]] + r"""The CreateRevokeTasksV2 message. + + This message contains a oneof named user. Only a single field of the following list may be set at a time: + - userIdCel + - userRef + - useSubjectUser + + + This message contains a oneof named inclusion. Only a single field of the following list may be set at a time: + - inclusionList + - inclusionAll + - inclusionCriteria + + + This message contains a oneof named exclusion. Only a single field of the following list may be set at a time: + - exclusionNone + - exclusionList + - exclusionCriteria + + """ grant_entitlements: NotRequired[Nullable[GrantEntitlementsTypedDict]] r"""The GrantEntitlements message.""" remove_from_delegation: NotRequired[Nullable[RemoveFromDelegationTypedDict]] @@ -164,6 +187,7 @@ class AutomationStep(BaseModel): - waitForDuration - unenrollFromAllAccessProfiles - createRevokeTasks + - createRevokeTasksV2 - sendEmail - removeFromDelegation - runAutomation @@ -228,6 +252,31 @@ class AutomationStep(BaseModel): ] = UNSET r"""The CreateRevokeTasks message.""" + create_revoke_tasks_v2: Annotated[ + OptionalNullable[CreateRevokeTasksV2], + pydantic.Field(alias="createRevokeTasksV2"), + ] = UNSET + r"""The CreateRevokeTasksV2 message. + + This message contains a oneof named user. Only a single field of the following list may be set at a time: + - userIdCel + - userRef + - useSubjectUser + + + This message contains a oneof named inclusion. Only a single field of the following list may be set at a time: + - inclusionList + - inclusionAll + - inclusionCriteria + + + This message contains a oneof named exclusion. Only a single field of the following list may be set at a time: + - exclusionNone + - exclusionList + - exclusionCriteria + + """ + grant_entitlements: Annotated[ OptionalNullable[GrantEntitlements], pydantic.Field(alias="grantEntitlements") ] = UNSET @@ -341,6 +390,7 @@ def serialize_model(self, handler): "ConnectorCreateAccount", "CreateAccessReview", "CreateRevokeTasks", + "CreateRevokeTasksV2", "GrantEntitlements", "RemoveFromDelegation", "RunAutomation", @@ -362,6 +412,7 @@ def serialize_model(self, handler): "ConnectorCreateAccount", "CreateAccessReview", "CreateRevokeTasks", + "CreateRevokeTasksV2", "GrantEntitlements", "RemoveFromDelegation", "RunAutomation", diff --git a/src/sdk/models/shared/bundleautomationcircuitbreaker.py b/src/sdk/models/shared/bundleautomationcircuitbreaker.py index 06b3529f..ead8c113 100644 --- a/src/sdk/models/shared/bundleautomationcircuitbreaker.py +++ b/src/sdk/models/shared/bundleautomationcircuitbreaker.py @@ -5,9 +5,11 @@ from datetime import datetime from enum import Enum import pydantic +from pydantic import field_serializer from pydantic.functional_serializers import PlainSerializer from pydantic.functional_validators import BeforeValidator, PlainValidator from sdk import utils +from sdk.models import shared from sdk.types import BaseModel from sdk.utils import serialize_int, validate_int, validate_open_enum from typing import Optional @@ -57,3 +59,12 @@ class BundleAutomationCircuitBreaker(BaseModel): r"""The state field.""" updated_at: Annotated[Optional[datetime], pydantic.Field(alias="updatedAt")] = None + + @field_serializer("state") + def serialize_state(self, value): + if isinstance(value, str): + try: + return shared.BundleAutomationCircuitBreakerState(value) + except ValueError: + return value + return value diff --git a/src/sdk/models/shared/bundleautomationlastrunstate.py b/src/sdk/models/shared/bundleautomationlastrunstate.py index 20c23af6..63cd847f 100644 --- a/src/sdk/models/shared/bundleautomationlastrunstate.py +++ b/src/sdk/models/shared/bundleautomationlastrunstate.py @@ -4,8 +4,10 @@ from datetime import datetime from enum import Enum import pydantic +from pydantic import field_serializer from pydantic.functional_validators import PlainValidator from sdk import utils +from sdk.models import shared from sdk.types import BaseModel from sdk.utils import validate_open_enum from typing import Optional @@ -51,3 +53,12 @@ class BundleAutomationLastRunState(BaseModel): PlainValidator(validate_open_enum(False)), ] = None r"""The status field.""" + + @field_serializer("status") + def serialize_status(self, value): + if isinstance(value, str): + try: + return shared.BundleAutomationLastRunStateStatus(value) + except ValueError: + return value + return value diff --git a/src/sdk/models/shared/connector.py b/src/sdk/models/shared/connector.py index 9ffcc102..55419d84 100644 --- a/src/sdk/models/shared/connector.py +++ b/src/sdk/models/shared/connector.py @@ -7,6 +7,7 @@ OAuth2AuthorizedAsInput, OAuth2AuthorizedAsInputTypedDict, ) +from .syncconfig import SyncConfig, SyncConfigTypedDict from datetime import datetime import pydantic from pydantic import ConfigDict, model_serializer @@ -49,6 +50,8 @@ class ConnectorTypedDict(TypedDict): r"""The status field on the connector is used to track the status of the connectors sync, and when syncing last started, completed, or caused the connector to update.""" o_auth2_authorized_as: NotRequired[OAuth2AuthorizedAsTypedDict] r"""OAuth2AuthorizedAs tracks the user that OAuthed with the connector.""" + sync_config: NotRequired[SyncConfigTypedDict] + r"""The SyncConfig message.""" app_id: NotRequired[str] r"""The id of the app the connector is associated with.""" can_resume_sync: NotRequired[bool] @@ -96,6 +99,11 @@ class Connector(BaseModel): ] = None r"""OAuth2AuthorizedAs tracks the user that OAuthed with the connector.""" + sync_config: Annotated[Optional[SyncConfig], pydantic.Field(alias="syncConfig")] = ( + None + ) + r"""The SyncConfig message.""" + app_id: Annotated[Optional[str], pydantic.Field(alias="appId")] = None r"""The id of the app the connector is associated with.""" @@ -167,6 +175,7 @@ def serialize_model(self, handler): optional_fields = [ "ConnectorStatus", "OAuth2AuthorizedAs", + "SyncConfig", "appId", "canResumeSync", "catalogId", @@ -221,6 +230,8 @@ class ConnectorInputTypedDict(TypedDict): r"""The status field on the connector is used to track the status of the connectors sync, and when syncing last started, completed, or caused the connector to update.""" o_auth2_authorized_as: NotRequired[OAuth2AuthorizedAsInputTypedDict] r"""OAuth2AuthorizedAs tracks the user that OAuthed with the connector.""" + sync_config: NotRequired[SyncConfigTypedDict] + r"""The SyncConfig message.""" app_id: NotRequired[str] r"""The id of the app the connector is associated with.""" can_resume_sync: NotRequired[bool] @@ -262,6 +273,11 @@ class ConnectorInput(BaseModel): ] = None r"""OAuth2AuthorizedAs tracks the user that OAuthed with the connector.""" + sync_config: Annotated[Optional[SyncConfig], pydantic.Field(alias="syncConfig")] = ( + None + ) + r"""The SyncConfig message.""" + app_id: Annotated[Optional[str], pydantic.Field(alias="appId")] = None r"""The id of the app the connector is associated with.""" @@ -320,6 +336,7 @@ def serialize_model(self, handler): optional_fields = [ "ConnectorStatus", "OAuth2AuthorizedAs", + "SyncConfig", "appId", "canResumeSync", "catalogId", diff --git a/src/sdk/models/shared/connectorstatus.py b/src/sdk/models/shared/connectorstatus.py index 0f0b83f0..6692a567 100644 --- a/src/sdk/models/shared/connectorstatus.py +++ b/src/sdk/models/shared/connectorstatus.py @@ -4,8 +4,10 @@ from datetime import datetime from enum import Enum import pydantic +from pydantic import field_serializer from pydantic.functional_validators import PlainValidator from sdk import utils +from sdk.models import shared from sdk.types import BaseModel from sdk.utils import validate_open_enum from typing import Optional @@ -52,3 +54,12 @@ class ConnectorStatus(BaseModel): r"""The status of the connector sync.""" updated_at: Annotated[Optional[datetime], pydantic.Field(alias="updatedAt")] = None + + @field_serializer("status") + def serialize_status(self, value): + if isinstance(value, str): + try: + return shared.ConnectorStatusStatus(value) + except ValueError: + return value + return value diff --git a/src/sdk/models/shared/createappentitlementmonitorbindingrequest.py b/src/sdk/models/shared/createappentitlementmonitorbindingrequest.py index 45d847aa..275ee279 100644 --- a/src/sdk/models/shared/createappentitlementmonitorbindingrequest.py +++ b/src/sdk/models/shared/createappentitlementmonitorbindingrequest.py @@ -3,8 +3,10 @@ from __future__ import annotations from enum import Enum import pydantic +from pydantic import field_serializer from pydantic.functional_validators import PlainValidator from sdk import utils +from sdk.models import shared from sdk.types import BaseModel from sdk.utils import validate_open_enum from typing import Optional @@ -58,3 +60,14 @@ class CreateAppEntitlementMonitorBindingRequest(BaseModel): monitor_id: Annotated[Optional[str], pydantic.Field(alias="monitorId")] = None r"""The monitorId field.""" + + @field_serializer("entitlement_group") + def serialize_entitlement_group(self, value): + if isinstance(value, str): + try: + return shared.CreateAppEntitlementMonitorBindingRequestEntitlementGroup( + value + ) + except ValueError: + return value + return value diff --git a/src/sdk/models/shared/createappentitlementrequest.py b/src/sdk/models/shared/createappentitlementrequest.py index 5a9af24f..9798f715 100644 --- a/src/sdk/models/shared/createappentitlementrequest.py +++ b/src/sdk/models/shared/createappentitlementrequest.py @@ -8,9 +8,10 @@ from .provisionpolicy_input import ProvisionPolicyInput, ProvisionPolicyInputTypedDict from enum import Enum import pydantic -from pydantic import model_serializer +from pydantic import field_serializer, model_serializer from pydantic.functional_validators import PlainValidator from sdk import utils +from sdk.models import shared from sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL from sdk.utils import validate_open_enum from typing import List, Optional @@ -222,6 +223,15 @@ class CreateAppEntitlementRequest(BaseModel): slug: Optional[str] = None r"""The slug field.""" + @field_serializer("purpose") + def serialize_purpose(self, value): + if isinstance(value, str): + try: + return shared.CreateAppEntitlementRequestPurpose(value) + except ValueError: + return value + return value + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = [ diff --git a/src/sdk/models/shared/createapprequest.py b/src/sdk/models/shared/createapprequest.py index ba84d0ad..13a6f9f3 100644 --- a/src/sdk/models/shared/createapprequest.py +++ b/src/sdk/models/shared/createapprequest.py @@ -3,9 +3,10 @@ from __future__ import annotations from enum import Enum import pydantic -from pydantic import model_serializer +from pydantic import field_serializer, model_serializer from pydantic.functional_validators import PlainValidator from sdk import utils +from sdk.models import shared from sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL from sdk.utils import validate_open_enum from typing import List, Optional @@ -89,6 +90,15 @@ class CreateAppRequest(BaseModel): ] = None r"""This flag enforces a provisioning mode where the access entitlement is always included in the provisioning flow, if the app user doesn't exist""" + @field_serializer("identity_matching") + def serialize_identity_matching(self, value): + if isinstance(value, str): + try: + return shared.CreateAppRequestIdentityMatching(value) + except ValueError: + return value + return value + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = [ diff --git a/src/sdk/models/shared/createmanuallymanagedresourcetyperequest.py b/src/sdk/models/shared/createmanuallymanagedresourcetyperequest.py index eebd7360..2f65ca1c 100644 --- a/src/sdk/models/shared/createmanuallymanagedresourcetyperequest.py +++ b/src/sdk/models/shared/createmanuallymanagedresourcetyperequest.py @@ -3,8 +3,10 @@ from __future__ import annotations from enum import Enum import pydantic +from pydantic import field_serializer from pydantic.functional_validators import PlainValidator from sdk import utils +from sdk.models import shared from sdk.types import BaseModel from sdk.utils import validate_open_enum from typing_extensions import Annotated, TypedDict @@ -43,3 +45,12 @@ class CreateManuallyManagedResourceTypeRequest(BaseModel): pydantic.Field(alias="resourceType"), ] r"""The resourceType field.""" + + @field_serializer("resource_type") + def serialize_resource_type(self, value): + if isinstance(value, str): + try: + return shared.ResourceType(value) + except ValueError: + return value + return value diff --git a/src/sdk/models/shared/createpolicyrequest.py b/src/sdk/models/shared/createpolicyrequest.py index 9ee29bf4..293e06a8 100644 --- a/src/sdk/models/shared/createpolicyrequest.py +++ b/src/sdk/models/shared/createpolicyrequest.py @@ -6,9 +6,10 @@ from .rule import Rule, RuleTypedDict from enum import Enum import pydantic -from pydantic import model_serializer +from pydantic import field_serializer, model_serializer from pydantic.functional_validators import PlainValidator from sdk import utils +from sdk.models import shared from sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL from sdk.utils import validate_open_enum from typing import Dict, List, Optional @@ -82,6 +83,15 @@ class CreatePolicyRequest(BaseModel): rules: OptionalNullable[List[Rule]] = UNSET r"""The rules field.""" + @field_serializer("policy_type") + def serialize_policy_type(self, value): + if isinstance(value, str): + try: + return shared.PolicyType(value) + except ValueError: + return value + return value + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = [ diff --git a/src/sdk/models/shared/createrevoketasksv2.py b/src/sdk/models/shared/createrevoketasksv2.py new file mode 100644 index 00000000..ea54a176 --- /dev/null +++ b/src/sdk/models/shared/createrevoketasksv2.py @@ -0,0 +1,211 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .entitlementexclusioncriteria import ( + EntitlementExclusionCriteria, + EntitlementExclusionCriteriaTypedDict, +) +from .entitlementexclusionlist import ( + EntitlementExclusionList, + EntitlementExclusionListTypedDict, +) +from .entitlementexclusionnone import ( + EntitlementExclusionNone, + EntitlementExclusionNoneTypedDict, +) +from .entitlementinclusionall import ( + EntitlementInclusionAll, + EntitlementInclusionAllTypedDict, +) +from .entitlementinclusioncriteria import ( + EntitlementInclusionCriteria, + EntitlementInclusionCriteriaTypedDict, +) +from .entitlementinclusionlist import ( + EntitlementInclusionList, + EntitlementInclusionListTypedDict, +) +from .userref import UserRef, UserRefTypedDict +import pydantic +from pydantic import model_serializer +from sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL +from typing import Optional +from typing_extensions import Annotated, NotRequired, TypedDict + + +class CreateRevokeTasksV2TypedDict(TypedDict): + r"""The CreateRevokeTasksV2 message. + + This message contains a oneof named user. Only a single field of the following list may be set at a time: + - userIdCel + - userRef + - useSubjectUser + + + This message contains a oneof named inclusion. Only a single field of the following list may be set at a time: + - inclusionList + - inclusionAll + - inclusionCriteria + + + This message contains a oneof named exclusion. Only a single field of the following list may be set at a time: + - exclusionNone + - exclusionList + - exclusionCriteria + + """ + + entitlement_exclusion_criteria: NotRequired[ + Nullable[EntitlementExclusionCriteriaTypedDict] + ] + r"""The EntitlementExclusionCriteria message.""" + entitlement_exclusion_list: NotRequired[Nullable[EntitlementExclusionListTypedDict]] + r"""The EntitlementExclusionList message.""" + entitlement_exclusion_none: NotRequired[Nullable[EntitlementExclusionNoneTypedDict]] + r"""The EntitlementExclusionNone message.""" + entitlement_inclusion_all: NotRequired[Nullable[EntitlementInclusionAllTypedDict]] + r"""The EntitlementInclusionAll message.""" + entitlement_inclusion_criteria: NotRequired[ + Nullable[EntitlementInclusionCriteriaTypedDict] + ] + r"""The EntitlementInclusionCriteria message.""" + entitlement_inclusion_list: NotRequired[Nullable[EntitlementInclusionListTypedDict]] + r"""The EntitlementInclusionList message.""" + user_ref: NotRequired[UserRefTypedDict] + r"""A reference to a user.""" + use_subject_user: NotRequired[Nullable[bool]] + r"""The useSubjectUser field. + This field is part of the `user` oneof. + See the documentation for `c1.api.automations.v1.CreateRevokeTasksV2` for more details. + """ + user_id_cel: NotRequired[Nullable[str]] + r"""The userIdCel field. + This field is part of the `user` oneof. + See the documentation for `c1.api.automations.v1.CreateRevokeTasksV2` for more details. + """ + + +class CreateRevokeTasksV2(BaseModel): + r"""The CreateRevokeTasksV2 message. + + This message contains a oneof named user. Only a single field of the following list may be set at a time: + - userIdCel + - userRef + - useSubjectUser + + + This message contains a oneof named inclusion. Only a single field of the following list may be set at a time: + - inclusionList + - inclusionAll + - inclusionCriteria + + + This message contains a oneof named exclusion. Only a single field of the following list may be set at a time: + - exclusionNone + - exclusionList + - exclusionCriteria + + """ + + entitlement_exclusion_criteria: Annotated[ + OptionalNullable[EntitlementExclusionCriteria], + pydantic.Field(alias="exclusionCriteria"), + ] = UNSET + r"""The EntitlementExclusionCriteria message.""" + + entitlement_exclusion_list: Annotated[ + OptionalNullable[EntitlementExclusionList], + pydantic.Field(alias="exclusionList"), + ] = UNSET + r"""The EntitlementExclusionList message.""" + + entitlement_exclusion_none: Annotated[ + OptionalNullable[EntitlementExclusionNone], + pydantic.Field(alias="exclusionNone"), + ] = UNSET + r"""The EntitlementExclusionNone message.""" + + entitlement_inclusion_all: Annotated[ + OptionalNullable[EntitlementInclusionAll], pydantic.Field(alias="inclusionAll") + ] = UNSET + r"""The EntitlementInclusionAll message.""" + + entitlement_inclusion_criteria: Annotated[ + OptionalNullable[EntitlementInclusionCriteria], + pydantic.Field(alias="inclusionCriteria"), + ] = UNSET + r"""The EntitlementInclusionCriteria message.""" + + entitlement_inclusion_list: Annotated[ + OptionalNullable[EntitlementInclusionList], + pydantic.Field(alias="inclusionList"), + ] = UNSET + r"""The EntitlementInclusionList message.""" + + user_ref: Annotated[Optional[UserRef], pydantic.Field(alias="userRef")] = None + r"""A reference to a user.""" + + use_subject_user: Annotated[ + OptionalNullable[bool], pydantic.Field(alias="useSubjectUser") + ] = UNSET + r"""The useSubjectUser field. + This field is part of the `user` oneof. + See the documentation for `c1.api.automations.v1.CreateRevokeTasksV2` for more details. + """ + + user_id_cel: Annotated[OptionalNullable[str], pydantic.Field(alias="userIdCel")] = ( + UNSET + ) + r"""The userIdCel field. + This field is part of the `user` oneof. + See the documentation for `c1.api.automations.v1.CreateRevokeTasksV2` for more details. + """ + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = [ + "EntitlementExclusionCriteria", + "EntitlementExclusionList", + "EntitlementExclusionNone", + "EntitlementInclusionAll", + "EntitlementInclusionCriteria", + "EntitlementInclusionList", + "UserRef", + "useSubjectUser", + "userIdCel", + ] + nullable_fields = [ + "EntitlementExclusionCriteria", + "EntitlementExclusionList", + "EntitlementExclusionNone", + "EntitlementInclusionAll", + "EntitlementInclusionCriteria", + "EntitlementInclusionList", + "useSubjectUser", + "userIdCel", + ] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/sdk/models/shared/deleteappentitlementmonitorbindingrequest.py b/src/sdk/models/shared/deleteappentitlementmonitorbindingrequest.py index 70988d4c..2ff38bb8 100644 --- a/src/sdk/models/shared/deleteappentitlementmonitorbindingrequest.py +++ b/src/sdk/models/shared/deleteappentitlementmonitorbindingrequest.py @@ -3,8 +3,10 @@ from __future__ import annotations from enum import Enum import pydantic +from pydantic import field_serializer from pydantic.functional_validators import PlainValidator from sdk import utils +from sdk.models import shared from sdk.types import BaseModel from sdk.utils import validate_open_enum from typing import Optional @@ -58,3 +60,14 @@ class DeleteAppEntitlementMonitorBindingRequest(BaseModel): monitor_id: Annotated[Optional[str], pydantic.Field(alias="monitorId")] = None r"""The monitorId field.""" + + @field_serializer("entitlement_group") + def serialize_entitlement_group(self, value): + if isinstance(value, str): + try: + return shared.DeleteAppEntitlementMonitorBindingRequestEntitlementGroup( + value + ) + except ValueError: + return value + return value diff --git a/src/sdk/models/shared/editormarker.py b/src/sdk/models/shared/editormarker.py index 1f44728d..39d10584 100644 --- a/src/sdk/models/shared/editormarker.py +++ b/src/sdk/models/shared/editormarker.py @@ -3,8 +3,10 @@ from __future__ import annotations from enum import Enum import pydantic +from pydantic import field_serializer from pydantic.functional_validators import PlainValidator from sdk import utils +from sdk.models import shared from sdk.types import BaseModel from sdk.utils import validate_open_enum from typing import Optional @@ -64,3 +66,12 @@ class EditorMarker(BaseModel): Optional[int], pydantic.Field(alias="startLineNumber") ] = None r"""The startLineNumber field.""" + + @field_serializer("severity") + def serialize_severity(self, value): + if isinstance(value, str): + try: + return shared.Severity(value) + except ValueError: + return value + return value diff --git a/src/sdk/models/shared/entitlementexclusioncriteria.py b/src/sdk/models/shared/entitlementexclusioncriteria.py new file mode 100644 index 00000000..78c59902 --- /dev/null +++ b/src/sdk/models/shared/entitlementexclusioncriteria.py @@ -0,0 +1,86 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +import pydantic +from pydantic import model_serializer +from sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL +from typing import List +from typing_extensions import Annotated, NotRequired, TypedDict + + +class EntitlementExclusionCriteriaTypedDict(TypedDict): + r"""The EntitlementExclusionCriteria message.""" + + excluded_app_ids: NotRequired[Nullable[List[str]]] + r"""The excludedAppIds field.""" + excluded_compliance_framework_ids: NotRequired[Nullable[List[str]]] + r"""The excludedComplianceFrameworkIds field.""" + excluded_resource_type_ids: NotRequired[Nullable[List[str]]] + r"""The excludedResourceTypeIds field.""" + excluded_risk_level_ids: NotRequired[Nullable[List[str]]] + r"""The excludedRiskLevelIds field.""" + + +class EntitlementExclusionCriteria(BaseModel): + r"""The EntitlementExclusionCriteria message.""" + + excluded_app_ids: Annotated[ + OptionalNullable[List[str]], pydantic.Field(alias="excludedAppIds") + ] = UNSET + r"""The excludedAppIds field.""" + + excluded_compliance_framework_ids: Annotated[ + OptionalNullable[List[str]], + pydantic.Field(alias="excludedComplianceFrameworkIds"), + ] = UNSET + r"""The excludedComplianceFrameworkIds field.""" + + excluded_resource_type_ids: Annotated[ + OptionalNullable[List[str]], pydantic.Field(alias="excludedResourceTypeIds") + ] = UNSET + r"""The excludedResourceTypeIds field.""" + + excluded_risk_level_ids: Annotated[ + OptionalNullable[List[str]], pydantic.Field(alias="excludedRiskLevelIds") + ] = UNSET + r"""The excludedRiskLevelIds field.""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = [ + "excludedAppIds", + "excludedComplianceFrameworkIds", + "excludedResourceTypeIds", + "excludedRiskLevelIds", + ] + nullable_fields = [ + "excludedAppIds", + "excludedComplianceFrameworkIds", + "excludedResourceTypeIds", + "excludedRiskLevelIds", + ] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/sdk/models/shared/entitlementexclusionlist.py b/src/sdk/models/shared/entitlementexclusionlist.py new file mode 100644 index 00000000..02a77f2c --- /dev/null +++ b/src/sdk/models/shared/entitlementexclusionlist.py @@ -0,0 +1,58 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .appentitlementref import AppEntitlementRef, AppEntitlementRefTypedDict +import pydantic +from pydantic import model_serializer +from sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL +from typing import List +from typing_extensions import Annotated, NotRequired, TypedDict + + +class EntitlementExclusionListTypedDict(TypedDict): + r"""The EntitlementExclusionList message.""" + + excluded_app_entitlement_refs: NotRequired[ + Nullable[List[AppEntitlementRefTypedDict]] + ] + r"""The excludedAppEntitlementRefs field.""" + + +class EntitlementExclusionList(BaseModel): + r"""The EntitlementExclusionList message.""" + + excluded_app_entitlement_refs: Annotated[ + OptionalNullable[List[AppEntitlementRef]], + pydantic.Field(alias="excludedAppEntitlementRefs"), + ] = UNSET + r"""The excludedAppEntitlementRefs field.""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["excludedAppEntitlementRefs"] + nullable_fields = ["excludedAppEntitlementRefs"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/sdk/models/shared/entitlementexclusionnone.py b/src/sdk/models/shared/entitlementexclusionnone.py new file mode 100644 index 00000000..165c31c0 --- /dev/null +++ b/src/sdk/models/shared/entitlementexclusionnone.py @@ -0,0 +1,13 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from sdk.types import BaseModel +from typing_extensions import TypedDict + + +class EntitlementExclusionNoneTypedDict(TypedDict): + r"""The EntitlementExclusionNone message.""" + + +class EntitlementExclusionNone(BaseModel): + r"""The EntitlementExclusionNone message.""" diff --git a/src/sdk/models/shared/entitlementinclusionall.py b/src/sdk/models/shared/entitlementinclusionall.py new file mode 100644 index 00000000..ea38296c --- /dev/null +++ b/src/sdk/models/shared/entitlementinclusionall.py @@ -0,0 +1,13 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from sdk.types import BaseModel +from typing_extensions import TypedDict + + +class EntitlementInclusionAllTypedDict(TypedDict): + r"""The EntitlementInclusionAll message.""" + + +class EntitlementInclusionAll(BaseModel): + r"""The EntitlementInclusionAll message.""" diff --git a/src/sdk/models/shared/entitlementinclusioncriteria.py b/src/sdk/models/shared/entitlementinclusioncriteria.py new file mode 100644 index 00000000..1fd1bf7a --- /dev/null +++ b/src/sdk/models/shared/entitlementinclusioncriteria.py @@ -0,0 +1,85 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +import pydantic +from pydantic import model_serializer +from sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL +from typing import List +from typing_extensions import Annotated, NotRequired, TypedDict + + +class EntitlementInclusionCriteriaTypedDict(TypedDict): + r"""The EntitlementInclusionCriteria message.""" + + app_ids: NotRequired[Nullable[List[str]]] + r"""The appIds field.""" + compliance_framework_ids: NotRequired[Nullable[List[str]]] + r"""The complianceFrameworkIds field.""" + resource_type_ids: NotRequired[Nullable[List[str]]] + r"""The resourceTypeIds field.""" + risk_level_ids: NotRequired[Nullable[List[str]]] + r"""The riskLevelIds field.""" + + +class EntitlementInclusionCriteria(BaseModel): + r"""The EntitlementInclusionCriteria message.""" + + app_ids: Annotated[OptionalNullable[List[str]], pydantic.Field(alias="appIds")] = ( + UNSET + ) + r"""The appIds field.""" + + compliance_framework_ids: Annotated[ + OptionalNullable[List[str]], pydantic.Field(alias="complianceFrameworkIds") + ] = UNSET + r"""The complianceFrameworkIds field.""" + + resource_type_ids: Annotated[ + OptionalNullable[List[str]], pydantic.Field(alias="resourceTypeIds") + ] = UNSET + r"""The resourceTypeIds field.""" + + risk_level_ids: Annotated[ + OptionalNullable[List[str]], pydantic.Field(alias="riskLevelIds") + ] = UNSET + r"""The riskLevelIds field.""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = [ + "appIds", + "complianceFrameworkIds", + "resourceTypeIds", + "riskLevelIds", + ] + nullable_fields = [ + "appIds", + "complianceFrameworkIds", + "resourceTypeIds", + "riskLevelIds", + ] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/sdk/models/shared/entitlementinclusionlist.py b/src/sdk/models/shared/entitlementinclusionlist.py new file mode 100644 index 00000000..71e07e87 --- /dev/null +++ b/src/sdk/models/shared/entitlementinclusionlist.py @@ -0,0 +1,56 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .appentitlementref import AppEntitlementRef, AppEntitlementRefTypedDict +import pydantic +from pydantic import model_serializer +from sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL +from typing import List +from typing_extensions import Annotated, NotRequired, TypedDict + + +class EntitlementInclusionListTypedDict(TypedDict): + r"""The EntitlementInclusionList message.""" + + app_entitlement_refs: NotRequired[Nullable[List[AppEntitlementRefTypedDict]]] + r"""The appEntitlementRefs field.""" + + +class EntitlementInclusionList(BaseModel): + r"""The EntitlementInclusionList message.""" + + app_entitlement_refs: Annotated[ + OptionalNullable[List[AppEntitlementRef]], + pydantic.Field(alias="appEntitlementRefs"), + ] = UNSET + r"""The appEntitlementRefs field.""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["appEntitlementRefs"] + nullable_fields = ["appEntitlementRefs"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/sdk/models/shared/entitlementownerapproval.py b/src/sdk/models/shared/entitlementownerapproval.py index 2fa0b48b..b3119dff 100644 --- a/src/sdk/models/shared/entitlementownerapproval.py +++ b/src/sdk/models/shared/entitlementownerapproval.py @@ -17,6 +17,8 @@ class EntitlementOwnerApprovalTypedDict(TypedDict): r"""Configuration to allow a fallback if the entitlement owner cannot be identified.""" fallback_user_ids: NotRequired[Nullable[List[str]]] r"""Configuration to specific which users to fallback to if fallback is enabled and the entitlement owner cannot be identified.""" + require_distinct_approvers: NotRequired[bool] + r"""Configuration to require distinct approvers across approval steps of a rule.""" class EntitlementOwnerApproval(BaseModel): @@ -35,9 +37,19 @@ class EntitlementOwnerApproval(BaseModel): ] = UNSET r"""Configuration to specific which users to fallback to if fallback is enabled and the entitlement owner cannot be identified.""" + require_distinct_approvers: Annotated[ + Optional[bool], pydantic.Field(alias="requireDistinctApprovers") + ] = None + r"""Configuration to require distinct approvers across approval steps of a rule.""" + @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = ["allowSelfApproval", "fallback", "fallbackUserIds"] + optional_fields = [ + "allowSelfApproval", + "fallback", + "fallbackUserIds", + "requireDistinctApprovers", + ] nullable_fields = ["fallbackUserIds"] null_default_fields = [] diff --git a/src/sdk/models/shared/exporter.py b/src/sdk/models/shared/exporter.py index db317669..4e9d0c18 100644 --- a/src/sdk/models/shared/exporter.py +++ b/src/sdk/models/shared/exporter.py @@ -5,9 +5,10 @@ from datetime import datetime from enum import Enum import pydantic -from pydantic import model_serializer +from pydantic import field_serializer, model_serializer from pydantic.functional_validators import PlainValidator from sdk import utils +from sdk.models import shared from sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL from sdk.utils import validate_open_enum from typing import Optional @@ -81,6 +82,15 @@ class Exporter(BaseModel): ] = None r"""we've synchorized this far""" + @field_serializer("state") + def serialize_state(self, value): + if isinstance(value, str): + try: + return shared.ExporterState(value) + except ValueError: + return value + return value + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = [ diff --git a/src/sdk/models/shared/exporttodatasource.py b/src/sdk/models/shared/exporttodatasource.py index 57f13bd8..f6f62905 100644 --- a/src/sdk/models/shared/exporttodatasource.py +++ b/src/sdk/models/shared/exporttodatasource.py @@ -3,8 +3,10 @@ from __future__ import annotations from enum import Enum import pydantic +from pydantic import field_serializer from pydantic.functional_validators import PlainValidator from sdk import utils +from sdk.models import shared from sdk.types import BaseModel from sdk.utils import validate_open_enum from typing import Optional @@ -44,3 +46,12 @@ class ExportToDatasource(BaseModel): prefix: Optional[str] = None r"""The prefix field.""" + + @field_serializer("format_") + def serialize_format_(self, value): + if isinstance(value, str): + try: + return shared.Format(value) + except ValueError: + return value + return value diff --git a/src/sdk/models/shared/expressionapproval.py b/src/sdk/models/shared/expressionapproval.py index 5657c3d1..4d0aea32 100644 --- a/src/sdk/models/shared/expressionapproval.py +++ b/src/sdk/models/shared/expressionapproval.py @@ -21,6 +21,8 @@ class ExpressionApprovalTypedDict(TypedDict): r"""Configuration to allow a fallback if the expression does not return a valid list of users.""" fallback_user_ids: NotRequired[Nullable[List[str]]] r"""Configuration to specific which users to fallback to if and the expression does not return a valid list of users.""" + require_distinct_approvers: NotRequired[bool] + r"""Configuration to require distinct approvers across approval steps of a rule.""" class ExpressionApproval(BaseModel): @@ -47,6 +49,11 @@ class ExpressionApproval(BaseModel): ] = UNSET r"""Configuration to specific which users to fallback to if and the expression does not return a valid list of users.""" + require_distinct_approvers: Annotated[ + Optional[bool], pydantic.Field(alias="requireDistinctApprovers") + ] = None + r"""Configuration to require distinct approvers across approval steps of a rule.""" + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = [ @@ -55,6 +62,7 @@ def serialize_model(self, handler): "expressions", "fallback", "fallbackUserIds", + "requireDistinctApprovers", ] nullable_fields = ["assignedUserIds", "expressions", "fallbackUserIds"] null_default_fields = [] diff --git a/src/sdk/models/shared/expressionapproval_input.py b/src/sdk/models/shared/expressionapproval_input.py index 5a8f07e9..bb5d08d6 100644 --- a/src/sdk/models/shared/expressionapproval_input.py +++ b/src/sdk/models/shared/expressionapproval_input.py @@ -19,6 +19,8 @@ class ExpressionApprovalInputTypedDict(TypedDict): r"""Configuration to allow a fallback if the expression does not return a valid list of users.""" fallback_user_ids: NotRequired[Nullable[List[str]]] r"""Configuration to specific which users to fallback to if and the expression does not return a valid list of users.""" + require_distinct_approvers: NotRequired[bool] + r"""Configuration to require distinct approvers across approval steps of a rule.""" class ExpressionApprovalInput(BaseModel): @@ -40,6 +42,11 @@ class ExpressionApprovalInput(BaseModel): ] = UNSET r"""Configuration to specific which users to fallback to if and the expression does not return a valid list of users.""" + require_distinct_approvers: Annotated[ + Optional[bool], pydantic.Field(alias="requireDistinctApprovers") + ] = None + r"""Configuration to require distinct approvers across approval steps of a rule.""" + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = [ @@ -47,6 +54,7 @@ def serialize_model(self, handler): "expressions", "fallback", "fallbackUserIds", + "requireDistinctApprovers", ] nullable_fields = ["expressions", "fallbackUserIds"] null_default_fields = [] diff --git a/src/sdk/models/shared/externalref.py b/src/sdk/models/shared/externalref.py index f98db4a9..07463efc 100644 --- a/src/sdk/models/shared/externalref.py +++ b/src/sdk/models/shared/externalref.py @@ -3,8 +3,10 @@ from __future__ import annotations from enum import Enum import pydantic +from pydantic import field_serializer from pydantic.functional_validators import PlainValidator from sdk import utils +from sdk.models import shared from sdk.types import BaseModel from sdk.utils import validate_open_enum from typing import Optional @@ -45,3 +47,12 @@ class ExternalRef(BaseModel): url: Optional[str] = None r"""The URL to the external reference.""" + + @field_serializer("external_ref_source") + def serialize_external_ref_source(self, value): + if isinstance(value, str): + try: + return shared.ExternalRefSource(value) + except ValueError: + return value + return value diff --git a/src/sdk/models/shared/forminstance.py b/src/sdk/models/shared/forminstance.py index 43b7f748..f4d873d9 100644 --- a/src/sdk/models/shared/forminstance.py +++ b/src/sdk/models/shared/forminstance.py @@ -8,9 +8,10 @@ from .skippedaction import SkippedAction, SkippedActionTypedDict from enum import Enum import pydantic -from pydantic import model_serializer +from pydantic import field_serializer, model_serializer from pydantic.functional_validators import PlainValidator from sdk import utils +from sdk.models import shared from sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL from sdk.utils import validate_open_enum from typing import Any, Dict, Optional @@ -92,6 +93,15 @@ class FormInstance(BaseModel): ] = None r"""The state field.""" + @field_serializer("state") + def serialize_state(self, value): + if isinstance(value, str): + try: + return shared.FormInstanceState(value) + except ValueError: + return value + return value + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = [ diff --git a/src/sdk/models/shared/function.py b/src/sdk/models/shared/function.py index 96a12d9e..e66d35e3 100644 --- a/src/sdk/models/shared/function.py +++ b/src/sdk/models/shared/function.py @@ -4,8 +4,10 @@ from datetime import datetime from enum import Enum import pydantic +from pydantic import field_serializer from pydantic.functional_validators import PlainValidator from sdk import utils +from sdk.models import shared from sdk.types import BaseModel from sdk.utils import validate_open_enum from typing import Optional @@ -76,6 +78,15 @@ class Function(BaseModel): updated_at: Annotated[Optional[datetime], pydantic.Field(alias="updatedAt")] = None + @field_serializer("function_type") + def serialize_function_type(self, value): + if isinstance(value, str): + try: + return shared.FunctionType(value) + except ValueError: + return value + return value + class FunctionInputTypedDict(TypedDict): r"""Function represents a customer-provided code extension in the API""" @@ -124,3 +135,12 @@ class FunctionInput(BaseModel): Optional[str], pydantic.Field(alias="publishedCommitId") ] = None r"""The publishedCommitId field.""" + + @field_serializer("function_type") + def serialize_function_type(self, value): + if isinstance(value, str): + try: + return shared.FunctionType(value) + except ValueError: + return value + return value diff --git a/src/sdk/models/shared/functionsservicecreatefunctionrequest.py b/src/sdk/models/shared/functionsservicecreatefunctionrequest.py index fd5ceda1..0db9c58f 100644 --- a/src/sdk/models/shared/functionsservicecreatefunctionrequest.py +++ b/src/sdk/models/shared/functionsservicecreatefunctionrequest.py @@ -3,8 +3,10 @@ from __future__ import annotations from enum import Enum import pydantic +from pydantic import field_serializer from pydantic.functional_validators import PlainValidator from sdk import utils +from sdk.models import shared from sdk.types import BaseModel from sdk.utils import validate_open_enum from typing import Dict, Optional @@ -62,3 +64,12 @@ class FunctionsServiceCreateFunctionRequest(BaseModel): Optional[Dict[str, str]], pydantic.Field(alias="initialContent") ] = None r"""The initialContent field.""" + + @field_serializer("function_type") + def serialize_function_type(self, value): + if isinstance(value, str): + try: + return shared.FunctionsServiceCreateFunctionRequestFunctionType(value) + except ValueError: + return value + return value diff --git a/src/sdk/models/shared/getappentitlementmonitorbindingrequest.py b/src/sdk/models/shared/getappentitlementmonitorbindingrequest.py index c1dd445f..abaa8fcf 100644 --- a/src/sdk/models/shared/getappentitlementmonitorbindingrequest.py +++ b/src/sdk/models/shared/getappentitlementmonitorbindingrequest.py @@ -3,8 +3,10 @@ from __future__ import annotations from enum import Enum import pydantic +from pydantic import field_serializer from pydantic.functional_validators import PlainValidator from sdk import utils +from sdk.models import shared from sdk.types import BaseModel from sdk.utils import validate_open_enum from typing import Optional @@ -58,3 +60,14 @@ class GetAppEntitlementMonitorBindingRequest(BaseModel): monitor_id: Annotated[Optional[str], pydantic.Field(alias="monitorId")] = None r"""The monitorId field.""" + + @field_serializer("entitlement_group") + def serialize_entitlement_group(self, value): + if isinstance(value, str): + try: + return shared.GetAppEntitlementMonitorBindingRequestEntitlementGroup( + value + ) + except ValueError: + return value + return value diff --git a/src/sdk/models/shared/grantfilter.py b/src/sdk/models/shared/grantfilter.py index 60c59ed0..832e7116 100644 --- a/src/sdk/models/shared/grantfilter.py +++ b/src/sdk/models/shared/grantfilter.py @@ -3,8 +3,10 @@ from __future__ import annotations from enum import Enum import pydantic +from pydantic import field_serializer from pydantic.functional_validators import PlainValidator from sdk import utils +from sdk.models import shared from sdk.types import BaseModel from sdk.utils import validate_open_enum from typing import Optional @@ -71,3 +73,30 @@ class GrantFilter(BaseModel): pydantic.Field(alias="grantSourceFilter"), ] = None r"""The grantSourceFilter field.""" + + @field_serializer("grant_filter_type") + def serialize_grant_filter_type(self, value): + if isinstance(value, str): + try: + return shared.GrantFilterType(value) + except ValueError: + return value + return value + + @field_serializer("grant_justification_type") + def serialize_grant_justification_type(self, value): + if isinstance(value, str): + try: + return shared.GrantJustificationType(value) + except ValueError: + return value + return value + + @field_serializer("grant_source_filter") + def serialize_grant_source_filter(self, value): + if isinstance(value, str): + try: + return shared.GrantSourceFilter(value) + except ValueError: + return value + return value diff --git a/src/sdk/models/shared/grantreason.py b/src/sdk/models/shared/grantreason.py index cb984509..c63f9138 100644 --- a/src/sdk/models/shared/grantreason.py +++ b/src/sdk/models/shared/grantreason.py @@ -4,8 +4,10 @@ from datetime import datetime from enum import Enum import pydantic +from pydantic import field_serializer from pydantic.functional_validators import PlainValidator from sdk import utils +from sdk.models import shared from sdk.types import BaseModel from sdk.utils import validate_open_enum from typing import Optional @@ -90,3 +92,12 @@ class GrantReason(BaseModel): """ updated_at: Annotated[Optional[datetime], pydantic.Field(alias="updatedAt")] = None + + @field_serializer("reference_strength") + def serialize_reference_strength(self, value): + if isinstance(value, str): + try: + return shared.ReferenceStrength(value) + except ValueError: + return value + return value diff --git a/src/sdk/models/shared/managerapproval.py b/src/sdk/models/shared/managerapproval.py index ccbf2965..145fded9 100644 --- a/src/sdk/models/shared/managerapproval.py +++ b/src/sdk/models/shared/managerapproval.py @@ -19,6 +19,8 @@ class ManagerApprovalTypedDict(TypedDict): r"""Configuration to allow a fallback if no manager is found.""" fallback_user_ids: NotRequired[Nullable[List[str]]] r"""Configuration to specific which users to fallback to if fallback is enabled and no manager is found.""" + require_distinct_approvers: NotRequired[bool] + r"""Configuration to require distinct approvers across approval steps of a rule.""" class ManagerApproval(BaseModel): @@ -42,6 +44,11 @@ class ManagerApproval(BaseModel): ] = UNSET r"""Configuration to specific which users to fallback to if fallback is enabled and no manager is found.""" + require_distinct_approvers: Annotated[ + Optional[bool], pydantic.Field(alias="requireDistinctApprovers") + ] = None + r"""Configuration to require distinct approvers across approval steps of a rule.""" + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = [ @@ -49,6 +56,7 @@ def serialize_model(self, handler): "assignedUserIds", "fallback", "fallbackUserIds", + "requireDistinctApprovers", ] nullable_fields = ["assignedUserIds", "fallbackUserIds"] null_default_fields = [] diff --git a/src/sdk/models/shared/managerapproval_input.py b/src/sdk/models/shared/managerapproval_input.py index 66643851..957d9bf9 100644 --- a/src/sdk/models/shared/managerapproval_input.py +++ b/src/sdk/models/shared/managerapproval_input.py @@ -17,6 +17,8 @@ class ManagerApprovalInputTypedDict(TypedDict): r"""Configuration to allow a fallback if no manager is found.""" fallback_user_ids: NotRequired[Nullable[List[str]]] r"""Configuration to specific which users to fallback to if fallback is enabled and no manager is found.""" + require_distinct_approvers: NotRequired[bool] + r"""Configuration to require distinct approvers across approval steps of a rule.""" class ManagerApprovalInput(BaseModel): @@ -35,9 +37,19 @@ class ManagerApprovalInput(BaseModel): ] = UNSET r"""Configuration to specific which users to fallback to if fallback is enabled and no manager is found.""" + require_distinct_approvers: Annotated[ + Optional[bool], pydantic.Field(alias="requireDistinctApprovers") + ] = None + r"""Configuration to require distinct approvers across approval steps of a rule.""" + @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = ["allowSelfApproval", "fallback", "fallbackUserIds"] + optional_fields = [ + "allowSelfApproval", + "fallback", + "fallbackUserIds", + "requireDistinctApprovers", + ] nullable_fields = ["fallbackUserIds"] null_default_fields = [] diff --git a/src/sdk/models/shared/policy.py b/src/sdk/models/shared/policy.py index d0fbe62d..d35bfdb7 100644 --- a/src/sdk/models/shared/policy.py +++ b/src/sdk/models/shared/policy.py @@ -8,9 +8,10 @@ from datetime import datetime from enum import Enum import pydantic -from pydantic import model_serializer +from pydantic import field_serializer, model_serializer from pydantic.functional_validators import PlainValidator from sdk import utils +from sdk.models import shared from sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL from sdk.utils import validate_open_enum from typing import Dict, List, Optional @@ -107,6 +108,15 @@ class Policy(BaseModel): updated_at: Annotated[Optional[datetime], pydantic.Field(alias="updatedAt")] = None + @field_serializer("policy_type") + def serialize_policy_type(self, value): + if isinstance(value, str): + try: + return shared.PolicyPolicyType(value) + except ValueError: + return value + return value + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = [ @@ -209,6 +219,15 @@ class PolicyInput(BaseModel): rules: OptionalNullable[List[Rule]] = UNSET r"""The rules field.""" + @field_serializer("policy_type") + def serialize_policy_type(self, value): + if isinstance(value, str): + try: + return shared.PolicyPolicyType(value) + except ValueError: + return value + return value + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = [ diff --git a/src/sdk/models/shared/policystepinstance.py b/src/sdk/models/shared/policystepinstance.py index 7421ecae..803d8b7a 100644 --- a/src/sdk/models/shared/policystepinstance.py +++ b/src/sdk/models/shared/policystepinstance.py @@ -9,9 +9,10 @@ from .waitinstance import WaitInstance, WaitInstanceTypedDict from enum import Enum import pydantic -from pydantic import model_serializer +from pydantic import field_serializer, model_serializer from pydantic.functional_validators import PlainValidator from sdk import utils +from sdk.models import shared from sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL from sdk.utils import validate_open_enum from typing import Optional @@ -201,6 +202,15 @@ class PolicyStepInstance(BaseModel): ] = None r"""The state of the step, which is either active or done.""" + @field_serializer("state") + def serialize_state(self, value): + if isinstance(value, str): + try: + return shared.PolicyStepInstanceState(value) + except ValueError: + return value + return value + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = [ diff --git a/src/sdk/models/shared/provisioninstance.py b/src/sdk/models/shared/provisioninstance.py index 9e0b6114..762d6245 100644 --- a/src/sdk/models/shared/provisioninstance.py +++ b/src/sdk/models/shared/provisioninstance.py @@ -12,9 +12,10 @@ from .skippedaction import SkippedAction, SkippedActionTypedDict from enum import Enum import pydantic -from pydantic import model_serializer +from pydantic import field_serializer, model_serializer from pydantic.functional_validators import PlainValidator from sdk import utils +from sdk.models import shared from sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL from sdk.utils import validate_open_enum from typing import Optional @@ -166,6 +167,15 @@ class ProvisionInstance(BaseModel): ] = None r"""This indicates the webhook instance id for this step.""" + @field_serializer("state") + def serialize_state(self, value): + if isinstance(value, str): + try: + return shared.ProvisionInstanceState(value) + except ValueError: + return value + return value + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = [ diff --git a/src/sdk/models/shared/requestcatalog.py b/src/sdk/models/shared/requestcatalog.py index 0dde69fe..590aac7d 100644 --- a/src/sdk/models/shared/requestcatalog.py +++ b/src/sdk/models/shared/requestcatalog.py @@ -10,9 +10,10 @@ from datetime import datetime from enum import Enum import pydantic -from pydantic import model_serializer +from pydantic import field_serializer, model_serializer from pydantic.functional_validators import PlainValidator from sdk import utils +from sdk.models import shared from sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL from sdk.utils import validate_open_enum from typing import List, Optional @@ -161,6 +162,33 @@ class RequestCatalog(BaseModel): ] = None r"""If this is true, the access entitlement requirement is ignored.""" + @field_serializer("enrollment_behavior") + def serialize_enrollment_behavior(self, value): + if isinstance(value, str): + try: + return shared.EnrollmentBehavior(value) + except ValueError: + return value + return value + + @field_serializer("unenrollment_behavior") + def serialize_unenrollment_behavior(self, value): + if isinstance(value, str): + try: + return shared.UnenrollmentBehavior(value) + except ValueError: + return value + return value + + @field_serializer("unenrollment_entitlement_behavior") + def serialize_unenrollment_entitlement_behavior(self, value): + if isinstance(value, str): + try: + return shared.UnenrollmentEntitlementBehavior(value) + except ValueError: + return value + return value + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = [ @@ -295,6 +323,33 @@ class RequestCatalogInput(BaseModel): ] = None r"""If this is true, the access entitlement requirement is ignored.""" + @field_serializer("enrollment_behavior") + def serialize_enrollment_behavior(self, value): + if isinstance(value, str): + try: + return shared.EnrollmentBehavior(value) + except ValueError: + return value + return value + + @field_serializer("unenrollment_behavior") + def serialize_unenrollment_behavior(self, value): + if isinstance(value, str): + try: + return shared.UnenrollmentBehavior(value) + except ValueError: + return value + return value + + @field_serializer("unenrollment_entitlement_behavior") + def serialize_unenrollment_entitlement_behavior(self, value): + if isinstance(value, str): + try: + return shared.UnenrollmentEntitlementBehavior(value) + except ValueError: + return value + return value + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = [ diff --git a/src/sdk/models/shared/requestcatalogmanagementservicecreaterequest.py b/src/sdk/models/shared/requestcatalogmanagementservicecreaterequest.py index 86d666d4..664b6705 100644 --- a/src/sdk/models/shared/requestcatalogmanagementservicecreaterequest.py +++ b/src/sdk/models/shared/requestcatalogmanagementservicecreaterequest.py @@ -7,8 +7,10 @@ ) from enum import Enum import pydantic +from pydantic import field_serializer from pydantic.functional_validators import PlainValidator from sdk import utils +from sdk.models import shared from sdk.types import BaseModel from sdk.utils import validate_open_enum from typing import Optional @@ -150,3 +152,36 @@ class RequestCatalogManagementServiceCreateRequest(BaseModel): Optional[bool], pydantic.Field(alias="visibleToEveryone") ] = None r"""Whether or not the new catalog is visible to everyone by default.""" + + @field_serializer("enrollment_behavior") + def serialize_enrollment_behavior(self, value): + if isinstance(value, str): + try: + return shared.RequestCatalogManagementServiceCreateRequestEnrollmentBehavior( + value + ) + except ValueError: + return value + return value + + @field_serializer("unenrollment_behavior") + def serialize_unenrollment_behavior(self, value): + if isinstance(value, str): + try: + return shared.RequestCatalogManagementServiceCreateRequestUnenrollmentBehavior( + value + ) + except ValueError: + return value + return value + + @field_serializer("unenrollment_entitlement_behavior") + def serialize_unenrollment_entitlement_behavior(self, value): + if isinstance(value, str): + try: + return shared.RequestCatalogManagementServiceCreateRequestUnenrollmentEntitlementBehavior( + value + ) + except ValueError: + return value + return value diff --git a/src/sdk/models/shared/requestcatalogsearchservicesearchentitlementsrequest.py b/src/sdk/models/shared/requestcatalogsearchservicesearchentitlementsrequest.py index 0362d148..0a58e88d 100644 --- a/src/sdk/models/shared/requestcatalogsearchservicesearchentitlementsrequest.py +++ b/src/sdk/models/shared/requestcatalogsearchservicesearchentitlementsrequest.py @@ -7,8 +7,10 @@ ) from enum import Enum import pydantic +from pydantic import field_serializer from pydantic.functional_validators import PlainValidator from sdk import utils +from sdk.models import shared from sdk.types import BaseModel from sdk.utils import validate_open_enum from typing import Optional @@ -82,3 +84,12 @@ class RequestCatalogSearchServiceSearchEntitlementsRequest(BaseModel): query: Optional[str] = None r"""Fuzzy search the display name of resource types.""" + + @field_serializer("granted_status") + def serialize_granted_status(self, value): + if isinstance(value, str): + try: + return shared.GrantedStatus(value) + except ValueError: + return value + return value diff --git a/src/sdk/models/shared/resourceownerapproval.py b/src/sdk/models/shared/resourceownerapproval.py index 83e00afa..d668175e 100644 --- a/src/sdk/models/shared/resourceownerapproval.py +++ b/src/sdk/models/shared/resourceownerapproval.py @@ -17,6 +17,8 @@ class ResourceOwnerApprovalTypedDict(TypedDict): r"""Configuration to allow a fallback if the resource owner cannot be identified.""" fallback_user_ids: NotRequired[Nullable[List[str]]] r"""Configuration to specific which users to fallback to if fallback is enabled and the resource owner cannot be identified.""" + require_distinct_approvers: NotRequired[bool] + r"""Configuration to require distinct approvers across approval steps of a rule.""" class ResourceOwnerApproval(BaseModel): @@ -35,9 +37,19 @@ class ResourceOwnerApproval(BaseModel): ] = UNSET r"""Configuration to specific which users to fallback to if fallback is enabled and the resource owner cannot be identified.""" + require_distinct_approvers: Annotated[ + Optional[bool], pydantic.Field(alias="requireDistinctApprovers") + ] = None + r"""Configuration to require distinct approvers across approval steps of a rule.""" + @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = ["allowSelfApproval", "fallback", "fallbackUserIds"] + optional_fields = [ + "allowSelfApproval", + "fallback", + "fallbackUserIds", + "requireDistinctApprovers", + ] nullable_fields = ["fallbackUserIds"] null_default_fields = [] diff --git a/src/sdk/models/shared/searchstepupprovidersrequest.py b/src/sdk/models/shared/searchstepupprovidersrequest.py index 9529a56b..655e0a3c 100644 --- a/src/sdk/models/shared/searchstepupprovidersrequest.py +++ b/src/sdk/models/shared/searchstepupprovidersrequest.py @@ -4,9 +4,10 @@ from .stepupproviderref import StepUpProviderRef, StepUpProviderRefTypedDict from enum import Enum import pydantic -from pydantic import model_serializer +from pydantic import field_serializer, model_serializer from pydantic.functional_validators import PlainValidator from sdk import utils +from sdk.models import shared from sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL from sdk.utils import validate_open_enum from typing import List, Optional @@ -57,6 +58,15 @@ class SearchStepUpProvidersRequest(BaseModel): refs: OptionalNullable[List[StepUpProviderRef]] = UNSET r"""The refs field.""" + @field_serializer("provider_type") + def serialize_provider_type(self, value): + if isinstance(value, str): + try: + return shared.ProviderType(value) + except ValueError: + return value + return value + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = ["pageSize", "pageToken", "providerType", "query", "refs"] diff --git a/src/sdk/models/shared/searchstepuptransactionsrequest.py b/src/sdk/models/shared/searchstepuptransactionsrequest.py index 76dabf4e..a81c5e76 100644 --- a/src/sdk/models/shared/searchstepuptransactionsrequest.py +++ b/src/sdk/models/shared/searchstepuptransactionsrequest.py @@ -4,8 +4,10 @@ from datetime import datetime from enum import Enum import pydantic +from pydantic import field_serializer from pydantic.functional_validators import PlainValidator from sdk import utils +from sdk.models import shared from sdk.types import BaseModel from sdk.utils import validate_open_enum from typing import Optional @@ -87,3 +89,21 @@ class SearchStepUpTransactionsRequest(BaseModel): user_id: Annotated[Optional[str], pydantic.Field(alias="userId")] = None r"""Filter by user ID""" + + @field_serializer("state") + def serialize_state(self, value): + if isinstance(value, str): + try: + return shared.SearchStepUpTransactionsRequestState(value) + except ValueError: + return value + return value + + @field_serializer("target_type") + def serialize_target_type(self, value): + if isinstance(value, str): + try: + return shared.TargetType(value) + except ValueError: + return value + return value diff --git a/src/sdk/models/shared/stepuptransaction.py b/src/sdk/models/shared/stepuptransaction.py index 0ac4eade..bde08c9b 100644 --- a/src/sdk/models/shared/stepuptransaction.py +++ b/src/sdk/models/shared/stepuptransaction.py @@ -6,9 +6,10 @@ from datetime import datetime from enum import Enum import pydantic -from pydantic import model_serializer +from pydantic import field_serializer, model_serializer from pydantic.functional_validators import PlainValidator from sdk import utils +from sdk.models import shared from sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL from sdk.utils import validate_open_enum from typing import Any, Dict, Optional @@ -97,6 +98,15 @@ class StepUpTransaction(BaseModel): user_id: Annotated[Optional[str], pydantic.Field(alias="userId")] = None r"""ID of the user who performed the step-up authentication""" + @field_serializer("state") + def serialize_state(self, value): + if isinstance(value, str): + try: + return shared.StepUpTransactionState(value) + except ValueError: + return value + return value + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = [ diff --git a/src/sdk/models/shared/stringrules.py b/src/sdk/models/shared/stringrules.py index be614586..a5f52a1f 100644 --- a/src/sdk/models/shared/stringrules.py +++ b/src/sdk/models/shared/stringrules.py @@ -3,9 +3,10 @@ from __future__ import annotations from enum import Enum import pydantic -from pydantic import model_serializer +from pydantic import field_serializer, model_serializer from pydantic.functional_validators import PlainValidator from sdk import utils +from sdk.models import shared from sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL from sdk.utils import validate_open_enum from typing import List, Optional @@ -350,6 +351,15 @@ class StringRules(BaseModel): See the documentation for `validate.StringRules` for more details. """ + @field_serializer("well_known_regex") + def serialize_well_known_regex(self, value): + if isinstance(value, str): + try: + return Nullable[shared.WellKnownRegex](value) + except ValueError: + return value + return value + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = [ diff --git a/src/sdk/models/shared/syncconfig.py b/src/sdk/models/shared/syncconfig.py new file mode 100644 index 00000000..9310d1f5 --- /dev/null +++ b/src/sdk/models/shared/syncconfig.py @@ -0,0 +1,54 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +import pydantic +from pydantic import model_serializer +from sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL +from typing import List +from typing_extensions import Annotated, NotRequired, TypedDict + + +class SyncConfigTypedDict(TypedDict): + r"""The SyncConfig message.""" + + sync_resource_type_ids: NotRequired[Nullable[List[str]]] + r"""The syncResourceTypeIds field.""" + + +class SyncConfig(BaseModel): + r"""The SyncConfig message.""" + + sync_resource_type_ids: Annotated[ + OptionalNullable[List[str]], pydantic.Field(alias="syncResourceTypeIds") + ] = UNSET + r"""The syncResourceTypeIds field.""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["syncResourceTypeIds"] + nullable_fields = ["syncResourceTypeIds"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/sdk/models/shared/systemlogservicelisteventsrequest.py b/src/sdk/models/shared/systemlogservicelisteventsrequest.py index 356e2686..4d6723b0 100644 --- a/src/sdk/models/shared/systemlogservicelisteventsrequest.py +++ b/src/sdk/models/shared/systemlogservicelisteventsrequest.py @@ -4,8 +4,10 @@ from datetime import datetime from enum import Enum import pydantic +from pydantic import field_serializer from pydantic.functional_validators import PlainValidator from sdk import utils +from sdk.models import shared from sdk.types import BaseModel from sdk.utils import validate_open_enum from typing import Optional @@ -58,3 +60,12 @@ class SystemLogServiceListEventsRequest(BaseModel): r"""The sortDirection field.""" until: Optional[datetime] = None + + @field_serializer("sort_direction") + def serialize_sort_direction(self, value): + if isinstance(value, str): + try: + return shared.SortDirection(value) + except ValueError: + return value + return value diff --git a/src/sdk/models/shared/task.py b/src/sdk/models/shared/task.py index 48f29594..d7118c82 100644 --- a/src/sdk/models/shared/task.py +++ b/src/sdk/models/shared/task.py @@ -8,10 +8,11 @@ from datetime import datetime from enum import Enum import pydantic -from pydantic import ConfigDict, model_serializer +from pydantic import ConfigDict, field_serializer, model_serializer from pydantic.functional_serializers import PlainSerializer from pydantic.functional_validators import BeforeValidator, PlainValidator from sdk import utils +from sdk.models import shared from sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL from sdk.utils import serialize_int, validate_int, validate_open_enum from typing import Any, Dict, List, Optional @@ -308,6 +309,42 @@ class Task(BaseModel): user_id: Annotated[Optional[str], pydantic.Field(alias="userId")] = None r"""The ID of the user that is the target of this task. This may be empty if we're targeting a specific app user that has no known identity user.""" + @field_serializer("origin") + def serialize_origin(self, value): + if isinstance(value, str): + try: + return shared.Origin(value) + except ValueError: + return value + return value + + @field_serializer("processing") + def serialize_processing(self, value): + if isinstance(value, str): + try: + return shared.Processing(value) + except ValueError: + return value + return value + + @field_serializer("recommendation") + def serialize_recommendation(self, value): + if isinstance(value, str): + try: + return shared.Recommendation(value) + except ValueError: + return value + return value + + @field_serializer("state") + def serialize_state(self, value): + if isinstance(value, str): + try: + return shared.TaskState(value) + except ValueError: + return value + return value + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = [ diff --git a/src/sdk/models/shared/taskaction.py b/src/sdk/models/shared/taskaction.py index b8b159ea..d041f581 100644 --- a/src/sdk/models/shared/taskaction.py +++ b/src/sdk/models/shared/taskaction.py @@ -5,9 +5,10 @@ from .reassignaction import ReassignAction, ReassignActionTypedDict from enum import Enum import pydantic -from pydantic import model_serializer +from pydantic import field_serializer, model_serializer from pydantic.functional_validators import PlainValidator from sdk import utils +from sdk.models import shared from sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL from sdk.utils import validate_open_enum from typing import List, Optional @@ -117,6 +118,15 @@ class TaskAction(BaseModel): ] = None r"""The taskUserRelation field.""" + @field_serializer("task_user_relation") + def serialize_task_user_relation(self, value): + if isinstance(value, str): + try: + return shared.TaskUserRelation(value) + except ValueError: + return value + return value + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = [ diff --git a/src/sdk/models/shared/taskaction1.py b/src/sdk/models/shared/taskaction1.py index 15838e19..84c87043 100644 --- a/src/sdk/models/shared/taskaction1.py +++ b/src/sdk/models/shared/taskaction1.py @@ -4,8 +4,10 @@ from datetime import datetime from enum import Enum import pydantic +from pydantic import field_serializer from pydantic.functional_validators import PlainValidator from sdk import utils +from sdk.models import shared from sdk.types import BaseModel from sdk.utils import validate_open_enum from typing import Optional @@ -102,3 +104,12 @@ class TaskAction1(BaseModel): user_id: Annotated[Optional[str], pydantic.Field(alias="userId")] = None r"""The userId field.""" + + @field_serializer("action_type") + def serialize_action_type(self, value): + if isinstance(value, str): + try: + return shared.ActionType(value) + except ValueError: + return value + return value diff --git a/src/sdk/models/shared/taskauditaccessrequestoutcome.py b/src/sdk/models/shared/taskauditaccessrequestoutcome.py index bd8aced9..8fbf2332 100644 --- a/src/sdk/models/shared/taskauditaccessrequestoutcome.py +++ b/src/sdk/models/shared/taskauditaccessrequestoutcome.py @@ -2,8 +2,10 @@ from __future__ import annotations from enum import Enum +from pydantic import field_serializer from pydantic.functional_validators import PlainValidator from sdk import utils +from sdk.models import shared from sdk.types import BaseModel from sdk.utils import validate_open_enum from typing import Optional @@ -34,3 +36,12 @@ class TaskAuditAccessRequestOutcome(BaseModel): None ) r"""The outcome field.""" + + @field_serializer("outcome") + def serialize_outcome(self, value): + if isinstance(value, str): + try: + return shared.Outcome(value) + except ValueError: + return value + return value diff --git a/src/sdk/models/shared/taskauditcertifyoutcome.py b/src/sdk/models/shared/taskauditcertifyoutcome.py index 0744701a..29f54586 100644 --- a/src/sdk/models/shared/taskauditcertifyoutcome.py +++ b/src/sdk/models/shared/taskauditcertifyoutcome.py @@ -2,8 +2,10 @@ from __future__ import annotations from enum import Enum +from pydantic import field_serializer from pydantic.functional_validators import PlainValidator from sdk import utils +from sdk.models import shared from sdk.types import BaseModel from sdk.utils import validate_open_enum from typing import Optional @@ -36,3 +38,12 @@ class TaskAuditCertifyOutcome(BaseModel): PlainValidator(validate_open_enum(False)), ] = None r"""The outcome field.""" + + @field_serializer("outcome") + def serialize_outcome(self, value): + if isinstance(value, str): + try: + return shared.TaskAuditCertifyOutcomeOutcome(value) + except ValueError: + return value + return value diff --git a/src/sdk/models/shared/taskauditgrantoutcome.py b/src/sdk/models/shared/taskauditgrantoutcome.py index 4425d949..b65f8a38 100644 --- a/src/sdk/models/shared/taskauditgrantoutcome.py +++ b/src/sdk/models/shared/taskauditgrantoutcome.py @@ -2,8 +2,10 @@ from __future__ import annotations from enum import Enum +from pydantic import field_serializer from pydantic.functional_validators import PlainValidator from sdk import utils +from sdk.models import shared from sdk.types import BaseModel from sdk.utils import validate_open_enum from typing import Optional @@ -36,3 +38,12 @@ class TaskAuditGrantOutcome(BaseModel): PlainValidator(validate_open_enum(False)), ] = None r"""The outcome field.""" + + @field_serializer("outcome") + def serialize_outcome(self, value): + if isinstance(value, str): + try: + return shared.TaskAuditGrantOutcomeOutcome(value) + except ValueError: + return value + return value diff --git a/src/sdk/models/shared/taskauditrevokeoutcome.py b/src/sdk/models/shared/taskauditrevokeoutcome.py index 4eaded24..3b502a1d 100644 --- a/src/sdk/models/shared/taskauditrevokeoutcome.py +++ b/src/sdk/models/shared/taskauditrevokeoutcome.py @@ -2,8 +2,10 @@ from __future__ import annotations from enum import Enum +from pydantic import field_serializer from pydantic.functional_validators import PlainValidator from sdk import utils +from sdk.models import shared from sdk.types import BaseModel from sdk.utils import validate_open_enum from typing import Optional @@ -36,3 +38,12 @@ class TaskAuditRevokeOutcome(BaseModel): PlainValidator(validate_open_enum(False)), ] = None r"""The outcome field.""" + + @field_serializer("outcome") + def serialize_outcome(self, value): + if isinstance(value, str): + try: + return shared.TaskAuditRevokeOutcomeOutcome(value) + except ValueError: + return value + return value diff --git a/src/sdk/models/shared/taskauditstatechange.py b/src/sdk/models/shared/taskauditstatechange.py index e3f76327..bb537e1b 100644 --- a/src/sdk/models/shared/taskauditstatechange.py +++ b/src/sdk/models/shared/taskauditstatechange.py @@ -3,8 +3,10 @@ from __future__ import annotations from enum import Enum import pydantic +from pydantic import field_serializer from pydantic.functional_validators import PlainValidator from sdk import utils +from sdk.models import shared from sdk.types import BaseModel from sdk.utils import validate_open_enum from typing import Optional @@ -34,3 +36,12 @@ class TaskAuditStateChange(BaseModel): pydantic.Field(alias="previousState"), ] = None r"""The previousState field.""" + + @field_serializer("previous_state") + def serialize_previous_state(self, value): + if isinstance(value, str): + try: + return shared.PreviousState(value) + except ValueError: + return value + return value diff --git a/src/sdk/models/shared/taskauditview.py b/src/sdk/models/shared/taskauditview.py index 299ee11a..aa8dae64 100644 --- a/src/sdk/models/shared/taskauditview.py +++ b/src/sdk/models/shared/taskauditview.py @@ -204,9 +204,10 @@ from datetime import datetime from enum import Enum import pydantic -from pydantic import model_serializer +from pydantic import field_serializer, model_serializer from pydantic.functional_validators import PlainValidator from sdk import utils +from sdk.models import shared from sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL from sdk.utils import validate_open_enum from typing import Optional @@ -946,6 +947,33 @@ class TaskAuditView(BaseModel): workflow_step: Annotated[Optional[int], pydantic.Field(alias="workflowStep")] = None r"""The workflowStep field.""" + @field_serializer("current_state") + def serialize_current_state(self, value): + if isinstance(value, str): + try: + return shared.CurrentState(value) + except ValueError: + return value + return value + + @field_serializer("event_type") + def serialize_event_type(self, value): + if isinstance(value, str): + try: + return shared.TaskAuditViewEventType(value) + except ValueError: + return value + return value + + @field_serializer("source") + def serialize_source(self, value): + if isinstance(value, str): + try: + return shared.Source(value) + except ValueError: + return value + return value + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = [ diff --git a/src/sdk/models/shared/tasksearchrequest.py b/src/sdk/models/shared/tasksearchrequest.py index 69fccfa9..c388aff8 100644 --- a/src/sdk/models/shared/tasksearchrequest.py +++ b/src/sdk/models/shared/tasksearchrequest.py @@ -7,9 +7,10 @@ from datetime import datetime from enum import Enum import pydantic -from pydantic import model_serializer +from pydantic import field_serializer, model_serializer from pydantic.functional_validators import PlainValidator from sdk import utils +from sdk.models import shared from sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL from sdk.utils import validate_open_enum from typing import List, Optional @@ -399,6 +400,33 @@ class TaskSearchRequest(BaseModel): ] = UNSET r"""The userEmploymentStatuses field.""" + @field_serializer("current_step") + def serialize_current_step(self, value): + if isinstance(value, str): + try: + return shared.CurrentStep(value) + except ValueError: + return value + return value + + @field_serializer("emergency_status") + def serialize_emergency_status(self, value): + if isinstance(value, str): + try: + return shared.EmergencyStatus(value) + except ValueError: + return value + return value + + @field_serializer("sort_by") + def serialize_sort_by(self, value): + if isinstance(value, str): + try: + return shared.SortBy(value) + except ValueError: + return value + return value + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = [ diff --git a/src/sdk/models/shared/tasktypecertify.py b/src/sdk/models/shared/tasktypecertify.py index 2f131038..eb733cb3 100644 --- a/src/sdk/models/shared/tasktypecertify.py +++ b/src/sdk/models/shared/tasktypecertify.py @@ -4,8 +4,10 @@ from datetime import datetime from enum import Enum import pydantic +from pydantic import field_serializer from pydantic.functional_validators import PlainValidator from sdk import utils +from sdk.models import shared from sdk.types import BaseModel from sdk.utils import validate_open_enum from typing import Optional @@ -80,3 +82,12 @@ class TaskTypeCertify(BaseModel): outcome_time: Annotated[Optional[datetime], pydantic.Field(alias="outcomeTime")] = ( None ) + + @field_serializer("outcome") + def serialize_outcome(self, value): + if isinstance(value, str): + try: + return shared.TaskTypeCertifyOutcome(value) + except ValueError: + return value + return value diff --git a/src/sdk/models/shared/tasktypegrant.py b/src/sdk/models/shared/tasktypegrant.py index 15dc7805..0fd01d6c 100644 --- a/src/sdk/models/shared/tasktypegrant.py +++ b/src/sdk/models/shared/tasktypegrant.py @@ -5,8 +5,10 @@ from datetime import datetime from enum import Enum import pydantic +from pydantic import field_serializer from pydantic.functional_validators import PlainValidator from sdk import utils +from sdk.models import shared from sdk.types import BaseModel from sdk.utils import validate_open_enum from typing import Optional @@ -79,3 +81,12 @@ class TaskTypeGrant(BaseModel): outcome_time: Annotated[Optional[datetime], pydantic.Field(alias="outcomeTime")] = ( None ) + + @field_serializer("outcome") + def serialize_outcome(self, value): + if isinstance(value, str): + try: + return shared.TaskTypeGrantOutcome(value) + except ValueError: + return value + return value diff --git a/src/sdk/models/shared/tasktypeoffboarding.py b/src/sdk/models/shared/tasktypeoffboarding.py index 5fdc4c23..df8021fe 100644 --- a/src/sdk/models/shared/tasktypeoffboarding.py +++ b/src/sdk/models/shared/tasktypeoffboarding.py @@ -4,8 +4,10 @@ from datetime import datetime from enum import Enum import pydantic +from pydantic import field_serializer from pydantic.functional_validators import PlainValidator from sdk import utils +from sdk.models import shared from sdk.types import BaseModel from sdk.utils import validate_open_enum from typing import Optional @@ -48,3 +50,12 @@ class TaskTypeOffboarding(BaseModel): None ) r"""The subjectUserId field.""" + + @field_serializer("outcome") + def serialize_outcome(self, value): + if isinstance(value, str): + try: + return shared.TaskTypeOffboardingOutcome(value) + except ValueError: + return value + return value diff --git a/src/sdk/models/shared/tasktyperevoke.py b/src/sdk/models/shared/tasktyperevoke.py index 6370b9a9..d9ed0b71 100644 --- a/src/sdk/models/shared/tasktyperevoke.py +++ b/src/sdk/models/shared/tasktyperevoke.py @@ -5,8 +5,10 @@ from datetime import datetime from enum import Enum import pydantic +from pydantic import field_serializer from pydantic.functional_validators import PlainValidator from sdk import utils +from sdk.models import shared from sdk.types import BaseModel from sdk.utils import validate_open_enum from typing import Optional @@ -90,3 +92,12 @@ class TaskTypeRevoke(BaseModel): outcome_time: Annotated[Optional[datetime], pydantic.Field(alias="outcomeTime")] = ( None ) + + @field_serializer("outcome") + def serialize_outcome(self, value): + if isinstance(value, str): + try: + return shared.TaskTypeRevokeOutcome(value) + except ValueError: + return value + return value diff --git a/src/sdk/models/shared/updateuser.py b/src/sdk/models/shared/updateuser.py index f8fa9348..766d7498 100644 --- a/src/sdk/models/shared/updateuser.py +++ b/src/sdk/models/shared/updateuser.py @@ -4,9 +4,10 @@ from .userref import UserRef, UserRefTypedDict from enum import Enum import pydantic -from pydantic import model_serializer +from pydantic import field_serializer, model_serializer from pydantic.functional_validators import PlainValidator from sdk import utils +from sdk.models import shared from sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL from sdk.utils import validate_open_enum from typing import Optional @@ -109,6 +110,15 @@ class UpdateUser(BaseModel): See the documentation for `c1.api.automations.v1.UpdateUser` for more details. """ + @field_serializer("user_status_enum") + def serialize_user_status_enum(self, value): + if isinstance(value, str): + try: + return Nullable[shared.UserStatusEnum](value) + except ValueError: + return value + return value + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = [ diff --git a/src/sdk/models/shared/user.py b/src/sdk/models/shared/user.py index ae9ed381..2a37faad 100644 --- a/src/sdk/models/shared/user.py +++ b/src/sdk/models/shared/user.py @@ -8,9 +8,10 @@ from datetime import datetime from enum import Enum import pydantic -from pydantic import model_serializer +from pydantic import field_serializer, model_serializer from pydantic.functional_validators import PlainValidator from sdk import utils +from sdk.models import shared from sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL from sdk.utils import validate_open_enum from typing import Any, Dict, List, Optional @@ -254,6 +255,33 @@ class User(BaseModel): usernames: OptionalNullable[List[str]] = UNSET r"""This is a list of all of the user's usernames from app users.""" + @field_serializer("directory_status") + def serialize_directory_status(self, value): + if isinstance(value, str): + try: + return shared.DirectoryStatus(value) + except ValueError: + return value + return value + + @field_serializer("status") + def serialize_status(self, value): + if isinstance(value, str): + try: + return shared.UserStatus(value) + except ValueError: + return value + return value + + @field_serializer("type") + def serialize_type(self, value): + if isinstance(value, str): + try: + return shared.Type(value) + except ValueError: + return value + return value + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = [ diff --git a/src/sdk/models/shared/userapproval.py b/src/sdk/models/shared/userapproval.py index a021dc74..fe5b2d40 100644 --- a/src/sdk/models/shared/userapproval.py +++ b/src/sdk/models/shared/userapproval.py @@ -13,6 +13,8 @@ class UserApprovalTypedDict(TypedDict): allow_self_approval: NotRequired[bool] r"""Configuration to allow self approval of if the user is specified and also the target of the ticket.""" + require_distinct_approvers: NotRequired[bool] + r"""Configuration to require distinct approvers across approval steps of a rule.""" user_ids: NotRequired[Nullable[List[str]]] r"""Array of users configured for approval.""" @@ -25,6 +27,11 @@ class UserApproval(BaseModel): ] = None r"""Configuration to allow self approval of if the user is specified and also the target of the ticket.""" + require_distinct_approvers: Annotated[ + Optional[bool], pydantic.Field(alias="requireDistinctApprovers") + ] = None + r"""Configuration to require distinct approvers across approval steps of a rule.""" + user_ids: Annotated[ OptionalNullable[List[str]], pydantic.Field(alias="userIds") ] = UNSET @@ -32,7 +39,7 @@ class UserApproval(BaseModel): @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = ["allowSelfApproval", "userIds"] + optional_fields = ["allowSelfApproval", "requireDistinctApprovers", "userIds"] nullable_fields = ["userIds"] null_default_fields = [] diff --git a/src/sdk/models/shared/waitinstance.py b/src/sdk/models/shared/waitinstance.py index 3b5fb565..7aba00b0 100644 --- a/src/sdk/models/shared/waitinstance.py +++ b/src/sdk/models/shared/waitinstance.py @@ -9,9 +9,10 @@ from datetime import datetime from enum import Enum import pydantic -from pydantic import model_serializer +from pydantic import field_serializer, model_serializer from pydantic.functional_validators import PlainValidator from sdk import utils +from sdk.models import shared from sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL from sdk.utils import validate_open_enum from typing import Optional @@ -133,6 +134,15 @@ class WaitInstance(BaseModel): Optional[str], pydantic.Field(alias="timeoutDuration") ] = None + @field_serializer("state") + def serialize_state(self, value): + if isinstance(value, str): + try: + return shared.WaitInstanceState(value) + except ValueError: + return value + return value + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = [ diff --git a/src/sdk/models/shared/webhookinstance.py b/src/sdk/models/shared/webhookinstance.py index d9539c10..793dccf7 100644 --- a/src/sdk/models/shared/webhookinstance.py +++ b/src/sdk/models/shared/webhookinstance.py @@ -6,8 +6,10 @@ from datetime import datetime from enum import Enum import pydantic +from pydantic import field_serializer from pydantic.functional_validators import PlainValidator from sdk import utils +from sdk.models import shared from sdk.types import BaseModel from sdk.utils import validate_open_enum from typing import Optional @@ -105,3 +107,12 @@ class WebhookInstance(BaseModel): webhook_id: Annotated[Optional[str], pydantic.Field(alias="webhookId")] = None r"""The webhookId field.""" + + @field_serializer("state") + def serialize_state(self, value): + if isinstance(value, str): + try: + return shared.WebhookInstanceState(value) + except ValueError: + return value + return value diff --git a/src/sdk/orgdomain.py b/src/sdk/orgdomain.py index c1c80ba4..aab2fb78 100644 --- a/src/sdk/orgdomain.py +++ b/src/sdk/orgdomain.py @@ -199,9 +199,9 @@ async def list_async( def update( self, *, - request: Optional[ - Union[shared.UpdateOrgDomainRequest, shared.UpdateOrgDomainRequestTypedDict] - ] = None, + request: Union[ + shared.UpdateOrgDomainRequest, shared.UpdateOrgDomainRequestTypedDict + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -228,8 +228,8 @@ def update( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal(request, Optional[shared.UpdateOrgDomainRequest]) - request = cast(Optional[shared.UpdateOrgDomainRequest], request) + request = utils.unmarshal(request, shared.UpdateOrgDomainRequest) + request = cast(shared.UpdateOrgDomainRequest, request) req = self._build_request( method="PUT", @@ -237,7 +237,7 @@ def update( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -245,7 +245,7 @@ def update( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, False, True, "json", Optional[shared.UpdateOrgDomainRequest] + request, False, False, "json", shared.UpdateOrgDomainRequest ), timeout_ms=timeout_ms, ) @@ -292,9 +292,9 @@ def update( async def update_async( self, *, - request: Optional[ - Union[shared.UpdateOrgDomainRequest, shared.UpdateOrgDomainRequestTypedDict] - ] = None, + request: Union[ + shared.UpdateOrgDomainRequest, shared.UpdateOrgDomainRequestTypedDict + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -321,8 +321,8 @@ async def update_async( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal(request, Optional[shared.UpdateOrgDomainRequest]) - request = cast(Optional[shared.UpdateOrgDomainRequest], request) + request = utils.unmarshal(request, shared.UpdateOrgDomainRequest) + request = cast(shared.UpdateOrgDomainRequest, request) req = self._build_request_async( method="PUT", @@ -330,7 +330,7 @@ async def update_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -338,7 +338,7 @@ async def update_async( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, False, True, "json", Optional[shared.UpdateOrgDomainRequest] + request, False, False, "json", shared.UpdateOrgDomainRequest ), timeout_ms=timeout_ms, ) diff --git a/src/sdk/personalclient.py b/src/sdk/personalclient.py index 1148f899..cf640993 100644 --- a/src/sdk/personalclient.py +++ b/src/sdk/personalclient.py @@ -13,12 +13,10 @@ class PersonalClient(BaseSDK): def create( self, *, - request: Optional[ - Union[ - shared.PersonalClientServiceCreateRequest, - shared.PersonalClientServiceCreateRequestTypedDict, - ] - ] = None, + request: Union[ + shared.PersonalClientServiceCreateRequest, + shared.PersonalClientServiceCreateRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -46,9 +44,9 @@ def create( if not isinstance(request, BaseModel): request = utils.unmarshal( - request, Optional[shared.PersonalClientServiceCreateRequest] + request, shared.PersonalClientServiceCreateRequest ) - request = cast(Optional[shared.PersonalClientServiceCreateRequest], request) + request = cast(shared.PersonalClientServiceCreateRequest, request) req = self._build_request( method="POST", @@ -56,7 +54,7 @@ def create( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -64,11 +62,7 @@ def create( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, - False, - True, - "json", - Optional[shared.PersonalClientServiceCreateRequest], + request, False, False, "json", shared.PersonalClientServiceCreateRequest ), timeout_ms=timeout_ms, ) @@ -115,12 +109,10 @@ def create( async def create_async( self, *, - request: Optional[ - Union[ - shared.PersonalClientServiceCreateRequest, - shared.PersonalClientServiceCreateRequestTypedDict, - ] - ] = None, + request: Union[ + shared.PersonalClientServiceCreateRequest, + shared.PersonalClientServiceCreateRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -148,9 +140,9 @@ async def create_async( if not isinstance(request, BaseModel): request = utils.unmarshal( - request, Optional[shared.PersonalClientServiceCreateRequest] + request, shared.PersonalClientServiceCreateRequest ) - request = cast(Optional[shared.PersonalClientServiceCreateRequest], request) + request = cast(shared.PersonalClientServiceCreateRequest, request) req = self._build_request_async( method="POST", @@ -158,7 +150,7 @@ async def create_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -166,11 +158,7 @@ async def create_async( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, - False, - True, - "json", - Optional[shared.PersonalClientServiceCreateRequest], + request, False, False, "json", shared.PersonalClientServiceCreateRequest ), timeout_ms=timeout_ms, ) @@ -258,7 +246,7 @@ def delete( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -268,9 +256,9 @@ def delete( get_serialized_body=lambda: utils.serialize_request_body( request.personal_client_service_delete_request, False, - True, + False, "json", - Optional[shared.PersonalClientServiceDeleteRequest], + shared.PersonalClientServiceDeleteRequest, ), timeout_ms=timeout_ms, ) @@ -358,7 +346,7 @@ async def delete_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -368,9 +356,9 @@ async def delete_async( get_serialized_body=lambda: utils.serialize_request_body( request.personal_client_service_delete_request, False, - True, + False, "json", - Optional[shared.PersonalClientServiceDeleteRequest], + shared.PersonalClientServiceDeleteRequest, ), timeout_ms=timeout_ms, ) @@ -806,7 +794,7 @@ def update( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -816,9 +804,9 @@ def update( get_serialized_body=lambda: utils.serialize_request_body( request.personal_client_service_update_request, False, - True, + False, "json", - Optional[shared.PersonalClientServiceUpdateRequest], + shared.PersonalClientServiceUpdateRequest, ), timeout_ms=timeout_ms, ) @@ -906,7 +894,7 @@ async def update_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -916,9 +904,9 @@ async def update_async( get_serialized_body=lambda: utils.serialize_request_body( request.personal_client_service_update_request, False, - True, + False, "json", - Optional[shared.PersonalClientServiceUpdateRequest], + shared.PersonalClientServiceUpdateRequest, ), timeout_ms=timeout_ms, ) diff --git a/src/sdk/personalclientsearch.py b/src/sdk/personalclientsearch.py index b862b238..0f431fcd 100644 --- a/src/sdk/personalclientsearch.py +++ b/src/sdk/personalclientsearch.py @@ -13,12 +13,10 @@ class PersonalClientSearch(BaseSDK): def search( self, *, - request: Optional[ - Union[ - shared.PersonalClientSearchServiceSearchRequest, - shared.PersonalClientSearchServiceSearchRequestTypedDict, - ] - ] = None, + request: Union[ + shared.PersonalClientSearchServiceSearchRequest, + shared.PersonalClientSearchServiceSearchRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -46,11 +44,9 @@ def search( if not isinstance(request, BaseModel): request = utils.unmarshal( - request, Optional[shared.PersonalClientSearchServiceSearchRequest] + request, shared.PersonalClientSearchServiceSearchRequest ) - request = cast( - Optional[shared.PersonalClientSearchServiceSearchRequest], request - ) + request = cast(shared.PersonalClientSearchServiceSearchRequest, request) req = self._build_request( method="POST", @@ -58,7 +54,7 @@ def search( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -68,9 +64,9 @@ def search( get_serialized_body=lambda: utils.serialize_request_body( request, False, - True, + False, "json", - Optional[shared.PersonalClientSearchServiceSearchRequest], + shared.PersonalClientSearchServiceSearchRequest, ), timeout_ms=timeout_ms, ) @@ -117,12 +113,10 @@ def search( async def search_async( self, *, - request: Optional[ - Union[ - shared.PersonalClientSearchServiceSearchRequest, - shared.PersonalClientSearchServiceSearchRequestTypedDict, - ] - ] = None, + request: Union[ + shared.PersonalClientSearchServiceSearchRequest, + shared.PersonalClientSearchServiceSearchRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -150,11 +144,9 @@ async def search_async( if not isinstance(request, BaseModel): request = utils.unmarshal( - request, Optional[shared.PersonalClientSearchServiceSearchRequest] + request, shared.PersonalClientSearchServiceSearchRequest ) - request = cast( - Optional[shared.PersonalClientSearchServiceSearchRequest], request - ) + request = cast(shared.PersonalClientSearchServiceSearchRequest, request) req = self._build_request_async( method="POST", @@ -162,7 +154,7 @@ async def search_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -172,9 +164,9 @@ async def search_async( get_serialized_body=lambda: utils.serialize_request_body( request, False, - True, + False, "json", - Optional[shared.PersonalClientSearchServiceSearchRequest], + shared.PersonalClientSearchServiceSearchRequest, ), timeout_ms=timeout_ms, ) diff --git a/src/sdk/policies.py b/src/sdk/policies.py index 9cde0872..32a51768 100644 --- a/src/sdk/policies.py +++ b/src/sdk/policies.py @@ -13,9 +13,7 @@ class Policies(BaseSDK): def create( self, *, - request: Optional[ - Union[shared.CreatePolicyRequest, shared.CreatePolicyRequestTypedDict] - ] = None, + request: Union[shared.CreatePolicyRequest, shared.CreatePolicyRequestTypedDict], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -42,8 +40,8 @@ def create( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal(request, Optional[shared.CreatePolicyRequest]) - request = cast(Optional[shared.CreatePolicyRequest], request) + request = utils.unmarshal(request, shared.CreatePolicyRequest) + request = cast(shared.CreatePolicyRequest, request) req = self._build_request( method="POST", @@ -51,7 +49,7 @@ def create( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -59,7 +57,7 @@ def create( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, False, True, "json", Optional[shared.CreatePolicyRequest] + request, False, False, "json", shared.CreatePolicyRequest ), timeout_ms=timeout_ms, ) @@ -106,9 +104,7 @@ def create( async def create_async( self, *, - request: Optional[ - Union[shared.CreatePolicyRequest, shared.CreatePolicyRequestTypedDict] - ] = None, + request: Union[shared.CreatePolicyRequest, shared.CreatePolicyRequestTypedDict], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -135,8 +131,8 @@ async def create_async( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal(request, Optional[shared.CreatePolicyRequest]) - request = cast(Optional[shared.CreatePolicyRequest], request) + request = utils.unmarshal(request, shared.CreatePolicyRequest) + request = cast(shared.CreatePolicyRequest, request) req = self._build_request_async( method="POST", @@ -144,7 +140,7 @@ async def create_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -152,7 +148,7 @@ async def create_async( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, False, True, "json", Optional[shared.CreatePolicyRequest] + request, False, False, "json", shared.CreatePolicyRequest ), timeout_ms=timeout_ms, ) @@ -240,7 +236,7 @@ def delete( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -250,9 +246,9 @@ def delete( get_serialized_body=lambda: utils.serialize_request_body( request.delete_policy_request, False, - True, + False, "json", - Optional[shared.DeletePolicyRequest], + shared.DeletePolicyRequest, ), timeout_ms=timeout_ms, ) @@ -340,7 +336,7 @@ async def delete_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -350,9 +346,9 @@ async def delete_async( get_serialized_body=lambda: utils.serialize_request_body( request.delete_policy_request, False, - True, + False, "json", - Optional[shared.DeletePolicyRequest], + shared.DeletePolicyRequest, ), timeout_ms=timeout_ms, ) @@ -812,7 +808,7 @@ def update( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -822,9 +818,9 @@ def update( get_serialized_body=lambda: utils.serialize_request_body( request.update_policy_request, False, - True, + False, "json", - Optional[shared.UpdatePolicyRequest], + shared.UpdatePolicyRequest, ), timeout_ms=timeout_ms, ) @@ -912,7 +908,7 @@ async def update_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -922,9 +918,9 @@ async def update_async( get_serialized_body=lambda: utils.serialize_request_body( request.update_policy_request, False, - True, + False, "json", - Optional[shared.UpdatePolicyRequest], + shared.UpdatePolicyRequest, ), timeout_ms=timeout_ms, ) diff --git a/src/sdk/policysearch.py b/src/sdk/policysearch.py index f760c45d..72a88006 100644 --- a/src/sdk/policysearch.py +++ b/src/sdk/policysearch.py @@ -14,9 +14,9 @@ class PolicySearch(BaseSDK): def search( self, *, - request: Optional[ - Union[shared.SearchPoliciesRequest, shared.SearchPoliciesRequestTypedDict] - ] = None, + request: Union[ + shared.SearchPoliciesRequest, shared.SearchPoliciesRequestTypedDict + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -43,8 +43,8 @@ def search( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal(request, Optional[shared.SearchPoliciesRequest]) - request = cast(Optional[shared.SearchPoliciesRequest], request) + request = utils.unmarshal(request, shared.SearchPoliciesRequest) + request = cast(shared.SearchPoliciesRequest, request) req = self._build_request( method="POST", @@ -52,7 +52,7 @@ def search( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -60,7 +60,7 @@ def search( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, False, True, "json", Optional[shared.SearchPoliciesRequest] + request, False, False, "json", shared.SearchPoliciesRequest ), timeout_ms=timeout_ms, ) @@ -133,9 +133,9 @@ def next_func() -> Optional[operations.C1APIPolicyV1PolicySearchSearchResponse]: async def search_async( self, *, - request: Optional[ - Union[shared.SearchPoliciesRequest, shared.SearchPoliciesRequestTypedDict] - ] = None, + request: Union[ + shared.SearchPoliciesRequest, shared.SearchPoliciesRequestTypedDict + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -162,8 +162,8 @@ async def search_async( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal(request, Optional[shared.SearchPoliciesRequest]) - request = cast(Optional[shared.SearchPoliciesRequest], request) + request = utils.unmarshal(request, shared.SearchPoliciesRequest) + request = cast(shared.SearchPoliciesRequest, request) req = self._build_request_async( method="POST", @@ -171,7 +171,7 @@ async def search_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -179,7 +179,7 @@ async def search_async( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, False, True, "json", Optional[shared.SearchPoliciesRequest] + request, False, False, "json", shared.SearchPoliciesRequest ), timeout_ms=timeout_ms, ) diff --git a/src/sdk/policyvalidate.py b/src/sdk/policyvalidate.py index 49f2026f..ffd5aec4 100644 --- a/src/sdk/policyvalidate.py +++ b/src/sdk/policyvalidate.py @@ -13,9 +13,9 @@ class PolicyValidate(BaseSDK): def validate_cel( self, *, - request: Optional[ - Union[shared.EditorValidateRequest, shared.EditorValidateRequestTypedDict] - ] = None, + request: Union[ + shared.EditorValidateRequest, shared.EditorValidateRequestTypedDict + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -42,8 +42,8 @@ def validate_cel( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal(request, Optional[shared.EditorValidateRequest]) - request = cast(Optional[shared.EditorValidateRequest], request) + request = utils.unmarshal(request, shared.EditorValidateRequest) + request = cast(shared.EditorValidateRequest, request) req = self._build_request( method="POST", @@ -51,7 +51,7 @@ def validate_cel( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -59,7 +59,7 @@ def validate_cel( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, False, True, "json", Optional[shared.EditorValidateRequest] + request, False, False, "json", shared.EditorValidateRequest ), timeout_ms=timeout_ms, ) @@ -106,9 +106,9 @@ def validate_cel( async def validate_cel_async( self, *, - request: Optional[ - Union[shared.EditorValidateRequest, shared.EditorValidateRequestTypedDict] - ] = None, + request: Union[ + shared.EditorValidateRequest, shared.EditorValidateRequestTypedDict + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -135,8 +135,8 @@ async def validate_cel_async( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal(request, Optional[shared.EditorValidateRequest]) - request = cast(Optional[shared.EditorValidateRequest], request) + request = utils.unmarshal(request, shared.EditorValidateRequest) + request = cast(shared.EditorValidateRequest, request) req = self._build_request_async( method="POST", @@ -144,7 +144,7 @@ async def validate_cel_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -152,7 +152,7 @@ async def validate_cel_async( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, False, True, "json", Optional[shared.EditorValidateRequest] + request, False, False, "json", shared.EditorValidateRequest ), timeout_ms=timeout_ms, ) diff --git a/src/sdk/requestcatalogmanagement.py b/src/sdk/requestcatalogmanagement.py index 5a8c617d..94d28ed8 100644 --- a/src/sdk/requestcatalogmanagement.py +++ b/src/sdk/requestcatalogmanagement.py @@ -58,7 +58,7 @@ def add_access_entitlements( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -68,11 +68,9 @@ def add_access_entitlements( get_serialized_body=lambda: utils.serialize_request_body( request.request_catalog_management_service_add_access_entitlements_request, False, - True, + False, "json", - Optional[ - shared.RequestCatalogManagementServiceAddAccessEntitlementsRequest - ], + shared.RequestCatalogManagementServiceAddAccessEntitlementsRequest, ), timeout_ms=timeout_ms, ) @@ -167,7 +165,7 @@ async def add_access_entitlements_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -177,11 +175,9 @@ async def add_access_entitlements_async( get_serialized_body=lambda: utils.serialize_request_body( request.request_catalog_management_service_add_access_entitlements_request, False, - True, + False, "json", - Optional[ - shared.RequestCatalogManagementServiceAddAccessEntitlementsRequest - ], + shared.RequestCatalogManagementServiceAddAccessEntitlementsRequest, ), timeout_ms=timeout_ms, ) @@ -276,7 +272,7 @@ def add_app_entitlements( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -286,11 +282,9 @@ def add_app_entitlements( get_serialized_body=lambda: utils.serialize_request_body( request.request_catalog_management_service_add_app_entitlements_request, False, - True, + False, "json", - Optional[ - shared.RequestCatalogManagementServiceAddAppEntitlementsRequest - ], + shared.RequestCatalogManagementServiceAddAppEntitlementsRequest, ), timeout_ms=timeout_ms, ) @@ -385,7 +379,7 @@ async def add_app_entitlements_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -395,11 +389,9 @@ async def add_app_entitlements_async( get_serialized_body=lambda: utils.serialize_request_body( request.request_catalog_management_service_add_app_entitlements_request, False, - True, + False, "json", - Optional[ - shared.RequestCatalogManagementServiceAddAppEntitlementsRequest - ], + shared.RequestCatalogManagementServiceAddAppEntitlementsRequest, ), timeout_ms=timeout_ms, ) @@ -449,12 +441,10 @@ async def add_app_entitlements_async( def create( self, *, - request: Optional[ - Union[ - shared.RequestCatalogManagementServiceCreateRequest, - shared.RequestCatalogManagementServiceCreateRequestTypedDict, - ] - ] = None, + request: Union[ + shared.RequestCatalogManagementServiceCreateRequest, + shared.RequestCatalogManagementServiceCreateRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -482,11 +472,9 @@ def create( if not isinstance(request, BaseModel): request = utils.unmarshal( - request, Optional[shared.RequestCatalogManagementServiceCreateRequest] + request, shared.RequestCatalogManagementServiceCreateRequest ) - request = cast( - Optional[shared.RequestCatalogManagementServiceCreateRequest], request - ) + request = cast(shared.RequestCatalogManagementServiceCreateRequest, request) req = self._build_request( method="POST", @@ -494,7 +482,7 @@ def create( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -504,9 +492,9 @@ def create( get_serialized_body=lambda: utils.serialize_request_body( request, False, - True, + False, "json", - Optional[shared.RequestCatalogManagementServiceCreateRequest], + shared.RequestCatalogManagementServiceCreateRequest, ), timeout_ms=timeout_ms, ) @@ -554,12 +542,10 @@ def create( async def create_async( self, *, - request: Optional[ - Union[ - shared.RequestCatalogManagementServiceCreateRequest, - shared.RequestCatalogManagementServiceCreateRequestTypedDict, - ] - ] = None, + request: Union[ + shared.RequestCatalogManagementServiceCreateRequest, + shared.RequestCatalogManagementServiceCreateRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -587,11 +573,9 @@ async def create_async( if not isinstance(request, BaseModel): request = utils.unmarshal( - request, Optional[shared.RequestCatalogManagementServiceCreateRequest] + request, shared.RequestCatalogManagementServiceCreateRequest ) - request = cast( - Optional[shared.RequestCatalogManagementServiceCreateRequest], request - ) + request = cast(shared.RequestCatalogManagementServiceCreateRequest, request) req = self._build_request_async( method="POST", @@ -599,7 +583,7 @@ async def create_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -609,9 +593,9 @@ async def create_async( get_serialized_body=lambda: utils.serialize_request_body( request, False, - True, + False, "json", - Optional[shared.RequestCatalogManagementServiceCreateRequest], + shared.RequestCatalogManagementServiceCreateRequest, ), timeout_ms=timeout_ms, ) @@ -704,7 +688,7 @@ def create_bundle_automation( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -714,9 +698,9 @@ def create_bundle_automation( get_serialized_body=lambda: utils.serialize_request_body( request.create_bundle_automation_request, False, - True, + False, "json", - Optional[shared.CreateBundleAutomationRequest], + shared.CreateBundleAutomationRequest, ), timeout_ms=timeout_ms, ) @@ -808,7 +792,7 @@ async def create_bundle_automation_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -818,9 +802,9 @@ async def create_bundle_automation_async( get_serialized_body=lambda: utils.serialize_request_body( request.create_bundle_automation_request, False, - True, + False, "json", - Optional[shared.CreateBundleAutomationRequest], + shared.CreateBundleAutomationRequest, ), timeout_ms=timeout_ms, ) @@ -912,7 +896,7 @@ def delete( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -922,9 +906,9 @@ def delete( get_serialized_body=lambda: utils.serialize_request_body( request.request_catalog_management_service_delete_request, False, - True, + False, "json", - Optional[shared.RequestCatalogManagementServiceDeleteRequest], + shared.RequestCatalogManagementServiceDeleteRequest, ), timeout_ms=timeout_ms, ) @@ -1017,7 +1001,7 @@ async def delete_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -1027,9 +1011,9 @@ async def delete_async( get_serialized_body=lambda: utils.serialize_request_body( request.request_catalog_management_service_delete_request, False, - True, + False, "json", - Optional[shared.RequestCatalogManagementServiceDeleteRequest], + shared.RequestCatalogManagementServiceDeleteRequest, ), timeout_ms=timeout_ms, ) @@ -1122,7 +1106,7 @@ def delete_bundle_automation( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -1132,9 +1116,9 @@ def delete_bundle_automation( get_serialized_body=lambda: utils.serialize_request_body( request.delete_bundle_automation_request, False, - True, + False, "json", - Optional[shared.DeleteBundleAutomationRequest], + shared.DeleteBundleAutomationRequest, ), timeout_ms=timeout_ms, ) @@ -1226,7 +1210,7 @@ async def delete_bundle_automation_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -1236,9 +1220,9 @@ async def delete_bundle_automation_async( get_serialized_body=lambda: utils.serialize_request_body( request.delete_bundle_automation_request, False, - True, + False, "json", - Optional[shared.DeleteBundleAutomationRequest], + shared.DeleteBundleAutomationRequest, ), timeout_ms=timeout_ms, ) @@ -1330,7 +1314,7 @@ def force_run_bundle_automation( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -1340,9 +1324,9 @@ def force_run_bundle_automation( get_serialized_body=lambda: utils.serialize_request_body( request.force_run_bundle_automation_request, False, - True, + False, "json", - Optional[shared.ForceRunBundleAutomationRequest], + shared.ForceRunBundleAutomationRequest, ), timeout_ms=timeout_ms, ) @@ -1434,7 +1418,7 @@ async def force_run_bundle_automation_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -1444,9 +1428,9 @@ async def force_run_bundle_automation_async( get_serialized_body=lambda: utils.serialize_request_body( request.force_run_bundle_automation_request, False, - True, + False, "json", - Optional[shared.ForceRunBundleAutomationRequest], + shared.ForceRunBundleAutomationRequest, ), timeout_ms=timeout_ms, ) @@ -2724,7 +2708,7 @@ def remove_access_entitlements( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -2734,11 +2718,9 @@ def remove_access_entitlements( get_serialized_body=lambda: utils.serialize_request_body( request.request_catalog_management_service_remove_access_entitlements_request, False, - True, + False, "json", - Optional[ - shared.RequestCatalogManagementServiceRemoveAccessEntitlementsRequest - ], + shared.RequestCatalogManagementServiceRemoveAccessEntitlementsRequest, ), timeout_ms=timeout_ms, ) @@ -2833,7 +2815,7 @@ async def remove_access_entitlements_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -2843,11 +2825,9 @@ async def remove_access_entitlements_async( get_serialized_body=lambda: utils.serialize_request_body( request.request_catalog_management_service_remove_access_entitlements_request, False, - True, + False, "json", - Optional[ - shared.RequestCatalogManagementServiceRemoveAccessEntitlementsRequest - ], + shared.RequestCatalogManagementServiceRemoveAccessEntitlementsRequest, ), timeout_ms=timeout_ms, ) @@ -2942,7 +2922,7 @@ def remove_app_entitlements( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -2952,11 +2932,9 @@ def remove_app_entitlements( get_serialized_body=lambda: utils.serialize_request_body( request.request_catalog_management_service_remove_app_entitlements_request, False, - True, + False, "json", - Optional[ - shared.RequestCatalogManagementServiceRemoveAppEntitlementsRequest - ], + shared.RequestCatalogManagementServiceRemoveAppEntitlementsRequest, ), timeout_ms=timeout_ms, ) @@ -3051,7 +3029,7 @@ async def remove_app_entitlements_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -3061,11 +3039,9 @@ async def remove_app_entitlements_async( get_serialized_body=lambda: utils.serialize_request_body( request.request_catalog_management_service_remove_app_entitlements_request, False, - True, + False, "json", - Optional[ - shared.RequestCatalogManagementServiceRemoveAppEntitlementsRequest - ], + shared.RequestCatalogManagementServiceRemoveAppEntitlementsRequest, ), timeout_ms=timeout_ms, ) @@ -3160,7 +3136,7 @@ def resume_paused_bundle_automation( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -3170,9 +3146,9 @@ def resume_paused_bundle_automation( get_serialized_body=lambda: utils.serialize_request_body( request.resume_paused_bundle_automation_request, False, - True, + False, "json", - Optional[shared.ResumePausedBundleAutomationRequest], + shared.ResumePausedBundleAutomationRequest, ), timeout_ms=timeout_ms, ) @@ -3264,7 +3240,7 @@ async def resume_paused_bundle_automation_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -3274,9 +3250,9 @@ async def resume_paused_bundle_automation_async( get_serialized_body=lambda: utils.serialize_request_body( request.resume_paused_bundle_automation_request, False, - True, + False, "json", - Optional[shared.ResumePausedBundleAutomationRequest], + shared.ResumePausedBundleAutomationRequest, ), timeout_ms=timeout_ms, ) @@ -3368,7 +3344,7 @@ def set_bundle_automation( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -3378,9 +3354,9 @@ def set_bundle_automation( get_serialized_body=lambda: utils.serialize_request_body( request.set_bundle_automation_request, False, - True, + False, "json", - Optional[shared.SetBundleAutomationRequest], + shared.SetBundleAutomationRequest, ), timeout_ms=timeout_ms, ) @@ -3472,7 +3448,7 @@ async def set_bundle_automation_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -3482,9 +3458,9 @@ async def set_bundle_automation_async( get_serialized_body=lambda: utils.serialize_request_body( request.set_bundle_automation_request, False, - True, + False, "json", - Optional[shared.SetBundleAutomationRequest], + shared.SetBundleAutomationRequest, ), timeout_ms=timeout_ms, ) @@ -3576,7 +3552,7 @@ def update( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -3586,9 +3562,9 @@ def update( get_serialized_body=lambda: utils.serialize_request_body( request.request_catalog_management_service_update_request, False, - True, + False, "json", - Optional[shared.RequestCatalogManagementServiceUpdateRequest], + shared.RequestCatalogManagementServiceUpdateRequest, ), timeout_ms=timeout_ms, ) @@ -3681,7 +3657,7 @@ async def update_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -3691,9 +3667,9 @@ async def update_async( get_serialized_body=lambda: utils.serialize_request_body( request.request_catalog_management_service_update_request, False, - True, + False, "json", - Optional[shared.RequestCatalogManagementServiceUpdateRequest], + shared.RequestCatalogManagementServiceUpdateRequest, ), timeout_ms=timeout_ms, ) @@ -3786,7 +3762,7 @@ def update_app_entitlements( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -3796,11 +3772,9 @@ def update_app_entitlements( get_serialized_body=lambda: utils.serialize_request_body( request.request_catalog_management_service_update_app_entitlements_request, False, - True, + False, "json", - Optional[ - shared.RequestCatalogManagementServiceUpdateAppEntitlementsRequest - ], + shared.RequestCatalogManagementServiceUpdateAppEntitlementsRequest, ), timeout_ms=timeout_ms, ) @@ -3895,7 +3869,7 @@ async def update_app_entitlements_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -3905,11 +3879,9 @@ async def update_app_entitlements_async( get_serialized_body=lambda: utils.serialize_request_body( request.request_catalog_management_service_update_app_entitlements_request, False, - True, + False, "json", - Optional[ - shared.RequestCatalogManagementServiceUpdateAppEntitlementsRequest - ], + shared.RequestCatalogManagementServiceUpdateAppEntitlementsRequest, ), timeout_ms=timeout_ms, ) diff --git a/src/sdk/requestcatalogsearch.py b/src/sdk/requestcatalogsearch.py index 6981cb69..3f1303a6 100644 --- a/src/sdk/requestcatalogsearch.py +++ b/src/sdk/requestcatalogsearch.py @@ -13,12 +13,10 @@ class RequestCatalogSearch(BaseSDK): def search_entitlements( self, *, - request: Optional[ - Union[ - shared.RequestCatalogSearchServiceSearchEntitlementsRequest, - shared.RequestCatalogSearchServiceSearchEntitlementsRequestTypedDict, - ] - ] = None, + request: Union[ + shared.RequestCatalogSearchServiceSearchEntitlementsRequest, + shared.RequestCatalogSearchServiceSearchEntitlementsRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -46,12 +44,10 @@ def search_entitlements( if not isinstance(request, BaseModel): request = utils.unmarshal( - request, - Optional[shared.RequestCatalogSearchServiceSearchEntitlementsRequest], + request, shared.RequestCatalogSearchServiceSearchEntitlementsRequest ) request = cast( - Optional[shared.RequestCatalogSearchServiceSearchEntitlementsRequest], - request, + shared.RequestCatalogSearchServiceSearchEntitlementsRequest, request ) req = self._build_request( @@ -60,7 +56,7 @@ def search_entitlements( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -70,9 +66,9 @@ def search_entitlements( get_serialized_body=lambda: utils.serialize_request_body( request, False, - True, + False, "json", - Optional[shared.RequestCatalogSearchServiceSearchEntitlementsRequest], + shared.RequestCatalogSearchServiceSearchEntitlementsRequest, ), timeout_ms=timeout_ms, ) @@ -122,12 +118,10 @@ def search_entitlements( async def search_entitlements_async( self, *, - request: Optional[ - Union[ - shared.RequestCatalogSearchServiceSearchEntitlementsRequest, - shared.RequestCatalogSearchServiceSearchEntitlementsRequestTypedDict, - ] - ] = None, + request: Union[ + shared.RequestCatalogSearchServiceSearchEntitlementsRequest, + shared.RequestCatalogSearchServiceSearchEntitlementsRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -155,12 +149,10 @@ async def search_entitlements_async( if not isinstance(request, BaseModel): request = utils.unmarshal( - request, - Optional[shared.RequestCatalogSearchServiceSearchEntitlementsRequest], + request, shared.RequestCatalogSearchServiceSearchEntitlementsRequest ) request = cast( - Optional[shared.RequestCatalogSearchServiceSearchEntitlementsRequest], - request, + shared.RequestCatalogSearchServiceSearchEntitlementsRequest, request ) req = self._build_request_async( @@ -169,7 +161,7 @@ async def search_entitlements_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -179,9 +171,9 @@ async def search_entitlements_async( get_serialized_body=lambda: utils.serialize_request_body( request, False, - True, + False, "json", - Optional[shared.RequestCatalogSearchServiceSearchEntitlementsRequest], + shared.RequestCatalogSearchServiceSearchEntitlementsRequest, ), timeout_ms=timeout_ms, ) diff --git a/src/sdk/requestschema.py b/src/sdk/requestschema.py index d49af631..34829471 100644 --- a/src/sdk/requestschema.py +++ b/src/sdk/requestschema.py @@ -13,12 +13,10 @@ class RequestSchema(BaseSDK): def create( self, *, - request: Optional[ - Union[ - shared.RequestSchemaServiceCreateRequest, - shared.RequestSchemaServiceCreateRequestTypedDict, - ] - ] = None, + request: Union[ + shared.RequestSchemaServiceCreateRequest, + shared.RequestSchemaServiceCreateRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -45,10 +43,8 @@ def create( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal( - request, Optional[shared.RequestSchemaServiceCreateRequest] - ) - request = cast(Optional[shared.RequestSchemaServiceCreateRequest], request) + request = utils.unmarshal(request, shared.RequestSchemaServiceCreateRequest) + request = cast(shared.RequestSchemaServiceCreateRequest, request) req = self._build_request( method="POST", @@ -56,7 +52,7 @@ def create( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -64,11 +60,7 @@ def create( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, - False, - True, - "json", - Optional[shared.RequestSchemaServiceCreateRequest], + request, False, False, "json", shared.RequestSchemaServiceCreateRequest ), timeout_ms=timeout_ms, ) @@ -115,12 +107,10 @@ def create( async def create_async( self, *, - request: Optional[ - Union[ - shared.RequestSchemaServiceCreateRequest, - shared.RequestSchemaServiceCreateRequestTypedDict, - ] - ] = None, + request: Union[ + shared.RequestSchemaServiceCreateRequest, + shared.RequestSchemaServiceCreateRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -147,10 +137,8 @@ async def create_async( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal( - request, Optional[shared.RequestSchemaServiceCreateRequest] - ) - request = cast(Optional[shared.RequestSchemaServiceCreateRequest], request) + request = utils.unmarshal(request, shared.RequestSchemaServiceCreateRequest) + request = cast(shared.RequestSchemaServiceCreateRequest, request) req = self._build_request_async( method="POST", @@ -158,7 +146,7 @@ async def create_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -166,11 +154,7 @@ async def create_async( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, - False, - True, - "json", - Optional[shared.RequestSchemaServiceCreateRequest], + request, False, False, "json", shared.RequestSchemaServiceCreateRequest ), timeout_ms=timeout_ms, ) @@ -217,12 +201,10 @@ async def create_async( def create_entitlement_binding( self, *, - request: Optional[ - Union[ - shared.RequestSchemaServiceCreateEntitlementBindingRequest, - shared.RequestSchemaServiceCreateEntitlementBindingRequestTypedDict, - ] - ] = None, + request: Union[ + shared.RequestSchemaServiceCreateEntitlementBindingRequest, + shared.RequestSchemaServiceCreateEntitlementBindingRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -250,12 +232,10 @@ def create_entitlement_binding( if not isinstance(request, BaseModel): request = utils.unmarshal( - request, - Optional[shared.RequestSchemaServiceCreateEntitlementBindingRequest], + request, shared.RequestSchemaServiceCreateEntitlementBindingRequest ) request = cast( - Optional[shared.RequestSchemaServiceCreateEntitlementBindingRequest], - request, + shared.RequestSchemaServiceCreateEntitlementBindingRequest, request ) req = self._build_request( @@ -264,7 +244,7 @@ def create_entitlement_binding( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -274,9 +254,9 @@ def create_entitlement_binding( get_serialized_body=lambda: utils.serialize_request_body( request, False, - True, + False, "json", - Optional[shared.RequestSchemaServiceCreateEntitlementBindingRequest], + shared.RequestSchemaServiceCreateEntitlementBindingRequest, ), timeout_ms=timeout_ms, ) @@ -326,12 +306,10 @@ def create_entitlement_binding( async def create_entitlement_binding_async( self, *, - request: Optional[ - Union[ - shared.RequestSchemaServiceCreateEntitlementBindingRequest, - shared.RequestSchemaServiceCreateEntitlementBindingRequestTypedDict, - ] - ] = None, + request: Union[ + shared.RequestSchemaServiceCreateEntitlementBindingRequest, + shared.RequestSchemaServiceCreateEntitlementBindingRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -359,12 +337,10 @@ async def create_entitlement_binding_async( if not isinstance(request, BaseModel): request = utils.unmarshal( - request, - Optional[shared.RequestSchemaServiceCreateEntitlementBindingRequest], + request, shared.RequestSchemaServiceCreateEntitlementBindingRequest ) request = cast( - Optional[shared.RequestSchemaServiceCreateEntitlementBindingRequest], - request, + shared.RequestSchemaServiceCreateEntitlementBindingRequest, request ) req = self._build_request_async( @@ -373,7 +349,7 @@ async def create_entitlement_binding_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -383,9 +359,9 @@ async def create_entitlement_binding_async( get_serialized_body=lambda: utils.serialize_request_body( request, False, - True, + False, "json", - Optional[shared.RequestSchemaServiceCreateEntitlementBindingRequest], + shared.RequestSchemaServiceCreateEntitlementBindingRequest, ), timeout_ms=timeout_ms, ) @@ -479,7 +455,7 @@ def delete( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -489,9 +465,9 @@ def delete( get_serialized_body=lambda: utils.serialize_request_body( request.request_schema_service_delete_request, False, - True, + False, "json", - Optional[shared.RequestSchemaServiceDeleteRequest], + shared.RequestSchemaServiceDeleteRequest, ), timeout_ms=timeout_ms, ) @@ -582,7 +558,7 @@ async def delete_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -592,9 +568,9 @@ async def delete_async( get_serialized_body=lambda: utils.serialize_request_body( request.request_schema_service_delete_request, False, - True, + False, "json", - Optional[shared.RequestSchemaServiceDeleteRequest], + shared.RequestSchemaServiceDeleteRequest, ), timeout_ms=timeout_ms, ) @@ -641,12 +617,10 @@ async def delete_async( def find_binding_for_app_entitlement( self, *, - request: Optional[ - Union[ - shared.RequestSchemaServiceFindBindingForAppEntitlementRequest, - shared.RequestSchemaServiceFindBindingForAppEntitlementRequestTypedDict, - ] - ] = None, + request: Union[ + shared.RequestSchemaServiceFindBindingForAppEntitlementRequest, + shared.RequestSchemaServiceFindBindingForAppEntitlementRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -674,14 +648,10 @@ def find_binding_for_app_entitlement( if not isinstance(request, BaseModel): request = utils.unmarshal( - request, - Optional[ - shared.RequestSchemaServiceFindBindingForAppEntitlementRequest - ], + request, shared.RequestSchemaServiceFindBindingForAppEntitlementRequest ) request = cast( - Optional[shared.RequestSchemaServiceFindBindingForAppEntitlementRequest], - request, + shared.RequestSchemaServiceFindBindingForAppEntitlementRequest, request ) req = self._build_request( @@ -690,7 +660,7 @@ def find_binding_for_app_entitlement( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -700,11 +670,9 @@ def find_binding_for_app_entitlement( get_serialized_body=lambda: utils.serialize_request_body( request, False, - True, + False, "json", - Optional[ - shared.RequestSchemaServiceFindBindingForAppEntitlementRequest - ], + shared.RequestSchemaServiceFindBindingForAppEntitlementRequest, ), timeout_ms=timeout_ms, ) @@ -754,12 +722,10 @@ def find_binding_for_app_entitlement( async def find_binding_for_app_entitlement_async( self, *, - request: Optional[ - Union[ - shared.RequestSchemaServiceFindBindingForAppEntitlementRequest, - shared.RequestSchemaServiceFindBindingForAppEntitlementRequestTypedDict, - ] - ] = None, + request: Union[ + shared.RequestSchemaServiceFindBindingForAppEntitlementRequest, + shared.RequestSchemaServiceFindBindingForAppEntitlementRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -787,14 +753,10 @@ async def find_binding_for_app_entitlement_async( if not isinstance(request, BaseModel): request = utils.unmarshal( - request, - Optional[ - shared.RequestSchemaServiceFindBindingForAppEntitlementRequest - ], + request, shared.RequestSchemaServiceFindBindingForAppEntitlementRequest ) request = cast( - Optional[shared.RequestSchemaServiceFindBindingForAppEntitlementRequest], - request, + shared.RequestSchemaServiceFindBindingForAppEntitlementRequest, request ) req = self._build_request_async( @@ -803,7 +765,7 @@ async def find_binding_for_app_entitlement_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -813,11 +775,9 @@ async def find_binding_for_app_entitlement_async( get_serialized_body=lambda: utils.serialize_request_body( request, False, - True, + False, "json", - Optional[ - shared.RequestSchemaServiceFindBindingForAppEntitlementRequest - ], + shared.RequestSchemaServiceFindBindingForAppEntitlementRequest, ), timeout_ms=timeout_ms, ) @@ -1057,12 +1017,10 @@ async def get_async( def remove_entitlement_binding( self, *, - request: Optional[ - Union[ - shared.RequestSchemaServiceRemoveEntitlementBindingRequest, - shared.RequestSchemaServiceRemoveEntitlementBindingRequestTypedDict, - ] - ] = None, + request: Union[ + shared.RequestSchemaServiceRemoveEntitlementBindingRequest, + shared.RequestSchemaServiceRemoveEntitlementBindingRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -1090,12 +1048,10 @@ def remove_entitlement_binding( if not isinstance(request, BaseModel): request = utils.unmarshal( - request, - Optional[shared.RequestSchemaServiceRemoveEntitlementBindingRequest], + request, shared.RequestSchemaServiceRemoveEntitlementBindingRequest ) request = cast( - Optional[shared.RequestSchemaServiceRemoveEntitlementBindingRequest], - request, + shared.RequestSchemaServiceRemoveEntitlementBindingRequest, request ) req = self._build_request( @@ -1104,7 +1060,7 @@ def remove_entitlement_binding( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -1114,9 +1070,9 @@ def remove_entitlement_binding( get_serialized_body=lambda: utils.serialize_request_body( request, False, - True, + False, "json", - Optional[shared.RequestSchemaServiceRemoveEntitlementBindingRequest], + shared.RequestSchemaServiceRemoveEntitlementBindingRequest, ), timeout_ms=timeout_ms, ) @@ -1166,12 +1122,10 @@ def remove_entitlement_binding( async def remove_entitlement_binding_async( self, *, - request: Optional[ - Union[ - shared.RequestSchemaServiceRemoveEntitlementBindingRequest, - shared.RequestSchemaServiceRemoveEntitlementBindingRequestTypedDict, - ] - ] = None, + request: Union[ + shared.RequestSchemaServiceRemoveEntitlementBindingRequest, + shared.RequestSchemaServiceRemoveEntitlementBindingRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -1199,12 +1153,10 @@ async def remove_entitlement_binding_async( if not isinstance(request, BaseModel): request = utils.unmarshal( - request, - Optional[shared.RequestSchemaServiceRemoveEntitlementBindingRequest], + request, shared.RequestSchemaServiceRemoveEntitlementBindingRequest ) request = cast( - Optional[shared.RequestSchemaServiceRemoveEntitlementBindingRequest], - request, + shared.RequestSchemaServiceRemoveEntitlementBindingRequest, request ) req = self._build_request_async( @@ -1213,7 +1165,7 @@ async def remove_entitlement_binding_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -1223,9 +1175,9 @@ async def remove_entitlement_binding_async( get_serialized_body=lambda: utils.serialize_request_body( request, False, - True, + False, "json", - Optional[shared.RequestSchemaServiceRemoveEntitlementBindingRequest], + shared.RequestSchemaServiceRemoveEntitlementBindingRequest, ), timeout_ms=timeout_ms, ) @@ -1319,7 +1271,7 @@ def update( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -1329,9 +1281,9 @@ def update( get_serialized_body=lambda: utils.serialize_request_body( request.request_schema_service_update_request, False, - True, + False, "json", - Optional[shared.RequestSchemaServiceUpdateRequest], + shared.RequestSchemaServiceUpdateRequest, ), timeout_ms=timeout_ms, ) @@ -1422,7 +1374,7 @@ async def update_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -1432,9 +1384,9 @@ async def update_async( get_serialized_body=lambda: utils.serialize_request_body( request.request_schema_service_update_request, False, - True, + False, "json", - Optional[shared.RequestSchemaServiceUpdateRequest], + shared.RequestSchemaServiceUpdateRequest, ), timeout_ms=timeout_ms, ) diff --git a/src/sdk/roles.py b/src/sdk/roles.py index 9ec7b42c..788fe550 100644 --- a/src/sdk/roles.py +++ b/src/sdk/roles.py @@ -416,7 +416,7 @@ def update( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -426,9 +426,9 @@ def update( get_serialized_body=lambda: utils.serialize_request_body( request.update_role_request, False, - True, + False, "json", - Optional[shared.UpdateRoleRequest], + shared.UpdateRoleRequest, ), timeout_ms=timeout_ms, ) @@ -514,7 +514,7 @@ async def update_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -524,9 +524,9 @@ async def update_async( get_serialized_body=lambda: utils.serialize_request_body( request.update_role_request, False, - True, + False, "json", - Optional[shared.UpdateRoleRequest], + shared.UpdateRoleRequest, ), timeout_ms=timeout_ms, ) diff --git a/src/sdk/sdkwithcredentials.py b/src/sdk/sdkwithcredentials.py index 76f27c90..f07028ef 100644 --- a/src/sdk/sdkwithcredentials.py +++ b/src/sdk/sdkwithcredentials.py @@ -1,7 +1,6 @@ from .sdk import SDK from .tokensource import Token from .models import shared -import httpx import requests def sdk_with_credentials(client_id: str, client_secret: str, token_url: str = '', **kwargs) -> SDK: diff --git a/src/sdk/sessionsettings.py b/src/sdk/sessionsettings.py index 77607d35..db624606 100644 --- a/src/sdk/sessionsettings.py +++ b/src/sdk/sessionsettings.py @@ -175,9 +175,7 @@ async def get_async( def test_source_ip( self, *, - request: Optional[ - Union[shared.TestSourceIPRequest, shared.TestSourceIPRequestTypedDict] - ] = None, + request: Union[shared.TestSourceIPRequest, shared.TestSourceIPRequestTypedDict], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -204,8 +202,8 @@ def test_source_ip( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal(request, Optional[shared.TestSourceIPRequest]) - request = cast(Optional[shared.TestSourceIPRequest], request) + request = utils.unmarshal(request, shared.TestSourceIPRequest) + request = cast(shared.TestSourceIPRequest, request) req = self._build_request( method="POST", @@ -213,7 +211,7 @@ def test_source_ip( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -221,7 +219,7 @@ def test_source_ip( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, False, True, "json", Optional[shared.TestSourceIPRequest] + request, False, False, "json", shared.TestSourceIPRequest ), timeout_ms=timeout_ms, ) @@ -268,9 +266,7 @@ def test_source_ip( async def test_source_ip_async( self, *, - request: Optional[ - Union[shared.TestSourceIPRequest, shared.TestSourceIPRequestTypedDict] - ] = None, + request: Union[shared.TestSourceIPRequest, shared.TestSourceIPRequestTypedDict], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -297,8 +293,8 @@ async def test_source_ip_async( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal(request, Optional[shared.TestSourceIPRequest]) - request = cast(Optional[shared.TestSourceIPRequest], request) + request = utils.unmarshal(request, shared.TestSourceIPRequest) + request = cast(shared.TestSourceIPRequest, request) req = self._build_request_async( method="POST", @@ -306,7 +302,7 @@ async def test_source_ip_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -314,7 +310,7 @@ async def test_source_ip_async( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, False, True, "json", Optional[shared.TestSourceIPRequest] + request, False, False, "json", shared.TestSourceIPRequest ), timeout_ms=timeout_ms, ) @@ -361,12 +357,10 @@ async def test_source_ip_async( def update( self, *, - request: Optional[ - Union[ - shared.UpdateSessionSettingsRequest, - shared.UpdateSessionSettingsRequestTypedDict, - ] - ] = None, + request: Union[ + shared.UpdateSessionSettingsRequest, + shared.UpdateSessionSettingsRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -393,10 +387,8 @@ def update( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal( - request, Optional[shared.UpdateSessionSettingsRequest] - ) - request = cast(Optional[shared.UpdateSessionSettingsRequest], request) + request = utils.unmarshal(request, shared.UpdateSessionSettingsRequest) + request = cast(shared.UpdateSessionSettingsRequest, request) req = self._build_request( method="POST", @@ -404,7 +396,7 @@ def update( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -412,11 +404,7 @@ def update( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, - False, - True, - "json", - Optional[shared.UpdateSessionSettingsRequest], + request, False, False, "json", shared.UpdateSessionSettingsRequest ), timeout_ms=timeout_ms, ) @@ -463,12 +451,10 @@ def update( async def update_async( self, *, - request: Optional[ - Union[ - shared.UpdateSessionSettingsRequest, - shared.UpdateSessionSettingsRequestTypedDict, - ] - ] = None, + request: Union[ + shared.UpdateSessionSettingsRequest, + shared.UpdateSessionSettingsRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -495,10 +481,8 @@ async def update_async( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal( - request, Optional[shared.UpdateSessionSettingsRequest] - ) - request = cast(Optional[shared.UpdateSessionSettingsRequest], request) + request = utils.unmarshal(request, shared.UpdateSessionSettingsRequest) + request = cast(shared.UpdateSessionSettingsRequest, request) req = self._build_request_async( method="POST", @@ -506,7 +490,7 @@ async def update_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -514,11 +498,7 @@ async def update_async( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, - False, - True, - "json", - Optional[shared.UpdateSessionSettingsRequest], + request, False, False, "json", shared.UpdateSessionSettingsRequest ), timeout_ms=timeout_ms, ) diff --git a/src/sdk/stepupprovider.py b/src/sdk/stepupprovider.py index 1e763ce0..0852f8c4 100644 --- a/src/sdk/stepupprovider.py +++ b/src/sdk/stepupprovider.py @@ -13,12 +13,10 @@ class StepUpProvider(BaseSDK): def create( self, *, - request: Optional[ - Union[ - shared.CreateStepUpProviderRequest, - shared.CreateStepUpProviderRequestTypedDict, - ] - ] = None, + request: Union[ + shared.CreateStepUpProviderRequest, + shared.CreateStepUpProviderRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -45,10 +43,8 @@ def create( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal( - request, Optional[shared.CreateStepUpProviderRequest] - ) - request = cast(Optional[shared.CreateStepUpProviderRequest], request) + request = utils.unmarshal(request, shared.CreateStepUpProviderRequest) + request = cast(shared.CreateStepUpProviderRequest, request) req = self._build_request( method="POST", @@ -56,7 +52,7 @@ def create( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -64,11 +60,7 @@ def create( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, - False, - True, - "json", - Optional[shared.CreateStepUpProviderRequest], + request, False, False, "json", shared.CreateStepUpProviderRequest ), timeout_ms=timeout_ms, ) @@ -115,12 +107,10 @@ def create( async def create_async( self, *, - request: Optional[ - Union[ - shared.CreateStepUpProviderRequest, - shared.CreateStepUpProviderRequestTypedDict, - ] - ] = None, + request: Union[ + shared.CreateStepUpProviderRequest, + shared.CreateStepUpProviderRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -147,10 +137,8 @@ async def create_async( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal( - request, Optional[shared.CreateStepUpProviderRequest] - ) - request = cast(Optional[shared.CreateStepUpProviderRequest], request) + request = utils.unmarshal(request, shared.CreateStepUpProviderRequest) + request = cast(shared.CreateStepUpProviderRequest, request) req = self._build_request_async( method="POST", @@ -158,7 +146,7 @@ async def create_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -166,11 +154,7 @@ async def create_async( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, - False, - True, - "json", - Optional[shared.CreateStepUpProviderRequest], + request, False, False, "json", shared.CreateStepUpProviderRequest ), timeout_ms=timeout_ms, ) @@ -260,7 +244,7 @@ def delete( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -270,9 +254,9 @@ def delete( get_serialized_body=lambda: utils.serialize_request_body( request.delete_step_up_provider_request, False, - True, + False, "json", - Optional[shared.DeleteStepUpProviderRequest], + shared.DeleteStepUpProviderRequest, ), timeout_ms=timeout_ms, ) @@ -362,7 +346,7 @@ async def delete_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -372,9 +356,9 @@ async def delete_async( get_serialized_body=lambda: utils.serialize_request_body( request.delete_step_up_provider_request, False, - True, + False, "json", - Optional[shared.DeleteStepUpProviderRequest], + shared.DeleteStepUpProviderRequest, ), timeout_ms=timeout_ms, ) @@ -769,12 +753,10 @@ async def list_async( def search( self, *, - request: Optional[ - Union[ - shared.SearchStepUpProvidersRequest, - shared.SearchStepUpProvidersRequestTypedDict, - ] - ] = None, + request: Union[ + shared.SearchStepUpProvidersRequest, + shared.SearchStepUpProvidersRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -801,10 +783,8 @@ def search( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal( - request, Optional[shared.SearchStepUpProvidersRequest] - ) - request = cast(Optional[shared.SearchStepUpProvidersRequest], request) + request = utils.unmarshal(request, shared.SearchStepUpProvidersRequest) + request = cast(shared.SearchStepUpProvidersRequest, request) req = self._build_request( method="POST", @@ -812,7 +792,7 @@ def search( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -820,11 +800,7 @@ def search( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, - False, - True, - "json", - Optional[shared.SearchStepUpProvidersRequest], + request, False, False, "json", shared.SearchStepUpProvidersRequest ), timeout_ms=timeout_ms, ) @@ -871,12 +847,10 @@ def search( async def search_async( self, *, - request: Optional[ - Union[ - shared.SearchStepUpProvidersRequest, - shared.SearchStepUpProvidersRequestTypedDict, - ] - ] = None, + request: Union[ + shared.SearchStepUpProvidersRequest, + shared.SearchStepUpProvidersRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -903,10 +877,8 @@ async def search_async( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal( - request, Optional[shared.SearchStepUpProvidersRequest] - ) - request = cast(Optional[shared.SearchStepUpProvidersRequest], request) + request = utils.unmarshal(request, shared.SearchStepUpProvidersRequest) + request = cast(shared.SearchStepUpProvidersRequest, request) req = self._build_request_async( method="POST", @@ -914,7 +886,7 @@ async def search_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -922,11 +894,7 @@ async def search_async( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, - False, - True, - "json", - Optional[shared.SearchStepUpProvidersRequest], + request, False, False, "json", shared.SearchStepUpProvidersRequest ), timeout_ms=timeout_ms, ) @@ -1016,7 +984,7 @@ def test( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -1026,9 +994,9 @@ def test( get_serialized_body=lambda: utils.serialize_request_body( request.test_step_up_provider_request, False, - True, + False, "json", - Optional[shared.TestStepUpProviderRequest], + shared.TestStepUpProviderRequest, ), timeout_ms=timeout_ms, ) @@ -1118,7 +1086,7 @@ async def test_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -1128,9 +1096,9 @@ async def test_async( get_serialized_body=lambda: utils.serialize_request_body( request.test_step_up_provider_request, False, - True, + False, "json", - Optional[shared.TestStepUpProviderRequest], + shared.TestStepUpProviderRequest, ), timeout_ms=timeout_ms, ) @@ -1220,7 +1188,7 @@ def update( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -1230,9 +1198,9 @@ def update( get_serialized_body=lambda: utils.serialize_request_body( request.update_step_up_provider_request, False, - True, + False, "json", - Optional[shared.UpdateStepUpProviderRequest], + shared.UpdateStepUpProviderRequest, ), timeout_ms=timeout_ms, ) @@ -1322,7 +1290,7 @@ async def update_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -1332,9 +1300,9 @@ async def update_async( get_serialized_body=lambda: utils.serialize_request_body( request.update_step_up_provider_request, False, - True, + False, "json", - Optional[shared.UpdateStepUpProviderRequest], + shared.UpdateStepUpProviderRequest, ), timeout_ms=timeout_ms, ) @@ -1425,7 +1393,7 @@ def update_secret( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -1435,9 +1403,9 @@ def update_secret( get_serialized_body=lambda: utils.serialize_request_body( request.update_step_up_provider_secret_request, False, - True, + False, "json", - Optional[shared.UpdateStepUpProviderSecretRequest], + shared.UpdateStepUpProviderSecretRequest, ), timeout_ms=timeout_ms, ) @@ -1528,7 +1496,7 @@ async def update_secret_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -1538,9 +1506,9 @@ async def update_secret_async( get_serialized_body=lambda: utils.serialize_request_body( request.update_step_up_provider_secret_request, False, - True, + False, "json", - Optional[shared.UpdateStepUpProviderSecretRequest], + shared.UpdateStepUpProviderSecretRequest, ), timeout_ms=timeout_ms, ) diff --git a/src/sdk/stepuptransaction.py b/src/sdk/stepuptransaction.py index 8bcf9f4e..d69ba85d 100644 --- a/src/sdk/stepuptransaction.py +++ b/src/sdk/stepuptransaction.py @@ -203,12 +203,10 @@ async def get_async( def search( self, *, - request: Optional[ - Union[ - shared.SearchStepUpTransactionsRequest, - shared.SearchStepUpTransactionsRequestTypedDict, - ] - ] = None, + request: Union[ + shared.SearchStepUpTransactionsRequest, + shared.SearchStepUpTransactionsRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -235,10 +233,8 @@ def search( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal( - request, Optional[shared.SearchStepUpTransactionsRequest] - ) - request = cast(Optional[shared.SearchStepUpTransactionsRequest], request) + request = utils.unmarshal(request, shared.SearchStepUpTransactionsRequest) + request = cast(shared.SearchStepUpTransactionsRequest, request) req = self._build_request( method="POST", @@ -246,7 +242,7 @@ def search( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -254,11 +250,7 @@ def search( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, - False, - True, - "json", - Optional[shared.SearchStepUpTransactionsRequest], + request, False, False, "json", shared.SearchStepUpTransactionsRequest ), timeout_ms=timeout_ms, ) @@ -305,12 +297,10 @@ def search( async def search_async( self, *, - request: Optional[ - Union[ - shared.SearchStepUpTransactionsRequest, - shared.SearchStepUpTransactionsRequestTypedDict, - ] - ] = None, + request: Union[ + shared.SearchStepUpTransactionsRequest, + shared.SearchStepUpTransactionsRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -337,10 +327,8 @@ async def search_async( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal( - request, Optional[shared.SearchStepUpTransactionsRequest] - ) - request = cast(Optional[shared.SearchStepUpTransactionsRequest], request) + request = utils.unmarshal(request, shared.SearchStepUpTransactionsRequest) + request = cast(shared.SearchStepUpTransactionsRequest, request) req = self._build_request_async( method="POST", @@ -348,7 +336,7 @@ async def search_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -356,11 +344,7 @@ async def search_async( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, - False, - True, - "json", - Optional[shared.SearchStepUpTransactionsRequest], + request, False, False, "json", shared.SearchStepUpTransactionsRequest ), timeout_ms=timeout_ms, ) diff --git a/src/sdk/systemlog.py b/src/sdk/systemlog.py index e39a41ce..810fa700 100644 --- a/src/sdk/systemlog.py +++ b/src/sdk/systemlog.py @@ -13,12 +13,10 @@ class SystemLog(BaseSDK): def list_events( self, *, - request: Optional[ - Union[ - shared.SystemLogServiceListEventsRequest, - shared.SystemLogServiceListEventsRequestTypedDict, - ] - ] = None, + request: Union[ + shared.SystemLogServiceListEventsRequest, + shared.SystemLogServiceListEventsRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -48,10 +46,8 @@ def list_events( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal( - request, Optional[shared.SystemLogServiceListEventsRequest] - ) - request = cast(Optional[shared.SystemLogServiceListEventsRequest], request) + request = utils.unmarshal(request, shared.SystemLogServiceListEventsRequest) + request = cast(shared.SystemLogServiceListEventsRequest, request) req = self._build_request( method="POST", @@ -59,7 +55,7 @@ def list_events( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -67,11 +63,7 @@ def list_events( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, - False, - True, - "json", - Optional[shared.SystemLogServiceListEventsRequest], + request, False, False, "json", shared.SystemLogServiceListEventsRequest ), timeout_ms=timeout_ms, ) @@ -118,12 +110,10 @@ def list_events( async def list_events_async( self, *, - request: Optional[ - Union[ - shared.SystemLogServiceListEventsRequest, - shared.SystemLogServiceListEventsRequestTypedDict, - ] - ] = None, + request: Union[ + shared.SystemLogServiceListEventsRequest, + shared.SystemLogServiceListEventsRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -153,10 +143,8 @@ async def list_events_async( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal( - request, Optional[shared.SystemLogServiceListEventsRequest] - ) - request = cast(Optional[shared.SystemLogServiceListEventsRequest], request) + request = utils.unmarshal(request, shared.SystemLogServiceListEventsRequest) + request = cast(shared.SystemLogServiceListEventsRequest, request) req = self._build_request_async( method="POST", @@ -164,7 +152,7 @@ async def list_events_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -172,11 +160,7 @@ async def list_events_async( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, - False, - True, - "json", - Optional[shared.SystemLogServiceListEventsRequest], + request, False, False, "json", shared.SystemLogServiceListEventsRequest ), timeout_ms=timeout_ms, ) diff --git a/src/sdk/task.py b/src/sdk/task.py index a116544a..637b9d99 100644 --- a/src/sdk/task.py +++ b/src/sdk/task.py @@ -13,12 +13,10 @@ class Task(BaseSDK): def create_grant_task( self, *, - request: Optional[ - Union[ - shared.TaskServiceCreateGrantRequest, - shared.TaskServiceCreateGrantRequestTypedDict, - ] - ] = None, + request: Union[ + shared.TaskServiceCreateGrantRequest, + shared.TaskServiceCreateGrantRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -45,10 +43,8 @@ def create_grant_task( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal( - request, Optional[shared.TaskServiceCreateGrantRequest] - ) - request = cast(Optional[shared.TaskServiceCreateGrantRequest], request) + request = utils.unmarshal(request, shared.TaskServiceCreateGrantRequest) + request = cast(shared.TaskServiceCreateGrantRequest, request) req = self._build_request( method="POST", @@ -56,7 +52,7 @@ def create_grant_task( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -64,11 +60,7 @@ def create_grant_task( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, - False, - True, - "json", - Optional[shared.TaskServiceCreateGrantRequest], + request, False, False, "json", shared.TaskServiceCreateGrantRequest ), timeout_ms=timeout_ms, ) @@ -115,12 +107,10 @@ def create_grant_task( async def create_grant_task_async( self, *, - request: Optional[ - Union[ - shared.TaskServiceCreateGrantRequest, - shared.TaskServiceCreateGrantRequestTypedDict, - ] - ] = None, + request: Union[ + shared.TaskServiceCreateGrantRequest, + shared.TaskServiceCreateGrantRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -147,10 +137,8 @@ async def create_grant_task_async( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal( - request, Optional[shared.TaskServiceCreateGrantRequest] - ) - request = cast(Optional[shared.TaskServiceCreateGrantRequest], request) + request = utils.unmarshal(request, shared.TaskServiceCreateGrantRequest) + request = cast(shared.TaskServiceCreateGrantRequest, request) req = self._build_request_async( method="POST", @@ -158,7 +146,7 @@ async def create_grant_task_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -166,11 +154,7 @@ async def create_grant_task_async( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, - False, - True, - "json", - Optional[shared.TaskServiceCreateGrantRequest], + request, False, False, "json", shared.TaskServiceCreateGrantRequest ), timeout_ms=timeout_ms, ) @@ -217,12 +201,10 @@ async def create_grant_task_async( def create_offboarding_task( self, *, - request: Optional[ - Union[ - shared.TaskServiceCreateOffboardingRequest, - shared.TaskServiceCreateOffboardingRequestTypedDict, - ] - ] = None, + request: Union[ + shared.TaskServiceCreateOffboardingRequest, + shared.TaskServiceCreateOffboardingRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -250,9 +232,9 @@ def create_offboarding_task( if not isinstance(request, BaseModel): request = utils.unmarshal( - request, Optional[shared.TaskServiceCreateOffboardingRequest] + request, shared.TaskServiceCreateOffboardingRequest ) - request = cast(Optional[shared.TaskServiceCreateOffboardingRequest], request) + request = cast(shared.TaskServiceCreateOffboardingRequest, request) req = self._build_request( method="POST", @@ -260,7 +242,7 @@ def create_offboarding_task( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -270,9 +252,9 @@ def create_offboarding_task( get_serialized_body=lambda: utils.serialize_request_body( request, False, - True, + False, "json", - Optional[shared.TaskServiceCreateOffboardingRequest], + shared.TaskServiceCreateOffboardingRequest, ), timeout_ms=timeout_ms, ) @@ -319,12 +301,10 @@ def create_offboarding_task( async def create_offboarding_task_async( self, *, - request: Optional[ - Union[ - shared.TaskServiceCreateOffboardingRequest, - shared.TaskServiceCreateOffboardingRequestTypedDict, - ] - ] = None, + request: Union[ + shared.TaskServiceCreateOffboardingRequest, + shared.TaskServiceCreateOffboardingRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -352,9 +332,9 @@ async def create_offboarding_task_async( if not isinstance(request, BaseModel): request = utils.unmarshal( - request, Optional[shared.TaskServiceCreateOffboardingRequest] + request, shared.TaskServiceCreateOffboardingRequest ) - request = cast(Optional[shared.TaskServiceCreateOffboardingRequest], request) + request = cast(shared.TaskServiceCreateOffboardingRequest, request) req = self._build_request_async( method="POST", @@ -362,7 +342,7 @@ async def create_offboarding_task_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -372,9 +352,9 @@ async def create_offboarding_task_async( get_serialized_body=lambda: utils.serialize_request_body( request, False, - True, + False, "json", - Optional[shared.TaskServiceCreateOffboardingRequest], + shared.TaskServiceCreateOffboardingRequest, ), timeout_ms=timeout_ms, ) @@ -421,12 +401,10 @@ async def create_offboarding_task_async( def create_revoke_task( self, *, - request: Optional[ - Union[ - shared.TaskServiceCreateRevokeRequest, - shared.TaskServiceCreateRevokeRequestTypedDict, - ] - ] = None, + request: Union[ + shared.TaskServiceCreateRevokeRequest, + shared.TaskServiceCreateRevokeRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -453,10 +431,8 @@ def create_revoke_task( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal( - request, Optional[shared.TaskServiceCreateRevokeRequest] - ) - request = cast(Optional[shared.TaskServiceCreateRevokeRequest], request) + request = utils.unmarshal(request, shared.TaskServiceCreateRevokeRequest) + request = cast(shared.TaskServiceCreateRevokeRequest, request) req = self._build_request( method="POST", @@ -464,7 +440,7 @@ def create_revoke_task( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -472,11 +448,7 @@ def create_revoke_task( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, - False, - True, - "json", - Optional[shared.TaskServiceCreateRevokeRequest], + request, False, False, "json", shared.TaskServiceCreateRevokeRequest ), timeout_ms=timeout_ms, ) @@ -523,12 +495,10 @@ def create_revoke_task( async def create_revoke_task_async( self, *, - request: Optional[ - Union[ - shared.TaskServiceCreateRevokeRequest, - shared.TaskServiceCreateRevokeRequestTypedDict, - ] - ] = None, + request: Union[ + shared.TaskServiceCreateRevokeRequest, + shared.TaskServiceCreateRevokeRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -555,10 +525,8 @@ async def create_revoke_task_async( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal( - request, Optional[shared.TaskServiceCreateRevokeRequest] - ) - request = cast(Optional[shared.TaskServiceCreateRevokeRequest], request) + request = utils.unmarshal(request, shared.TaskServiceCreateRevokeRequest) + request = cast(shared.TaskServiceCreateRevokeRequest, request) req = self._build_request_async( method="POST", @@ -566,7 +534,7 @@ async def create_revoke_task_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -574,11 +542,7 @@ async def create_revoke_task_async( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, - False, - True, - "json", - Optional[shared.TaskServiceCreateRevokeRequest], + request, False, False, "json", shared.TaskServiceCreateRevokeRequest ), timeout_ms=timeout_ms, ) diff --git a/src/sdk/taskactions.py b/src/sdk/taskactions.py index 7b3b38da..e162ce98 100644 --- a/src/sdk/taskactions.py +++ b/src/sdk/taskactions.py @@ -54,7 +54,7 @@ def approve( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -64,9 +64,9 @@ def approve( get_serialized_body=lambda: utils.serialize_request_body( request.task_actions_service_approve_request, False, - True, + False, "json", - Optional[shared.TaskActionsServiceApproveRequest], + shared.TaskActionsServiceApproveRequest, ), timeout_ms=timeout_ms, ) @@ -154,7 +154,7 @@ async def approve_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -164,9 +164,9 @@ async def approve_async( get_serialized_body=lambda: utils.serialize_request_body( request.task_actions_service_approve_request, False, - True, + False, "json", - Optional[shared.TaskActionsServiceApproveRequest], + shared.TaskActionsServiceApproveRequest, ), timeout_ms=timeout_ms, ) @@ -257,7 +257,7 @@ def approve_with_step_up( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -267,9 +267,9 @@ def approve_with_step_up( get_serialized_body=lambda: utils.serialize_request_body( request.task_actions_service_approve_with_step_up_request, False, - True, + False, "json", - Optional[shared.TaskActionsServiceApproveWithStepUpRequest], + shared.TaskActionsServiceApproveWithStepUpRequest, ), timeout_ms=timeout_ms, ) @@ -361,7 +361,7 @@ async def approve_with_step_up_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -371,9 +371,9 @@ async def approve_with_step_up_async( get_serialized_body=lambda: utils.serialize_request_body( request.task_actions_service_approve_with_step_up_request, False, - True, + False, "json", - Optional[shared.TaskActionsServiceApproveWithStepUpRequest], + shared.TaskActionsServiceApproveWithStepUpRequest, ), timeout_ms=timeout_ms, ) @@ -462,7 +462,7 @@ def close( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -472,9 +472,9 @@ def close( get_serialized_body=lambda: utils.serialize_request_body( request.task_actions_service_close_request, False, - True, + False, "json", - Optional[shared.TaskActionsServiceCloseRequest], + shared.TaskActionsServiceCloseRequest, ), timeout_ms=timeout_ms, ) @@ -562,7 +562,7 @@ async def close_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -572,9 +572,9 @@ async def close_async( get_serialized_body=lambda: utils.serialize_request_body( request.task_actions_service_close_request, False, - True, + False, "json", - Optional[shared.TaskActionsServiceCloseRequest], + shared.TaskActionsServiceCloseRequest, ), timeout_ms=timeout_ms, ) @@ -662,7 +662,7 @@ def comment( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -672,9 +672,9 @@ def comment( get_serialized_body=lambda: utils.serialize_request_body( request.task_actions_service_comment_request, False, - True, + False, "json", - Optional[shared.TaskActionsServiceCommentRequest], + shared.TaskActionsServiceCommentRequest, ), timeout_ms=timeout_ms, ) @@ -762,7 +762,7 @@ async def comment_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -772,9 +772,9 @@ async def comment_async( get_serialized_body=lambda: utils.serialize_request_body( request.task_actions_service_comment_request, False, - True, + False, "json", - Optional[shared.TaskActionsServiceCommentRequest], + shared.TaskActionsServiceCommentRequest, ), timeout_ms=timeout_ms, ) @@ -862,7 +862,7 @@ def deny( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -872,9 +872,9 @@ def deny( get_serialized_body=lambda: utils.serialize_request_body( request.task_actions_service_deny_request, False, - True, + False, "json", - Optional[shared.TaskActionsServiceDenyRequest], + shared.TaskActionsServiceDenyRequest, ), timeout_ms=timeout_ms, ) @@ -962,7 +962,7 @@ async def deny_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -972,9 +972,9 @@ async def deny_async( get_serialized_body=lambda: utils.serialize_request_body( request.task_actions_service_deny_request, False, - True, + False, "json", - Optional[shared.TaskActionsServiceDenyRequest], + shared.TaskActionsServiceDenyRequest, ), timeout_ms=timeout_ms, ) @@ -1066,7 +1066,7 @@ def escalate_to_emergency_access( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -1076,9 +1076,9 @@ def escalate_to_emergency_access( get_serialized_body=lambda: utils.serialize_request_body( request.task_actions_service_escalate_to_emergency_access_request, False, - True, + False, "json", - Optional[shared.TaskActionsServiceEscalateToEmergencyAccessRequest], + shared.TaskActionsServiceEscalateToEmergencyAccessRequest, ), timeout_ms=timeout_ms, ) @@ -1170,7 +1170,7 @@ async def escalate_to_emergency_access_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -1180,9 +1180,9 @@ async def escalate_to_emergency_access_async( get_serialized_body=lambda: utils.serialize_request_body( request.task_actions_service_escalate_to_emergency_access_request, False, - True, + False, "json", - Optional[shared.TaskActionsServiceEscalateToEmergencyAccessRequest], + shared.TaskActionsServiceEscalateToEmergencyAccessRequest, ), timeout_ms=timeout_ms, ) @@ -1272,7 +1272,7 @@ def hard_reset( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -1282,9 +1282,9 @@ def hard_reset( get_serialized_body=lambda: utils.serialize_request_body( request.task_actions_service_hard_reset_request, False, - True, + False, "json", - Optional[shared.TaskActionsServiceHardResetRequest], + shared.TaskActionsServiceHardResetRequest, ), timeout_ms=timeout_ms, ) @@ -1374,7 +1374,7 @@ async def hard_reset_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -1384,9 +1384,9 @@ async def hard_reset_async( get_serialized_body=lambda: utils.serialize_request_body( request.task_actions_service_hard_reset_request, False, - True, + False, "json", - Optional[shared.TaskActionsServiceHardResetRequest], + shared.TaskActionsServiceHardResetRequest, ), timeout_ms=timeout_ms, ) @@ -1476,7 +1476,7 @@ def process_now( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -1486,9 +1486,9 @@ def process_now( get_serialized_body=lambda: utils.serialize_request_body( request.task_actions_service_process_now_request, False, - True, + False, "json", - Optional[shared.TaskActionsServiceProcessNowRequest], + shared.TaskActionsServiceProcessNowRequest, ), timeout_ms=timeout_ms, ) @@ -1578,7 +1578,7 @@ async def process_now_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -1588,9 +1588,9 @@ async def process_now_async( get_serialized_body=lambda: utils.serialize_request_body( request.task_actions_service_process_now_request, False, - True, + False, "json", - Optional[shared.TaskActionsServiceProcessNowRequest], + shared.TaskActionsServiceProcessNowRequest, ), timeout_ms=timeout_ms, ) @@ -1678,7 +1678,7 @@ def reassign( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -1688,9 +1688,9 @@ def reassign( get_serialized_body=lambda: utils.serialize_request_body( request.task_actions_service_reassign_request, False, - True, + False, "json", - Optional[shared.TaskActionsServiceReassignRequest], + shared.TaskActionsServiceReassignRequest, ), timeout_ms=timeout_ms, ) @@ -1778,7 +1778,7 @@ async def reassign_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -1788,9 +1788,9 @@ async def reassign_async( get_serialized_body=lambda: utils.serialize_request_body( request.task_actions_service_reassign_request, False, - True, + False, "json", - Optional[shared.TaskActionsServiceReassignRequest], + shared.TaskActionsServiceReassignRequest, ), timeout_ms=timeout_ms, ) @@ -1878,7 +1878,7 @@ def restart( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -1888,9 +1888,9 @@ def restart( get_serialized_body=lambda: utils.serialize_request_body( request.task_actions_service_restart_request, False, - True, + False, "json", - Optional[shared.TaskActionsServiceRestartRequest], + shared.TaskActionsServiceRestartRequest, ), timeout_ms=timeout_ms, ) @@ -1978,7 +1978,7 @@ async def restart_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -1988,9 +1988,9 @@ async def restart_async( get_serialized_body=lambda: utils.serialize_request_body( request.task_actions_service_restart_request, False, - True, + False, "json", - Optional[shared.TaskActionsServiceRestartRequest], + shared.TaskActionsServiceRestartRequest, ), timeout_ms=timeout_ms, ) @@ -2078,7 +2078,7 @@ def skip_step( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -2088,9 +2088,9 @@ def skip_step( get_serialized_body=lambda: utils.serialize_request_body( request.task_actions_service_skip_step_request, False, - True, + False, "json", - Optional[shared.TaskActionsServiceSkipStepRequest], + shared.TaskActionsServiceSkipStepRequest, ), timeout_ms=timeout_ms, ) @@ -2178,7 +2178,7 @@ async def skip_step_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -2188,9 +2188,9 @@ async def skip_step_async( get_serialized_body=lambda: utils.serialize_request_body( request.task_actions_service_skip_step_request, False, - True, + False, "json", - Optional[shared.TaskActionsServiceSkipStepRequest], + shared.TaskActionsServiceSkipStepRequest, ), timeout_ms=timeout_ms, ) @@ -2281,7 +2281,7 @@ def update_grant_duration( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -2291,9 +2291,9 @@ def update_grant_duration( get_serialized_body=lambda: utils.serialize_request_body( request.task_actions_service_update_grant_duration_request, False, - True, + False, "json", - Optional[shared.TaskActionsServiceUpdateGrantDurationRequest], + shared.TaskActionsServiceUpdateGrantDurationRequest, ), timeout_ms=timeout_ms, ) @@ -2384,7 +2384,7 @@ async def update_grant_duration_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -2394,9 +2394,9 @@ async def update_grant_duration_async( get_serialized_body=lambda: utils.serialize_request_body( request.task_actions_service_update_grant_duration_request, False, - True, + False, "json", - Optional[shared.TaskActionsServiceUpdateGrantDurationRequest], + shared.TaskActionsServiceUpdateGrantDurationRequest, ), timeout_ms=timeout_ms, ) @@ -2487,7 +2487,7 @@ def update_request_data( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -2497,9 +2497,9 @@ def update_request_data( get_serialized_body=lambda: utils.serialize_request_body( request.task_actions_service_update_request_data_request, False, - True, + False, "json", - Optional[shared.TaskActionsServiceUpdateRequestDataRequest], + shared.TaskActionsServiceUpdateRequestDataRequest, ), timeout_ms=timeout_ms, ) @@ -2590,7 +2590,7 @@ async def update_request_data_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -2600,9 +2600,9 @@ async def update_request_data_async( get_serialized_body=lambda: utils.serialize_request_body( request.task_actions_service_update_request_data_request, False, - True, + False, "json", - Optional[shared.TaskActionsServiceUpdateRequestDataRequest], + shared.TaskActionsServiceUpdateRequestDataRequest, ), timeout_ms=timeout_ms, ) diff --git a/src/sdk/taskaudit.py b/src/sdk/taskaudit.py index 2a57593f..8e5fe45c 100644 --- a/src/sdk/taskaudit.py +++ b/src/sdk/taskaudit.py @@ -13,9 +13,9 @@ class TaskAudit(BaseSDK): def list( self, *, - request: Optional[ - Union[shared.TaskAuditListRequest, shared.TaskAuditListRequestTypedDict] - ] = None, + request: Union[ + shared.TaskAuditListRequest, shared.TaskAuditListRequestTypedDict + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -42,8 +42,8 @@ def list( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal(request, Optional[shared.TaskAuditListRequest]) - request = cast(Optional[shared.TaskAuditListRequest], request) + request = utils.unmarshal(request, shared.TaskAuditListRequest) + request = cast(shared.TaskAuditListRequest, request) req = self._build_request( method="POST", @@ -51,7 +51,7 @@ def list( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -59,7 +59,7 @@ def list( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, False, True, "json", Optional[shared.TaskAuditListRequest] + request, False, False, "json", shared.TaskAuditListRequest ), timeout_ms=timeout_ms, ) @@ -106,9 +106,9 @@ def list( async def list_async( self, *, - request: Optional[ - Union[shared.TaskAuditListRequest, shared.TaskAuditListRequestTypedDict] - ] = None, + request: Union[ + shared.TaskAuditListRequest, shared.TaskAuditListRequestTypedDict + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -135,8 +135,8 @@ async def list_async( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal(request, Optional[shared.TaskAuditListRequest]) - request = cast(Optional[shared.TaskAuditListRequest], request) + request = utils.unmarshal(request, shared.TaskAuditListRequest) + request = cast(shared.TaskAuditListRequest, request) req = self._build_request_async( method="POST", @@ -144,7 +144,7 @@ async def list_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -152,7 +152,7 @@ async def list_async( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, False, True, "json", Optional[shared.TaskAuditListRequest] + request, False, False, "json", shared.TaskAuditListRequest ), timeout_ms=timeout_ms, ) diff --git a/src/sdk/tasksearch.py b/src/sdk/tasksearch.py index d6fe31a5..319524f7 100644 --- a/src/sdk/tasksearch.py +++ b/src/sdk/tasksearch.py @@ -13,9 +13,7 @@ class TaskSearch(BaseSDK): def search( self, *, - request: Optional[ - Union[shared.TaskSearchRequest, shared.TaskSearchRequestTypedDict] - ] = None, + request: Union[shared.TaskSearchRequest, shared.TaskSearchRequestTypedDict], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -42,8 +40,8 @@ def search( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal(request, Optional[shared.TaskSearchRequest]) - request = cast(Optional[shared.TaskSearchRequest], request) + request = utils.unmarshal(request, shared.TaskSearchRequest) + request = cast(shared.TaskSearchRequest, request) req = self._build_request( method="POST", @@ -51,7 +49,7 @@ def search( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -59,7 +57,7 @@ def search( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, False, True, "json", Optional[shared.TaskSearchRequest] + request, False, False, "json", shared.TaskSearchRequest ), timeout_ms=timeout_ms, ) @@ -106,9 +104,7 @@ def search( async def search_async( self, *, - request: Optional[ - Union[shared.TaskSearchRequest, shared.TaskSearchRequestTypedDict] - ] = None, + request: Union[shared.TaskSearchRequest, shared.TaskSearchRequestTypedDict], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -135,8 +131,8 @@ async def search_async( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal(request, Optional[shared.TaskSearchRequest]) - request = cast(Optional[shared.TaskSearchRequest], request) + request = utils.unmarshal(request, shared.TaskSearchRequest) + request = cast(shared.TaskSearchRequest, request) req = self._build_request_async( method="POST", @@ -144,7 +140,7 @@ async def search_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -152,7 +148,7 @@ async def search_async( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, False, True, "json", Optional[shared.TaskSearchRequest] + request, False, False, "json", shared.TaskSearchRequest ), timeout_ms=timeout_ms, ) diff --git a/src/sdk/user.py b/src/sdk/user.py index 1f2b818d..84919c0b 100644 --- a/src/sdk/user.py +++ b/src/sdk/user.py @@ -622,7 +622,7 @@ def set_expiring_user_delegation_binding_by_admin( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -632,9 +632,9 @@ def set_expiring_user_delegation_binding_by_admin( get_serialized_body=lambda: utils.serialize_request_body( request.set_expiring_user_delegation_binding_by_admin_request, False, - True, + False, "json", - Optional[shared.SetExpiringUserDelegationBindingByAdminRequest], + shared.SetExpiringUserDelegationBindingByAdminRequest, ), timeout_ms=timeout_ms, ) @@ -729,7 +729,7 @@ async def set_expiring_user_delegation_binding_by_admin_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -739,9 +739,9 @@ async def set_expiring_user_delegation_binding_by_admin_async( get_serialized_body=lambda: utils.serialize_request_body( request.set_expiring_user_delegation_binding_by_admin_request, False, - True, + False, "json", - Optional[shared.SetExpiringUserDelegationBindingByAdminRequest], + shared.SetExpiringUserDelegationBindingByAdminRequest, ), timeout_ms=timeout_ms, ) diff --git a/src/sdk/usersearch.py b/src/sdk/usersearch.py index 5feab527..3e73e044 100644 --- a/src/sdk/usersearch.py +++ b/src/sdk/usersearch.py @@ -14,9 +14,7 @@ class UserSearch(BaseSDK): def search( self, *, - request: Optional[ - Union[shared.SearchUsersRequest, shared.SearchUsersRequestTypedDict] - ] = None, + request: Union[shared.SearchUsersRequest, shared.SearchUsersRequestTypedDict], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -43,8 +41,8 @@ def search( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal(request, Optional[shared.SearchUsersRequest]) - request = cast(Optional[shared.SearchUsersRequest], request) + request = utils.unmarshal(request, shared.SearchUsersRequest) + request = cast(shared.SearchUsersRequest, request) req = self._build_request( method="POST", @@ -52,7 +50,7 @@ def search( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -60,7 +58,7 @@ def search( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, False, True, "json", Optional[shared.SearchUsersRequest] + request, False, False, "json", shared.SearchUsersRequest ), timeout_ms=timeout_ms, ) @@ -139,9 +137,7 @@ def next_func() -> Optional[operations.C1APIUserV1UserSearchSearchResponse]: async def search_async( self, *, - request: Optional[ - Union[shared.SearchUsersRequest, shared.SearchUsersRequestTypedDict] - ] = None, + request: Union[shared.SearchUsersRequest, shared.SearchUsersRequestTypedDict], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -168,8 +164,8 @@ async def search_async( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal(request, Optional[shared.SearchUsersRequest]) - request = cast(Optional[shared.SearchUsersRequest], request) + request = utils.unmarshal(request, shared.SearchUsersRequest) + request = cast(shared.SearchUsersRequest, request) req = self._build_request_async( method="POST", @@ -177,7 +173,7 @@ async def search_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -185,7 +181,7 @@ async def search_async( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, False, True, "json", Optional[shared.SearchUsersRequest] + request, False, False, "json", shared.SearchUsersRequest ), timeout_ms=timeout_ms, ) diff --git a/src/sdk/webhooks.py b/src/sdk/webhooks.py index ce13040a..69851771 100644 --- a/src/sdk/webhooks.py +++ b/src/sdk/webhooks.py @@ -13,12 +13,10 @@ class Webhooks(BaseSDK): def create( self, *, - request: Optional[ - Union[ - shared.WebhooksServiceCreateRequest, - shared.WebhooksServiceCreateRequestTypedDict, - ] - ] = None, + request: Union[ + shared.WebhooksServiceCreateRequest, + shared.WebhooksServiceCreateRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -45,10 +43,8 @@ def create( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal( - request, Optional[shared.WebhooksServiceCreateRequest] - ) - request = cast(Optional[shared.WebhooksServiceCreateRequest], request) + request = utils.unmarshal(request, shared.WebhooksServiceCreateRequest) + request = cast(shared.WebhooksServiceCreateRequest, request) req = self._build_request( method="POST", @@ -56,7 +52,7 @@ def create( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -64,11 +60,7 @@ def create( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, - False, - True, - "json", - Optional[shared.WebhooksServiceCreateRequest], + request, False, False, "json", shared.WebhooksServiceCreateRequest ), timeout_ms=timeout_ms, ) @@ -115,12 +107,10 @@ def create( async def create_async( self, *, - request: Optional[ - Union[ - shared.WebhooksServiceCreateRequest, - shared.WebhooksServiceCreateRequestTypedDict, - ] - ] = None, + request: Union[ + shared.WebhooksServiceCreateRequest, + shared.WebhooksServiceCreateRequestTypedDict, + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -147,10 +137,8 @@ async def create_async( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal( - request, Optional[shared.WebhooksServiceCreateRequest] - ) - request = cast(Optional[shared.WebhooksServiceCreateRequest], request) + request = utils.unmarshal(request, shared.WebhooksServiceCreateRequest) + request = cast(shared.WebhooksServiceCreateRequest, request) req = self._build_request_async( method="POST", @@ -158,7 +146,7 @@ async def create_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -166,11 +154,7 @@ async def create_async( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, - False, - True, - "json", - Optional[shared.WebhooksServiceCreateRequest], + request, False, False, "json", shared.WebhooksServiceCreateRequest ), timeout_ms=timeout_ms, ) @@ -258,7 +242,7 @@ def delete( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -268,9 +252,9 @@ def delete( get_serialized_body=lambda: utils.serialize_request_body( request.webhooks_service_delete_request, False, - True, + False, "json", - Optional[shared.WebhooksServiceDeleteRequest], + shared.WebhooksServiceDeleteRequest, ), timeout_ms=timeout_ms, ) @@ -358,7 +342,7 @@ async def delete_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -368,9 +352,9 @@ async def delete_async( get_serialized_body=lambda: utils.serialize_request_body( request.webhooks_service_delete_request, False, - True, + False, "json", - Optional[shared.WebhooksServiceDeleteRequest], + shared.WebhooksServiceDeleteRequest, ), timeout_ms=timeout_ms, ) @@ -830,7 +814,7 @@ def test( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -840,9 +824,9 @@ def test( get_serialized_body=lambda: utils.serialize_request_body( request.webhooks_service_test_request, False, - True, + False, "json", - Optional[shared.WebhooksServiceTestRequest], + shared.WebhooksServiceTestRequest, ), timeout_ms=timeout_ms, ) @@ -930,7 +914,7 @@ async def test_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -940,9 +924,9 @@ async def test_async( get_serialized_body=lambda: utils.serialize_request_body( request.webhooks_service_test_request, False, - True, + False, "json", - Optional[shared.WebhooksServiceTestRequest], + shared.WebhooksServiceTestRequest, ), timeout_ms=timeout_ms, ) @@ -1030,7 +1014,7 @@ def update( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -1040,9 +1024,9 @@ def update( get_serialized_body=lambda: utils.serialize_request_body( request.webhooks_service_update_request, False, - True, + False, "json", - Optional[shared.WebhooksServiceUpdateRequest], + shared.WebhooksServiceUpdateRequest, ), timeout_ms=timeout_ms, ) @@ -1130,7 +1114,7 @@ async def update_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", @@ -1140,9 +1124,9 @@ async def update_async( get_serialized_body=lambda: utils.serialize_request_body( request.webhooks_service_update_request, False, - True, + False, "json", - Optional[shared.WebhooksServiceUpdateRequest], + shared.WebhooksServiceUpdateRequest, ), timeout_ms=timeout_ms, ) diff --git a/src/sdk/webhookssearch.py b/src/sdk/webhookssearch.py index 6b62a357..68bad64f 100644 --- a/src/sdk/webhookssearch.py +++ b/src/sdk/webhookssearch.py @@ -14,9 +14,9 @@ class WebhooksSearch(BaseSDK): def search( self, *, - request: Optional[ - Union[shared.WebhooksSearchRequest, shared.WebhooksSearchRequestTypedDict] - ] = None, + request: Union[ + shared.WebhooksSearchRequest, shared.WebhooksSearchRequestTypedDict + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -43,8 +43,8 @@ def search( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal(request, Optional[shared.WebhooksSearchRequest]) - request = cast(Optional[shared.WebhooksSearchRequest], request) + request = utils.unmarshal(request, shared.WebhooksSearchRequest) + request = cast(shared.WebhooksSearchRequest, request) req = self._build_request( method="POST", @@ -52,7 +52,7 @@ def search( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -60,7 +60,7 @@ def search( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, False, True, "json", Optional[shared.WebhooksSearchRequest] + request, False, False, "json", shared.WebhooksSearchRequest ), timeout_ms=timeout_ms, ) @@ -131,9 +131,9 @@ def next_func() -> ( async def search_async( self, *, - request: Optional[ - Union[shared.WebhooksSearchRequest, shared.WebhooksSearchRequestTypedDict] - ] = None, + request: Union[ + shared.WebhooksSearchRequest, shared.WebhooksSearchRequestTypedDict + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -160,8 +160,8 @@ async def search_async( base_url = self._get_url(base_url, url_variables) if not isinstance(request, BaseModel): - request = utils.unmarshal(request, Optional[shared.WebhooksSearchRequest]) - request = cast(Optional[shared.WebhooksSearchRequest], request) + request = utils.unmarshal(request, shared.WebhooksSearchRequest) + request = cast(shared.WebhooksSearchRequest, request) req = self._build_request_async( method="POST", @@ -169,7 +169,7 @@ async def search_async( base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=False, request_has_query_params=True, user_agent_header="user-agent", @@ -177,7 +177,7 @@ async def search_async( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, False, True, "json", Optional[shared.WebhooksSearchRequest] + request, False, False, "json", shared.WebhooksSearchRequest ), timeout_ms=timeout_ms, ) diff --git a/tests/test_access_conflict.py b/tests/test_access_conflict.py index e0600f9f..780b259a 100644 --- a/tests/test_access_conflict.py +++ b/tests/test_access_conflict.py @@ -25,10 +25,15 @@ def test_create_monitor_should_return_status_200_and_valid_response(self): assert get_res.status_code == 200 assert get_res.conflict_monitor is not None - + # Delete the monitor - delete_req = operations.C1APIAccessconflictV1AccessConflictServiceDeleteMonitorRequest(id=monitor_id) - delete_res = sdk_instance.access_conflict.delete_monitor(request=delete_req) - + delete_req = operations.C1APIAccessconflictV1AccessConflictServiceDeleteMonitorRequest( + id=monitor_id, + conflict_monitor_delete_request=shared.ConflictMonitorDeleteRequest()) + delete_res = sdk_instance.access_conflict.delete_monitor( + request=delete_req, + ) + assert delete_res.status_code == 200 assert delete_res.conflict_monitor_delete_response is not None + diff --git a/tests/test_app_report_action.py b/tests/test_app_report_action.py index 49cf5011..ed9af3f8 100644 --- a/tests/test_app_report_action.py +++ b/tests/test_app_report_action.py @@ -2,6 +2,7 @@ import os from conftest import sdk_instance from sdk.models import operations +from sdk.models import shared class TestAppReportAction: @@ -13,7 +14,9 @@ def test_generate_report_should_return_status_200_and_valid_response(self): if not app_id: pytest.skip("C1_APP_ID not set") - req = operations.C1APIAppV1AppReportActionServiceGenerateReportRequest(app_id=app_id) + req = operations.C1APIAppV1AppReportActionServiceGenerateReportRequest( + app_id=app_id, + app_actions_service_generate_report_request=shared.AppActionsServiceGenerateReportRequest()) res = sdk_instance.app_report_action.generate_report(request=req) assert res is not None diff --git a/tests/test_apps.py b/tests/test_apps.py index cb3b0bca..c41e149e 100644 --- a/tests/test_apps.py +++ b/tests/test_apps.py @@ -33,7 +33,9 @@ def test_create_and_delete_app(self): if app_id: # Delete the app - delete_req = operations.C1APIAppV1AppsDeleteRequest(id=app_id) + delete_req = operations.C1APIAppV1AppsDeleteRequest( + id=app_id, + delete_app_request=shared.DeleteAppRequest()) delete_res = sdk_instance.apps.delete(request=delete_req) assert delete_res is not None diff --git a/tests/test_automation_execution_search.py b/tests/test_automation_execution_search.py index 56b0e33d..77b16168 100644 --- a/tests/test_automation_execution_search.py +++ b/tests/test_automation_execution_search.py @@ -1,4 +1,4 @@ -from conftest import sdk_instance +from conftest import sdk_instance, shared class TestAutomationExecutionSearch: @@ -6,7 +6,7 @@ class TestAutomationExecutionSearch: def test_search_automation_executions_should_return_status_200_and_valid_response(self): """Test that search_automation_executions returns status 200 and valid response.""" - res = sdk_instance.automation_execution_search.search_automation_executions() + res = sdk_instance.automation_execution_search.search_automation_executions(request=shared.SearchAutomationExecutionsRequest()) assert res is not None assert res.status_code == 200 @@ -14,7 +14,7 @@ def test_search_automation_executions_should_return_status_200_and_valid_respons def test_search_automation_executions_with_page_size(self): """Test automation execution search with specific page size.""" - res = sdk_instance.automation_execution_search.search_automation_executions() + res = sdk_instance.automation_execution_search.search_automation_executions(request=shared.SearchAutomationExecutionsRequest()) assert res is not None assert res.status_code == 200