@ontemper/edi 1.1.0

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 (129) hide show
  1. package/README.md +321 -0
  2. package/dist/control-numbers.d.ts +20 -0
  3. package/dist/control-numbers.js +77 -0
  4. package/dist/edination-client/api/edi-model-api.d.ts +268 -0
  5. package/dist/edination-client/api/edi-model-api.js +326 -0
  6. package/dist/edination-client/api/edifact-api.d.ts +453 -0
  7. package/dist/edination-client/api/edifact-api.js +448 -0
  8. package/dist/edination-client/api/hl7-api.d.ts +294 -0
  9. package/dist/edination-client/api/hl7-api.js +315 -0
  10. package/dist/edination-client/api/ncpdp-api.d.ts +278 -0
  11. package/dist/edination-client/api/ncpdp-api.js +305 -0
  12. package/dist/edination-client/api/vda-api.d.ts +262 -0
  13. package/dist/edination-client/api/vda-api.js +295 -0
  14. package/dist/edination-client/api/x12-api.d.ts +437 -0
  15. package/dist/edination-client/api/x12-api.js +438 -0
  16. package/dist/edination-client/api.d.ts +17 -0
  17. package/dist/edination-client/api.js +35 -0
  18. package/dist/edination-client/base.d.ts +66 -0
  19. package/dist/edination-client/base.js +70 -0
  20. package/dist/edination-client/common.d.ts +65 -0
  21. package/dist/edination-client/common.js +142 -0
  22. package/dist/edination-client/configuration.d.ts +91 -0
  23. package/dist/edination-client/configuration.js +104 -0
  24. package/dist/edination-client/index.d.ts +14 -0
  25. package/dist/edination-client/index.js +32 -0
  26. package/dist/edination-client/model/batch-receiving-application.d.ts +36 -0
  27. package/dist/edination-client/model/batch-receiving-application.js +15 -0
  28. package/dist/edination-client/model/batch-receiving-facility.d.ts +36 -0
  29. package/dist/edination-client/model/batch-receiving-facility.js +15 -0
  30. package/dist/edination-client/model/batch-receiving-network-address.d.ts +36 -0
  31. package/dist/edination-client/model/batch-receiving-network-address.js +15 -0
  32. package/dist/edination-client/model/batch-sending-application.d.ts +36 -0
  33. package/dist/edination-client/model/batch-sending-application.js +15 -0
  34. package/dist/edination-client/model/batch-sending-facility.d.ts +36 -0
  35. package/dist/edination-client/model/batch-sending-facility.js +15 -0
  36. package/dist/edination-client/model/batch-sending-network-address.d.ts +36 -0
  37. package/dist/edination-client/model/batch-sending-network-address.js +15 -0
  38. package/dist/edination-client/model/bhs.d.ts +108 -0
  39. package/dist/edination-client/model/bhs.js +15 -0
  40. package/dist/edination-client/model/bts.d.ts +36 -0
  41. package/dist/edination-client/model/bts.js +15 -0
  42. package/dist/edination-client/model/edi-model.d.ts +37 -0
  43. package/dist/edination-client/model/edi-model.js +15 -0
  44. package/dist/edination-client/model/edifact-group.d.ts +38 -0
  45. package/dist/edination-client/model/edifact-group.js +15 -0
  46. package/dist/edination-client/model/edifact-interchange.d.ts +53 -0
  47. package/dist/edination-client/model/edifact-interchange.js +15 -0
  48. package/dist/edination-client/model/error-details.d.ts +30 -0
  49. package/dist/edination-client/model/error-details.js +15 -0
  50. package/dist/edination-client/model/fhs.d.ts +108 -0
  51. package/dist/edination-client/model/fhs.js +15 -0
  52. package/dist/edination-client/model/file-receiving-application.d.ts +36 -0
  53. package/dist/edination-client/model/file-receiving-application.js +15 -0
  54. package/dist/edination-client/model/file-receiving-facility.d.ts +36 -0
  55. package/dist/edination-client/model/file-receiving-facility.js +15 -0
  56. package/dist/edination-client/model/file-receiving-network-address.d.ts +36 -0
  57. package/dist/edination-client/model/file-receiving-network-address.js +15 -0
  58. package/dist/edination-client/model/file-sending-application.d.ts +36 -0
  59. package/dist/edination-client/model/file-sending-application.js +15 -0
  60. package/dist/edination-client/model/file-sending-facility.d.ts +36 -0
  61. package/dist/edination-client/model/file-sending-facility.js +15 -0
  62. package/dist/edination-client/model/file-sending-network-address.d.ts +36 -0
  63. package/dist/edination-client/model/file-sending-network-address.js +15 -0
  64. package/dist/edination-client/model/flat-message.d.ts +37 -0
  65. package/dist/edination-client/model/flat-message.js +15 -0
  66. package/dist/edination-client/model/fts.d.ts +30 -0
  67. package/dist/edination-client/model/fts.js +15 -0
  68. package/dist/edination-client/model/ge.d.ts +30 -0
  69. package/dist/edination-client/model/ge.js +15 -0
  70. package/dist/edination-client/model/gs.d.ts +66 -0
  71. package/dist/edination-client/model/gs.js +15 -0
  72. package/dist/edination-client/model/hl7-group.d.ts +38 -0
  73. package/dist/edination-client/model/hl7-group.js +15 -0
  74. package/dist/edination-client/model/hl7-interchange.d.ts +46 -0
  75. package/dist/edination-client/model/hl7-interchange.js +15 -0
  76. package/dist/edination-client/model/iea.d.ts +30 -0
  77. package/dist/edination-client/model/iea.js +15 -0
  78. package/dist/edination-client/model/index.d.ts +49 -0
  79. package/dist/edination-client/model/index.js +65 -0
  80. package/dist/edination-client/model/isa.d.ts +114 -0
  81. package/dist/edination-client/model/isa.js +15 -0
  82. package/dist/edination-client/model/link.d.ts +36 -0
  83. package/dist/edination-client/model/link.js +15 -0
  84. package/dist/edination-client/model/ncpdp-transmission.d.ts +45 -0
  85. package/dist/edination-client/model/ncpdp-transmission.js +15 -0
  86. package/dist/edination-client/model/operation-detail.d.ts +90 -0
  87. package/dist/edination-client/model/operation-detail.js +15 -0
  88. package/dist/edination-client/model/operation-result.d.ts +37 -0
  89. package/dist/edination-client/model/operation-result.js +15 -0
  90. package/dist/edination-client/model/s001.d.ts +42 -0
  91. package/dist/edination-client/model/s001.js +15 -0
  92. package/dist/edination-client/model/s002.d.ts +42 -0
  93. package/dist/edination-client/model/s002.js +15 -0
  94. package/dist/edination-client/model/s003.d.ts +42 -0
  95. package/dist/edination-client/model/s003.js +15 -0
  96. package/dist/edination-client/model/s004.d.ts +30 -0
  97. package/dist/edination-client/model/s004.js +15 -0
  98. package/dist/edination-client/model/s005.d.ts +30 -0
  99. package/dist/edination-client/model/s005.js +15 -0
  100. package/dist/edination-client/model/s006.d.ts +30 -0
  101. package/dist/edination-client/model/s006.js +15 -0
  102. package/dist/edination-client/model/s007.d.ts +30 -0
  103. package/dist/edination-client/model/s007.js +15 -0
  104. package/dist/edination-client/model/s008.d.ts +36 -0
  105. package/dist/edination-client/model/s008.js +15 -0
  106. package/dist/edination-client/model/ta1.d.ts +48 -0
  107. package/dist/edination-client/model/ta1.js +15 -0
  108. package/dist/edination-client/model/transmission-header.d.ts +66 -0
  109. package/dist/edination-client/model/transmission-header.js +15 -0
  110. package/dist/edination-client/model/transmission-trailer.d.ts +36 -0
  111. package/dist/edination-client/model/transmission-trailer.js +15 -0
  112. package/dist/edination-client/model/una.d.ts +54 -0
  113. package/dist/edination-client/model/una.js +15 -0
  114. package/dist/edination-client/model/unb.d.ts +89 -0
  115. package/dist/edination-client/model/unb.js +15 -0
  116. package/dist/edination-client/model/une.d.ts +30 -0
  117. package/dist/edination-client/model/une.js +15 -0
  118. package/dist/edination-client/model/ung.d.ts +70 -0
  119. package/dist/edination-client/model/ung.js +15 -0
  120. package/dist/edination-client/model/unz.d.ts +30 -0
  121. package/dist/edination-client/model/unz.js +15 -0
  122. package/dist/edination-client/model/x12-group.d.ts +38 -0
  123. package/dist/edination-client/model/x12-group.js +15 -0
  124. package/dist/edination-client/model/x12-interchange.d.ts +65 -0
  125. package/dist/edination-client/model/x12-interchange.js +15 -0
  126. package/dist/index.d.ts +45 -0
  127. package/dist/index.js +197 -0
  128. package/examples/node-edi.ts +58 -0
  129. package/package.json +49 -0
@@ -0,0 +1,326 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EdiNation API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: 2
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ var __importDefault = (this && this.__importDefault) || function (mod) {
16
+ return (mod && mod.__esModule) ? mod : { "default": mod };
17
+ };
18
+ Object.defineProperty(exports, "__esModule", { value: true });
19
+ exports.EdiModelApi = exports.EdiModelApiFactory = exports.EdiModelApiFp = exports.EdiModelApiAxiosParamCreator = void 0;
20
+ const axios_1 = __importDefault(require("axios"));
21
+ // @ts-ignore
22
+ const base_1 = require("../base");
23
+ // Some imports not used depending on template conditions
24
+ // @ts-ignore
25
+ const common_1 = require("../common");
26
+ /**
27
+ * EdiModelApi - axios parameter creator
28
+ * @export
29
+ */
30
+ const EdiModelApiAxiosParamCreator = (configuration) => ({
31
+ /**
32
+ *
33
+ * @summary Retrieve the names of all EDI models
34
+ * @param {boolean} [system] Whether to retrieve EdiNation\'s or custom uploaded models.
35
+ * @param {*} [options] Override http request option.
36
+ * @throws {RequiredError}
37
+ */
38
+ modelsGet: async (system, options = {}) => {
39
+ const localVarPath = '/models';
40
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
41
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
42
+ let baseOptions;
43
+ if (configuration) {
44
+ baseOptions = configuration.baseOptions;
45
+ }
46
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
47
+ const localVarHeaderParameter = {};
48
+ const localVarQueryParameter = {};
49
+ // authentication ApiKey required
50
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, 'Ocp-Apim-Subscription-Key', configuration);
51
+ if (system !== undefined) {
52
+ localVarQueryParameter.system = system;
53
+ }
54
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
55
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
56
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
57
+ return {
58
+ url: (0, common_1.toPathString)(localVarUrlObj),
59
+ options: localVarRequestOptions,
60
+ };
61
+ },
62
+ /**
63
+ *
64
+ * @summary Delete an EDI model
65
+ * @param {string} id The model name.
66
+ * @param {*} [options] Override http request option.
67
+ * @throws {RequiredError}
68
+ */
69
+ modelsIdDelete: async (id, options = {}) => {
70
+ // verify required parameter 'id' is not null or undefined
71
+ (0, common_1.assertParamExists)('modelsIdDelete', 'id', id);
72
+ const localVarPath = '/models/{id}'.replace(`{${'id'}}`, encodeURIComponent(String(id)));
73
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
74
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
75
+ let baseOptions;
76
+ if (configuration) {
77
+ baseOptions = configuration.baseOptions;
78
+ }
79
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
80
+ const localVarHeaderParameter = {};
81
+ const localVarQueryParameter = {};
82
+ // authentication ApiKey required
83
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, 'Ocp-Apim-Subscription-Key', configuration);
84
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
85
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
86
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
87
+ return {
88
+ url: (0, common_1.toPathString)(localVarUrlObj),
89
+ options: localVarRequestOptions,
90
+ };
91
+ },
92
+ /**
93
+ *
94
+ * @summary Retrieve an EDI model
95
+ * @param {string} id The model name.
96
+ * @param {*} [options] Override http request option.
97
+ * @throws {RequiredError}
98
+ */
99
+ modelsIdGet: async (id, options = {}) => {
100
+ // verify required parameter 'id' is not null or undefined
101
+ (0, common_1.assertParamExists)('modelsIdGet', 'id', id);
102
+ const localVarPath = '/models/{id}'.replace(`{${'id'}}`, encodeURIComponent(String(id)));
103
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
104
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
105
+ let baseOptions;
106
+ if (configuration) {
107
+ baseOptions = configuration.baseOptions;
108
+ }
109
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
110
+ const localVarHeaderParameter = {};
111
+ const localVarQueryParameter = {};
112
+ // authentication ApiKey required
113
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, 'Ocp-Apim-Subscription-Key', configuration);
114
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
115
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
116
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
117
+ return {
118
+ url: (0, common_1.toPathString)(localVarUrlObj),
119
+ options: localVarRequestOptions,
120
+ };
121
+ },
122
+ /**
123
+ *
124
+ * @summary Upload EDI models in either SEF or OpenEDI format
125
+ * @param {File} [body]
126
+ * @param {*} [options] Override http request option.
127
+ * @throws {RequiredError}
128
+ */
129
+ modelsPost: async (body, options = {}) => {
130
+ const localVarPath = '/models';
131
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
132
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
133
+ let baseOptions;
134
+ if (configuration) {
135
+ baseOptions = configuration.baseOptions;
136
+ }
137
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
138
+ const localVarHeaderParameter = {};
139
+ const localVarQueryParameter = {};
140
+ // authentication ApiKey required
141
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, 'Ocp-Apim-Subscription-Key', configuration);
142
+ localVarHeaderParameter['Content-Type'] = 'application/octet-stream';
143
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
144
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
145
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
146
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
147
+ return {
148
+ url: (0, common_1.toPathString)(localVarUrlObj),
149
+ options: localVarRequestOptions,
150
+ };
151
+ },
152
+ });
153
+ exports.EdiModelApiAxiosParamCreator = EdiModelApiAxiosParamCreator;
154
+ /**
155
+ * EdiModelApi - functional programming interface
156
+ * @export
157
+ */
158
+ const EdiModelApiFp = (configuration) => {
159
+ const localVarAxiosParamCreator = (0, exports.EdiModelApiAxiosParamCreator)(configuration);
160
+ return {
161
+ /**
162
+ *
163
+ * @summary Retrieve the names of all EDI models
164
+ * @param {boolean} [system] Whether to retrieve EdiNation\'s or custom uploaded models.
165
+ * @param {*} [options] Override http request option.
166
+ * @throws {RequiredError}
167
+ */
168
+ async modelsGet(system, options) {
169
+ const localVarAxiosArgs = await localVarAxiosParamCreator.modelsGet(system, options);
170
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
171
+ const localVarOperationServerBasePath = base_1.operationServerMap['EdiModelApi.modelsGet']?.[localVarOperationServerIndex]?.url;
172
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
173
+ },
174
+ /**
175
+ *
176
+ * @summary Delete an EDI model
177
+ * @param {string} id The model name.
178
+ * @param {*} [options] Override http request option.
179
+ * @throws {RequiredError}
180
+ */
181
+ async modelsIdDelete(id, options) {
182
+ const localVarAxiosArgs = await localVarAxiosParamCreator.modelsIdDelete(id, options);
183
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
184
+ const localVarOperationServerBasePath = base_1.operationServerMap['EdiModelApi.modelsIdDelete']?.[localVarOperationServerIndex]?.url;
185
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
186
+ },
187
+ /**
188
+ *
189
+ * @summary Retrieve an EDI model
190
+ * @param {string} id The model name.
191
+ * @param {*} [options] Override http request option.
192
+ * @throws {RequiredError}
193
+ */
194
+ async modelsIdGet(id, options) {
195
+ const localVarAxiosArgs = await localVarAxiosParamCreator.modelsIdGet(id, options);
196
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
197
+ const localVarOperationServerBasePath = base_1.operationServerMap['EdiModelApi.modelsIdGet']?.[localVarOperationServerIndex]?.url;
198
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
199
+ },
200
+ /**
201
+ *
202
+ * @summary Upload EDI models in either SEF or OpenEDI format
203
+ * @param {File} [body]
204
+ * @param {*} [options] Override http request option.
205
+ * @throws {RequiredError}
206
+ */
207
+ async modelsPost(body, options) {
208
+ const localVarAxiosArgs = await localVarAxiosParamCreator.modelsPost(body, options);
209
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
210
+ const localVarOperationServerBasePath = base_1.operationServerMap['EdiModelApi.modelsPost']?.[localVarOperationServerIndex]?.url;
211
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
212
+ },
213
+ };
214
+ };
215
+ exports.EdiModelApiFp = EdiModelApiFp;
216
+ /**
217
+ * EdiModelApi - factory interface
218
+ * @export
219
+ */
220
+ const EdiModelApiFactory = (configuration, basePath, axios) => {
221
+ const localVarFp = (0, exports.EdiModelApiFp)(configuration);
222
+ return {
223
+ /**
224
+ *
225
+ * @summary Retrieve the names of all EDI models
226
+ * @param {EdiModelApiModelsGetRequest} requestParameters Request parameters.
227
+ * @param {*} [options] Override http request option.
228
+ * @throws {RequiredError}
229
+ */
230
+ modelsGet(requestParameters = {}, options) {
231
+ return localVarFp.modelsGet(requestParameters.system, options).then((request) => request(axios, basePath));
232
+ },
233
+ /**
234
+ *
235
+ * @summary Delete an EDI model
236
+ * @param {EdiModelApiModelsIdDeleteRequest} requestParameters Request parameters.
237
+ * @param {*} [options] Override http request option.
238
+ * @throws {RequiredError}
239
+ */
240
+ modelsIdDelete(requestParameters, options) {
241
+ return localVarFp.modelsIdDelete(requestParameters.id, options).then((request) => request(axios, basePath));
242
+ },
243
+ /**
244
+ *
245
+ * @summary Retrieve an EDI model
246
+ * @param {EdiModelApiModelsIdGetRequest} requestParameters Request parameters.
247
+ * @param {*} [options] Override http request option.
248
+ * @throws {RequiredError}
249
+ */
250
+ modelsIdGet(requestParameters, options) {
251
+ return localVarFp.modelsIdGet(requestParameters.id, options).then((request) => request(axios, basePath));
252
+ },
253
+ /**
254
+ *
255
+ * @summary Upload EDI models in either SEF or OpenEDI format
256
+ * @param {EdiModelApiModelsPostRequest} requestParameters Request parameters.
257
+ * @param {*} [options] Override http request option.
258
+ * @throws {RequiredError}
259
+ */
260
+ modelsPost(requestParameters = {}, options) {
261
+ return localVarFp.modelsPost(requestParameters.body, options).then((request) => request(axios, basePath));
262
+ },
263
+ };
264
+ };
265
+ exports.EdiModelApiFactory = EdiModelApiFactory;
266
+ /**
267
+ * EdiModelApi - object-oriented interface
268
+ * @export
269
+ * @class EdiModelApi
270
+ * @extends {BaseAPI}
271
+ */
272
+ class EdiModelApi extends base_1.BaseAPI {
273
+ /**
274
+ *
275
+ * @summary Retrieve the names of all EDI models
276
+ * @param {EdiModelApiModelsGetRequest} requestParameters Request parameters.
277
+ * @param {*} [options] Override http request option.
278
+ * @throws {RequiredError}
279
+ * @memberof EdiModelApi
280
+ */
281
+ modelsGet(requestParameters = {}, options) {
282
+ return (0, exports.EdiModelApiFp)(this.configuration)
283
+ .modelsGet(requestParameters.system, options)
284
+ .then((request) => request(this.axios, this.basePath));
285
+ }
286
+ /**
287
+ *
288
+ * @summary Delete an EDI model
289
+ * @param {EdiModelApiModelsIdDeleteRequest} requestParameters Request parameters.
290
+ * @param {*} [options] Override http request option.
291
+ * @throws {RequiredError}
292
+ * @memberof EdiModelApi
293
+ */
294
+ modelsIdDelete(requestParameters, options) {
295
+ return (0, exports.EdiModelApiFp)(this.configuration)
296
+ .modelsIdDelete(requestParameters.id, options)
297
+ .then((request) => request(this.axios, this.basePath));
298
+ }
299
+ /**
300
+ *
301
+ * @summary Retrieve an EDI model
302
+ * @param {EdiModelApiModelsIdGetRequest} requestParameters Request parameters.
303
+ * @param {*} [options] Override http request option.
304
+ * @throws {RequiredError}
305
+ * @memberof EdiModelApi
306
+ */
307
+ modelsIdGet(requestParameters, options) {
308
+ return (0, exports.EdiModelApiFp)(this.configuration)
309
+ .modelsIdGet(requestParameters.id, options)
310
+ .then((request) => request(this.axios, this.basePath));
311
+ }
312
+ /**
313
+ *
314
+ * @summary Upload EDI models in either SEF or OpenEDI format
315
+ * @param {EdiModelApiModelsPostRequest} requestParameters Request parameters.
316
+ * @param {*} [options] Override http request option.
317
+ * @throws {RequiredError}
318
+ * @memberof EdiModelApi
319
+ */
320
+ modelsPost(requestParameters = {}, options) {
321
+ return (0, exports.EdiModelApiFp)(this.configuration)
322
+ .modelsPost(requestParameters.body, options)
323
+ .then((request) => request(this.axios, this.basePath));
324
+ }
325
+ }
326
+ exports.EdiModelApi = EdiModelApi;