You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// BasicTypeEnum Operations that can be used on filters
85
99
typeBasicTypeEnumstring
86
100
@@ -2545,15 +2559,17 @@ var AllCustomActionsTriggerDefinitionAccessControlEnum = []string{
2545
2559
typeCustomActionsTriggerEventStatusEnumstring
2546
2560
2547
2561
var (
2548
-
CustomActionsTriggerEventStatusEnumFailureCustomActionsTriggerEventStatusEnum="FAILURE"// The action failed to complete
2549
-
CustomActionsTriggerEventStatusEnumPendingCustomActionsTriggerEventStatusEnum="PENDING"// A result has not been determined
2550
-
CustomActionsTriggerEventStatusEnumSuccessCustomActionsTriggerEventStatusEnum="SUCCESS"// The action completed successfully
2562
+
CustomActionsTriggerEventStatusEnumFailureCustomActionsTriggerEventStatusEnum="FAILURE"// The action failed to complete
2563
+
CustomActionsTriggerEventStatusEnumPendingCustomActionsTriggerEventStatusEnum="PENDING"// A result has not been determined
2564
+
CustomActionsTriggerEventStatusEnumPendingApprovalCustomActionsTriggerEventStatusEnum="PENDING_APPROVAL"// The action is waiting for an approval before it executes
2565
+
CustomActionsTriggerEventStatusEnumSuccessCustomActionsTriggerEventStatusEnum="SUCCESS"// The action completed successfully
2551
2566
)
2552
2567
2553
2568
// All CustomActionsTriggerEventStatusEnum as []string
Copy file name to clipboardExpand all lines: input.go
+16-5
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,13 @@ type AliasDeleteInput struct {
33
33
OwnerTypeAliasOwnerTypeEnum`json:"ownerType" yaml:"ownerType" example:"domain"`// The resource the alias you wish to delete belongs to (Required)
34
34
}
35
35
36
+
// ApprovalConfigInput Config for approval
37
+
typeApprovalConfigInputstruct {
38
+
ApprovalRequired*bool`json:"approvalRequired,omitempty" yaml:"approvalRequired,omitempty" example:"false"`// Flag indicating approval is required (Optional)
39
+
Teams*[]IdentifierInput`json:"teams,omitempty" yaml:"teams,omitempty" example:"[]"`// Teams that can approve (Optional)
40
+
Users*[]UserIdentifierInput`json:"users,omitempty" yaml:"users,omitempty" example:"[]"`// Users that can approve (Optional)
41
+
}
42
+
36
43
// AwsIntegrationInput Specifies the input fields used to create and update an AWS integration
37
44
typeAwsIntegrationInputstruct {
38
45
AwsTagsOverrideOwnership*Nullable[bool] `json:"awsTagsOverrideOwnership,omitempty" yaml:"awsTagsOverrideOwnership,omitempty" example:"false"`// Allow tags imported from AWS to override ownership set in OpsLevel directly (Optional)
@@ -651,7 +658,7 @@ type ComponentTypeIconInput struct {
651
658
// ComponentTypeInput Specifies the input fields used to create a component type
652
659
typeComponentTypeInputstruct {
653
660
Alias*Nullable[string] `json:"alias,omitempty" yaml:"alias,omitempty" example:"example_value"`// The unique alias of the component type (Optional)
654
-
Description*Nullable[string] `json:"description,omitempty" yaml:"description,omitempty" example:"example_value"`// The unique alias of the component type (Optional)
661
+
Description*Nullable[string] `json:"description,omitempty" yaml:"description,omitempty" example:"example_value"`// The description of the component type (Optional)
655
662
Icon*ComponentTypeIconInput`json:"icon,omitempty" yaml:"icon,omitempty"`// The icon associated with the component type (Optional)
656
663
Name*Nullable[string] `json:"name,omitempty" yaml:"name,omitempty" example:"example_value"`// The unique name of the component type (Optional)
657
664
Properties*[]ComponentTypePropertyDefinitionInput`json:"properties,omitempty" yaml:"properties,omitempty" example:"[]"`// A list of property definitions for the component type (Optional)
@@ -664,7 +671,7 @@ type ComponentTypePropertyDefinitionInput struct {
664
671
Descriptionstring`json:"description" yaml:"description" example:"example_value"`// The description of the property definition (Required)
665
672
LockedStatus*PropertyLockedStatusEnum`json:"lockedStatus,omitempty" yaml:"lockedStatus,omitempty" example:"ui_locked"`// Restricts what sources are able to assign values to this property (Optional)
666
673
Namestring`json:"name" yaml:"name" example:"example_value"`// The name of the property definition (Required)
667
-
PropertyDisplayStatusPropertyDisplayStatusEnum`json:"propertyDisplayStatus" yaml:"propertyDisplayStatus" example:"hidden"`// The display status of the custom property on service pages (Required)
674
+
PropertyDisplayStatusPropertyDisplayStatusEnum`json:"propertyDisplayStatus" yaml:"propertyDisplayStatus" example:"hidden"`// The UI display status of the custom property (Required)
668
675
SchemaJSONSchema`json:"schema" yaml:"schema" example:"SCHEMA_TBD"`// The schema of the property definition (Required)
669
676
}
670
677
@@ -707,9 +714,10 @@ type ContactUpdateInput struct {
AccessControl*CustomActionsTriggerDefinitionAccessControlEnum`json:"accessControl,omitempty" yaml:"accessControl,omitempty" example:"admins"`// The set of users that should be able to use the trigger definition (Optional)
709
716
ActionId*Nullable[ID] `json:"actionId,omitempty" yaml:"actionId,omitempty" example:"Z2lkOi8vc2VydmljZS8xMjM0NTY3ODk"`// The action that will be triggered by the Trigger Definition (Optional)
717
+
ApprovalConfig*ApprovalConfigInput`json:"approvalConfig,omitempty" yaml:"approvalConfig,omitempty"`// Config for approval of action (Optional)
710
718
Description*Nullable[string] `json:"description,omitempty" yaml:"description,omitempty" example:"example_value"`// The description of what the Trigger Definition will do, supports Markdown (Optional)
711
-
EntityType*CustomActionsEntityTypeEnum`json:"entityType,omitempty" yaml:"entityType,omitempty" example:"GLOBAL"`// The entity type to associate with the Trigger Definition (Optional)
712
719
ExtendedTeamAccess*[]IdentifierInput`json:"extendedTeamAccess,omitempty" yaml:"extendedTeamAccess,omitempty" example:"[]"`// The set of additional teams who can invoke this Trigger Definition (Optional)
720
+
EntityType*CustomActionsEntityTypeEnum`json:"entityType,omitempty" yaml:"entityType,omitempty" example:"GLOBAL"`// The entity type to associate with the Trigger Definition (Optional Default: SERVICE)
713
721
FilterId*Nullable[ID] `json:"filterId,omitempty" yaml:"filterId,omitempty" example:"Z2lkOi8vc2VydmljZS8xMjM0NTY3ODk"`// The filter that will determine which services apply to the Trigger Definition (Optional)
714
722
ManualInputsDefinition*Nullable[string] `json:"manualInputsDefinition,omitempty" yaml:"manualInputsDefinition,omitempty" example:"example_value"`// The YAML definition of custom inputs for the Trigger Definition (Optional)
715
723
Namestring`json:"name" yaml:"name" example:"example_value"`// The name of the Trigger Definition (Required)
@@ -723,9 +731,10 @@ type CustomActionsTriggerDefinitionUpdateInput struct {
723
731
AccessControl*CustomActionsTriggerDefinitionAccessControlEnum`json:"accessControl,omitempty" yaml:"accessControl,omitempty" example:"admins"`// The set of users that should be able to use the trigger definition (Optional)
724
732
Action*CustomActionsWebhookActionUpdateInput`json:"action,omitempty" yaml:"action,omitempty"`// The details for the action to update for the Trigger Definition (Optional)
725
733
ActionId*Nullable[ID] `json:"actionId,omitempty" yaml:"actionId,omitempty" example:"Z2lkOi8vc2VydmljZS8xMjM0NTY3ODk"`// The action that will be triggered by the Trigger Definition (Optional)
734
+
ApprovalConfig*ApprovalConfigInput`json:"approvalConfig,omitempty" yaml:"approvalConfig,omitempty"`// Config for approval of action (Optional)
726
735
Description*Nullable[string] `json:"description,omitempty" yaml:"description,omitempty" example:"example_value"`// The description of what the Trigger Definition will do, support Markdown (Optional)
727
-
EntityType*CustomActionsEntityTypeEnum`json:"entityType,omitempty" yaml:"entityType,omitempty" example:"GLOBAL"`// The entity type to associate with the Trigger Definition (Optional)
728
736
ExtendedTeamAccess*[]IdentifierInput`json:"extendedTeamAccess,omitempty" yaml:"extendedTeamAccess,omitempty" example:"[]"`// The set of additional teams who can invoke this Trigger Definition (Optional)
737
+
EntityType*CustomActionsEntityTypeEnum`json:"entityType,omitempty" yaml:"entityType,omitempty" example:"GLOBAL"`// The entity type to associate with the Trigger Definition (Optional Default: SERVICE)
729
738
FilterId*Nullable[ID] `json:"filterId,omitempty" yaml:"filterId,omitempty" example:"Z2lkOi8vc2VydmljZS8xMjM0NTY3ODk"`// The filter that will determine which services apply to the Trigger Definition (Optional)
730
739
IdID`json:"id" yaml:"id" example:"Z2lkOi8vc2VydmljZS8xMjM0NTY3ODk"`// The ID of the trigger definition (Required)
731
740
ManualInputsDefinition*Nullable[string] `json:"manualInputsDefinition,omitempty" yaml:"manualInputsDefinition,omitempty" example:"example_value"`// The YAML definition of custom inputs for the Trigger Definition (Optional)
@@ -737,6 +746,7 @@ type CustomActionsTriggerDefinitionUpdateInput struct {
737
746
738
747
// CustomActionsWebhookActionCreateInput Specifies the input fields used in the `customActionsWebhookActionCreate` mutation
739
748
typeCustomActionsWebhookActionCreateInputstruct {
749
+
Async*bool`json:"async,omitempty" yaml:"async,omitempty" example:"false"`// Whether the action expects an additional, asynchronous response upon completion (Required Default: false)
740
750
Description*Nullable[string] `json:"description,omitempty" yaml:"description,omitempty" example:"example_value"`// The description that gets assigned to the Webhook Action you're creating (Optional)
741
751
Headers*JSON`json:"headers,omitempty" yaml:"headers,omitempty" example:"{\"name\":\"my-big-query\",\"engine\":\"BigQuery\",\"endpoint\":\"https://google.com\",\"replica\":false}"`// HTTP headers be passed along with your Webhook when triggered (Optional)
742
752
HttpMethodCustomActionsHttpMethodEnum`json:"httpMethod" yaml:"httpMethod" example:"DELETE"`// HTTP used when the Webhook is triggered. Either POST or PUT (Required)
@@ -747,6 +757,7 @@ type CustomActionsWebhookActionCreateInput struct {
747
757
748
758
// CustomActionsWebhookActionUpdateInput Inputs that specify the details of a Webhook Action you wish to update
749
759
typeCustomActionsWebhookActionUpdateInputstruct {
760
+
Async*bool`json:"async,omitempty" yaml:"async,omitempty" example:"false"`// Whether the action expects an additional, asynchronous response upon completion (Optional)
750
761
Description*Nullable[string] `json:"description,omitempty" yaml:"description,omitempty" example:"example_value"`// The description that gets assigned to the Webhook Action you're creating (Optional)
751
762
Headers*JSON`json:"headers,omitempty" yaml:"headers,omitempty" example:"{\"name\":\"my-big-query\",\"engine\":\"BigQuery\",\"endpoint\":\"https://google.com\",\"replica\":false}"`// HTTP headers be passed along with your Webhook when triggered (Optional)
752
763
HttpMethod*CustomActionsHttpMethodEnum`json:"httpMethod,omitempty" yaml:"httpMethod,omitempty" example:"DELETE"`// HTTP used when the Webhook is triggered. Either POST or PUT (Optional)
@@ -934,7 +945,7 @@ type PropertyDefinitionInput struct {
934
945
Description*Nullable[string] `json:"description,omitempty" yaml:"description,omitempty" example:"example_value"`// The description of the property definition (Optional)
935
946
LockedStatus*PropertyLockedStatusEnum`json:"lockedStatus,omitempty" yaml:"lockedStatus,omitempty" example:"ui_locked"`// Restricts what sources are able to assign values to this property (Optional)
936
947
Name*Nullable[string] `json:"name,omitempty" yaml:"name,omitempty" example:"example_value"`// The name of the property definition (Optional)
937
-
PropertyDisplayStatus*PropertyDisplayStatusEnum`json:"propertyDisplayStatus,omitempty" yaml:"propertyDisplayStatus,omitempty" example:"hidden"`// The display status of the custom property on service pages (Optional)
948
+
PropertyDisplayStatus*PropertyDisplayStatusEnum`json:"propertyDisplayStatus,omitempty" yaml:"propertyDisplayStatus,omitempty" example:"hidden"`// The UI display status of the custom property (Optional)
938
949
Schema*JSONSchema`json:"schema,omitempty" yaml:"schema,omitempty" example:"SCHEMA_TBD"`// The schema of the property definition (Optional)
0 commit comments