|
887 | 887 | "product" |
888 | 888 | ], |
889 | 889 | "type": "object" |
| 890 | + }, |
| 891 | + "inquiries-create-inquiryPayload": { |
| 892 | + "oneOf": [ |
| 893 | + { |
| 894 | + "description": "Suggest a product.", |
| 895 | + "properties": { |
| 896 | + "suggestProduct": { |
| 897 | + "properties": { |
| 898 | + "companyName": { |
| 899 | + "description": "The suggested product's company name.", |
| 900 | + "maxLength": 512, |
| 901 | + "pattern": "^[a-zA-ZäüöÄÜÖ0-9,.!?()@\\/:=\\n\\t -]+$", |
| 902 | + "type": "string" |
| 903 | + }, |
| 904 | + "message": { |
| 905 | + "description": "An additional message.", |
| 906 | + "maxLength": 512, |
| 907 | + "pattern": "^[a-zA-ZäüöÄÜÖ0-9,.!?()@\\/:=\\n\\t -]+$", |
| 908 | + "type": "string" |
| 909 | + }, |
| 910 | + "name": { |
| 911 | + "description": "The suggested product name.", |
| 912 | + "maxLength": 512, |
| 913 | + "pattern": "^[a-zA-ZäüöÄÜÖ0-9,.!?()@\\/:=\\n\\t -]+$", |
| 914 | + "type": "string" |
| 915 | + }, |
| 916 | + "url": { |
| 917 | + "description": "The suggested product's website URL.", |
| 918 | + "format": "url", |
| 919 | + "maxLength": 512, |
| 920 | + "pattern": "^[a-zA-ZäüöÄÜÖ0-9,.!?()@\\/:=\\n\\t -]+$", |
| 921 | + "type": "string" |
| 922 | + } |
| 923 | + }, |
| 924 | + "required": [ |
| 925 | + "name", |
| 926 | + "companyName", |
| 927 | + "url" |
| 928 | + ], |
| 929 | + "type": "object" |
| 930 | + }, |
| 931 | + "type": { |
| 932 | + "description": "The form type.", |
| 933 | + "enum": [ |
| 934 | + "suggest_product" |
| 935 | + ], |
| 936 | + "format": "enum", |
| 937 | + "type": "string" |
| 938 | + } |
| 939 | + }, |
| 940 | + "required": [ |
| 941 | + "type", |
| 942 | + "suggestProduct" |
| 943 | + ], |
| 944 | + "title": "suggestProduct", |
| 945 | + "type": "object" |
| 946 | + }, |
| 947 | + { |
| 948 | + "description": "Contact sales.", |
| 949 | + "properties": { |
| 950 | + "contactSales": { |
| 951 | + "properties": { |
| 952 | + "companyName": { |
| 953 | + "description": "The company name.", |
| 954 | + "maxLength": 512, |
| 955 | + "pattern": "^[a-zA-ZäüöÄÜÖ0-9,.!?()@\\/:=\\n\\t -]+$", |
| 956 | + "type": "string" |
| 957 | + }, |
| 958 | + "contactEmail": { |
| 959 | + "description": "The contact e-mail address.", |
| 960 | + "format": "email", |
| 961 | + "type": "string" |
| 962 | + }, |
| 963 | + "fullName": { |
| 964 | + "description": "The full name of the contact person.", |
| 965 | + "maxLength": 512, |
| 966 | + "pattern": "^[a-zA-ZäüöÄÜÖ0-9,.!?()@\\/:=\\n\\t -]+$", |
| 967 | + "type": "string" |
| 968 | + }, |
| 969 | + "message": { |
| 970 | + "description": "The message content.", |
| 971 | + "maxLength": 512, |
| 972 | + "pattern": "^[a-zA-ZäüöÄÜÖ0-9,.!?()@\\/:=\\n\\t -]+$", |
| 973 | + "type": "string" |
| 974 | + }, |
| 975 | + "productId": { |
| 976 | + "description": "The product ID.", |
| 977 | + "format": "uuid", |
| 978 | + "type": "string" |
| 979 | + } |
| 980 | + }, |
| 981 | + "required": [ |
| 982 | + "productId", |
| 983 | + "fullName", |
| 984 | + "companyName", |
| 985 | + "contactEmail", |
| 986 | + "message" |
| 987 | + ], |
| 988 | + "type": "object" |
| 989 | + }, |
| 990 | + "type": { |
| 991 | + "description": "The form type.", |
| 992 | + "enum": [ |
| 993 | + "contact_sales" |
| 994 | + ], |
| 995 | + "format": "enum", |
| 996 | + "type": "string" |
| 997 | + } |
| 998 | + }, |
| 999 | + "required": [ |
| 1000 | + "type", |
| 1001 | + "contactSales" |
| 1002 | + ], |
| 1003 | + "title": "contactSales", |
| 1004 | + "type": "object" |
| 1005 | + }, |
| 1006 | + { |
| 1007 | + "description": "Become a vendor.", |
| 1008 | + "properties": { |
| 1009 | + "becomeVendor": { |
| 1010 | + "properties": { |
| 1011 | + "contactEmail": { |
| 1012 | + "description": "The contact e-mail address.", |
| 1013 | + "format": "email", |
| 1014 | + "type": "string" |
| 1015 | + }, |
| 1016 | + "message": { |
| 1017 | + "description": "The message content.", |
| 1018 | + "maxLength": 512, |
| 1019 | + "pattern": "^[a-zA-ZäüöÄÜÖ0-9,.!?()@\\/:=\\n\\t -]+$", |
| 1020 | + "type": "string" |
| 1021 | + } |
| 1022 | + }, |
| 1023 | + "required": [ |
| 1024 | + "contactEmail", |
| 1025 | + "message" |
| 1026 | + ], |
| 1027 | + "type": "object" |
| 1028 | + }, |
| 1029 | + "type": { |
| 1030 | + "description": "The form type.", |
| 1031 | + "enum": [ |
| 1032 | + "become_vendor" |
| 1033 | + ], |
| 1034 | + "format": "enum", |
| 1035 | + "type": "string" |
| 1036 | + } |
| 1037 | + }, |
| 1038 | + "required": [ |
| 1039 | + "type", |
| 1040 | + "becomeVendor" |
| 1041 | + ], |
| 1042 | + "title": "becomeVendor", |
| 1043 | + "type": "object" |
| 1044 | + }, |
| 1045 | + { |
| 1046 | + "description": "Register for testing.", |
| 1047 | + "properties": { |
| 1048 | + "registerTesting": { |
| 1049 | + "properties": { |
| 1050 | + "contactEmail": { |
| 1051 | + "description": "The contact e-mail address.", |
| 1052 | + "format": "email", |
| 1053 | + "type": "string" |
| 1054 | + }, |
| 1055 | + "fullName": { |
| 1056 | + "description": "The full name of the contact person.", |
| 1057 | + "maxLength": 512, |
| 1058 | + "pattern": "^[a-zA-ZäüöÄÜÖ0-9,.!?()@\\/:=\\n\\t -]+$", |
| 1059 | + "type": "string" |
| 1060 | + }, |
| 1061 | + "message": { |
| 1062 | + "description": "The message content.", |
| 1063 | + "maxLength": 512, |
| 1064 | + "pattern": "^[a-zA-ZäüöÄÜÖ0-9,.!?()@\\/:=\\n\\t -]+$", |
| 1065 | + "type": "string" |
| 1066 | + } |
| 1067 | + }, |
| 1068 | + "required": [ |
| 1069 | + "fullName", |
| 1070 | + "contactEmail", |
| 1071 | + "message" |
| 1072 | + ] |
| 1073 | + }, |
| 1074 | + "type": { |
| 1075 | + "description": "The form type.", |
| 1076 | + "enum": [ |
| 1077 | + "register_testing" |
| 1078 | + ], |
| 1079 | + "format": "enum", |
| 1080 | + "type": "string" |
| 1081 | + } |
| 1082 | + }, |
| 1083 | + "required": [ |
| 1084 | + "type", |
| 1085 | + "registerTesting" |
| 1086 | + ], |
| 1087 | + "title": "registerTesting", |
| 1088 | + "type": "object" |
| 1089 | + } |
| 1090 | + ], |
| 1091 | + "type": "object" |
890 | 1092 | } |
891 | 1093 | } |
892 | 1094 | }, |
|
989 | 1191 | } |
990 | 1192 | } |
991 | 1193 | }, |
| 1194 | + "/v1/inquiries": { |
| 1195 | + "post": { |
| 1196 | + "description": "Create an inquiry to contact sales, become a vendor, or suggest a product. Requests are limited to 10 per 5 minutes.", |
| 1197 | + "operationId": "inquiries-create-inquiry", |
| 1198 | + "requestBody": { |
| 1199 | + "content": { |
| 1200 | + "application/json": { |
| 1201 | + "schema": { |
| 1202 | + "$ref": "#/components/schemas/inquiries-create-inquiryPayload" |
| 1203 | + } |
| 1204 | + } |
| 1205 | + }, |
| 1206 | + "required": true |
| 1207 | + }, |
| 1208 | + "responses": { |
| 1209 | + "202": { |
| 1210 | + "description": "Accepted" |
| 1211 | + }, |
| 1212 | + "400": { |
| 1213 | + "$ref": "#/components/responses/BadRequest" |
| 1214 | + }, |
| 1215 | + "401": { |
| 1216 | + "$ref": "#/components/responses/Unauthorized" |
| 1217 | + }, |
| 1218 | + "403": { |
| 1219 | + "$ref": "#/components/responses/Forbidden" |
| 1220 | + }, |
| 1221 | + "404": { |
| 1222 | + "$ref": "#/components/responses/NotFound" |
| 1223 | + } |
| 1224 | + }, |
| 1225 | + "summary": "Create inquiry", |
| 1226 | + "x-stackit-authorization": { |
| 1227 | + "disabled": true |
| 1228 | + } |
| 1229 | + } |
| 1230 | + }, |
992 | 1231 | "/v1/vendors/projects/{projectId}/resolve-customer": { |
993 | 1232 | "post": { |
994 | 1233 | "description": "Get details about the requested subscription.", |
|
0 commit comments