ApiLogicServer 14.3.25__py3-none-any.whl → 14.5.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (167) hide show
  1. api_logic_server_cli/add_cust/add_cust.py +283 -0
  2. api_logic_server_cli/api_logic_server.py +18 -250
  3. api_logic_server_cli/api_logic_server_info.yaml +3 -3
  4. api_logic_server_cli/cli.py +54 -35
  5. api_logic_server_cli/create_from_model/__pycache__/api_logic_server_utils.cpython-312.pyc +0 -0
  6. api_logic_server_cli/create_from_model/__pycache__/create_db_from_model.cpython-312.pyc +0 -0
  7. api_logic_server_cli/create_from_model/__pycache__/dbml.cpython-312.pyc +0 -0
  8. api_logic_server_cli/create_from_model/__pycache__/ont_build.cpython-312.pyc +0 -0
  9. api_logic_server_cli/create_from_model/__pycache__/ont_create.cpython-312.pyc +0 -0
  10. api_logic_server_cli/create_from_model/api_logic_server_utils.py +47 -0
  11. api_logic_server_cli/create_from_model/create_db_from_model.py +2 -0
  12. api_logic_server_cli/create_from_model/dbml.py +113 -58
  13. api_logic_server_cli/create_from_model/ont_build.py +102 -74
  14. api_logic_server_cli/create_from_model/ont_create.py +7 -6
  15. api_logic_server_cli/create_from_model/safrs-react-admin-npm-build/static/.DS_Store +0 -0
  16. api_logic_server_cli/database/basic_demo.sqlite +0 -0
  17. api_logic_server_cli/database/basic_demo.txt +1 -0
  18. api_logic_server_cli/database/basic_demo_wg.sqlite +0 -0
  19. api_logic_server_cli/database/nw-gold-fix.sql +62 -0
  20. api_logic_server_cli/database/nw-gold.sqlite +0 -0
  21. api_logic_server_cli/{prototypes/manager/webgenai → fragments}/docker-compose.yml +1 -1
  22. api_logic_server_cli/genai/genai.py +42 -11
  23. api_logic_server_cli/genai/genai_graphics.py +252 -38
  24. api_logic_server_cli/genai/genai_svcs.py +20 -12
  25. api_logic_server_cli/manager.py +22 -12
  26. api_logic_server_cli/prototypes/.DS_Store +0 -0
  27. api_logic_server_cli/prototypes/base/.DS_Store +0 -0
  28. api_logic_server_cli/prototypes/base/.vscode/launch.json +22 -2
  29. api_logic_server_cli/prototypes/base/api/expose_api_models.py +3 -1
  30. api_logic_server_cli/prototypes/base/api_logic_server_run.py +5 -2
  31. api_logic_server_cli/prototypes/base/config/activate_logicbank.py +1 -0
  32. api_logic_server_cli/prototypes/base/config/config.py +123 -25
  33. api_logic_server_cli/prototypes/base/config/default.env +7 -1
  34. api_logic_server_cli/prototypes/base/config/logging.yml +1 -0
  35. api_logic_server_cli/prototypes/base/config/server_setup.py +33 -1
  36. api_logic_server_cli/prototypes/base/database/test_data/readme.md +5 -2
  37. api_logic_server_cli/prototypes/base/devops/docker-standard-image/docker-compose-standard-image.yml +7 -2
  38. api_logic_server_cli/prototypes/base/docs/training/logic_bank_api.prompt +314 -0
  39. api_logic_server_cli/prototypes/base/docs/training/logic_example.py +41 -0
  40. api_logic_server_cli/prototypes/base/integration/kafka/kafka_producer.py +12 -5
  41. api_logic_server_cli/prototypes/base/integration/n8n/n8n_producer.py +68 -21
  42. api_logic_server_cli/prototypes/base/integration/n8n/n8n_readme.md +19 -0
  43. api_logic_server_cli/prototypes/base/integration/system/FlaskKafka.py +5 -1
  44. api_logic_server_cli/prototypes/base/test/basic/server_test.py +1 -1
  45. api_logic_server_cli/prototypes/base/ui/templates/bar_chart.jinja +64 -0
  46. api_logic_server_cli/prototypes/basic_demo/README.md +29 -52
  47. api_logic_server_cli/prototypes/basic_demo/customizations/api/.DS_Store +0 -0
  48. api_logic_server_cli/prototypes/basic_demo/customizations/api/api_discovery/mcp_server_executor.py +138 -0
  49. api_logic_server_cli/prototypes/basic_demo/customizations/api/api_discovery/openapi.py +92 -0
  50. api_logic_server_cli/prototypes/basic_demo/customizations/api/api_discovery/proper_update_def.json +71 -0
  51. api_logic_server_cli/prototypes/basic_demo/customizations/config/default.env +13 -0
  52. api_logic_server_cli/prototypes/basic_demo/customizations/database/db.sqlite +0 -0
  53. api_logic_server_cli/prototypes/basic_demo/customizations/database/models.py +131 -0
  54. api_logic_server_cli/prototypes/basic_demo/customizations/integration/.DS_Store +0 -0
  55. api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/.DS_Store +0 -0
  56. api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/1_langchain_loader.py +71 -0
  57. api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/2_gpt_mcp_prompt.txt +19 -0
  58. api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/README_mcp.md +13 -0
  59. api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/mcp_client_executor.py +295 -0
  60. api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/mcp_schema.txt +47 -0
  61. api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/mcp_server_discovery.json +9 -0
  62. api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/multi_mcp_flow/multi_mcp_flow.png +0 -0
  63. api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/multi_mcp_flow/multi_mcp_orchestration.yaml +49 -0
  64. api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/multi_mcp_flow/wny mcp flows.png +0 -0
  65. api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/natlang_to_api.py +73 -0
  66. api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/resources/curl.txt +5 -0
  67. api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/resources/images/MCP Overview.png +0 -0
  68. api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/resources/images/MCP_Arch.png +0 -0
  69. api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/resources/images/MCP_Overview_Executor.png +0 -0
  70. api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/resources/invoke_llm/1 - prompt_messages_array.json +10 -0
  71. api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/resources/invoke_llm/2 - completion_tool_context.json +12 -0
  72. api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/resources/llm_schema.txt +38 -0
  73. api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/resources/nw_swagger_2.yaml +17393 -0
  74. api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/resources/nw_swagger_3.yaml +16660 -0
  75. api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/resources/nw_swagger_3_relaxed.yaml +109 -0
  76. api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/resources/proxy_server.py +51 -0
  77. api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/resources/proxy_serverZ.py +72 -0
  78. api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/resources/validate_jsonapi.py +64 -0
  79. api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/run_executor.py +23 -0
  80. api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/swagger_converter.py +65 -0
  81. api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/z_old/3_executor_test_agent.py +52 -0
  82. api_logic_server_cli/prototypes/basic_demo/customizations/integration/openai_function/3_executor_test_agent.py +52 -0
  83. api_logic_server_cli/prototypes/basic_demo/customizations/integration/openai_function/README_functon.md +201 -0
  84. api_logic_server_cli/prototypes/basic_demo/customizations/integration/openai_function/ai_plugin.json +17 -0
  85. api_logic_server_cli/prototypes/basic_demo/customizations/integration/openai_function/nw-swagger_3.json +1731 -0
  86. api_logic_server_cli/prototypes/basic_demo/customizations/integration/openai_function/snippets.txt +5 -0
  87. api_logic_server_cli/prototypes/basic_demo/customizations/integration/openai_function/swagger_3 genai_demo_with_get.json +1731 -0
  88. api_logic_server_cli/prototypes/basic_demo/customizations/integration/openai_function/swagger_3.json +1782 -0
  89. api_logic_server_cli/prototypes/basic_demo/customizations/integration/openai_function/swagger_3_genai_demo.json +264 -0
  90. api_logic_server_cli/prototypes/basic_demo/customizations/integration/openai_function/swagger_3_genai_demo_with_update.json +1782 -0
  91. api_logic_server_cli/prototypes/basic_demo/customizations/logic/declare_logic.py +62 -44
  92. api_logic_server_cli/prototypes/basic_demo/customizations/security/declare_security.py +11 -12
  93. api_logic_server_cli/prototypes/basic_demo/customizations/ui/admin/admin.yaml +166 -0
  94. api_logic_server_cli/prototypes/basic_demo/iteration/api/{customize_api.py → api_discovery/order_b2b.py} +17 -23
  95. api_logic_server_cli/prototypes/basic_demo/iteration/database/db.sqlite +0 -0
  96. api_logic_server_cli/prototypes/basic_demo/iteration/integration/row_dict_maps/OrderB2B.py +6 -5
  97. api_logic_server_cli/prototypes/basic_demo/iteration/integration/row_dict_maps/OrderShipping.py +4 -4
  98. api_logic_server_cli/prototypes/basic_demo/iteration/logic/declare_logic.py +69 -43
  99. api_logic_server_cli/prototypes/basic_demo/iteration/ui/admin/admin.yaml +125 -50
  100. api_logic_server_cli/prototypes/genai_demo/ui/admin/admin.yaml +1 -1
  101. api_logic_server_cli/prototypes/manager/README.md +30 -4
  102. api_logic_server_cli/prototypes/manager/README_X.md +663 -0
  103. api_logic_server_cli/prototypes/manager/system/genai/.DS_Store +0 -0
  104. api_logic_server_cli/prototypes/manager/system/genai/examples/.DS_Store +0 -0
  105. api_logic_server_cli/prototypes/manager/system/genai/examples/genai_demo/.DS_Store +0 -0
  106. api_logic_server_cli/prototypes/manager/system/genai/examples/genai_demo/genai_demo.prompt +0 -10
  107. api_logic_server_cli/prototypes/manager/system/genai/examples/genai_demo/genai_demo.response_example +32 -10
  108. api_logic_server_cli/prototypes/manager/system/genai/examples/genai_demo/genai_demo_docs_logic/docs/002_create_db_models.prompt +4 -4
  109. api_logic_server_cli/prototypes/manager/system/genai/examples/genai_demo/genai_demo_docs_logic/docs/003_create_db_models.response +77 -47
  110. api_logic_server_cli/prototypes/manager/system/genai/examples/genai_demo/genai_demo_informal.prompt +1 -1
  111. api_logic_server_cli/prototypes/manager/system/genai/graphics_templates/dashboard_services.jinja +83 -0
  112. api_logic_server_cli/prototypes/manager/system/genai/graphics_templates/graphics_dashboard_WIP.py +34 -0
  113. api_logic_server_cli/prototypes/manager/system/genai/graphics_templates/{graphics_services.py → graphics_services_api_xxx.py} +0 -9
  114. api_logic_server_cli/prototypes/manager/system/genai/graphics_templates/graphics_services_db.jinja +46 -0
  115. api_logic_server_cli/prototypes/manager/system/genai/graphics_templates/graphics_services_db_each_method.jinja +36 -0
  116. api_logic_server_cli/prototypes/manager/system/genai/prompt_inserts/graphics.prompt +7 -3
  117. api_logic_server_cli/prototypes/manager/system/genai/prompt_inserts/response_format.prompt +8 -1
  118. api_logic_server_cli/prototypes/manager/system/install-ApiLogicServer-dev/install-ApiLogicServer-dev.ps1 +100 -0
  119. api_logic_server_cli/prototypes/manager/system/install-ApiLogicServer-dev/install-ApiLogicServer-dev.sh +116 -0
  120. api_logic_server_cli/prototypes/manager/system/install-ApiLogicServer-dev/readme.md +7 -0
  121. api_logic_server_cli/prototypes/manager/system/style-guide.yaml +2 -2
  122. api_logic_server_cli/prototypes/manager/webgenai/README.md +6 -0
  123. api_logic_server_cli/prototypes/nw/docs/graphics/count_orders_by_category.prompt +1 -0
  124. api_logic_server_cli/prototypes/nw/docs/graphics/order_count_by_month.prompt +1 -0
  125. api_logic_server_cli/prototypes/nw/docs/graphics/request copy.json +892 -0
  126. api_logic_server_cli/prototypes/nw/docs/graphics/request.json +6 -0
  127. api_logic_server_cli/prototypes/nw/docs/graphics/response.json +17 -0
  128. api_logic_server_cli/prototypes/nw/docs/graphics/response.yaml +59 -0
  129. api_logic_server_cli/prototypes/nw/docs/graphics/sales_by_category.prompt +1 -0
  130. api_logic_server_cli/prototypes/nw/ui/admin/home.js +5 -4
  131. api_logic_server_cli/prototypes/nw/ui/app_model_custom.yaml +851 -1082
  132. api_logic_server_cli/prototypes/nw_no_cust/Tutorial.md +45 -26
  133. api_logic_server_cli/prototypes/nw_no_cust/api/api_discovery/openapi.py +130 -0
  134. api_logic_server_cli/prototypes/nw_no_cust/api/api_discovery/proper_update_def.json +71 -0
  135. api_logic_server_cli/prototypes/nw_no_cust/config/default.env +13 -0
  136. api_logic_server_cli/prototypes/nw_no_cust/docs/graphics/count_orders_by_category.prompt +1 -0
  137. api_logic_server_cli/prototypes/nw_no_cust/docs/graphics/sales_by_employee.prompt +1 -0
  138. api_logic_server_cli/prototypes/ont_app/ontimize_seed/nginx/nginx.conf +2 -2
  139. api_logic_server_cli/prototypes/ont_app/ontimize_seed/package-lock.json +9725 -1180
  140. api_logic_server_cli/prototypes/ont_app/ontimize_seed/package.json +6 -9
  141. api_logic_server_cli/prototypes/ont_app/ontimize_seed/src/app/app.config.ts +2 -1
  142. api_logic_server_cli/prototypes/ont_app/ontimize_seed/src/app/shared/app.services.config.ts +1 -1
  143. api_logic_server_cli/prototypes/ont_app/ontimize_seed/src/assets/css/app.scss +4 -0
  144. api_logic_server_cli/prototypes/ont_app/ontimize_seed/src/assets/i18n/en.json +1 -1
  145. api_logic_server_cli/prototypes/ont_app/ontimize_seed/src/assets/i18n/es.json +14 -12
  146. api_logic_server_cli/prototypes/ont_app/ontimize_seed/src/environments/environment.prod.ts +5 -5
  147. api_logic_server_cli/prototypes/ont_app/ontimize_seed/src/environments/environment.ts +5 -5
  148. api_logic_server_cli/prototypes/ont_app/templates/app_config.jinja +1 -1
  149. api_logic_server_cli/prototypes/ont_app/templates/date_template.html +1 -1
  150. api_logic_server_cli/prototypes/ont_app/templates/detail_template.html +1 -1
  151. api_logic_server_cli/prototypes/ont_app/templates/new_template.html +16 -16
  152. api_logic_server_cli/prototypes/ont_app/templates/textarea_template.html +1 -1
  153. api_logic_server_cli/prototypes/ont_app/templates/timestamp_template.html +1 -1
  154. api_logic_server_cli/prototypes/sample_ai/logic/declare_logic.py +30 -13
  155. apilogicserver-14.5.0.dist-info/METADATA +76 -0
  156. {apilogicserver-14.3.25.dist-info → apilogicserver-14.5.0.dist-info}/RECORD +160 -88
  157. {apilogicserver-14.3.25.dist-info → apilogicserver-14.5.0.dist-info}/WHEEL +1 -1
  158. api_logic_server_cli/prototypes/basic_demo/apply_customizations.ps1 +0 -17
  159. api_logic_server_cli/prototypes/basic_demo/apply_customizations.sh +0 -14
  160. api_logic_server_cli/prototypes/basic_demo/apply_iteration.ps1 +0 -20
  161. api_logic_server_cli/prototypes/basic_demo/apply_iteration.sh +0 -15
  162. api_logic_server_cli/prototypes/manager/system/genai/graphics_templates/service_template_jsonapi_rpc.jinja +0 -37
  163. api_logic_server_cli/prototypes/manager/system/genai/graphics_templates/service_template_unused.jinja +0 -38
  164. apilogicserver-14.3.25.dist-info/METADATA +0 -167
  165. {apilogicserver-14.3.25.dist-info → apilogicserver-14.5.0.dist-info}/entry_points.txt +0 -0
  166. {apilogicserver-14.3.25.dist-info → apilogicserver-14.5.0.dist-info}/licenses/LICENSE +0 -0
  167. {apilogicserver-14.3.25.dist-info → apilogicserver-14.5.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,1731 @@
1
+ {
2
+ "openapi": "3.1.0",
3
+ "info": {
4
+ "title": "API Logic Server",
5
+ "description": "SAFRSAPI",
6
+ "termsOfService": "",
7
+ "version": "0.0"
8
+ },
9
+ "servers": [
10
+ {
11
+ "url": "https://2e9f-2601-644-4900-d6f0-9893-cd5c-23f8-f7a6.ngrok-free.app/api"
12
+ }
13
+ ],
14
+ "paths": {
15
+ "/Customer/": {
16
+ "get": {
17
+ "tags": [
18
+ "Customer"
19
+ ],
20
+ "summary": "Retrieve a collection of Customer objects",
21
+ "description": "Retrieve Customer from Customer",
22
+ "operationId": "RetrieveacollectionofCustomerobjects_0",
23
+ "parameters": [
24
+ {
25
+ "name": "include",
26
+ "in": "query",
27
+ "description": "Customer relationships to include (csv)",
28
+ "schema": {
29
+ "type": "string",
30
+ "format": "string",
31
+ "default": "OrderList"
32
+ }
33
+ },
34
+ {
35
+ "name": "fields[Customer]",
36
+ "in": "query",
37
+ "description": "Customer fields to include (csv)",
38
+ "schema": {
39
+ "type": "string",
40
+ "format": "string",
41
+ "default": "Id,CompanyName,ContactName,ContactTitle,Address,City,Region,PostalCode,Country,Phone,Fax,Balance,CreditLimit,OrderCount,UnpaidOrderCount,Client_id,S_CheckSum"
42
+ }
43
+ },
44
+ {
45
+ "name": "page[offset]",
46
+ "in": "query",
47
+ "description": "Page offset",
48
+ "schema": {
49
+ "type": "integer",
50
+ "format": "int64",
51
+ "default": 0
52
+ }
53
+ },
54
+ {
55
+ "name": "page[limit]",
56
+ "in": "query",
57
+ "description": "Max number of items",
58
+ "schema": {
59
+ "type": "integer",
60
+ "format": "int64",
61
+ "default": 10
62
+ }
63
+ },
64
+ {
65
+ "name": "sort",
66
+ "in": "query",
67
+ "description": "Sort order",
68
+ "schema": {
69
+ "type": "string",
70
+ "format": "string",
71
+ "default": "id"
72
+ }
73
+ },
74
+ {
75
+ "name": "filter[Id]",
76
+ "in": "query",
77
+ "description": "Id attribute filter (csv)",
78
+ "schema": {
79
+ "type": "string",
80
+ "format": "string"
81
+ }
82
+ },
83
+ {
84
+ "name": "filter[CompanyName]",
85
+ "in": "query",
86
+ "description": "CompanyName attribute filter (csv)",
87
+ "schema": {
88
+ "type": "string",
89
+ "format": "string"
90
+ }
91
+ },
92
+ {
93
+ "name": "filter[ContactName]",
94
+ "in": "query",
95
+ "description": "ContactName attribute filter (csv)",
96
+ "schema": {
97
+ "type": "string",
98
+ "format": "string"
99
+ }
100
+ },
101
+ {
102
+ "name": "filter[ContactTitle]",
103
+ "in": "query",
104
+ "description": "ContactTitle attribute filter (csv)",
105
+ "schema": {
106
+ "type": "string",
107
+ "format": "string"
108
+ }
109
+ },
110
+ {
111
+ "name": "filter[Address]",
112
+ "in": "query",
113
+ "description": "Address attribute filter (csv)",
114
+ "schema": {
115
+ "type": "string",
116
+ "format": "string"
117
+ }
118
+ },
119
+ {
120
+ "name": "filter[City]",
121
+ "in": "query",
122
+ "description": "City attribute filter (csv)",
123
+ "schema": {
124
+ "type": "string",
125
+ "format": "string"
126
+ }
127
+ },
128
+ {
129
+ "name": "filter[Region]",
130
+ "in": "query",
131
+ "description": "Region attribute filter (csv)",
132
+ "schema": {
133
+ "type": "string",
134
+ "format": "string"
135
+ }
136
+ },
137
+ {
138
+ "name": "filter[PostalCode]",
139
+ "in": "query",
140
+ "description": "PostalCode attribute filter (csv)",
141
+ "schema": {
142
+ "type": "string",
143
+ "format": "string"
144
+ }
145
+ },
146
+ {
147
+ "name": "filter[Country]",
148
+ "in": "query",
149
+ "description": "Country attribute filter (csv)",
150
+ "schema": {
151
+ "type": "string",
152
+ "format": "string"
153
+ }
154
+ },
155
+ {
156
+ "name": "filter[Phone]",
157
+ "in": "query",
158
+ "description": "Phone attribute filter (csv)",
159
+ "schema": {
160
+ "type": "string",
161
+ "format": "string"
162
+ }
163
+ },
164
+ {
165
+ "name": "filter[Fax]",
166
+ "in": "query",
167
+ "description": "Fax attribute filter (csv)",
168
+ "schema": {
169
+ "type": "string",
170
+ "format": "string"
171
+ }
172
+ },
173
+ {
174
+ "name": "filter[Balance]",
175
+ "in": "query",
176
+ "description": "Balance attribute filter (csv)",
177
+ "schema": {
178
+ "type": "string",
179
+ "format": "string"
180
+ }
181
+ },
182
+ {
183
+ "name": "filter[CreditLimit]",
184
+ "in": "query",
185
+ "description": "CreditLimit attribute filter (csv)",
186
+ "schema": {
187
+ "type": "string",
188
+ "format": "string"
189
+ }
190
+ },
191
+ {
192
+ "name": "filter[OrderCount]",
193
+ "in": "query",
194
+ "description": "OrderCount attribute filter (csv)",
195
+ "schema": {
196
+ "type": "string",
197
+ "format": "string"
198
+ }
199
+ },
200
+ {
201
+ "name": "filter[UnpaidOrderCount]",
202
+ "in": "query",
203
+ "description": "UnpaidOrderCount attribute filter (csv)",
204
+ "schema": {
205
+ "type": "string",
206
+ "format": "string"
207
+ }
208
+ },
209
+ {
210
+ "name": "filter[Client_id]",
211
+ "in": "query",
212
+ "description": "Client_id attribute filter (csv)",
213
+ "schema": {
214
+ "type": "string",
215
+ "format": "string"
216
+ }
217
+ },
218
+ {
219
+ "name": "filter[S_CheckSum]",
220
+ "in": "query",
221
+ "description": "S_CheckSum attribute filter (csv)",
222
+ "schema": {
223
+ "type": "string",
224
+ "format": "string"
225
+ }
226
+ },
227
+ {
228
+ "name": "filter[id]",
229
+ "in": "query",
230
+ "description": "id attribute filter (csv)",
231
+ "schema": {
232
+ "type": "string",
233
+ "format": "string"
234
+ }
235
+ },
236
+ {
237
+ "name": "filter",
238
+ "in": "query",
239
+ "description": "Custom Customer filter",
240
+ "schema": {
241
+ "type": "string",
242
+ "format": "string"
243
+ }
244
+ },
245
+ {
246
+ "name": "Content-Type",
247
+ "in": "header",
248
+ "required": true,
249
+ "schema": {
250
+ "type": "string",
251
+ "default": "application/vnd.api+json",
252
+ "enum": [
253
+ "application/vnd.api+json",
254
+ "application/json"
255
+ ]
256
+ }
257
+ }
258
+ ],
259
+ "responses": {
260
+ "200": {
261
+ "description": "Request fulfilled, document follows",
262
+ "content": {
263
+ "application/vnd.api+json": {
264
+ "schema": {
265
+ "$ref": "#/components/schemas/Customer_coll1"
266
+ }
267
+ }
268
+ }
269
+ },
270
+ "403": {
271
+ "description": "Forbidden",
272
+ "content": {
273
+ "application/vnd.api+json": {
274
+ "schema": {
275
+ "$ref": "#/components/schemas/jsonapi_error_403"
276
+ }
277
+ }
278
+ }
279
+ },
280
+ "404": {
281
+ "description": "Not Found",
282
+ "content": {
283
+ "application/vnd.api+json": {
284
+ "schema": {
285
+ "$ref": "#/components/schemas/jsonapi_error_404"
286
+ }
287
+ }
288
+ }
289
+ }
290
+ }
291
+ },
292
+ "post": {
293
+ "tags": [
294
+ "Customer"
295
+ ],
296
+ "summary": "Create Customer",
297
+ "operationId": "CreateCustomer_0",
298
+ "parameters": [
299
+ {
300
+ "name": "Content-Type",
301
+ "in": "header",
302
+ "required": true,
303
+ "schema": {
304
+ "type": "string",
305
+ "default": "application/vnd.api+json",
306
+ "enum": [
307
+ "application/vnd.api+json",
308
+ "application/json"
309
+ ]
310
+ }
311
+ }
312
+ ],
313
+ "requestBody": {
314
+ "description": "Customer attributes",
315
+ "content": {
316
+ "*/*": {
317
+ "schema": {
318
+ "$ref": "#/components/schemas/Customer_inst1"
319
+ }
320
+ }
321
+ },
322
+ "required": true
323
+ },
324
+ "responses": {
325
+ "201": {
326
+ "description": "Created",
327
+ "content": {
328
+ "application/vnd.api+json": {
329
+ "schema": {
330
+ "$ref": "#/components/schemas/Customer_inst1"
331
+ }
332
+ }
333
+ }
334
+ },
335
+ "202": {
336
+ "description": "Accepted",
337
+ "content": {}
338
+ },
339
+ "403": {
340
+ "description": "Forbidden",
341
+ "content": {
342
+ "application/vnd.api+json": {
343
+ "schema": {
344
+ "$ref": "#/components/schemas/jsonapi_error_403"
345
+ }
346
+ }
347
+ }
348
+ },
349
+ "404": {
350
+ "description": "Not Found",
351
+ "content": {
352
+ "application/vnd.api+json": {
353
+ "schema": {
354
+ "$ref": "#/components/schemas/jsonapi_error_404"
355
+ }
356
+ }
357
+ }
358
+ },
359
+ "409": {
360
+ "description": "Conflict",
361
+ "content": {
362
+ "application/vnd.api+json": {
363
+ "schema": {
364
+ "$ref": "#/components/schemas/jsonapi_error_409"
365
+ }
366
+ }
367
+ }
368
+ }
369
+ },
370
+ "x-codegen-request-body-name": "POST body"
371
+ }
372
+ },
373
+ "/Customer/{CustomerId}/": {
374
+ "get": {
375
+ "tags": [
376
+ "Customer"
377
+ ],
378
+ "summary": "Retrieve Customer instance",
379
+ "description": "Retrieve Customer from Customer",
380
+ "operationId": "RetrieveCustomerinstance_0",
381
+ "parameters": [
382
+ {
383
+ "name": "include",
384
+ "in": "query",
385
+ "description": "Customer relationships to include (csv)",
386
+ "schema": {
387
+ "type": "string",
388
+ "format": "string",
389
+ "default": "OrderList"
390
+ }
391
+ },
392
+ {
393
+ "name": "fields[Customer]",
394
+ "in": "query",
395
+ "description": "Customer fields to include (csv)",
396
+ "schema": {
397
+ "type": "string",
398
+ "format": "string",
399
+ "default": "Id,CompanyName,ContactName,ContactTitle,Address,City,Region,PostalCode,Country,Phone,Fax,Balance,CreditLimit,OrderCount,UnpaidOrderCount,Client_id,S_CheckSum"
400
+ }
401
+ },
402
+ {
403
+ "name": "CustomerId",
404
+ "in": "path",
405
+ "required": true,
406
+ "schema": {
407
+ "type": "string",
408
+ "default": "ALFKI"
409
+ }
410
+ },
411
+ {
412
+ "name": "Content-Type",
413
+ "in": "header",
414
+ "required": true,
415
+ "schema": {
416
+ "type": "string",
417
+ "default": "application/vnd.api+json",
418
+ "enum": [
419
+ "application/vnd.api+json",
420
+ "application/json"
421
+ ]
422
+ }
423
+ }
424
+ ],
425
+ "responses": {
426
+ "200": {
427
+ "description": "Request fulfilled, document follows",
428
+ "content": {
429
+ "application/vnd.api+json": {
430
+ "schema": {
431
+ "$ref": "#/components/schemas/Customer_inst1"
432
+ }
433
+ }
434
+ }
435
+ },
436
+ "403": {
437
+ "description": "Forbidden",
438
+ "content": {
439
+ "application/vnd.api+json": {
440
+ "schema": {
441
+ "$ref": "#/components/schemas/jsonapi_error_403"
442
+ }
443
+ }
444
+ }
445
+ },
446
+ "404": {
447
+ "description": "Not Found",
448
+ "content": {
449
+ "application/vnd.api+json": {
450
+ "schema": {
451
+ "$ref": "#/components/schemas/jsonapi_error_404"
452
+ }
453
+ }
454
+ }
455
+ }
456
+ }
457
+ },
458
+ "delete": {
459
+ "tags": [
460
+ "Customer"
461
+ ],
462
+ "summary": "Delete Customer from Customer",
463
+ "operationId": "DeleteCustomerfromCustomer_0",
464
+ "parameters": [
465
+ {
466
+ "name": "CustomerId",
467
+ "in": "path",
468
+ "required": true,
469
+ "schema": {
470
+ "type": "string",
471
+ "default": "ALFKI"
472
+ }
473
+ },
474
+ {
475
+ "name": "Content-Type",
476
+ "in": "header",
477
+ "required": true,
478
+ "schema": {
479
+ "type": "string",
480
+ "default": "application/vnd.api+json",
481
+ "enum": [
482
+ "application/vnd.api+json",
483
+ "application/json"
484
+ ]
485
+ }
486
+ }
487
+ ],
488
+ "responses": {
489
+ "200": {
490
+ "description": "Success",
491
+ "content": {
492
+ "application/vnd.api+json": {
493
+ "schema": {
494
+ "$ref": "#/components/schemas/Customer_inst1"
495
+ }
496
+ }
497
+ }
498
+ },
499
+ "202": {
500
+ "description": "Accepted",
501
+ "content": {}
502
+ },
503
+ "204": {
504
+ "description": "Request fulfilled, nothing follows",
505
+ "content": {}
506
+ },
507
+ "403": {
508
+ "description": "Forbidden",
509
+ "content": {
510
+ "application/vnd.api+json": {
511
+ "schema": {
512
+ "$ref": "#/components/schemas/jsonapi_error_403"
513
+ }
514
+ }
515
+ }
516
+ },
517
+ "404": {
518
+ "description": "Not Found",
519
+ "content": {
520
+ "application/vnd.api+json": {
521
+ "schema": {
522
+ "$ref": "#/components/schemas/jsonapi_error_404"
523
+ }
524
+ }
525
+ }
526
+ }
527
+ }
528
+ },
529
+ "patch": {
530
+ "tags": [
531
+ "Customer"
532
+ ],
533
+ "summary": "Update Customer",
534
+ "description": "Update Customer attributes",
535
+ "operationId": "UpdateCustomer_0",
536
+ "parameters": [
537
+ {
538
+ "name": "CustomerId",
539
+ "in": "path",
540
+ "required": true,
541
+ "schema": {
542
+ "type": "string",
543
+ "default": "ALFKI"
544
+ }
545
+ },
546
+ {
547
+ "name": "Content-Type",
548
+ "in": "header",
549
+ "required": true,
550
+ "schema": {
551
+ "type": "string",
552
+ "default": "application/vnd.api+json",
553
+ "enum": [
554
+ "application/vnd.api+json",
555
+ "application/json"
556
+ ]
557
+ }
558
+ }
559
+ ],
560
+ "requestBody": {
561
+ "description": "Customer attributes",
562
+ "content": {
563
+ "*/*": {
564
+ "schema": {
565
+ "$ref": "#/components/schemas/Customer_inst"
566
+ }
567
+ }
568
+ },
569
+ "required": true
570
+ },
571
+ "responses": {
572
+ "200": {
573
+ "description": "Request fulfilled, document follows",
574
+ "content": {
575
+ "application/vnd.api+json": {
576
+ "schema": {
577
+ "$ref": "#/components/schemas/Customer_inst1"
578
+ }
579
+ }
580
+ }
581
+ },
582
+ "202": {
583
+ "description": "Accepted",
584
+ "content": {}
585
+ },
586
+ "204": {
587
+ "description": "No Content",
588
+ "content": {}
589
+ },
590
+ "403": {
591
+ "description": "Forbidden",
592
+ "content": {
593
+ "application/vnd.api+json": {
594
+ "schema": {
595
+ "$ref": "#/components/schemas/jsonapi_error_403"
596
+ }
597
+ }
598
+ }
599
+ },
600
+ "404": {
601
+ "description": "Not Found",
602
+ "content": {
603
+ "application/vnd.api+json": {
604
+ "schema": {
605
+ "$ref": "#/components/schemas/jsonapi_error_404"
606
+ }
607
+ }
608
+ }
609
+ },
610
+ "409": {
611
+ "description": "Conflict",
612
+ "content": {
613
+ "application/vnd.api+json": {
614
+ "schema": {
615
+ "$ref": "#/components/schemas/jsonapi_error_409"
616
+ }
617
+ }
618
+ }
619
+ }
620
+ },
621
+ "x-codegen-request-body-name": "PATCH body"
622
+ }
623
+ },
624
+ "/Customer/{CustomerId}/OrderList": {
625
+ "get": {
626
+ "tags": [
627
+ "Customer"
628
+ ],
629
+ "summary": "Retrieve Order from Customer.OrderList",
630
+ "description": "Retrieve Order items from the Customer OrderList \"to-many\" relationship",
631
+ "operationId": "RetrieveOrderfromCustomerOrderList_0",
632
+ "parameters": [
633
+ {
634
+ "name": "include",
635
+ "in": "query",
636
+ "description": "Order relationships to include (csv)",
637
+ "schema": {
638
+ "type": "string",
639
+ "format": "string",
640
+ "default": "Order,Location,Customer,Employee,OrderList,OrderDetailList"
641
+ }
642
+ },
643
+ {
644
+ "name": "fields[Order]",
645
+ "in": "query",
646
+ "description": "Order fields to include (csv)",
647
+ "schema": {
648
+ "type": "string",
649
+ "format": "string",
650
+ "default": "Id,CustomerId,EmployeeId,OrderDate,RequiredDate,ShippedDate,ShipVia,Freight,ShipName,ShipAddress,ShipCity,ShipRegion,ShipZip,ShipCountry,AmountTotal,Country,City,Ready,OrderDetailCount,CloneFromOrder"
651
+ }
652
+ },
653
+ {
654
+ "name": "page[offset]",
655
+ "in": "query",
656
+ "description": "Page offset",
657
+ "schema": {
658
+ "type": "integer",
659
+ "format": "int64",
660
+ "default": 0
661
+ }
662
+ },
663
+ {
664
+ "name": "page[limit]",
665
+ "in": "query",
666
+ "description": "Max number of items",
667
+ "schema": {
668
+ "type": "integer",
669
+ "format": "int64",
670
+ "default": 10
671
+ }
672
+ },
673
+ {
674
+ "name": "sort",
675
+ "in": "query",
676
+ "description": "Sort order",
677
+ "schema": {
678
+ "type": "string",
679
+ "format": "string",
680
+ "default": "id"
681
+ }
682
+ },
683
+ {
684
+ "name": "filter[Id]",
685
+ "in": "query",
686
+ "description": "Id attribute filter (csv)",
687
+ "schema": {
688
+ "type": "string",
689
+ "format": "string"
690
+ }
691
+ },
692
+ {
693
+ "name": "filter[CustomerId]",
694
+ "in": "query",
695
+ "description": "CustomerId attribute filter (csv)",
696
+ "schema": {
697
+ "type": "string",
698
+ "format": "string"
699
+ }
700
+ },
701
+ {
702
+ "name": "filter[EmployeeId]",
703
+ "in": "query",
704
+ "description": "EmployeeId attribute filter (csv)",
705
+ "schema": {
706
+ "type": "string",
707
+ "format": "string"
708
+ }
709
+ },
710
+ {
711
+ "name": "filter[OrderDate]",
712
+ "in": "query",
713
+ "description": "OrderDate attribute filter (csv)",
714
+ "schema": {
715
+ "type": "string",
716
+ "format": "string"
717
+ }
718
+ },
719
+ {
720
+ "name": "filter[RequiredDate]",
721
+ "in": "query",
722
+ "description": "RequiredDate attribute filter (csv)",
723
+ "schema": {
724
+ "type": "string",
725
+ "format": "string"
726
+ }
727
+ },
728
+ {
729
+ "name": "filter[ShippedDate]",
730
+ "in": "query",
731
+ "description": "ShippedDate attribute filter (csv)",
732
+ "schema": {
733
+ "type": "string",
734
+ "format": "string"
735
+ }
736
+ },
737
+ {
738
+ "name": "filter[ShipVia]",
739
+ "in": "query",
740
+ "description": "ShipVia attribute filter (csv)",
741
+ "schema": {
742
+ "type": "string",
743
+ "format": "string"
744
+ }
745
+ },
746
+ {
747
+ "name": "filter[Freight]",
748
+ "in": "query",
749
+ "description": "Freight attribute filter (csv)",
750
+ "schema": {
751
+ "type": "string",
752
+ "format": "string"
753
+ }
754
+ },
755
+ {
756
+ "name": "filter[ShipName]",
757
+ "in": "query",
758
+ "description": "ShipName attribute filter (csv)",
759
+ "schema": {
760
+ "type": "string",
761
+ "format": "string"
762
+ }
763
+ },
764
+ {
765
+ "name": "filter[ShipAddress]",
766
+ "in": "query",
767
+ "description": "ShipAddress attribute filter (csv)",
768
+ "schema": {
769
+ "type": "string",
770
+ "format": "string"
771
+ }
772
+ },
773
+ {
774
+ "name": "filter[ShipCity]",
775
+ "in": "query",
776
+ "description": "ShipCity attribute filter (csv)",
777
+ "schema": {
778
+ "type": "string",
779
+ "format": "string"
780
+ }
781
+ },
782
+ {
783
+ "name": "filter[ShipRegion]",
784
+ "in": "query",
785
+ "description": "ShipRegion attribute filter (csv)",
786
+ "schema": {
787
+ "type": "string",
788
+ "format": "string"
789
+ }
790
+ },
791
+ {
792
+ "name": "filter[ShipZip]",
793
+ "in": "query",
794
+ "description": "ShipZip attribute filter (csv)",
795
+ "schema": {
796
+ "type": "string",
797
+ "format": "string"
798
+ }
799
+ },
800
+ {
801
+ "name": "filter[ShipCountry]",
802
+ "in": "query",
803
+ "description": "ShipCountry attribute filter (csv)",
804
+ "schema": {
805
+ "type": "string",
806
+ "format": "string"
807
+ }
808
+ },
809
+ {
810
+ "name": "filter[AmountTotal]",
811
+ "in": "query",
812
+ "description": "AmountTotal attribute filter (csv)",
813
+ "schema": {
814
+ "type": "string",
815
+ "format": "string"
816
+ }
817
+ },
818
+ {
819
+ "name": "filter[Country]",
820
+ "in": "query",
821
+ "description": "Country attribute filter (csv)",
822
+ "schema": {
823
+ "type": "string",
824
+ "format": "string"
825
+ }
826
+ },
827
+ {
828
+ "name": "filter[City]",
829
+ "in": "query",
830
+ "description": "City attribute filter (csv)",
831
+ "schema": {
832
+ "type": "string",
833
+ "format": "string"
834
+ }
835
+ },
836
+ {
837
+ "name": "filter[Ready]",
838
+ "in": "query",
839
+ "description": "Ready attribute filter (csv)",
840
+ "schema": {
841
+ "type": "string",
842
+ "format": "string"
843
+ }
844
+ },
845
+ {
846
+ "name": "filter[OrderDetailCount]",
847
+ "in": "query",
848
+ "description": "OrderDetailCount attribute filter (csv)",
849
+ "schema": {
850
+ "type": "string",
851
+ "format": "string"
852
+ }
853
+ },
854
+ {
855
+ "name": "filter[CloneFromOrder]",
856
+ "in": "query",
857
+ "description": "CloneFromOrder attribute filter (csv)",
858
+ "schema": {
859
+ "type": "string",
860
+ "format": "string"
861
+ }
862
+ },
863
+ {
864
+ "name": "filter[id]",
865
+ "in": "query",
866
+ "description": "id attribute filter (csv)",
867
+ "schema": {
868
+ "type": "string",
869
+ "format": "string"
870
+ }
871
+ },
872
+ {
873
+ "name": "filter",
874
+ "in": "query",
875
+ "description": "Custom Order filter",
876
+ "schema": {
877
+ "type": "string",
878
+ "format": "string"
879
+ }
880
+ },
881
+ {
882
+ "name": "CustomerId",
883
+ "in": "path",
884
+ "description": "Customer item",
885
+ "required": true,
886
+ "schema": {
887
+ "type": "string",
888
+ "default": "ALFKI"
889
+ }
890
+ }
891
+ ],
892
+ "responses": {
893
+ "200": {
894
+ "description": "Request fulfilled, document follows",
895
+ "content": {
896
+ "*/*": {
897
+ "schema": {
898
+ "$ref": "#/components/schemas/Customer.OrderList_rel_coll"
899
+ }
900
+ }
901
+ }
902
+ },
903
+ "404": {
904
+ "description": "Nothing matches the given URI",
905
+ "content": {
906
+ "*/*": {
907
+ "schema": {
908
+ "$ref": "#/components/schemas/jsonapi_error_404"
909
+ }
910
+ }
911
+ }
912
+ }
913
+ }
914
+ },
915
+ "post": {
916
+ "tags": [
917
+ "Customer"
918
+ ],
919
+ "summary": "Add Order items to Customer.OrderList",
920
+ "description": "Add Order items to the Customer OrderList \"to-many\" relationship",
921
+ "operationId": "AddOrderitemstoCustomerOrderList_0",
922
+ "parameters": [
923
+ {
924
+ "name": "CustomerId",
925
+ "in": "path",
926
+ "description": "Customer item",
927
+ "required": true,
928
+ "schema": {
929
+ "type": "string",
930
+ "default": "ALFKI"
931
+ }
932
+ }
933
+ ],
934
+ "requestBody": {
935
+ "description": "Customer.OrderList POST model",
936
+ "content": {
937
+ "*/*": {
938
+ "schema": {
939
+ "$ref": "#/components/schemas/Customer.OrderList_rel_coll"
940
+ }
941
+ }
942
+ },
943
+ "required": true
944
+ },
945
+ "responses": {
946
+ "202": {
947
+ "description": "Accepted",
948
+ "content": {}
949
+ },
950
+ "204": {
951
+ "description": "No Content",
952
+ "content": {}
953
+ },
954
+ "404": {
955
+ "description": "Not Found",
956
+ "content": {
957
+ "*/*": {
958
+ "schema": {
959
+ "$ref": "#/components/schemas/jsonapi_error_404"
960
+ }
961
+ }
962
+ }
963
+ },
964
+ "409": {
965
+ "description": "Conflict",
966
+ "content": {
967
+ "*/*": {
968
+ "schema": {
969
+ "$ref": "#/components/schemas/jsonapi_error_409"
970
+ }
971
+ }
972
+ }
973
+ }
974
+ },
975
+ "x-codegen-request-body-name": "Customer.OrderList body"
976
+ },
977
+ "delete": {
978
+ "tags": [
979
+ "Customer"
980
+ ],
981
+ "summary": "Delete Order from Customer.OrderList",
982
+ "description": "Delete Order items from the Customer OrderList \"to-many\" relationship",
983
+ "operationId": "DeleteOrderfromCustomerOrderList_0",
984
+ "parameters": [
985
+ {
986
+ "name": "CustomerId",
987
+ "in": "path",
988
+ "description": "Customer item",
989
+ "required": true,
990
+ "schema": {
991
+ "type": "string",
992
+ "default": "ALFKI"
993
+ }
994
+ }
995
+ ],
996
+ "requestBody": {
997
+ "description": "Customer.OrderList POST model",
998
+ "content": {
999
+ "*/*": {
1000
+ "schema": {
1001
+ "$ref": "#/components/schemas/Customer.OrderList_rel_coll"
1002
+ }
1003
+ }
1004
+ },
1005
+ "required": true
1006
+ },
1007
+ "responses": {
1008
+ "200": {
1009
+ "description": "Success",
1010
+ "content": {
1011
+ "*/*": {
1012
+ "schema": {
1013
+ "$ref": "#/components/schemas/Customer.OrderList_rel_coll"
1014
+ }
1015
+ }
1016
+ }
1017
+ },
1018
+ "202": {
1019
+ "description": "Accepted",
1020
+ "content": {}
1021
+ },
1022
+ "204": {
1023
+ "description": "Request fulfilled, nothing follows",
1024
+ "content": {}
1025
+ },
1026
+ "403": {
1027
+ "description": "Forbidden",
1028
+ "content": {
1029
+ "*/*": {
1030
+ "schema": {
1031
+ "$ref": "#/components/schemas/jsonapi_error_403"
1032
+ }
1033
+ }
1034
+ }
1035
+ },
1036
+ "404": {
1037
+ "description": "Not Found",
1038
+ "content": {
1039
+ "*/*": {
1040
+ "schema": {
1041
+ "$ref": "#/components/schemas/jsonapi_error_404"
1042
+ }
1043
+ }
1044
+ }
1045
+ }
1046
+ },
1047
+ "x-codegen-request-body-name": "Customer.OrderList body"
1048
+ },
1049
+ "patch": {
1050
+ "tags": [
1051
+ "Customer"
1052
+ ],
1053
+ "summary": "Update Customer.OrderList",
1054
+ "description": "Update the Customer OrderList \"to-many\" relationship",
1055
+ "operationId": "UpdateCustomerOrderList_0",
1056
+ "parameters": [
1057
+ {
1058
+ "name": "CustomerId",
1059
+ "in": "path",
1060
+ "description": "Customer item",
1061
+ "required": true,
1062
+ "schema": {
1063
+ "type": "string",
1064
+ "default": "ALFKI"
1065
+ }
1066
+ }
1067
+ ],
1068
+ "requestBody": {
1069
+ "description": "Customer.OrderList POST model",
1070
+ "content": {
1071
+ "*/*": {
1072
+ "schema": {
1073
+ "$ref": "#/components/schemas/Customer.OrderList_rel_coll"
1074
+ }
1075
+ }
1076
+ },
1077
+ "required": true
1078
+ },
1079
+ "responses": {
1080
+ "200": {
1081
+ "description": "Accepted",
1082
+ "content": {
1083
+ "*/*": {
1084
+ "schema": {
1085
+ "$ref": "#/components/schemas/Customer.OrderList_rel_coll"
1086
+ }
1087
+ }
1088
+ }
1089
+ },
1090
+ "204": {
1091
+ "description": "No Content",
1092
+ "content": {}
1093
+ },
1094
+ "403": {
1095
+ "description": "Forbidden",
1096
+ "content": {
1097
+ "*/*": {
1098
+ "schema": {
1099
+ "$ref": "#/components/schemas/jsonapi_error_403"
1100
+ }
1101
+ }
1102
+ }
1103
+ },
1104
+ "404": {
1105
+ "description": "Not Found",
1106
+ "content": {
1107
+ "*/*": {
1108
+ "schema": {
1109
+ "$ref": "#/components/schemas/jsonapi_error_404"
1110
+ }
1111
+ }
1112
+ }
1113
+ },
1114
+ "409": {
1115
+ "description": "Conflict",
1116
+ "content": {
1117
+ "*/*": {
1118
+ "schema": {
1119
+ "$ref": "#/components/schemas/jsonapi_error_409"
1120
+ }
1121
+ }
1122
+ }
1123
+ }
1124
+ },
1125
+ "x-codegen-request-body-name": "Customer.OrderList body"
1126
+ }
1127
+ },
1128
+ "/CustomerDemographic/": {
1129
+ "get": {
1130
+ "tags": [
1131
+ "CustomerDemographic"
1132
+ ],
1133
+ "summary": "Retrieve a collection of CustomerDemographic objects",
1134
+ "description": "Retrieve CustomerDemographic from CustomerDemographic",
1135
+ "operationId": "RetrieveacollectionofCustomerDemographicobjects_0",
1136
+ "parameters": [
1137
+ {
1138
+ "name": "include",
1139
+ "in": "query",
1140
+ "description": "CustomerDemographic relationships to include (csv)",
1141
+ "schema": {
1142
+ "type": "string",
1143
+ "format": "string"
1144
+ }
1145
+ },
1146
+ {
1147
+ "name": "fields[CustomerDemographic]",
1148
+ "in": "query",
1149
+ "description": "CustomerDemographic fields to include (csv)",
1150
+ "schema": {
1151
+ "type": "string",
1152
+ "format": "string",
1153
+ "default": "Id,CustomerDesc,S_CheckSum"
1154
+ }
1155
+ },
1156
+ {
1157
+ "name": "page[offset]",
1158
+ "in": "query",
1159
+ "description": "Page offset",
1160
+ "schema": {
1161
+ "type": "integer",
1162
+ "format": "int64",
1163
+ "default": 0
1164
+ }
1165
+ },
1166
+ {
1167
+ "name": "page[limit]",
1168
+ "in": "query",
1169
+ "description": "Max number of items",
1170
+ "schema": {
1171
+ "type": "integer",
1172
+ "format": "int64",
1173
+ "default": 10
1174
+ }
1175
+ },
1176
+ {
1177
+ "name": "sort",
1178
+ "in": "query",
1179
+ "description": "Sort order",
1180
+ "schema": {
1181
+ "type": "string",
1182
+ "format": "string",
1183
+ "default": "id"
1184
+ }
1185
+ },
1186
+ {
1187
+ "name": "filter[Id]",
1188
+ "in": "query",
1189
+ "description": "Id attribute filter (csv)",
1190
+ "schema": {
1191
+ "type": "string",
1192
+ "format": "string"
1193
+ }
1194
+ },
1195
+ {
1196
+ "name": "filter[CustomerDesc]",
1197
+ "in": "query",
1198
+ "description": "CustomerDesc attribute filter (csv)",
1199
+ "schema": {
1200
+ "type": "string",
1201
+ "format": "string"
1202
+ }
1203
+ },
1204
+ {
1205
+ "name": "filter[S_CheckSum]",
1206
+ "in": "query",
1207
+ "description": "S_CheckSum attribute filter (csv)",
1208
+ "schema": {
1209
+ "type": "string",
1210
+ "format": "string"
1211
+ }
1212
+ },
1213
+ {
1214
+ "name": "filter[id]",
1215
+ "in": "query",
1216
+ "description": "id attribute filter (csv)",
1217
+ "schema": {
1218
+ "type": "string",
1219
+ "format": "string"
1220
+ }
1221
+ },
1222
+ {
1223
+ "name": "filter",
1224
+ "in": "query",
1225
+ "description": "Custom CustomerDemographic filter",
1226
+ "schema": {
1227
+ "type": "string",
1228
+ "format": "string"
1229
+ }
1230
+ },
1231
+ {
1232
+ "name": "Content-Type",
1233
+ "in": "header",
1234
+ "required": true,
1235
+ "schema": {
1236
+ "type": "string",
1237
+ "default": "application/vnd.api+json",
1238
+ "enum": [
1239
+ "application/vnd.api+json",
1240
+ "application/json"
1241
+ ]
1242
+ }
1243
+ }
1244
+ ],
1245
+ "responses": {
1246
+ "200": {
1247
+ "description": "Request fulfilled, document follows",
1248
+ "content": {
1249
+ "application/vnd.api+json": {
1250
+ "schema": {
1251
+ "$ref": "#/components/schemas/CustomerDemographic_coll1"
1252
+ }
1253
+ }
1254
+ }
1255
+ },
1256
+ "403": {
1257
+ "description": "Forbidden",
1258
+ "content": {
1259
+ "application/vnd.api+json": {
1260
+ "schema": {
1261
+ "$ref": "#/components/schemas/jsonapi_error_403"
1262
+ }
1263
+ }
1264
+ }
1265
+ },
1266
+ "404": {
1267
+ "description": "Not Found",
1268
+ "content": {
1269
+ "application/vnd.api+json": {
1270
+ "schema": {
1271
+ "$ref": "#/components/schemas/jsonapi_error_404"
1272
+ }
1273
+ }
1274
+ }
1275
+ }
1276
+ }
1277
+ },
1278
+ "post": {
1279
+ "tags": [
1280
+ "CustomerDemographic"
1281
+ ],
1282
+ "summary": "Create CustomerDemographic",
1283
+ "operationId": "CreateCustomerDemographic_0",
1284
+ "parameters": [
1285
+ {
1286
+ "name": "Content-Type",
1287
+ "in": "header",
1288
+ "required": true,
1289
+ "schema": {
1290
+ "type": "string",
1291
+ "default": "application/vnd.api+json",
1292
+ "enum": [
1293
+ "application/vnd.api+json",
1294
+ "application/json"
1295
+ ]
1296
+ }
1297
+ }
1298
+ ],
1299
+ "requestBody": {
1300
+ "description": "CustomerDemographic attributes",
1301
+ "content": {
1302
+ "*/*": {
1303
+ "schema": {
1304
+ "$ref": "#/components/schemas/CustomerDemographic_inst1"
1305
+ }
1306
+ }
1307
+ },
1308
+ "required": true
1309
+ },
1310
+ "responses": {
1311
+ "201": {
1312
+ "description": "Created",
1313
+ "content": {
1314
+ "application/vnd.api+json": {
1315
+ "schema": {
1316
+ "$ref": "#/components/schemas/CustomerDemographic_inst1"
1317
+ }
1318
+ }
1319
+ }
1320
+ },
1321
+ "202": {
1322
+ "description": "Accepted",
1323
+ "content": {}
1324
+ },
1325
+ "403": {
1326
+ "description": "Forbidden",
1327
+ "content": {
1328
+ "application/vnd.api+json": {
1329
+ "schema": {
1330
+ "$ref": "#/components/schemas/jsonapi_error_403"
1331
+ }
1332
+ }
1333
+ }
1334
+ },
1335
+ "404": {
1336
+ "description": "Not Found",
1337
+ "content": {
1338
+ "application/vnd.api+json": {
1339
+ "schema": {
1340
+ "$ref": "#/components/schemas/jsonapi_error_404"
1341
+ }
1342
+ }
1343
+ }
1344
+ },
1345
+ "409": {
1346
+ "description": "Conflict",
1347
+ "content": {
1348
+ "application/vnd.api+json": {
1349
+ "schema": {
1350
+ "$ref": "#/components/schemas/jsonapi_error_409"
1351
+ }
1352
+ }
1353
+ }
1354
+ }
1355
+ },
1356
+ "x-codegen-request-body-name": "POST body"
1357
+ }
1358
+ },
1359
+ "/CustomerDemographic/{CustomerDemographicId}/": {
1360
+ "get": {
1361
+ "tags": [
1362
+ "CustomerDemographic"
1363
+ ],
1364
+ "summary": "Retrieve CustomerDemographic instance",
1365
+ "description": "Retrieve CustomerDemographic from CustomerDemographic",
1366
+ "operationId": "RetrieveCustomerDemographicinstance_0",
1367
+ "parameters": [
1368
+ {
1369
+ "name": "include",
1370
+ "in": "query",
1371
+ "description": "CustomerDemographic relationships to include (csv)",
1372
+ "schema": {
1373
+ "type": "string",
1374
+ "format": "string"
1375
+ }
1376
+ },
1377
+ {
1378
+ "name": "fields[CustomerDemographic]",
1379
+ "in": "query",
1380
+ "description": "CustomerDemographic fields to include (csv)",
1381
+ "schema": {
1382
+ "type": "string",
1383
+ "format": "string",
1384
+ "default": "Id,CustomerDesc,S_CheckSum"
1385
+ }
1386
+ },
1387
+ {
1388
+ "name": "CustomerDemographicId",
1389
+ "in": "path",
1390
+ "required": true,
1391
+ "schema": {
1392
+ "type": "string",
1393
+ "default": "jsonapi_id_string"
1394
+ }
1395
+ },
1396
+ {
1397
+ "name": "Content-Type",
1398
+ "in": "header",
1399
+ "required": true,
1400
+ "schema": {
1401
+ "type": "string",
1402
+ "default": "application/vnd.api+json",
1403
+ "enum": [
1404
+ "application/vnd.api+json",
1405
+ "application/json"
1406
+ ]
1407
+ }
1408
+ }
1409
+ ],
1410
+ "responses": {
1411
+ "200": {
1412
+ "description": "Request fulfilled, document follows",
1413
+ "content": {
1414
+ "application/vnd.api+json": {
1415
+ "schema": {
1416
+ "$ref": "#/components/schemas/CustomerDemographic_inst1"
1417
+ }
1418
+ }
1419
+ }
1420
+ },
1421
+ "403": {
1422
+ "description": "Forbidden",
1423
+ "content": {
1424
+ "application/vnd.api+json": {
1425
+ "schema": {
1426
+ "$ref": "#/components/schemas/jsonapi_error_403"
1427
+ }
1428
+ }
1429
+ }
1430
+ },
1431
+ "404": {
1432
+ "description": "Not Found",
1433
+ "content": {
1434
+ "application/vnd.api+json": {
1435
+ "schema": {
1436
+ "$ref": "#/components/schemas/jsonapi_error_404"
1437
+ }
1438
+ }
1439
+ }
1440
+ }
1441
+ }
1442
+ },
1443
+ "delete": {
1444
+ "tags": [
1445
+ "CustomerDemographic"
1446
+ ],
1447
+ "summary": "Delete CustomerDemographic from CustomerDemographic",
1448
+ "operationId": "DeleteCustomerDemographicfromCustomerDemographic_0",
1449
+ "parameters": [
1450
+ {
1451
+ "name": "CustomerDemographicId",
1452
+ "in": "path",
1453
+ "required": true,
1454
+ "schema": {
1455
+ "type": "string",
1456
+ "default": "jsonapi_id_string"
1457
+ }
1458
+ },
1459
+ {
1460
+ "name": "Content-Type",
1461
+ "in": "header",
1462
+ "required": true,
1463
+ "schema": {
1464
+ "type": "string",
1465
+ "default": "application/vnd.api+json",
1466
+ "enum": [
1467
+ "application/vnd.api+json",
1468
+ "application/json"
1469
+ ]
1470
+ }
1471
+ }
1472
+ ],
1473
+ "responses": {
1474
+ "200": {
1475
+ "description": "Success",
1476
+ "content": {
1477
+ "application/vnd.api+json": {
1478
+ "schema": {
1479
+ "$ref": "#/components/schemas/CustomerDemographic_inst1"
1480
+ }
1481
+ }
1482
+ }
1483
+ },
1484
+ "202": {
1485
+ "description": "Accepted",
1486
+ "content": {}
1487
+ },
1488
+ "204": {
1489
+ "description": "Request fulfilled, nothing follows",
1490
+ "content": {}
1491
+ },
1492
+ "403": {
1493
+ "description": "Forbidden",
1494
+ "content": {
1495
+ "application/vnd.api+json": {
1496
+ "schema": {
1497
+ "$ref": "#/components/schemas/jsonapi_error_403"
1498
+ }
1499
+ }
1500
+ }
1501
+ },
1502
+ "404": {
1503
+ "description": "Not Found",
1504
+ "content": {
1505
+ "application/vnd.api+json": {
1506
+ "schema": {
1507
+ "$ref": "#/components/schemas/jsonapi_error_404"
1508
+ }
1509
+ }
1510
+ }
1511
+ }
1512
+ }
1513
+ },
1514
+ "patch": {
1515
+ "tags": [
1516
+ "CustomerDemographic"
1517
+ ],
1518
+ "summary": "Update CustomerDemographic",
1519
+ "description": "Update CustomerDemographic attributes",
1520
+ "operationId": "UpdateCustomerDemographic_0",
1521
+ "parameters": [
1522
+ {
1523
+ "name": "CustomerDemographicId",
1524
+ "in": "path",
1525
+ "required": true,
1526
+ "schema": {
1527
+ "type": "string",
1528
+ "default": "jsonapi_id_string"
1529
+ }
1530
+ },
1531
+ {
1532
+ "name": "Content-Type",
1533
+ "in": "header",
1534
+ "required": true,
1535
+ "schema": {
1536
+ "type": "string",
1537
+ "default": "application/vnd.api+json",
1538
+ "enum": [
1539
+ "application/vnd.api+json",
1540
+ "application/json"
1541
+ ]
1542
+ }
1543
+ }
1544
+ ],
1545
+ "requestBody": {
1546
+ "description": "CustomerDemographic attributes",
1547
+ "content": {
1548
+ "*/*": {
1549
+ "schema": {
1550
+ "$ref": "#/components/schemas/CustomerDemographic_inst"
1551
+ }
1552
+ }
1553
+ },
1554
+ "required": true
1555
+ },
1556
+ "responses": {
1557
+ "200": {
1558
+ "description": "Request fulfilled, document follows",
1559
+ "content": {
1560
+ "application/vnd.api+json": {
1561
+ "schema": {
1562
+ "$ref": "#/components/schemas/CustomerDemographic_inst1"
1563
+ }
1564
+ }
1565
+ }
1566
+ },
1567
+ "202": {
1568
+ "description": "Accepted",
1569
+ "content": {}
1570
+ },
1571
+ "204": {
1572
+ "description": "No Content",
1573
+ "content": {}
1574
+ },
1575
+ "403": {
1576
+ "description": "Forbidden",
1577
+ "content": {
1578
+ "application/vnd.api+json": {
1579
+ "schema": {
1580
+ "$ref": "#/components/schemas/jsonapi_error_403"
1581
+ }
1582
+ }
1583
+ }
1584
+ },
1585
+ "404": {
1586
+ "description": "Not Found",
1587
+ "content": {
1588
+ "application/vnd.api+json": {
1589
+ "schema": {
1590
+ "$ref": "#/components/schemas/jsonapi_error_404"
1591
+ }
1592
+ }
1593
+ }
1594
+ },
1595
+ "409": {
1596
+ "description": "Conflict",
1597
+ "content": {
1598
+ "application/vnd.api+json": {
1599
+ "schema": {
1600
+ "$ref": "#/components/schemas/jsonapi_error_409"
1601
+ }
1602
+ }
1603
+ }
1604
+ }
1605
+ },
1606
+ "x-codegen-request-body-name": "PATCH body"
1607
+ }
1608
+ }
1609
+ },
1610
+ "components": {
1611
+ "schemas": {
1612
+ "jsonapi_error_403": {
1613
+ "type": "object",
1614
+ "properties": {
1615
+ "errors": {
1616
+ "type": "string",
1617
+ "example": ""
1618
+ }
1619
+ },
1620
+ "description": ""
1621
+ },
1622
+ "jsonapi_error_404": {
1623
+ "type": "object",
1624
+ "properties": {
1625
+ "errors": {
1626
+ "type": "string",
1627
+ "example": ""
1628
+ }
1629
+ },
1630
+ "description": ""
1631
+ },
1632
+ "jsonapi_error_409": {
1633
+ "type": "object",
1634
+ "properties": {
1635
+ "errors": {
1636
+ "type": "string",
1637
+ "example": ""
1638
+ }
1639
+ },
1640
+ "description": ""
1641
+ },
1642
+ "Customer_coll1": {
1643
+ "type": "object",
1644
+ "properties": {
1645
+ "data": {
1646
+ "type": "string",
1647
+ "example": ""
1648
+ }
1649
+ },
1650
+ "description": "Customer get;"
1651
+ },
1652
+ "Customer_inst1": {
1653
+ "type": "object",
1654
+ "properties": {
1655
+ "data": {
1656
+ "type": "string",
1657
+ "example": ""
1658
+ }
1659
+ },
1660
+ "description": "Customer post;"
1661
+ },
1662
+ "Customer_inst": {
1663
+ "type": "object",
1664
+ "properties": {
1665
+ "data": {
1666
+ "type": "string",
1667
+ "example": ""
1668
+ }
1669
+ },
1670
+ "description": "Customer patch;Customer post;Customer delete;Customer patch;Customer post;Customer delete;"
1671
+ },
1672
+ "Customer.OrderList_rel_coll": {
1673
+ "type": "object",
1674
+ "properties": {
1675
+ "data": {
1676
+ "type": "string",
1677
+ "example": ""
1678
+ }
1679
+ },
1680
+ "description": "Customer.OrderList patch relationship;Customer.OrderList post relationship;"
1681
+ },
1682
+ "CustomerDemographic_coll1": {
1683
+ "type": "object",
1684
+ "properties": {
1685
+ "data": {
1686
+ "type": "string",
1687
+ "example": ""
1688
+ }
1689
+ },
1690
+ "description": "CustomerDemographic get;"
1691
+ },
1692
+ "CustomerDemographic_inst1": {
1693
+ "type": "object",
1694
+ "properties": {
1695
+ "data": {
1696
+ "type": "string",
1697
+ "example": ""
1698
+ }
1699
+ },
1700
+ "description": "CustomerDemographic post;"
1701
+ },
1702
+ "CustomerDemographic_inst": {
1703
+ "type": "object",
1704
+ "properties": {
1705
+ "data": {
1706
+ "type": "string",
1707
+ "example": ""
1708
+ }
1709
+ },
1710
+ "description": "CustomerDemographic patch;CustomerDemographic post;CustomerDemographic delete;CustomerDemographic patch;CustomerDemographic post;CustomerDemographic delete;"
1711
+ }
1712
+ },
1713
+ "securitySchemes": {
1714
+ "Bearer": {
1715
+ "type": "apiKey",
1716
+ "name": "Authorization",
1717
+ "in": "header"
1718
+ }
1719
+ }
1720
+ },
1721
+ "tags": [
1722
+ {
1723
+ "name": "Customer"
1724
+ }
1725
+ ],
1726
+ "security": [
1727
+ {
1728
+ "Bearer": []
1729
+ }
1730
+ ]
1731
+ }