@@ -744,7 +744,7 @@ def add_marking_definition(self, **kwargs):
744
744
* (marking_definition_id , id ),
745
745
)
746
746
query = """
747
- mutation StixCoreRelationshipAddRelation($id: ID!, $input: StixMetaRelationshipAddInput ) {
747
+ mutation StixCoreRelationshipAddRelation($id: ID!, $input: StixRefRelationshipAddInput! ) {
748
748
stixCoreRelationshipEdit(id: $id) {
749
749
relationAdd(input: $input) {
750
750
id
@@ -831,7 +831,7 @@ def add_label(self, **kwargs):
831
831
"Adding label {%s} to stix-core-relationship {%s}" , label_id , id
832
832
)
833
833
query = """
834
- mutation StixCoreRelationshipAddRelation($id: ID!, $input: StixMetaRelationshipAddInput ) {
834
+ mutation StixCoreRelationshipAddRelation($id: ID!, $input: StixRefRelationshipAddInput! ) {
835
835
stixCoreRelationshipEdit(id: $id) {
836
836
relationAdd(input: $input) {
837
837
id
@@ -871,7 +871,7 @@ def add_external_reference(self, **kwargs):
871
871
* (external_reference_id , id ),
872
872
)
873
873
query = """
874
- mutation StixCoreRelationshipEditRelationAdd($id: ID!, $input: StixMetaRelationshipAddInput ) {
874
+ mutation StixCoreRelationshipEditRelationAdd($id: ID!, $input: StixRefRelationshipAddInput! ) {
875
875
stixCoreRelationshipEdit(id: $id) {
876
876
relationAdd(input: $input) {
877
877
id
@@ -949,7 +949,7 @@ def add_kill_chain_phase(self, **kwargs):
949
949
* (kill_chain_phase_id , id ),
950
950
)
951
951
query = """
952
- mutation StixCoreRelationshipAddRelation($id: ID!, $input: StixMetaRelationshipAddInput ) {
952
+ mutation StixCoreRelationshipAddRelation($id: ID!, $input: StixRefRelationshipAddInput! ) {
953
953
stixCoreRelationshipEdit(id: $id) {
954
954
relationAdd(input: $input) {
955
955
id
@@ -1076,7 +1076,7 @@ def update_created_by(self, **kwargs):
1076
1076
if identity_id is not None :
1077
1077
# Add the new relation
1078
1078
query = """
1079
- mutation StixCoreRelationshipEdit($id: ID!, $input: StixMetaRelationshipAddInput ) {
1079
+ mutation StixCoreRelationshipEdit($id: ID!, $input: StixRefRelationshipAddInput! ) {
1080
1080
stixCoreRelationshipEdit(id: $id) {
1081
1081
relationAdd(input: $input) {
1082
1082
id
0 commit comments