Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
356 changes: 350 additions & 6 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

22 changes: 15 additions & 7 deletions .speakeasy/logs/naming.log
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down
14 changes: 8 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,27 +1,29 @@
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
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
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:
Expand Down
2 changes: 2 additions & 0 deletions .speakeasy/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
26 changes: 19 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand All @@ -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

Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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

Expand Down
8 changes: 6 additions & 2 deletions USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
| 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 |
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
| 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 |
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
| 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 |
Loading