github.com/kyma-incubator/compass/components/director@v0.0.0-20230623144113-d764f56ff805/pkg/graphql/schema.graphql (about) 1 """ 2 Async directive is added to mutations which are capable of being executed in asynchronious matter 3 """ 4 directive @async(operationType: OperationType!, webhookType: WebhookType, idField: String) on FIELD_DEFINITION 5 """ 6 HasScenario directive is added to queries and mutations to ensure that runtimes can only access resources which are in the same scenario as them 7 """ 8 directive @hasScenario(applicationProvider: String!, idField: String!) on FIELD_DEFINITION 9 """ 10 HasScopes directive is added automatically to every query and mutation by scopesdecorator plugin that is triggerred by gqlgen.sh script. 11 """ 12 directive @hasScopes(path: String!) on FIELD_DEFINITION | INPUT_FIELD_DEFINITION 13 """ 14 Sanitize directive marks mutation arguments that will be validated. 15 """ 16 directive @sanitize(path: String!) on FIELD_DEFINITION 17 """ 18 SynchronizeApplications directive is added to mutations that create applications or tenants in other to synchronise the tenant access. 19 """ 20 directive @synchronizeApplicationTenancy(eventType: EventType!) on FIELD_DEFINITION 21 """ 22 Validate directive marks mutation arguments that will be validated. 23 """ 24 directive @validate on ARGUMENT_DEFINITION 25 scalar Any 26 27 scalar CLOB 28 29 scalar HttpHeaders 30 31 scalar HttpHeadersSerialized 32 33 """ 34 Stringified JSON 35 """ 36 scalar JSON 37 38 """ 39 Stringified JSON 40 """ 41 scalar JSONSchema 42 43 scalar Labels 44 45 scalar PageCursor 46 47 scalar QueryParams 48 49 scalar QueryParamsSerialized 50 51 scalar Timestamp 52 53 enum APISpecType { 54 ODATA 55 OPEN_API 56 } 57 58 enum ApplicationStatusCondition { 59 INITIAL 60 CONNECTED 61 FAILED 62 CREATING 63 CREATE_FAILED 64 CREATE_SUCCEEDED 65 UPDATING 66 UPDATE_FAILED 67 UPDATE_SUCCEEDED 68 DELETING 69 DELETE_FAILED 70 DELETE_SUCCEEDED 71 UNPAIRING 72 UNPAIR_FAILED 73 } 74 75 enum ApplicationTemplateAccessLevel { 76 GLOBAL 77 } 78 79 enum ArtifactType { 80 SUBSCRIPTION 81 SERVICE_INSTANCE 82 ENVIRONMENT_INSTANCE 83 } 84 85 enum BundleInstanceAuthSetStatusConditionInput { 86 SUCCEEDED 87 FAILED 88 } 89 90 enum BundleInstanceAuthStatusCondition { 91 """ 92 When creating, before Application sets the credentials 93 """ 94 PENDING 95 SUCCEEDED 96 FAILED 97 """ 98 When Runtime requests deletion and Application has to revoke the credentials 99 """ 100 UNUSED 101 } 102 103 enum ConstraintScope { 104 GLOBAL 105 FORMATION_TYPE 106 } 107 108 enum ConstraintType { 109 PRE 110 POST 111 UI 112 } 113 114 enum DocumentFormat { 115 MARKDOWN 116 } 117 118 enum EventSpecType { 119 ASYNC_API 120 } 121 122 enum EventType { 123 NEW_APPLICATION 124 NEW_SINGLE_TENANT 125 NEW_MULTIPLE_TENANTS 126 } 127 128 enum FetchMode { 129 SINGLE 130 BUNDLE 131 INDEX 132 } 133 134 enum FetchRequestStatusCondition { 135 INITIAL 136 SUCCEEDED 137 FAILED 138 } 139 140 enum FormationAssignmentType { 141 APPLICATION 142 RUNTIME 143 RUNTIME_CONTEXT 144 } 145 146 enum FormationObjectType { 147 APPLICATION 148 TENANT 149 RUNTIME 150 RUNTIME_CONTEXT 151 } 152 153 enum FormationStatusCondition { 154 IN_PROGRESS 155 ERROR 156 READY 157 } 158 159 enum HealthCheckStatusCondition { 160 SUCCEEDED 161 FAILED 162 } 163 164 enum HealthCheckType { 165 MANAGEMENT_PLANE_APPLICATION_HEALTHCHECK 166 } 167 168 enum OneTimeTokenType { 169 Runtime 170 Application 171 } 172 173 enum OperationMode { 174 SYNC 175 ASYNC 176 } 177 178 enum OperationType { 179 CREATE 180 UPDATE 181 DELETE 182 } 183 184 enum ResourceType { 185 APPLICATION 186 RUNTIME 187 RUNTIME_CONTEXT 188 TENANT 189 FORMATION 190 } 191 192 enum RuntimeStatusCondition { 193 INITIAL 194 PROVISIONING 195 CONNECTED 196 FAILED 197 } 198 199 enum SpecFormat { 200 YAML 201 JSON 202 XML 203 } 204 205 enum SystemAuthReferenceType { 206 APPLICATION 207 RUNTIME 208 INTEGRATION_SYSTEM 209 } 210 211 enum TargetOperation { 212 ASSIGN_FORMATION 213 UNASSIGN_FORMATION 214 CREATE_FORMATION 215 DELETE_FORMATION 216 GENERATE_FORMATION_ASSIGNMENT_NOTIFICATION 217 GENERATE_FORMATION_NOTIFICATION 218 LOAD_FORMATIONS 219 SELECT_SYSTEMS_FOR_FORMATION 220 SEND_NOTIFICATION 221 NOTIFICATION_STATUS_RETURNED 222 } 223 224 enum TenantAccessObjectType { 225 APPLICATION 226 RUNTIME 227 RUNTIME_CONTEXT 228 } 229 230 enum ViewerType { 231 RUNTIME 232 APPLICATION 233 INTEGRATION_SYSTEM 234 USER 235 } 236 237 enum WebhookMode { 238 SYNC 239 ASYNC 240 ASYNC_CALLBACK 241 } 242 243 enum WebhookType { 244 CONFIGURATION_CHANGED 245 APPLICATION_TENANT_MAPPING 246 REGISTER_APPLICATION 247 UNREGISTER_APPLICATION 248 OPEN_RESOURCE_DISCOVERY 249 FORMATION_LIFECYCLE 250 } 251 252 interface OneTimeToken { 253 token: String! 254 connectorURL: String! 255 used: Boolean! 256 expiresAt: Timestamp! 257 createdAt: Timestamp 258 usedAt: Timestamp 259 raw: String 260 rawEncoded: String 261 type: OneTimeTokenType 262 } 263 264 """ 265 Every query that implements pagination returns object that implements Pageable interface. 266 To specify page details, query specify two parameters: `first` and `after`. 267 `first` specify page size, `after` is a cursor for the next page. When requesting first page, set `after` to empty value. 268 For requesting next page, set `after` to `pageInfo.endCursor` returned from previous query. 269 """ 270 interface Pageable { 271 pageInfo: PageInfo! 272 totalCount: Int! 273 } 274 275 interface SystemAuth { 276 id: ID! 277 auth: Auth 278 type: SystemAuthReferenceType 279 tenantId: String 280 referenceObjectId: ID 281 } 282 283 union CredentialData = BasicCredentialData | OAuthCredentialData | CertificateOAuthCredentialData 284 285 input APIDefinitionInput { 286 """ 287 **Validation:** ASCII printable characters, max=100 288 """ 289 name: String! 290 """ 291 **Validation:** max=2000 292 """ 293 description: String 294 """ 295 **Validation:** valid URL, max=256 296 """ 297 targetURL: String! 298 """ 299 **Validation:** max=100 300 """ 301 group: String 302 spec: APISpecInput 303 version: VersionInput 304 } 305 306 """ 307 **Validation:** 308 - for ODATA type, accepted formats are XML and JSON, for OPEN_API accepted formats are YAML and JSON 309 - data or fetchRequest required 310 """ 311 input APISpecInput { 312 data: CLOB 313 type: APISpecType! 314 format: SpecFormat! 315 fetchRequest: FetchRequestInput 316 } 317 318 """ 319 **Validation:** provided placeholders' names are unique 320 """ 321 input ApplicationFromTemplateInput { 322 id: ID 323 """ 324 **Validation:** ASCII printable characters, max=100 325 """ 326 templateName: String! 327 """ 328 **Validation:** if provided, placeholdersPayload not required 329 """ 330 values: [TemplateValueInput] 331 """ 332 **Validation:** if provided, values not required 333 """ 334 placeholdersPayload: String 335 labels: Labels 336 } 337 338 input ApplicationJSONInput { 339 """ 340 **Validation:** Up to 36 characters long. Cannot start with a digit. The characters allowed in names are: digits (0-9), lower case letters (a-z),-, and . 341 """ 342 name: String! 343 """ 344 **Validation:** max=256 345 """ 346 providerName: String 347 """ 348 **Validation:** max=2000 349 """ 350 description: String 351 """ 352 **Validation:** label key is alphanumeric with underscore 353 """ 354 labels: Labels 355 webhooks: [WebhookInput!] 356 """ 357 **Validation:** valid URL, max=256 358 """ 359 healthCheckURL: String 360 """ 361 **Validation:** valid URL, max=256 362 """ 363 baseUrl: String 364 applicationNamespace: String 365 integrationSystemID: ID 366 statusCondition: ApplicationStatusCondition 367 localTenantID: String 368 bundles: [BundleCreateInput!] 369 } 370 371 input ApplicationRegisterInput { 372 """ 373 **Validation:** Up to 36 characters long. Cannot start with a digit. The characters allowed in names are: digits (0-9), lower case letters (a-z),-, and . 374 """ 375 name: String! 376 """ 377 **Validation:** max=256 378 """ 379 providerName: String 380 """ 381 **Validation:** max=2000 382 """ 383 description: String 384 """ 385 **Validation:** label key is alphanumeric with underscore 386 """ 387 labels: Labels 388 webhooks: [WebhookInput!] 389 """ 390 **Validation:** valid URL, max=256 391 """ 392 healthCheckURL: String 393 """ 394 **Validation:** valid URL, max=256 395 """ 396 baseUrl: String 397 applicationNamespace: String 398 integrationSystemID: ID 399 statusCondition: ApplicationStatusCondition 400 localTenantID: String @hasScopes(path: "graphql.input.application.localTenantID") 401 bundles: [BundleCreateInput!] 402 } 403 404 """ 405 **Validation:** provided placeholders' names are unique and used in applicationInput 406 """ 407 input ApplicationTemplateInput { 408 """ 409 **Validation:** ASCII printable characters, max=100 410 """ 411 name: String! 412 """ 413 **Validation:** max=2000 414 """ 415 webhooks: [WebhookInput!] 416 description: String 417 """ 418 **Validation:** label key is alphanumeric with underscore 419 """ 420 labels: Labels 421 applicationInput: ApplicationJSONInput! 422 placeholders: [PlaceholderDefinitionInput!] 423 accessLevel: ApplicationTemplateAccessLevel! 424 applicationNamespace: String 425 } 426 427 input ApplicationTemplateUpdateInput { 428 """ 429 **Validation:** ASCII printable characters, max=100 430 """ 431 name: String! 432 """ 433 **Validation:** max=2000 434 """ 435 webhooks: [WebhookInput!] 436 description: String 437 applicationInput: ApplicationJSONInput! 438 placeholders: [PlaceholderDefinitionInput!] 439 labels: Labels @hasScopes(path: "graphql.input.application_template.labels") 440 accessLevel: ApplicationTemplateAccessLevel! 441 applicationNamespace: String 442 } 443 444 input ApplicationUpdateInput { 445 """ 446 **Validation:** max=256 447 """ 448 providerName: String 449 """ 450 **Validation:** max=2000 451 """ 452 description: String 453 """ 454 **Validation:** valid URL, max=256 455 """ 456 healthCheckURL: String 457 baseUrl: String 458 applicationNamespace: String 459 integrationSystemID: ID 460 statusCondition: ApplicationStatusCondition 461 localTenantID: String @hasScopes(path: "graphql.input.application.localTenantID") 462 } 463 464 input AuthInput { 465 credential: CredentialDataInput 466 accessStrategy: String 467 """ 468 **Validation:** if provided, headers name and value required 469 """ 470 additionalHeaders: HttpHeaders @deprecated(reason: "Use `additionalHeadersSerialized`.") 471 additionalHeadersSerialized: HttpHeadersSerialized 472 """ 473 **Validation:** if provided, query parameters name and value required 474 """ 475 additionalQueryParams: QueryParams @deprecated(reason: "Use `additionalHeadersSerialized`.") 476 additionalQueryParamsSerialized: QueryParamsSerialized 477 requestAuth: CredentialRequestAuthInput 478 certCommonName: String 479 oneTimeToken: OneTimeTokenInput 480 } 481 482 input BasicCredentialDataInput { 483 username: String! 484 password: String! 485 } 486 487 input BundleCreateInput { 488 """ 489 **Validation:** ASCII printable characters, max=100 490 """ 491 name: String! 492 """ 493 **Validation:** max=2000 494 """ 495 description: String 496 instanceAuthRequestInputSchema: JSONSchema 497 defaultInstanceAuth: AuthInput 498 apiDefinitions: [APIDefinitionInput!] 499 eventDefinitions: [EventDefinitionInput!] 500 documents: [DocumentInput!] 501 correlationIDs: [String!] 502 } 503 504 input BundleInstanceAuthCreateInput { 505 context: JSON 506 inputParams: JSON 507 auth: AuthInput! 508 runtimeID: ID 509 runtimeContextID: ID 510 } 511 512 input BundleInstanceAuthRequestInput { 513 id: ID 514 """ 515 Context of BundleInstanceAuth - such as Runtime ID, namespace, etc. 516 """ 517 context: JSON 518 """ 519 **Validation:** JSON validated against bundle.instanceAuthRequestInputSchema 520 """ 521 inputParams: JSON 522 } 523 524 input BundleInstanceAuthSetInput { 525 """ 526 **Validation:** If not provided, the status has to be set. If provided, the status condition must be "SUCCEEDED". 527 """ 528 auth: AuthInput 529 """ 530 **Validation:** Optional if the auth is provided. 531 If the status condition is "FAILED", auth must be empty. 532 """ 533 status: BundleInstanceAuthStatusInput 534 } 535 536 input BundleInstanceAuthStatusInput { 537 condition: BundleInstanceAuthSetStatusConditionInput! = SUCCEEDED 538 """ 539 **Validation:** required, if condition is FAILED 540 """ 541 message: String! 542 """ 543 Example reasons: 544 - PendingNotification 545 - NotificationSent 546 - CredentialsProvided 547 - CredentialsNotProvided 548 - PendingDeletion 549 550 **Validation**: required, if condition is FAILED 551 """ 552 reason: String! 553 } 554 555 input BundleInstanceAuthUpdateInput { 556 context: JSON 557 inputParams: JSON 558 auth: AuthInput 559 } 560 561 input BundleUpdateInput { 562 """ 563 **Validation:** ASCII printable characters, max=100 564 """ 565 name: String! 566 """ 567 **Validation:** max=2000 568 """ 569 description: String 570 instanceAuthRequestInputSchema: JSONSchema 571 """ 572 While updating defaultInstanceAuth, existing BundleInstanceAuths are NOT updated. 573 """ 574 defaultInstanceAuth: AuthInput 575 } 576 577 input BusinessTenantMappingInput { 578 name: String! 579 externalTenant: String! 580 parent: String 581 subdomain: String 582 region: String 583 type: String! 584 provider: String! 585 licenseType: String 586 } 587 588 input CSRFTokenCredentialRequestAuthInput { 589 """ 590 **Validation:** valid URL 591 """ 592 tokenEndpointURL: String! 593 credential: CredentialDataInput 594 """ 595 **Validation:** if provided, headers name and value required 596 """ 597 additionalHeaders: HttpHeaders @deprecated(reason: "Use `additionalHeadersSerialized`.") 598 additionalHeadersSerialized: HttpHeadersSerialized 599 """ 600 **Validation:** if provided, query parameters name and value required 601 """ 602 additionalQueryParams: QueryParams @deprecated(reason: "Use `additionalQueryParamsSerialized`.") 603 additionalQueryParamsSerialized: QueryParamsSerialized 604 } 605 606 input CertificateOAuthCredentialDataInput { 607 clientId: ID! 608 certificate: String! 609 """ 610 **Validation:** valid URL 611 """ 612 url: String! 613 } 614 615 input CertificateSubjectMappingInput { 616 subject: String! 617 consumerType: String! 618 internalConsumerID: String 619 tenantAccessLevels: [String!]! 620 } 621 622 """ 623 **Validation:** basic or oauth or certificateOAuth field required 624 """ 625 input CredentialDataInput { 626 basic: BasicCredentialDataInput 627 oauth: OAuthCredentialDataInput 628 certificateOAuth: CertificateOAuthCredentialDataInput 629 } 630 631 input CredentialRequestAuthInput { 632 """ 633 **Validation:** required 634 """ 635 csrf: CSRFTokenCredentialRequestAuthInput 636 } 637 638 input DocumentInput { 639 """ 640 **Validation:** max=128 641 """ 642 title: String! 643 """ 644 **Validation:** max=128 645 """ 646 displayName: String! 647 """ 648 **Validation:** max=2000 649 """ 650 description: String! 651 format: DocumentFormat! 652 """ 653 **Validation:** max=256 654 """ 655 kind: String 656 data: CLOB 657 fetchRequest: FetchRequestInput 658 } 659 660 input EventDefinitionInput { 661 """ 662 **Validation:** ASCII printable characters, max=100 663 """ 664 name: String! 665 """ 666 **Validation:** max=2000 667 """ 668 description: String 669 spec: EventSpecInput 670 """ 671 **Validation:** max=36 672 """ 673 group: String 674 version: VersionInput 675 } 676 677 """ 678 **Validation:** 679 - data or fetchRequest required 680 - for ASYNC_API type, accepted formats are YAML and JSON 681 """ 682 input EventSpecInput { 683 data: CLOB 684 type: EventSpecType! 685 format: SpecFormat! 686 fetchRequest: FetchRequestInput 687 } 688 689 input FetchRequestInput { 690 """ 691 **Validation:** valid URL, max=256 692 """ 693 url: String! 694 """ 695 Currently unsupported, providing it will result in a failure 696 """ 697 auth: AuthInput 698 """ 699 Currently unsupported, providing it will result in a failure 700 """ 701 mode: FetchMode = SINGLE 702 """ 703 **Validation:** max=256 704 Currently unsupported, providing it will result in a failure 705 """ 706 filter: String 707 } 708 709 input FormationConstraintInput { 710 name: String! 711 constraintType: ConstraintType! 712 targetOperation: TargetOperation! 713 operator: String! 714 resourceType: ResourceType! 715 resourceSubtype: String! 716 inputTemplate: String! 717 constraintScope: ConstraintScope! 718 } 719 720 input FormationConstraintUpdateInput { 721 inputTemplate: String! 722 } 723 724 input FormationInput { 725 name: String! 726 templateName: String 727 """ 728 The initial state of the newly created formation. 729 It is used in specific use-cases by internal components that need to manipulate the formation notification engine's logic and hold the tenant mapping notifications until a certain external event happens. 730 """ 731 state: String @hasScopes(path: "graphql.input.formation.state") 732 } 733 734 input FormationTemplateInput { 735 name: String! 736 applicationTypes: [String!]! 737 runtimeTypes: [String!] 738 runtimeTypeDisplayName: String 739 runtimeArtifactKind: ArtifactType 740 webhooks: [WebhookInput!] 741 leadingProductIDs: [String!] 742 } 743 744 input IntegrationSystemInput { 745 """ 746 **Validation:** Up to 36 characters long. Cannot start with a digit. The characters allowed in names are: digits (0-9), lower case letters (a-z),-, and . 747 """ 748 name: String! 749 """ 750 **Validation:** max=2000 751 """ 752 description: String 753 } 754 755 input LabelDefinitionInput { 756 """ 757 **Validation:** max=256, alphanumeric chartacters and underscore 758 """ 759 key: String! 760 schema: JSONSchema 761 } 762 763 input LabelFilter { 764 """ 765 Label key. If query for the filter is not provided, returns every object with given label key regardless of its value. 766 """ 767 key: String! 768 """ 769 Optional SQL/JSON Path expression. If query is not provided, returns every object with given label key regardless of its value. 770 Currently only a limited subset of expressions is supported. 771 """ 772 query: String 773 } 774 775 input LabelInput { 776 """ 777 **Validation:** max=256, alphanumeric chartacters and underscore 778 """ 779 key: String! 780 value: Any! 781 } 782 783 input LabelSelectorInput { 784 key: String! 785 value: String! 786 } 787 788 input OAuthCredentialDataInput { 789 clientId: ID! 790 clientSecret: String! 791 """ 792 **Validation:** valid URL 793 """ 794 url: String! 795 } 796 797 input OneTimeTokenInput { 798 token: String! 799 connectorURL: String 800 used: Boolean! 801 expiresAt: Timestamp! 802 createdAt: Timestamp! 803 usedAt: Timestamp! 804 raw: String 805 rawEncoded: String 806 type: OneTimeTokenType 807 } 808 809 input PlaceholderDefinitionInput { 810 """ 811 **Validation:** Up to 36 characters long. Cannot start with a digit. The characters allowed in names are: digits (0-9), lower case letters (a-z),-, and . 812 """ 813 name: String! 814 """ 815 **Validation:** max=2000 816 """ 817 description: String 818 """ 819 **Validation:** max=2000 820 """ 821 jsonPath: String 822 optional: Boolean = false 823 } 824 825 input RuntimeContextInput { 826 """ 827 **Validation:** required max=512, alphanumeric chartacters and underscore 828 """ 829 key: String! 830 value: String! 831 } 832 833 input RuntimeRegisterInput { 834 """ 835 **Validation:** Up to 36 characters long. Cannot start with a digit. The characters allowed in names are: digits (0-9), lower case letters (a-z),-, and . 836 """ 837 name: String! 838 """ 839 **Validation:** max=2000 840 """ 841 description: String 842 """ 843 **Validation:** key: required, alphanumeric with underscore 844 """ 845 labels: Labels 846 webhooks: [WebhookInput!] 847 statusCondition: RuntimeStatusCondition 848 applicationNamespace: String 849 } 850 851 input RuntimeUpdateInput { 852 """ 853 **Validation:** Up to 36 characters long. Cannot start with a digit. The characters allowed in names are: digits (0-9), lower case letters (a-z),-, and . 854 """ 855 name: String! 856 """ 857 **Validation:** max=2000 858 """ 859 description: String 860 """ 861 **Validation:** key: required, alphanumeric with underscore 862 """ 863 labels: Labels 864 statusCondition: RuntimeStatusCondition 865 applicationNamespace: String 866 } 867 868 input SystemAuthUpdateInput { 869 auth: AuthInput 870 } 871 872 input TemplateValueInput { 873 """ 874 **Validation:** Up to 36 characters long. Cannot start with a digit. The characters allowed in names are: digits (0-9), lower case letters (a-z),-, and . 875 """ 876 placeholder: String! 877 value: String! 878 } 879 880 input TenantAccessInput { 881 tenantID: ID! 882 resourceType: TenantAccessObjectType! 883 resourceID: ID! 884 owner: Boolean! 885 } 886 887 input VersionInput { 888 """ 889 **Validation:** max=256 890 """ 891 value: String! 892 deprecated: Boolean = false 893 """ 894 **Validation:** max=256 895 """ 896 deprecatedSince: String 897 forRemoval: Boolean = false 898 } 899 900 input WebhookInput { 901 type: WebhookType! 902 """ 903 **Validation:** valid URL, max=256 904 """ 905 url: String 906 auth: AuthInput 907 mode: WebhookMode 908 version: String 909 correlationIdKey: String 910 retryInterval: Int 911 timeout: Int 912 urlTemplate: String 913 inputTemplate: String 914 headerTemplate: String 915 outputTemplate: String 916 statusTemplate: String 917 } 918 919 type APIDefinition { 920 id: ID! 921 name: String! 922 description: String 923 spec: APISpec 924 targetURL: String! 925 """ 926 group allows you to find the same API but in different version 927 """ 928 group: String 929 version: Version 930 created_at: Timestamp 931 updated_at: Timestamp 932 deleted_at: Timestamp 933 error: String 934 } 935 936 type APIDefinitionPage implements Pageable { 937 data: [APIDefinition!]! 938 pageInfo: PageInfo! 939 totalCount: Int! 940 } 941 942 type APISpec { 943 """ 944 when fetch request specified, data will be automatically populated 945 """ 946 id: ID! 947 data: CLOB 948 format: SpecFormat! 949 type: APISpecType! 950 fetchRequest: FetchRequest @sanitize(path: "graphql.field.api_spec.fetch_request") 951 } 952 953 type AppSystemAuth implements SystemAuth { 954 id: ID! 955 auth: Auth @sanitize(path: "graphql.field.application.auths") 956 type: SystemAuthReferenceType 957 tenantId: String 958 referenceObjectId: ID 959 } 960 961 type Application { 962 id: ID! 963 name: String! 964 systemNumber: String 965 localTenantID: String 966 baseUrl: String 967 providerName: String 968 description: String 969 integrationSystemID: ID 970 applicationTemplateID: ID 971 applicationTemplate: ApplicationTemplate @hasScopes(path: "graphql.field.application.application_template") 972 tenantBusinessType: TenantBusinessType 973 labels(key: String): Labels 974 status: ApplicationStatus! 975 webhooks: [Webhook!] @sanitize(path: "graphql.field.application.webhooks") 976 healthCheckURL: String 977 bundles(first: Int = 200, after: PageCursor): BundlePage 978 bundle(id: ID!): Bundle 979 auths: [AppSystemAuth!] 980 eventingConfiguration: ApplicationEventingConfiguration 981 applicationNamespace: String 982 createdAt: Timestamp 983 updatedAt: Timestamp 984 deletedAt: Timestamp 985 systemStatus: String 986 error: String 987 } 988 989 type ApplicationEventingConfiguration { 990 defaultURL: String! 991 } 992 993 type ApplicationPage implements Pageable { 994 data: [Application!]! 995 pageInfo: PageInfo! 996 totalCount: Int! 997 } 998 999 type ApplicationStatus { 1000 condition: ApplicationStatusCondition! 1001 timestamp: Timestamp! 1002 } 1003 1004 type ApplicationTemplate { 1005 id: ID! 1006 name: String! 1007 description: String 1008 webhooks: [Webhook!] @sanitize(path: "graphql.field.application_template.webhooks") 1009 applicationInput: String! 1010 placeholders: [PlaceholderDefinition!]! 1011 labels(key: String): Labels 1012 accessLevel: ApplicationTemplateAccessLevel! 1013 applicationNamespace: String 1014 } 1015 1016 type ApplicationTemplatePage implements Pageable { 1017 data: [ApplicationTemplate!]! 1018 pageInfo: PageInfo! 1019 totalCount: Int! 1020 } 1021 1022 type Auth { 1023 credential: CredentialData 1024 accessStrategy: String 1025 additionalHeaders: HttpHeaders 1026 additionalHeadersSerialized: HttpHeadersSerialized 1027 additionalQueryParams: QueryParams 1028 additionalQueryParamsSerialized: QueryParamsSerialized 1029 requestAuth: CredentialRequestAuth 1030 oneTimeToken: OneTimeToken 1031 certCommonName: String 1032 } 1033 1034 type AutomaticScenarioAssignment { 1035 scenarioName: String! 1036 selector: Label! 1037 } 1038 1039 type AutomaticScenarioAssignmentPage implements Pageable { 1040 data: [AutomaticScenarioAssignment!]! 1041 pageInfo: PageInfo! 1042 totalCount: Int! 1043 } 1044 1045 type BasicCredentialData { 1046 username: String! 1047 password: String! 1048 } 1049 1050 type Bundle { 1051 id: ID! 1052 name: String! 1053 description: String 1054 instanceAuthRequestInputSchema: JSONSchema 1055 instanceAuth(id: ID!): BundleInstanceAuth @sanitize(path: "graphql.field.bundle.instance_auth") 1056 instanceAuths: [BundleInstanceAuth!] @sanitize(path: "graphql.field.bundle.instance_auths") 1057 """ 1058 When defined, all Auth requests fallback to defaultInstanceAuth. 1059 """ 1060 defaultInstanceAuth: Auth @sanitize(path: "graphql.field.bundle.default_instance_auth") 1061 apiDefinitions(group: String, first: Int = 200, after: PageCursor): APIDefinitionPage 1062 eventDefinitions(group: String, first: Int = 200, after: PageCursor): EventDefinitionPage 1063 documents(first: Int = 200, after: PageCursor): DocumentPage 1064 apiDefinition(id: ID!): APIDefinition 1065 eventDefinition(id: ID!): EventDefinition 1066 correlationIDs: [String!] 1067 document(id: ID!): Document 1068 createdAt: Timestamp 1069 updatedAt: Timestamp 1070 deletedAt: Timestamp 1071 error: String 1072 } 1073 1074 type BundleInstanceAuth { 1075 id: ID! 1076 """ 1077 Context of BundleInstanceAuth - such as Runtime ID, namespace 1078 """ 1079 context: JSON 1080 """ 1081 User input while requesting Bundle Instance Auth 1082 """ 1083 inputParams: JSON 1084 """ 1085 It may be empty if status is PENDING. 1086 Populated with `bundle.defaultAuth` value if `bundle.defaultAuth` is defined. If not, Compass notifies Application/Integration System about the Auth request. 1087 """ 1088 auth: Auth 1089 status: BundleInstanceAuthStatus! 1090 runtimeID: ID 1091 runtimeContextID: ID 1092 } 1093 1094 type BundleInstanceAuthStatus { 1095 condition: BundleInstanceAuthStatusCondition! 1096 timestamp: Timestamp! 1097 message: String! 1098 """ 1099 Possible reasons: 1100 - PendingNotification 1101 - NotificationSent 1102 - CredentialsProvided 1103 - CredentialsNotProvided 1104 - PendingDeletion 1105 """ 1106 reason: String! 1107 } 1108 1109 type BundlePage implements Pageable { 1110 data: [Bundle!]! 1111 pageInfo: PageInfo! 1112 totalCount: Int! 1113 } 1114 1115 type CSRFTokenCredentialRequestAuth { 1116 tokenEndpointURL: String! 1117 credential: CredentialData 1118 additionalHeaders: HttpHeaders 1119 additionalHeadersSerialized: HttpHeadersSerialized 1120 additionalQueryParams: QueryParams 1121 additionalQueryParamsSerialized: QueryParamsSerialized 1122 } 1123 1124 type CertificateOAuthCredentialData { 1125 clientId: ID! 1126 certificate: String! 1127 url: String! 1128 } 1129 1130 type CertificateSubjectMapping { 1131 id: ID! 1132 subject: String! 1133 consumerType: String! 1134 internalConsumerID: String 1135 tenantAccessLevels: [String!]! 1136 } 1137 1138 type CertificateSubjectMappingPage implements Pageable { 1139 data: [CertificateSubjectMapping!]! 1140 pageInfo: PageInfo! 1141 totalCount: Int! 1142 } 1143 1144 type ConstraintReference { 1145 constraintID: ID! 1146 formationTemplateID: ID! 1147 } 1148 1149 type CredentialRequestAuth { 1150 csrf: CSRFTokenCredentialRequestAuth 1151 } 1152 1153 type Document { 1154 id: ID! 1155 title: String! 1156 displayName: String! 1157 description: String! 1158 format: DocumentFormat! 1159 """ 1160 for example Service Class, API etc 1161 """ 1162 kind: String 1163 data: CLOB 1164 fetchRequest: FetchRequest @sanitize(path: "graphql.field.document.fetch_request") 1165 createdAt: Timestamp 1166 updatedAt: Timestamp 1167 deletedAt: Timestamp 1168 error: String 1169 } 1170 1171 type DocumentPage implements Pageable { 1172 data: [Document!]! 1173 pageInfo: PageInfo! 1174 totalCount: Int! 1175 } 1176 1177 type EventDefinition { 1178 id: ID! 1179 name: String! 1180 description: String 1181 """ 1182 group allows you to find the same API but in different version 1183 """ 1184 group: String 1185 spec: EventSpec 1186 version: Version 1187 createdAt: Timestamp 1188 updatedAt: Timestamp 1189 deletedAt: Timestamp 1190 error: String 1191 } 1192 1193 type EventDefinitionPage implements Pageable { 1194 data: [EventDefinition!]! 1195 pageInfo: PageInfo! 1196 totalCount: Int! 1197 } 1198 1199 type EventSpec { 1200 id: ID! 1201 data: CLOB 1202 type: EventSpecType! 1203 format: SpecFormat! 1204 fetchRequest: FetchRequest @sanitize(path: "graphql.field.event_spec.fetch_request") 1205 } 1206 1207 """ 1208 Compass performs fetch to validate if request is correct and stores a copy 1209 """ 1210 type FetchRequest { 1211 url: String! 1212 auth: Auth @sanitize(path: "graphql.field.fetch_request.auth") 1213 mode: FetchMode! 1214 filter: String 1215 status: FetchRequestStatus! 1216 } 1217 1218 type FetchRequestStatus { 1219 condition: FetchRequestStatusCondition! 1220 message: String 1221 timestamp: Timestamp! 1222 } 1223 1224 type Formation { 1225 id: ID! 1226 name: String! 1227 formationTemplateId: ID! 1228 """ 1229 Formation lifecycle notifications state 1230 """ 1231 state: String! 1232 """ 1233 Formation lifecycle notifications error 1234 """ 1235 error: FormationError 1236 formationAssignment(id: ID!): FormationAssignment 1237 formationAssignments(first: Int = 200, after: PageCursor): FormationAssignmentPage 1238 """ 1239 Aggregated formation status 1240 """ 1241 status: FormationStatus! 1242 } 1243 1244 type FormationAssignment { 1245 id: ID! 1246 source: ID! 1247 sourceType: FormationAssignmentType! 1248 target: ID! 1249 targetType: FormationAssignmentType! 1250 state: String! 1251 value: String 1252 } 1253 1254 type FormationAssignmentPage implements Pageable { 1255 data: [FormationAssignment!]! 1256 pageInfo: PageInfo! 1257 totalCount: Int! 1258 } 1259 1260 type FormationConstraint { 1261 id: ID! 1262 name: String! 1263 constraintType: String! 1264 targetOperation: String! 1265 operator: String! 1266 resourceType: String! 1267 resourceSubtype: String! 1268 inputTemplate: String! 1269 constraintScope: String! 1270 } 1271 1272 type FormationError { 1273 message: String! 1274 errorCode: Int! 1275 } 1276 1277 type FormationPage implements Pageable { 1278 data: [Formation!]! 1279 pageInfo: PageInfo! 1280 totalCount: Int! 1281 } 1282 1283 type FormationStatus { 1284 condition: FormationStatusCondition! 1285 errors: [FormationStatusError!] 1286 } 1287 1288 type FormationStatusError { 1289 assignmentID: ID 1290 message: String! 1291 errorCode: Int! 1292 } 1293 1294 type FormationTemplate { 1295 id: ID! 1296 name: String! 1297 applicationTypes: [String!]! 1298 runtimeTypes: [String!] 1299 runtimeTypeDisplayName: String 1300 runtimeArtifactKind: ArtifactType 1301 webhooks: [Webhook!] @sanitize(path: "graphql.field.formation_template.webhooks") 1302 leadingProductIDs: [String!] 1303 formationConstraints: [FormationConstraint!] 1304 } 1305 1306 type FormationTemplatePage implements Pageable { 1307 data: [FormationTemplate!]! 1308 pageInfo: PageInfo! 1309 totalCount: Int! 1310 } 1311 1312 type HealthCheck { 1313 type: HealthCheckType! 1314 condition: HealthCheckStatusCondition! 1315 origin: ID 1316 message: String 1317 timestamp: Timestamp! 1318 } 1319 1320 type HealthCheckPage implements Pageable { 1321 data: [HealthCheck!]! 1322 pageInfo: PageInfo! 1323 totalCount: Int! 1324 } 1325 1326 type IntSysSystemAuth implements SystemAuth { 1327 id: ID! 1328 auth: Auth @sanitize(path: "graphql.field.integration_system.auths") 1329 type: SystemAuthReferenceType 1330 tenantId: String 1331 referenceObjectId: ID 1332 } 1333 1334 type IntegrationSystem { 1335 id: ID! 1336 name: String! 1337 description: String 1338 auths: [IntSysSystemAuth!] 1339 } 1340 1341 type IntegrationSystemPage implements Pageable { 1342 data: [IntegrationSystem!]! 1343 pageInfo: PageInfo! 1344 totalCount: Int! 1345 } 1346 1347 type Label { 1348 key: String! 1349 value: Any! 1350 } 1351 1352 type LabelDefinition { 1353 key: String! 1354 schema: JSONSchema 1355 } 1356 1357 type OAuthCredentialData { 1358 clientId: ID! 1359 clientSecret: String! 1360 """ 1361 URL for getting access token 1362 """ 1363 url: String! 1364 } 1365 1366 type OneTimeTokenForApplication implements OneTimeToken { 1367 token: String! 1368 connectorURL: String! 1369 legacyConnectorURL: String! 1370 used: Boolean! 1371 expiresAt: Timestamp! 1372 createdAt: Timestamp 1373 usedAt: Timestamp 1374 raw: String 1375 rawEncoded: String 1376 type: OneTimeTokenType 1377 scenarioGroups: [String] 1378 } 1379 1380 type OneTimeTokenForRuntime implements OneTimeToken { 1381 token: String! 1382 connectorURL: String! 1383 used: Boolean! 1384 expiresAt: Timestamp! 1385 createdAt: Timestamp 1386 usedAt: Timestamp 1387 raw: String 1388 rawEncoded: String 1389 type: OneTimeTokenType 1390 } 1391 1392 type PageInfo { 1393 startCursor: PageCursor! 1394 endCursor: PageCursor! 1395 hasNextPage: Boolean! 1396 } 1397 1398 type PlaceholderDefinition { 1399 name: String! 1400 description: String 1401 jsonPath: String 1402 optional: Boolean 1403 } 1404 1405 type Runtime { 1406 id: ID! 1407 metadata: RuntimeMetadata! 1408 name: String! 1409 description: String 1410 labels(key: String): Labels 1411 webhooks: [Webhook!] @sanitize(path: "graphql.field.runtime.webhooks") 1412 status: RuntimeStatus! 1413 """ 1414 Returns array of authentication details for Runtime. For now at most one element in array will be returned. 1415 """ 1416 auths: [RuntimeSystemAuth!] 1417 eventingConfiguration: RuntimeEventingConfiguration 1418 runtimeContext(id: ID!): RuntimeContext 1419 runtimeContexts(first: Int = 200, after: PageCursor): RuntimeContextPage 1420 applicationNamespace: String 1421 } 1422 1423 type RuntimeContext { 1424 id: ID! 1425 key: String! 1426 value: String! 1427 labels(key: String): Labels 1428 } 1429 1430 type RuntimeContextPage implements Pageable { 1431 data: [RuntimeContext!]! 1432 pageInfo: PageInfo! 1433 totalCount: Int! 1434 } 1435 1436 type RuntimeEventingConfiguration { 1437 defaultURL: String! 1438 } 1439 1440 type RuntimeMetadata { 1441 creationTimestamp: Timestamp! 1442 } 1443 1444 type RuntimePage implements Pageable { 1445 data: [Runtime!]! 1446 pageInfo: PageInfo! 1447 totalCount: Int! 1448 } 1449 1450 type RuntimeStatus { 1451 condition: RuntimeStatusCondition! 1452 timestamp: Timestamp! 1453 } 1454 1455 type RuntimeSystemAuth implements SystemAuth { 1456 id: ID! 1457 auth: Auth @sanitize(path: "graphql.field.runtime.auths") 1458 type: SystemAuthReferenceType 1459 tenantId: String 1460 referenceObjectId: ID 1461 } 1462 1463 type Tenant { 1464 id: ID! 1465 internalID: ID! 1466 name: String 1467 type: String 1468 parentID: ID 1469 initialized: Boolean 1470 labels(key: String): Labels 1471 provider: String! 1472 } 1473 1474 type TenantAccess { 1475 tenantID: ID! 1476 resourceType: TenantAccessObjectType! 1477 resourceID: ID! 1478 owner: Boolean! 1479 } 1480 1481 type TenantBusinessType { 1482 id: ID! 1483 code: String! 1484 name: String! 1485 } 1486 1487 type TenantPage implements Pageable { 1488 data: [Tenant!]! 1489 pageInfo: PageInfo! 1490 totalCount: Int! 1491 } 1492 1493 type Version { 1494 """ 1495 for example 4.6 1496 """ 1497 value: String! 1498 deprecated: Boolean 1499 """ 1500 for example 4.5 1501 """ 1502 deprecatedSince: String 1503 """ 1504 if true, will be removed in the next version 1505 """ 1506 forRemoval: Boolean 1507 } 1508 1509 type Viewer { 1510 id: ID! 1511 type: ViewerType! 1512 } 1513 1514 type Webhook { 1515 id: ID! 1516 applicationID: ID 1517 applicationTemplateID: ID 1518 runtimeID: ID 1519 integrationSystemID: ID 1520 formationTemplateID: ID 1521 type: WebhookType! 1522 mode: WebhookMode 1523 correlationIdKey: String 1524 retryInterval: Int 1525 timeout: Int 1526 url: String 1527 auth: Auth @sanitize(path: "graphql.field.webhooks.auth") 1528 urlTemplate: String 1529 inputTemplate: String 1530 headerTemplate: String 1531 outputTemplate: String 1532 statusTemplate: String 1533 createdAt: Timestamp 1534 } 1535 1536 type Query { 1537 apisForApplication(appID: ID!, first: Int = 200, after: PageCursor): APIDefinitionPage @hasScopes(path: "graphql.query.apisForApplication") 1538 eventsForApplication(appID: ID!, first: Int = 200, after: PageCursor): EventDefinitionPage @hasScopes(path: "graphql.query.eventsForApplication") 1539 """ 1540 Maximum `first` parameter value is 10 1541 1542 **Examples** 1543 - [query applications with label filter](examples/query-applications/query-applications-with-label-filter.graphql) 1544 - [query applications](examples/query-applications/query-applications.graphql) 1545 """ 1546 applications(filter: [LabelFilter!], first: Int = 200, after: PageCursor): ApplicationPage! @hasScopes(path: "graphql.query.applications") 1547 """ 1548 **Examples** 1549 - [query application](examples/query-application/query-application.graphql) 1550 """ 1551 application(id: ID!): Application @hasScenario(applicationProvider: "GetApplicationID", idField: "id") @hasScopes(path: "graphql.query.application") 1552 applicationBySystemNumber(systemNumber: String!): Application @hasScopes(path: "graphql.query.applicationBySystemNumber") 1553 """ 1554 Maximum `first` parameter value is 100 1555 1556 **Examples** 1557 - [query applications for runtime](examples/query-applications-for-runtime/query-applications-for-runtime.graphql) 1558 """ 1559 applicationsForRuntime(runtimeID: ID!, first: Int = 200, after: PageCursor): ApplicationPage! @hasScopes(path: "graphql.query.applicationsForRuntime") 1560 """ 1561 Maximum `first` parameter value is 100 1562 1563 **Examples** 1564 - [query application templates](examples/query-application-templates/query-application-templates.graphql) 1565 """ 1566 applicationTemplates(filter: [LabelFilter!], first: Int = 200, after: PageCursor): ApplicationTemplatePage! @hasScopes(path: "graphql.query.applicationTemplates") 1567 """ 1568 **Examples** 1569 - [query application template](examples/query-application-template/query-application-template.graphql) 1570 """ 1571 applicationTemplate(id: ID!): ApplicationTemplate @hasScopes(path: "graphql.query.applicationTemplate") 1572 """ 1573 Maximum `first` parameter value is 100 1574 1575 **Examples** 1576 - [query runtimes with label filter](examples/query-runtimes/query-runtimes-with-label-filter.graphql) 1577 - [query runtimes with pagination](examples/query-runtimes/query-runtimes-with-pagination.graphql) 1578 - [query runtimes](examples/query-runtimes/query-runtimes.graphql) 1579 """ 1580 runtimes(filter: [LabelFilter!], first: Int = 200, after: PageCursor): RuntimePage! @hasScopes(path: "graphql.query.runtimes") 1581 """ 1582 **Examples** 1583 - [query runtime](examples/query-runtime/query-runtime.graphql) 1584 """ 1585 runtime(id: ID!): Runtime @hasScopes(path: "graphql.query.runtime") 1586 runtimeByTokenIssuer(issuer: String!): Runtime 1587 """ 1588 **Examples** 1589 - [query label definitions](examples/query-label-definitions/query-label-definitions.graphql) 1590 """ 1591 labelDefinitions: [LabelDefinition!]! @hasScopes(path: "graphql.query.labelDefinitions") 1592 labelDefinition(key: String!): LabelDefinition @hasScopes(path: "graphql.query.labelDefinition") 1593 bundleByInstanceAuth(authID: ID!): Bundle @hasScopes(path: "graphql.query.bundleByInstanceAuth") 1594 bundleInstanceAuth(id: ID!): BundleInstanceAuth @hasScopes(path: "graphql.query.bundleInstanceAuth") 1595 healthChecks(types: [HealthCheckType!], origin: ID, first: Int = 200, after: PageCursor): HealthCheckPage! @hasScopes(path: "graphql.query.healthChecks") 1596 """ 1597 Maximum `first` parameter value is 100 1598 1599 **Examples** 1600 - [query integration systems](examples/query-integration-systems/query-integration-systems.graphql) 1601 """ 1602 integrationSystems(first: Int = 200, after: PageCursor): IntegrationSystemPage! @hasScopes(path: "graphql.query.integrationSystems") 1603 """ 1604 **Examples** 1605 - [query integration system](examples/query-integration-system/query-integration-system.graphql) 1606 """ 1607 integrationSystem(id: ID!): IntegrationSystem @hasScopes(path: "graphql.query.integrationSystem") 1608 viewer: Viewer! @hasScopes(path: "graphql.query.viewer") 1609 """ 1610 **Examples** 1611 - [query tenants](examples/query-tenants/query-tenants.graphql) 1612 """ 1613 tenants(first: Int = 500, after: PageCursor, searchTerm: String): TenantPage! @hasScopes(path: "graphql.query.tenants") 1614 tenantByExternalID(id: ID!): Tenant @hasScopes(path: "graphql.query.tenants") 1615 tenantByInternalID(id: ID!): Tenant @hasScopes(path: "graphql.query.tenantByInternalID") 1616 tenantByLowestOwnerForResource(id: ID!, resource: String!): String! @hasScopes(path: "graphql.query.tenantByLowestOwnerForResource") 1617 """ 1618 **Examples** 1619 - [query automatic scenario assignment for scenario](examples/query-automatic-scenario-assignment-for-scenario/query-automatic-scenario-assignment-for-scenario.graphql) 1620 """ 1621 automaticScenarioAssignmentForScenario(scenarioName: String!): AutomaticScenarioAssignment @hasScopes(path: "graphql.query.automaticScenarioAssignmentForScenario") 1622 """ 1623 **Examples** 1624 - [query automatic scenario assignments for selector](examples/query-automatic-scenario-assignments-for-selector/query-automatic-scenario-assignments-for-selector.graphql) 1625 """ 1626 automaticScenarioAssignmentsForSelector(selector: LabelSelectorInput! @validate): [AutomaticScenarioAssignment!]! @hasScopes(path: "graphql.query.automaticScenarioAssignmentsForSelector") 1627 """ 1628 **Examples** 1629 - [query automatic scenario assignments](examples/query-automatic-scenario-assignments/query-automatic-scenario-assignments.graphql) 1630 """ 1631 automaticScenarioAssignments(first: Int = 200, after: PageCursor): AutomaticScenarioAssignmentPage @hasScopes(path: "graphql.query.automaticScenarioAssignments") 1632 systemAuth(id: ID!): SystemAuth @hasScopes(path: "graphql.query.systemAuth") 1633 systemAuthByToken(token: String!): SystemAuth @hasScopes(path: "graphql.query.systemAuthByToken") 1634 """ 1635 **Examples** 1636 - [query formation](examples/query-formation/query-formation.graphql) 1637 """ 1638 formation(id: ID!): Formation @hasScopes(path: "graphql.query.formation") 1639 """ 1640 **Examples** 1641 - [query formation by name](examples/query-formation-by-name/query-formation-by-name.graphql) 1642 """ 1643 formationByName(name: String!): Formation @hasScopes(path: "graphql.query.formationByName") 1644 """ 1645 **Examples** 1646 - [query formations](examples/query-formations/query-formations.graphql) 1647 """ 1648 formations(first: Int = 200, after: PageCursor): FormationPage! @hasScopes(path: "graphql.query.formations") 1649 formationConstraints: [FormationConstraint!]! @hasScopes(path: "graphql.query.formationConstraints") 1650 """ 1651 **Examples** 1652 - [query formation constraint](examples/query-formation-constraint/query-formation-constraint.graphql) 1653 """ 1654 formationConstraint(id: ID!): FormationConstraint! @hasScopes(path: "graphql.query.formationConstraint") 1655 formationConstraintsByFormationType(formationTemplateID: ID!): [FormationConstraint!]! @hasScopes(path: "graphql.query.formationConstraints") 1656 """ 1657 **Examples** 1658 - [query formation template](examples/query-formation-template/query-formation-template.graphql) 1659 """ 1660 formationTemplate(id: ID!): FormationTemplate @hasScopes(path: "graphql.query.formationTemplate") 1661 """ 1662 **Examples** 1663 - [query formation templates](examples/query-formation-templates/query-formation-templates.graphql) 1664 """ 1665 formationTemplates(first: Int = 200, after: PageCursor): FormationTemplatePage! @hasScopes(path: "graphql.query.formationTemplates") 1666 """ 1667 **Examples** 1668 - [query certificate subject mapping](examples/query-certificate-subject-mapping/query-certificate-subject-mapping.graphql) 1669 """ 1670 certificateSubjectMapping(id: ID!): CertificateSubjectMapping! @hasScopes(path: "graphql.query.certificateSubjectMapping") 1671 """ 1672 **Examples** 1673 - [query certificate subject mappings](examples/query-certificate-subject-mappings/query-certificate-subject-mappings.graphql) 1674 """ 1675 certificateSubjectMappings(first: Int = 300, after: PageCursor): CertificateSubjectMappingPage! @hasScopes(path: "graphql.query.certificateSubjectMappings") 1676 } 1677 1678 type Mutation { 1679 """ 1680 **Examples** 1681 - [register application with bundles](examples/register-application/register-application-with-bundles.graphql) 1682 - [register application with status](examples/register-application/register-application-with-status.graphql) 1683 - [register application with webhooks](examples/register-application/register-application-with-webhooks.graphql) 1684 - [register application](examples/register-application/register-application.graphql) 1685 """ 1686 registerApplication(in: ApplicationRegisterInput! @validate, mode: OperationMode = SYNC): Application! @hasScopes(path: "graphql.mutation.registerApplication") @async(operationType: CREATE, webhookType: REGISTER_APPLICATION) @synchronizeApplicationTenancy(eventType: NEW_APPLICATION) 1687 """ 1688 **Examples** 1689 - [update application](examples/update-application/update-application.graphql) 1690 """ 1691 updateApplication(id: ID!, in: ApplicationUpdateInput! @validate): Application! @hasScopes(path: "graphql.mutation.updateApplication") @async(operationType: UPDATE, idField: "id") 1692 """ 1693 **Examples** 1694 - [unregister application](examples/unregister-application/unregister-application.graphql) 1695 """ 1696 unregisterApplication(id: ID!, mode: OperationMode = SYNC): Application! @hasScopes(path: "graphql.mutation.unregisterApplication") @async(operationType: DELETE, idField: "id", webhookType: UNREGISTER_APPLICATION) 1697 """ 1698 **Examples** 1699 - [unpair application](examples/unpair-application/unpair-application.graphql) 1700 """ 1701 unpairApplication(id: ID!, mode: OperationMode = SYNC): Application! @hasScopes(path: "graphql.mutation.unpairApplication") @async(operationType: UPDATE, idField: "id", webhookType: UNREGISTER_APPLICATION) 1702 """ 1703 **Examples** 1704 - [create application template](examples/create-application-template/create-application-template.graphql) 1705 """ 1706 createApplicationTemplate(in: ApplicationTemplateInput! @validate): ApplicationTemplate! @hasScopes(path: "graphql.mutation.createApplicationTemplate") 1707 """ 1708 **Examples** 1709 - [register application from template](examples/register-application-from-template/register-application-from-template.graphql) 1710 """ 1711 registerApplicationFromTemplate(in: ApplicationFromTemplateInput! @validate): Application! @hasScopes(path: "graphql.mutation.registerApplicationFromTemplate") @synchronizeApplicationTenancy(eventType: NEW_APPLICATION) 1712 """ 1713 **Examples** 1714 - [update application template](examples/update-application-template/update-application-template.graphql) 1715 """ 1716 updateApplicationTemplate(id: ID!, in: ApplicationTemplateUpdateInput! @validate): ApplicationTemplate! @hasScopes(path: "graphql.mutation.updateApplicationTemplate") 1717 """ 1718 **Examples** 1719 - [delete application template](examples/delete-application-template/delete-application-template.graphql) 1720 """ 1721 deleteApplicationTemplate(id: ID!): ApplicationTemplate! @hasScopes(path: "graphql.mutation.deleteApplicationTemplate") 1722 """ 1723 **Examples** 1724 - [merge applications](examples/merge-applications/merge-applications.graphql) 1725 """ 1726 mergeApplications(destinationID: ID!, sourceID: ID!): Application! @hasScopes(path: "graphql.mutation.mergeApplications") 1727 """ 1728 **Examples** 1729 - [register runtime with webhooks](examples/register-runtime/register-runtime-with-webhooks.graphql) 1730 - [register runtime](examples/register-runtime/register-runtime.graphql) 1731 """ 1732 registerRuntime(in: RuntimeRegisterInput! @validate): Runtime! @hasScopes(path: "graphql.mutation.registerRuntime") 1733 """ 1734 **Examples** 1735 - [update runtime](examples/update-runtime/update-runtime.graphql) 1736 """ 1737 updateRuntime(id: ID!, in: RuntimeUpdateInput! @validate): Runtime! @hasScopes(path: "graphql.mutation.updateRuntime") 1738 """ 1739 **Examples** 1740 - [unregister runtime](examples/unregister-runtime/unregister-runtime.graphql) 1741 """ 1742 unregisterRuntime(id: ID!): Runtime! @hasScopes(path: "graphql.mutation.unregisterRuntime") 1743 """ 1744 **Examples** 1745 - [register runtime context](examples/register-runtime-context/register-runtime-context.graphql) 1746 """ 1747 registerRuntimeContext(runtimeID: ID!, in: RuntimeContextInput! @validate): RuntimeContext! @hasScopes(path: "graphql.mutation.registerRuntimeContext") 1748 """ 1749 **Examples** 1750 - [update runtime context](examples/update-runtime-context/update-runtime-context.graphql) 1751 """ 1752 updateRuntimeContext(id: ID!, in: RuntimeContextInput! @validate): RuntimeContext! @hasScopes(path: "graphql.mutation.updateRuntimeContext") 1753 unregisterRuntimeContext(id: ID!): RuntimeContext! @hasScopes(path: "graphql.mutation.unregisterRuntimeContext") 1754 """ 1755 **Examples** 1756 - [register integration system](examples/register-integration-system/register-integration-system.graphql) 1757 """ 1758 registerIntegrationSystem(in: IntegrationSystemInput! @validate): IntegrationSystem! @hasScopes(path: "graphql.mutation.registerIntegrationSystem") 1759 """ 1760 **Examples** 1761 - [update integration system](examples/update-integration-system/update-integration-system.graphql) 1762 """ 1763 updateIntegrationSystem(id: ID!, in: IntegrationSystemInput! @validate): IntegrationSystem! @hasScopes(path: "graphql.mutation.updateIntegrationSystem") 1764 """ 1765 **Examples** 1766 - [unregister integration system](examples/unregister-integration-system/unregister-integration-system.graphql) 1767 """ 1768 unregisterIntegrationSystem(id: ID!): IntegrationSystem! @hasScopes(path: "graphql.mutation.unregisterIntegrationSystem") 1769 """ 1770 **Examples** 1771 - [add application template webhook](examples/add-webhook/add-application-template-webhook.graphql) 1772 - [add application webhook](examples/add-webhook/add-application-webhook.graphql) 1773 - [add formation template webhook](examples/add-webhook/add-formation-template-webhook.graphql) 1774 - [add runtime webhook](examples/add-webhook/add-runtime-webhook.graphql) 1775 """ 1776 addWebhook(applicationID: ID, applicationTemplateID: ID, runtimeID: ID, formationTemplateID: ID, in: WebhookInput! @validate): Webhook! @hasScopes(path: "graphql.mutation.addWebhook") 1777 """ 1778 **Examples** 1779 - [update webhook](examples/update-webhook/update-webhook.graphql) 1780 """ 1781 updateWebhook(webhookID: ID!, in: WebhookInput! @validate): Webhook! @hasScopes(path: "graphql.mutation.updateWebhook") 1782 """ 1783 **Examples** 1784 - [delete webhook](examples/delete-webhook/delete-webhook.graphql) 1785 """ 1786 deleteWebhook(webhookID: ID!): Webhook! @hasScopes(path: "graphql.mutation.deleteWebhook") 1787 """ 1788 **Examples** 1789 - [add api definition to bundle](examples/add-api-definition-to-bundle/add-api-definition-to-bundle.graphql) 1790 """ 1791 addAPIDefinitionToBundle(bundleID: ID!, in: APIDefinitionInput! @validate): APIDefinition! @hasScopes(path: "graphql.mutation.addAPIDefinitionToBundle") 1792 """ 1793 **Examples** 1794 - [add api definition to application](examples/add-api-definition-to-application/add-api-definition-to-application.graphql) 1795 """ 1796 addAPIDefinitionToApplication(appID: ID!, in: APIDefinitionInput! @validate): APIDefinition! @hasScopes(path: "graphql.mutation.addAPIDefinitionToApplication") 1797 """ 1798 **Examples** 1799 - [update api definition](examples/update-api-definition/update-api-definition.graphql) 1800 """ 1801 updateAPIDefinition(id: ID!, in: APIDefinitionInput! @validate): APIDefinition! @hasScopes(path: "graphql.mutation.updateAPIDefinition") 1802 updateAPIDefinitionForApplication(id: ID!, in: APIDefinitionInput! @validate): APIDefinition! @hasScopes(path: "graphql.mutation.updateAPIDefinitionForApplication") 1803 """ 1804 **Examples** 1805 - [delete api definition](examples/delete-api-definition/delete-api-definition.graphql) 1806 """ 1807 deleteAPIDefinition(id: ID!): APIDefinition! @hasScopes(path: "graphql.mutation.deleteAPIDefinition") 1808 """ 1809 **Examples** 1810 - [refetch api spec](examples/refetch-api-spec/refetch-api-spec.graphql) 1811 """ 1812 refetchAPISpec(apiID: ID!): APISpec! @hasScopes(path: "graphql.mutation.refetchAPISpec") 1813 requestOneTimeTokenForRuntime(id: ID!, systemAuthID: ID): OneTimeTokenForRuntime! @hasScopes(path: "graphql.mutation.requestOneTimeTokenForRuntime") 1814 requestOneTimeTokenForApplication(id: ID!, systemAuthID: ID): OneTimeTokenForApplication! @hasScopes(path: "graphql.mutation.requestOneTimeTokenForApplication") 1815 requestClientCredentialsForRuntime(id: ID!): SystemAuth! @hasScopes(path: "graphql.mutation.requestClientCredentialsForRuntime") 1816 requestClientCredentialsForApplication(id: ID!): SystemAuth! @hasScopes(path: "graphql.mutation.requestClientCredentialsForApplication") 1817 requestClientCredentialsForIntegrationSystem(id: ID!): SystemAuth! @hasScopes(path: "graphql.mutation.requestClientCredentialsForIntegrationSystem") 1818 deleteSystemAuthForRuntime(authID: ID!): SystemAuth! @hasScopes(path: "graphql.mutation.deleteSystemAuthForRuntime") 1819 deleteSystemAuthForApplication(authID: ID!): SystemAuth! @hasScopes(path: "graphql.mutation.deleteSystemAuthForApplication") 1820 deleteSystemAuthForIntegrationSystem(authID: ID!): SystemAuth! @hasScopes(path: "graphql.mutation.deleteSystemAuthForIntegrationSystem") 1821 updateSystemAuth(authID: ID!, in: AuthInput!): SystemAuth! @hasScopes(path: "graphql.mutation.updateSystemAuth") 1822 invalidateSystemAuthOneTimeToken(authID: ID!): SystemAuth! @hasScopes(path: "graphql.mutation.invalidateSystemAuthOneTimeToken") 1823 """ 1824 **Examples** 1825 - [add event definition to bundle](examples/add-event-definition-to-bundle/add-event-definition-to-bundle.graphql) 1826 """ 1827 addEventDefinitionToBundle(bundleID: ID!, in: EventDefinitionInput! @validate): EventDefinition! @hasScopes(path: "graphql.mutation.addEventDefinitionToBundle") 1828 """ 1829 **Examples** 1830 - [add event definition to application](examples/add-event-definition-to-application/add-event-definition-to-application.graphql) 1831 """ 1832 addEventDefinitionToApplication(appID: ID!, in: EventDefinitionInput! @validate): EventDefinition! @hasScopes(path: "graphql.mutation.addEventDefinitionToApplication") 1833 """ 1834 **Examples** 1835 - [update event definition](examples/update-event-definition/update-event-definition.graphql) 1836 """ 1837 updateEventDefinition(id: ID!, in: EventDefinitionInput! @validate): EventDefinition! @hasScopes(path: "graphql.mutation.updateEventDefinition") 1838 updateEventDefinitionForApplication(id: ID!, in: EventDefinitionInput! @validate): EventDefinition! @hasScopes(path: "graphql.mutation.updateEventDefinitionForApplication") 1839 """ 1840 **Examples** 1841 - [delete event definition](examples/delete-event-definition/delete-event-definition.graphql) 1842 """ 1843 deleteEventDefinition(id: ID!): EventDefinition! @hasScopes(path: "graphql.mutation.deleteEventDefinition") 1844 refetchEventDefinitionSpec(eventID: ID!): EventSpec! @hasScopes(path: "graphql.mutation.refetchEventDefinitionSpec") 1845 """ 1846 **Examples** 1847 - [add document to bundle](examples/add-document-to-bundle/add-document-to-bundle.graphql) 1848 """ 1849 addDocumentToBundle(bundleID: ID!, in: DocumentInput! @validate): Document! @hasScopes(path: "graphql.mutation.addDocumentToBundle") 1850 """ 1851 **Examples** 1852 - [delete document](examples/delete-document/delete-document.graphql) 1853 """ 1854 deleteDocument(id: ID!): Document! @hasScopes(path: "graphql.mutation.deleteDocument") 1855 """ 1856 **Examples** 1857 - [create formation](examples/create-formation/create-formation.graphql) 1858 """ 1859 createFormation(formation: FormationInput!): Formation! @hasScopes(path: "graphql.mutation.createFormation") 1860 """ 1861 **Examples** 1862 - [resynchronize formation notifications](examples/resynchronize-formation-notifications/resynchronize-formation-notifications.graphql) 1863 """ 1864 resynchronizeFormationNotifications(formationID: ID!): Formation! @hasScopes(path: "graphql.mutation.resynchronizeFormationNotifications") 1865 """ 1866 **Examples** 1867 - [delete formation](examples/delete-formation/delete-formation.graphql) 1868 """ 1869 deleteFormation(formation: FormationInput!): Formation! @hasScopes(path: "graphql.mutation.deleteFormation") 1870 """ 1871 **Examples** 1872 - [assign application to formation](examples/assign-formation/assign-application-to-formation.graphql) 1873 - [assign runtime context to formation](examples/assign-formation/assign-runtime-context-to-formation.graphql) 1874 - [assign runtime to formation](examples/assign-formation/assign-runtime-to-formation.graphql) 1875 - [assign tenant to formation](examples/assign-formation/assign-tenant-to-formation.graphql) 1876 """ 1877 assignFormation(objectID: ID!, objectType: FormationObjectType!, formation: FormationInput!): Formation! @hasScopes(path: "graphql.mutation.assignFormation") 1878 """ 1879 **Examples** 1880 - [unassign application from formation](examples/unassign-formation/unassign-application-from-formation.graphql) 1881 - [unassign runtime context from formation](examples/unassign-formation/unassign-runtime-context-from-formation.graphql) 1882 - [unassign runtime from formation](examples/unassign-formation/unassign-runtime-from-formation.graphql) 1883 - [unassign tenant from formation](examples/unassign-formation/unassign-tenant-from-formation.graphql) 1884 """ 1885 unassignFormation(objectID: ID!, objectType: FormationObjectType!, formation: FormationInput!): Formation! @hasScopes(path: "graphql.mutation.unassignFormation") 1886 """ 1887 **Examples** 1888 - [create formation constraint](examples/create-formation-constraint/create-formation-constraint.graphql) 1889 """ 1890 createFormationConstraint(formationConstraint: FormationConstraintInput! @validate): FormationConstraint! @hasScopes(path: "graphql.mutation.createFormationConstraint") 1891 """ 1892 **Examples** 1893 - [delete formation constraint](examples/delete-formation-constraint/delete-formation-constraint.graphql) 1894 """ 1895 deleteFormationConstraint(id: ID!): FormationConstraint! @hasScopes(path: "graphql.mutation.deleteFormationConstraint") 1896 """ 1897 **Examples** 1898 - [update formation constraint](examples/update-formation-constraint/update-formation-constraint.graphql) 1899 """ 1900 updateFormationConstraint(id: ID!, in: FormationConstraintUpdateInput!): FormationConstraint! @hasScopes(path: "graphql.mutation.updateFormationConstraint") 1901 """ 1902 **Examples** 1903 - [attach constraint to formation template](examples/attach-constraint-to-formation-template/attach-constraint-to-formation-template.graphql) 1904 """ 1905 attachConstraintToFormationTemplate(constraintID: ID!, formationTemplateID: ID!): ConstraintReference! @hasScopes(path: "graphql.mutation.attachConstraintToFormationTemplate") 1906 """ 1907 **Examples** 1908 - [detach constraint from formation template](examples/detach-constraint-from-formation-template/detach-constraint-from-formation-template.graphql) 1909 """ 1910 detachConstraintFromFormationTemplate(constraintID: ID!, formationTemplateID: ID!): ConstraintReference! @hasScopes(path: "graphql.mutation.detachConstraintFromFormationTemplate") 1911 """ 1912 **Examples** 1913 - [create label definition](examples/create-label-definition/create-label-definition.graphql) 1914 """ 1915 createLabelDefinition(in: LabelDefinitionInput! @validate): LabelDefinition! @hasScopes(path: "graphql.mutation.createLabelDefinition") 1916 """ 1917 **Examples** 1918 - [update label definition](examples/update-label-definition/update-label-definition.graphql) 1919 """ 1920 updateLabelDefinition(in: LabelDefinitionInput! @validate): LabelDefinition! @hasScopes(path: "graphql.mutation.updateLabelDefinition") 1921 """ 1922 If a label with given key already exist, it will be replaced with provided value. 1923 1924 **Examples** 1925 - [set application label](examples/set-application-label/set-application-label.graphql) 1926 """ 1927 setApplicationLabel(applicationID: ID!, key: String!, value: Any!): Label! @hasScopes(path: "graphql.mutation.setApplicationLabel") 1928 """ 1929 If Application does not exist or the label key is not found, it returns an error. 1930 1931 **Examples** 1932 - [delete application label](examples/delete-application-label/delete-application-label.graphql) 1933 """ 1934 deleteApplicationLabel(applicationID: ID!, key: String!): Label! @hasScopes(path: "graphql.mutation.deleteApplicationLabel") 1935 """ 1936 If a label with given key already exist, it will be replaced with provided value. 1937 """ 1938 setRuntimeLabel(runtimeID: ID!, key: String!, value: Any!): Label! @hasScopes(path: "graphql.mutation.setRuntimeLabel") 1939 """ 1940 If Runtime does not exist or the label key is not found, it returns an error. 1941 """ 1942 deleteRuntimeLabel(runtimeID: ID!, key: String!): Label! @hasScopes(path: "graphql.mutation.deleteRuntimeLabel") 1943 setDefaultEventingForApplication(appID: String!, runtimeID: String!): ApplicationEventingConfiguration! @hasScopes(path: "graphql.mutation.setDefaultEventingForApplication") 1944 deleteDefaultEventingForApplication(appID: String!): ApplicationEventingConfiguration! @hasScopes(path: "graphql.mutation.deleteDefaultEventingForApplication") 1945 """ 1946 When BundleInstanceAuth is not in pending state, the operation returns error. 1947 1948 When used without error, the status of pending auth is set to success. 1949 1950 **Examples** 1951 - [set bundle instance auth](examples/set-bundle-instance-auth/set-bundle-instance-auth.graphql) 1952 """ 1953 setBundleInstanceAuth(authID: ID!, in: BundleInstanceAuthSetInput! @validate): BundleInstanceAuth! @hasScopes(path: "graphql.mutation.setBundleInstanceAuth") 1954 """ 1955 **Examples** 1956 - [delete bundle instance auth](examples/delete-bundle-instance-auth/delete-bundle-instance-auth.graphql) 1957 """ 1958 deleteBundleInstanceAuth(authID: ID!): BundleInstanceAuth! @hasScopes(path: "graphql.mutation.deleteBundleInstanceAuth") 1959 """ 1960 When defaultInstanceAuth is set, it fires "createBundleInstanceAuth" mutation. Otherwise, the status of the BundleInstanceAuth is set to PENDING. 1961 1962 **Examples** 1963 - [request bundle instance auth creation](examples/request-bundle-instance-auth-creation/request-bundle-instance-auth-creation.graphql) 1964 """ 1965 requestBundleInstanceAuthCreation(bundleID: ID!, in: BundleInstanceAuthRequestInput! @validate): BundleInstanceAuth! @hasScenario(applicationProvider: "GetApplicationIDByBundle", idField: "bundleID") @hasScopes(path: "graphql.mutation.requestBundleInstanceAuthCreation") 1966 """ 1967 When defaultInstanceAuth is set, it fires "deleteBundleInstanceAuth" mutation. Otherwise, the status of the BundleInstanceAuth is set to UNUSED. 1968 1969 **Examples** 1970 - [request bundle instance auth deletion](examples/request-bundle-instance-auth-deletion/request-bundle-instance-auth-deletion.graphql) 1971 """ 1972 requestBundleInstanceAuthDeletion(authID: ID!): BundleInstanceAuth! @hasScenario(applicationProvider: "GetApplicationIDByBundleInstanceAuth", idField: "authID") @hasScopes(path: "graphql.mutation.requestBundleInstanceAuthDeletion") 1973 """ 1974 **Examples** 1975 - [create bundle instance auth](examples/create-bundle-instance-auth/create-bundle-instance-auth.graphql) 1976 """ 1977 createBundleInstanceAuth(bundleID: ID!, in: BundleInstanceAuthCreateInput! @validate): BundleInstanceAuth! @hasScopes(path: "graphql.mutation.createBundleInstanceAuth") 1978 """ 1979 **Examples** 1980 - [update bundle instance auth](examples/update-bundle-instance-auth/update-bundle-instance-auth.graphql) 1981 """ 1982 updateBundleInstanceAuth(id: ID!, bundleID: ID!, in: BundleInstanceAuthUpdateInput!): BundleInstanceAuth! @hasScopes(path: "graphql.mutation.updateBundleInstanceAuth") 1983 """ 1984 **Examples** 1985 - [add bundle](examples/add-bundle/add-bundle.graphql) 1986 """ 1987 addBundle(applicationID: ID!, in: BundleCreateInput! @validate): Bundle! @hasScopes(path: "graphql.mutation.addBundle") 1988 """ 1989 **Examples** 1990 - [update bundle](examples/update-bundle/update-bundle.graphql) 1991 """ 1992 updateBundle(id: ID!, in: BundleUpdateInput! @validate): Bundle! @hasScopes(path: "graphql.mutation.updateBundle") 1993 """ 1994 **Examples** 1995 - [delete bundle](examples/delete-bundle/delete-bundle.graphql) 1996 """ 1997 deleteBundle(id: ID!): Bundle! @hasScopes(path: "graphql.mutation.deleteBundle") 1998 writeTenants(in: [BusinessTenantMappingInput!]): [String!] @hasScopes(path: "graphql.mutation.writeTenants") @synchronizeApplicationTenancy(eventType: NEW_MULTIPLE_TENANTS) 1999 writeTenant(in: BusinessTenantMappingInput!): String! @hasScopes(path: "graphql.mutation.writeTenants") @synchronizeApplicationTenancy(eventType: NEW_SINGLE_TENANT) 2000 deleteTenants(in: [String!]): Int! @hasScopes(path: "graphql.mutation.deleteTenants") 2001 updateTenant(id: ID!, in: BusinessTenantMappingInput!): Tenant! @hasScopes(path: "graphql.mutation.updateTenant") 2002 subscribeTenant(providerID: String!, subaccountID: String!, providerSubaccountID: String!, consumerTenantID: String!, region: String!, subscriptionAppName: String!, subscriptionPayload: String!): Boolean! @hasScopes(path: "graphql.mutation.subscribeTenant") 2003 unsubscribeTenant(providerID: String!, subaccountID: String!, providerSubaccountID: String!, consumerTenantID: String!, region: String!): Boolean! @hasScopes(path: "graphql.mutation.unsubscribeTenant") 2004 """ 2005 **Examples** 2006 - [create formation template with webhooks](examples/create-formation-template/create-formation-template-with-webhooks.graphql) 2007 - [create formation template](examples/create-formation-template/create-formation-template.graphql) 2008 """ 2009 createFormationTemplate(in: FormationTemplateInput! @validate): FormationTemplate @hasScopes(path: "graphql.mutation.createFormationTemplate") 2010 """ 2011 **Examples** 2012 - [delete formation template](examples/delete-formation-template/delete-formation-template.graphql) 2013 """ 2014 deleteFormationTemplate(id: ID!): FormationTemplate @hasScopes(path: "graphql.mutation.deleteFormationTemplate") 2015 """ 2016 **Examples** 2017 - [update formation template](examples/update-formation-template/update-formation-template.graphql) 2018 """ 2019 updateFormationTemplate(id: ID!, in: FormationTemplateInput! @validate): FormationTemplate @hasScopes(path: "graphql.mutation.updateFormationTemplate") 2020 """ 2021 **Examples** 2022 - [create certificate subject mapping](examples/create-certificate-subject-mapping/create-certificate-subject-mapping.graphql) 2023 """ 2024 createCertificateSubjectMapping(in: CertificateSubjectMappingInput! @validate): CertificateSubjectMapping @hasScopes(path: "graphql.mutation.createCertificateSubjectMapping") 2025 """ 2026 **Examples** 2027 - [update certificate subject mapping](examples/update-certificate-subject-mapping/update-certificate-subject-mapping.graphql) 2028 """ 2029 updateCertificateSubjectMapping(id: ID!, in: CertificateSubjectMappingInput! @validate): CertificateSubjectMapping @hasScopes(path: "graphql.mutation.updateCertificateSubjectMapping") 2030 """ 2031 **Examples** 2032 - [delete certificate subject mapping](examples/delete-certificate-subject-mapping/delete-certificate-subject-mapping.graphql) 2033 """ 2034 deleteCertificateSubjectMapping(id: ID!): CertificateSubjectMapping @hasScopes(path: "graphql.mutation.deleteCertificateSubjectMapping") 2035 """ 2036 **Examples** 2037 - [add tenant access](examples/add-tenant-access/add-tenant-access.graphql) 2038 """ 2039 addTenantAccess(in: TenantAccessInput!): TenantAccess @hasScopes(path: "graphql.mutation.addTenantAccess") 2040 """ 2041 **Examples** 2042 - [remove tenant access](examples/remove-tenant-access/remove-tenant-access.graphql) 2043 """ 2044 removeTenantAccess(tenantID: ID!, resourceID: ID!, resourceType: TenantAccessObjectType!): TenantAccess @hasScopes(path: "graphql.mutation.removeTenantAccess") 2045 } 2046