-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathprompt-config.schema.json
More file actions
257 lines (257 loc) · 8.64 KB
/
Copy pathprompt-config.schema.json
File metadata and controls
257 lines (257 loc) · 8.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Intuit Developer Prompt Library Configuration",
"description": "Schema for prompt-config.json — validates configurable and static fields used by merge-prompt.js",
"type": "object",
"required": [
"integration_mode",
"language_framework",
"type_of_transaction",
"typing_system",
"transaction_creation_instructions",
"markup_percentages",
"project_estimate_creation_instructions",
"graphql_endpoint_production",
"graphql_endpoint_sandbox",
"graphql_schema",
"transaction_v3_api_endpoint",
"get_transaction_endpoint",
"company_info_rest_v3_api_endpoint",
"company_preferences_rest_v3_api_endpoint",
"rest_v3_api_documentation",
"project-estimate-documentation",
"projects_discovery_query",
"project_creation_query"
],
"properties": {
"integration_mode": {
"type": "string",
"enum": ["new", "existing"],
"description": "Whether to scaffold a new project or produce importable modules for an existing codebase"
},
"language_framework": {
"type": "string",
"minLength": 1,
"description": "Target language or framework for generated code (e.g., Python3, TypeScript, Java)"
},
"type_of_transaction": {
"type": "string",
"pattern": "^[a-z]+$",
"enum": [
"bill",
"creditmemo",
"deposit",
"estimate",
"expense",
"purchase",
"invoice",
"journalentry",
"purchaseorder",
"refundreceipt",
"salesreceipt",
"vendorcredit"
],
"description": "QuickBooks transaction type (must be all lowercase)"
},
"typing_system": {
"type": "string",
"minLength": 1,
"description": "Type system style for the chosen language (e.g., hints (dataclasses), Pydantic models)"
},
"transaction_creation_instructions": {
"type": "string",
"minLength": 1,
"description": "Free-form instructions for creating a Dimensions-tagged transaction"
},
"markup_percentages": {
"type": "number",
"description": "Markup percentage for Project Estimate cost calculations (positive value = profit, negative value = loss)"
},
"project_estimate_creation_instructions": {
"type": "string",
"minLength": 1,
"description": "Free-form instructions for creating a Project Estimate"
},
"graphql_endpoint_production": {
"type": "string",
"description": "Production GraphQL endpoint"
},
"graphql_endpoint_sandbox": {
"type": "string",
"description": "Sandbox GraphQL endpoint"
},
"graphql_schema": {
"type": "string",
"description": "URL to the GraphQL schema documentation"
},
"create_dimension_qbo_ui": {
"type": "string",
"description": "URL to create dimensions in the QuickBooks UI"
},
"custom_extensions_structure": {
"type": "string",
"description": "JSON structure for CustomExtensions payload"
},
"transaction_v3_api_endpoint": {
"type": "string",
"description": "REST V3 endpoint for creating transactions"
},
"get_transaction_endpoint": {
"type": "string",
"description": "REST V3 endpoint for reading a transaction"
},
"transaction_v3_estimate_api_endpoint": {
"type": "string",
"description": "REST V3 endpoint for creating a Project Estimate"
},
"get_estimate_transaction_endpoint": {
"type": "string",
"description": "REST V3 endpoint for reading a Project Estimate"
},
"rest_baseurl_production": {
"type": "string",
"description": "Production REST API base URL (host only, no scheme)"
},
"rest_baseurl_sandbox": {
"type": "string",
"description": "Sandbox REST API base URL (host only, no scheme)"
},
"minorversion": {
"type": "string",
"description": "QuickBooks REST API minorversion to use in query strings"
},
"company_info_rest_v3_api_endpoint": {
"type": "string",
"description": "REST V3 endpoint for querying CompanyInfo"
},
"company_preferences_rest_v3_api_endpoint": {
"type": "string",
"description": "REST V3 endpoint for querying Company Preferences"
},
"dimension_Api_documentation": {
"type": "string",
"description": "URL to Dimensions API documentation"
},
"project-estimate-documentation": {
"type": "string",
"description": "URL to Project Estimate use-case documentation"
},
"rest_v3_api_documentation": {
"type": "string",
"description": "URL to REST V3 API reference documentation"
},
"dimension_discovery_query": {
"type": "string",
"description": "GraphQL query for fetching dimension definitions"
},
"dimension_values_query": {
"type": "string",
"description": "GraphQL query for fetching dimension values"
},
"projects_discovery_query": {
"type": "string",
"description": "GraphQL query for fetching projects"
},
"project_creation_query": {
"type": "string",
"description": "GraphQL mutation for creating a project"
},
"php-sdk-documentation": {
"type": "string",
"description": "URL to PHP SDK documentation"
},
"oauth2-documentation": {
"type": "string",
"description": "URL to OAuth 2.0 documentation"
},
"java-sdk-official": {
"type": "string",
"description": "URL to official Java SDK on Maven Central"
},
"java-sdk-dependency": {
"type": "string",
"description": "Build tool for Java SDK dependency (e.g., Gradle, Maven)"
},
"java-sdk-documentation": {
"type": "string",
"description": "URL to Java SDK installation documentation"
},
"custom_field_documentation": {
"type": "string",
"description": "URL to the Custom Fields use-case documentation"
},
"custom_field_scope_readwrite": {
"type": "string",
"description": "OAuth scope required for read/write access to custom field definitions"
},
"custom_field_definitions_query": {
"type": "string",
"description": "GraphQL query for fetching custom field definitions"
},
"custom_field_create_definition_mutation": {
"type": "string",
"description": "GraphQL mutation for creating a custom field definition"
},
"custom_field_create_definition_variables_example": {
"type": "string",
"description": "Example variables payload for the create custom field definition mutation"
},
"custom_field_update_definition_mutation": {
"type": "string",
"description": "GraphQL mutation for updating a custom field definition"
},
"custom_field_update_definition_variables_example": {
"type": "string",
"description": "Example variables payload for the update custom field definition mutation"
},
"custom_field_disable_variables_example": {
"type": "string",
"description": "Example variables payload for disabling a custom field definition"
},
"custom_field_payload_structure": {
"type": "string",
"description": "JSON shape of the custom field values attached to a transaction"
},
"custom_field_transaction_creation_instructions": {
"type": "string",
"description": "Free-form instructions for creating a transaction with custom field values"
},
"custom_field_sample_app_java": {
"type": "string",
"description": "URL to the official Custom Fields Java sample app"
},
"custom_field_sample_app_python": {
"type": "string",
"description": "URL to the official Custom Fields Python sample app"
},
"sales_tax_documentation": {
"type": "string",
"description": "URL to the Sales Tax use-case documentation"
},
"sales_tax_scope": {
"type": "string",
"description": "OAuth scope required for the Sales Tax calculation API"
},
"sales_tax_calculate_mutation": {
"type": "string",
"description": "GraphQL mutation for calculating sale transaction tax"
},
"sales_tax_calculate_variables_example": {
"type": "string",
"description": "Example variables payload for the sales tax calculation mutation"
},
"sales_tax_sample_app_java": {
"type": "string",
"description": "URL to the official Sales Tax Java sample app"
},
"sales_tax_sample_app_python": {
"type": "string",
"description": "URL to the official Sales Tax Python sample app"
},
"sales_tax_sample_app_nodejs": {
"type": "string",
"description": "URL to the official Sales Tax Node.js sample app"
}
},
"additionalProperties": false
}