@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.
- package/README.md +321 -0
- package/dist/control-numbers.d.ts +20 -0
- package/dist/control-numbers.js +77 -0
- package/dist/edination-client/api/edi-model-api.d.ts +268 -0
- package/dist/edination-client/api/edi-model-api.js +326 -0
- package/dist/edination-client/api/edifact-api.d.ts +453 -0
- package/dist/edination-client/api/edifact-api.js +448 -0
- package/dist/edination-client/api/hl7-api.d.ts +294 -0
- package/dist/edination-client/api/hl7-api.js +315 -0
- package/dist/edination-client/api/ncpdp-api.d.ts +278 -0
- package/dist/edination-client/api/ncpdp-api.js +305 -0
- package/dist/edination-client/api/vda-api.d.ts +262 -0
- package/dist/edination-client/api/vda-api.js +295 -0
- package/dist/edination-client/api/x12-api.d.ts +437 -0
- package/dist/edination-client/api/x12-api.js +438 -0
- package/dist/edination-client/api.d.ts +17 -0
- package/dist/edination-client/api.js +35 -0
- package/dist/edination-client/base.d.ts +66 -0
- package/dist/edination-client/base.js +70 -0
- package/dist/edination-client/common.d.ts +65 -0
- package/dist/edination-client/common.js +142 -0
- package/dist/edination-client/configuration.d.ts +91 -0
- package/dist/edination-client/configuration.js +104 -0
- package/dist/edination-client/index.d.ts +14 -0
- package/dist/edination-client/index.js +32 -0
- package/dist/edination-client/model/batch-receiving-application.d.ts +36 -0
- package/dist/edination-client/model/batch-receiving-application.js +15 -0
- package/dist/edination-client/model/batch-receiving-facility.d.ts +36 -0
- package/dist/edination-client/model/batch-receiving-facility.js +15 -0
- package/dist/edination-client/model/batch-receiving-network-address.d.ts +36 -0
- package/dist/edination-client/model/batch-receiving-network-address.js +15 -0
- package/dist/edination-client/model/batch-sending-application.d.ts +36 -0
- package/dist/edination-client/model/batch-sending-application.js +15 -0
- package/dist/edination-client/model/batch-sending-facility.d.ts +36 -0
- package/dist/edination-client/model/batch-sending-facility.js +15 -0
- package/dist/edination-client/model/batch-sending-network-address.d.ts +36 -0
- package/dist/edination-client/model/batch-sending-network-address.js +15 -0
- package/dist/edination-client/model/bhs.d.ts +108 -0
- package/dist/edination-client/model/bhs.js +15 -0
- package/dist/edination-client/model/bts.d.ts +36 -0
- package/dist/edination-client/model/bts.js +15 -0
- package/dist/edination-client/model/edi-model.d.ts +37 -0
- package/dist/edination-client/model/edi-model.js +15 -0
- package/dist/edination-client/model/edifact-group.d.ts +38 -0
- package/dist/edination-client/model/edifact-group.js +15 -0
- package/dist/edination-client/model/edifact-interchange.d.ts +53 -0
- package/dist/edination-client/model/edifact-interchange.js +15 -0
- package/dist/edination-client/model/error-details.d.ts +30 -0
- package/dist/edination-client/model/error-details.js +15 -0
- package/dist/edination-client/model/fhs.d.ts +108 -0
- package/dist/edination-client/model/fhs.js +15 -0
- package/dist/edination-client/model/file-receiving-application.d.ts +36 -0
- package/dist/edination-client/model/file-receiving-application.js +15 -0
- package/dist/edination-client/model/file-receiving-facility.d.ts +36 -0
- package/dist/edination-client/model/file-receiving-facility.js +15 -0
- package/dist/edination-client/model/file-receiving-network-address.d.ts +36 -0
- package/dist/edination-client/model/file-receiving-network-address.js +15 -0
- package/dist/edination-client/model/file-sending-application.d.ts +36 -0
- package/dist/edination-client/model/file-sending-application.js +15 -0
- package/dist/edination-client/model/file-sending-facility.d.ts +36 -0
- package/dist/edination-client/model/file-sending-facility.js +15 -0
- package/dist/edination-client/model/file-sending-network-address.d.ts +36 -0
- package/dist/edination-client/model/file-sending-network-address.js +15 -0
- package/dist/edination-client/model/flat-message.d.ts +37 -0
- package/dist/edination-client/model/flat-message.js +15 -0
- package/dist/edination-client/model/fts.d.ts +30 -0
- package/dist/edination-client/model/fts.js +15 -0
- package/dist/edination-client/model/ge.d.ts +30 -0
- package/dist/edination-client/model/ge.js +15 -0
- package/dist/edination-client/model/gs.d.ts +66 -0
- package/dist/edination-client/model/gs.js +15 -0
- package/dist/edination-client/model/hl7-group.d.ts +38 -0
- package/dist/edination-client/model/hl7-group.js +15 -0
- package/dist/edination-client/model/hl7-interchange.d.ts +46 -0
- package/dist/edination-client/model/hl7-interchange.js +15 -0
- package/dist/edination-client/model/iea.d.ts +30 -0
- package/dist/edination-client/model/iea.js +15 -0
- package/dist/edination-client/model/index.d.ts +49 -0
- package/dist/edination-client/model/index.js +65 -0
- package/dist/edination-client/model/isa.d.ts +114 -0
- package/dist/edination-client/model/isa.js +15 -0
- package/dist/edination-client/model/link.d.ts +36 -0
- package/dist/edination-client/model/link.js +15 -0
- package/dist/edination-client/model/ncpdp-transmission.d.ts +45 -0
- package/dist/edination-client/model/ncpdp-transmission.js +15 -0
- package/dist/edination-client/model/operation-detail.d.ts +90 -0
- package/dist/edination-client/model/operation-detail.js +15 -0
- package/dist/edination-client/model/operation-result.d.ts +37 -0
- package/dist/edination-client/model/operation-result.js +15 -0
- package/dist/edination-client/model/s001.d.ts +42 -0
- package/dist/edination-client/model/s001.js +15 -0
- package/dist/edination-client/model/s002.d.ts +42 -0
- package/dist/edination-client/model/s002.js +15 -0
- package/dist/edination-client/model/s003.d.ts +42 -0
- package/dist/edination-client/model/s003.js +15 -0
- package/dist/edination-client/model/s004.d.ts +30 -0
- package/dist/edination-client/model/s004.js +15 -0
- package/dist/edination-client/model/s005.d.ts +30 -0
- package/dist/edination-client/model/s005.js +15 -0
- package/dist/edination-client/model/s006.d.ts +30 -0
- package/dist/edination-client/model/s006.js +15 -0
- package/dist/edination-client/model/s007.d.ts +30 -0
- package/dist/edination-client/model/s007.js +15 -0
- package/dist/edination-client/model/s008.d.ts +36 -0
- package/dist/edination-client/model/s008.js +15 -0
- package/dist/edination-client/model/ta1.d.ts +48 -0
- package/dist/edination-client/model/ta1.js +15 -0
- package/dist/edination-client/model/transmission-header.d.ts +66 -0
- package/dist/edination-client/model/transmission-header.js +15 -0
- package/dist/edination-client/model/transmission-trailer.d.ts +36 -0
- package/dist/edination-client/model/transmission-trailer.js +15 -0
- package/dist/edination-client/model/una.d.ts +54 -0
- package/dist/edination-client/model/una.js +15 -0
- package/dist/edination-client/model/unb.d.ts +89 -0
- package/dist/edination-client/model/unb.js +15 -0
- package/dist/edination-client/model/une.d.ts +30 -0
- package/dist/edination-client/model/une.js +15 -0
- package/dist/edination-client/model/ung.d.ts +70 -0
- package/dist/edination-client/model/ung.js +15 -0
- package/dist/edination-client/model/unz.d.ts +30 -0
- package/dist/edination-client/model/unz.js +15 -0
- package/dist/edination-client/model/x12-group.d.ts +38 -0
- package/dist/edination-client/model/x12-group.js +15 -0
- package/dist/edination-client/model/x12-interchange.d.ts +65 -0
- package/dist/edination-client/model/x12-interchange.js +15 -0
- package/dist/index.d.ts +45 -0
- package/dist/index.js +197 -0
- package/examples/node-edi.ts +58 -0
- package/package.json +49 -0
|
@@ -0,0 +1,278 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EdiNation API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { AxiosInstance, AxiosPromise, RawAxiosRequestConfig } from 'axios';
|
|
13
|
+
import { BaseAPI, type RequestArgs } from '../base';
|
|
14
|
+
import type { Configuration } from '../configuration';
|
|
15
|
+
import type { NcpdpTransmission } from '../model';
|
|
16
|
+
import type { OperationResult } from '../model';
|
|
17
|
+
/**
|
|
18
|
+
* NcpdpApi - axios parameter creator
|
|
19
|
+
* @export
|
|
20
|
+
*/
|
|
21
|
+
export declare const NcpdpApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @summary Convert NCPDP files to JSON
|
|
25
|
+
* @param {boolean} [ignoreNullValues] Whether to ignore all null values in the response. The default is false.
|
|
26
|
+
* @param {string} [charSet] The encoding of the file contents. The default is utf-8. The available values are: unicodeFFFE, utf-32, utf-32BE, us-ascii, iso-8859-1, utf-7, utf-8, utf-16.
|
|
27
|
+
* @param {string} [model] The model to use. By default, the API will infer the model based on the transaction and version identifiers.
|
|
28
|
+
* @param {File} [body]
|
|
29
|
+
* @param {*} [options] Override http request option.
|
|
30
|
+
* @throws {RequiredError}
|
|
31
|
+
*/
|
|
32
|
+
ncpdpReadPost: (ignoreNullValues?: boolean, charSet?: string, model?: string, body?: File, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @summary Validate NCPDP messages
|
|
36
|
+
* @param {string} [syntaxSet] In case you need to validate against a syntax set, different than Default, populate this filed with all of the allowed symbols, url-escaped.
|
|
37
|
+
* @param {boolean} [structureOnly] This is equivalent to HIPAA Snip level 1, where only the structure and control segments are validated. By default, this is set to false, however if you want to not validate things such as data types, number of repeteitions or dates, set this to true.
|
|
38
|
+
* @param {NcpdpTransmission} [ncpdpTransmission] The NcpdpTransmission object to validate.
|
|
39
|
+
* @param {*} [options] Override http request option.
|
|
40
|
+
* @throws {RequiredError}
|
|
41
|
+
*/
|
|
42
|
+
ncpdpValidatePost: (syntaxSet?: string, structureOnly?: boolean, ncpdpTransmission?: NcpdpTransmission, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @summary Convert JSON to NCPDP files
|
|
46
|
+
* @param {boolean} [noG1] Whether to omit the transaction header G1. The default is false.
|
|
47
|
+
* @param {string} [charSet] The encoding of the file contents. The default is utf-8. The available values are: unicodeFFFE, utf-32, utf-32BE, us-ascii, iso-8859-1, utf-7, utf-8, utf-16.
|
|
48
|
+
* @param {string} [trailerMessage] The optional message in the transmission trailer.
|
|
49
|
+
* @param {NcpdpTransmission} [ncpdpTransmission] The NcpdpTransmission object to translate to raw NCPDP.
|
|
50
|
+
* @param {*} [options] Override http request option.
|
|
51
|
+
* @throws {RequiredError}
|
|
52
|
+
*/
|
|
53
|
+
ncpdpWritePost: (noG1?: boolean, charSet?: string, trailerMessage?: string, ncpdpTransmission?: NcpdpTransmission, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* NcpdpApi - functional programming interface
|
|
57
|
+
* @export
|
|
58
|
+
*/
|
|
59
|
+
export declare const NcpdpApiFp: (configuration?: Configuration) => {
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @summary Convert NCPDP files to JSON
|
|
63
|
+
* @param {boolean} [ignoreNullValues] Whether to ignore all null values in the response. The default is false.
|
|
64
|
+
* @param {string} [charSet] The encoding of the file contents. The default is utf-8. The available values are: unicodeFFFE, utf-32, utf-32BE, us-ascii, iso-8859-1, utf-7, utf-8, utf-16.
|
|
65
|
+
* @param {string} [model] The model to use. By default, the API will infer the model based on the transaction and version identifiers.
|
|
66
|
+
* @param {File} [body]
|
|
67
|
+
* @param {*} [options] Override http request option.
|
|
68
|
+
* @throws {RequiredError}
|
|
69
|
+
*/
|
|
70
|
+
ncpdpReadPost(ignoreNullValues?: boolean, charSet?: string, model?: string, body?: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NcpdpTransmission>>;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @summary Validate NCPDP messages
|
|
74
|
+
* @param {string} [syntaxSet] In case you need to validate against a syntax set, different than Default, populate this filed with all of the allowed symbols, url-escaped.
|
|
75
|
+
* @param {boolean} [structureOnly] This is equivalent to HIPAA Snip level 1, where only the structure and control segments are validated. By default, this is set to false, however if you want to not validate things such as data types, number of repeteitions or dates, set this to true.
|
|
76
|
+
* @param {NcpdpTransmission} [ncpdpTransmission] The NcpdpTransmission object to validate.
|
|
77
|
+
* @param {*} [options] Override http request option.
|
|
78
|
+
* @throws {RequiredError}
|
|
79
|
+
*/
|
|
80
|
+
ncpdpValidatePost(syntaxSet?: string, structureOnly?: boolean, ncpdpTransmission?: NcpdpTransmission, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OperationResult>>;
|
|
81
|
+
/**
|
|
82
|
+
*
|
|
83
|
+
* @summary Convert JSON to NCPDP files
|
|
84
|
+
* @param {boolean} [noG1] Whether to omit the transaction header G1. The default is false.
|
|
85
|
+
* @param {string} [charSet] The encoding of the file contents. The default is utf-8. The available values are: unicodeFFFE, utf-32, utf-32BE, us-ascii, iso-8859-1, utf-7, utf-8, utf-16.
|
|
86
|
+
* @param {string} [trailerMessage] The optional message in the transmission trailer.
|
|
87
|
+
* @param {NcpdpTransmission} [ncpdpTransmission] The NcpdpTransmission object to translate to raw NCPDP.
|
|
88
|
+
* @param {*} [options] Override http request option.
|
|
89
|
+
* @throws {RequiredError}
|
|
90
|
+
*/
|
|
91
|
+
ncpdpWritePost(noG1?: boolean, charSet?: string, trailerMessage?: string, ncpdpTransmission?: NcpdpTransmission, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
92
|
+
};
|
|
93
|
+
/**
|
|
94
|
+
* NcpdpApi - factory interface
|
|
95
|
+
* @export
|
|
96
|
+
*/
|
|
97
|
+
export declare const NcpdpApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
* @summary Convert NCPDP files to JSON
|
|
101
|
+
* @param {NcpdpApiNcpdpReadPostRequest} requestParameters Request parameters.
|
|
102
|
+
* @param {*} [options] Override http request option.
|
|
103
|
+
* @throws {RequiredError}
|
|
104
|
+
*/
|
|
105
|
+
ncpdpReadPost(requestParameters?: NcpdpApiNcpdpReadPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<NcpdpTransmission>;
|
|
106
|
+
/**
|
|
107
|
+
*
|
|
108
|
+
* @summary Validate NCPDP messages
|
|
109
|
+
* @param {NcpdpApiNcpdpValidatePostRequest} requestParameters Request parameters.
|
|
110
|
+
* @param {*} [options] Override http request option.
|
|
111
|
+
* @throws {RequiredError}
|
|
112
|
+
*/
|
|
113
|
+
ncpdpValidatePost(requestParameters?: NcpdpApiNcpdpValidatePostRequest, options?: RawAxiosRequestConfig): AxiosPromise<OperationResult>;
|
|
114
|
+
/**
|
|
115
|
+
*
|
|
116
|
+
* @summary Convert JSON to NCPDP files
|
|
117
|
+
* @param {NcpdpApiNcpdpWritePostRequest} requestParameters Request parameters.
|
|
118
|
+
* @param {*} [options] Override http request option.
|
|
119
|
+
* @throws {RequiredError}
|
|
120
|
+
*/
|
|
121
|
+
ncpdpWritePost(requestParameters?: NcpdpApiNcpdpWritePostRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
|
|
122
|
+
};
|
|
123
|
+
/**
|
|
124
|
+
* NcpdpApi - interface
|
|
125
|
+
* @export
|
|
126
|
+
* @interface NcpdpApi
|
|
127
|
+
*/
|
|
128
|
+
export interface NcpdpApiInterface {
|
|
129
|
+
/**
|
|
130
|
+
*
|
|
131
|
+
* @summary Convert NCPDP files to JSON
|
|
132
|
+
* @param {NcpdpApiNcpdpReadPostRequest} requestParameters Request parameters.
|
|
133
|
+
* @param {*} [options] Override http request option.
|
|
134
|
+
* @throws {RequiredError}
|
|
135
|
+
* @memberof NcpdpApiInterface
|
|
136
|
+
*/
|
|
137
|
+
ncpdpReadPost(requestParameters?: NcpdpApiNcpdpReadPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<NcpdpTransmission>;
|
|
138
|
+
/**
|
|
139
|
+
*
|
|
140
|
+
* @summary Validate NCPDP messages
|
|
141
|
+
* @param {NcpdpApiNcpdpValidatePostRequest} requestParameters Request parameters.
|
|
142
|
+
* @param {*} [options] Override http request option.
|
|
143
|
+
* @throws {RequiredError}
|
|
144
|
+
* @memberof NcpdpApiInterface
|
|
145
|
+
*/
|
|
146
|
+
ncpdpValidatePost(requestParameters?: NcpdpApiNcpdpValidatePostRequest, options?: RawAxiosRequestConfig): AxiosPromise<OperationResult>;
|
|
147
|
+
/**
|
|
148
|
+
*
|
|
149
|
+
* @summary Convert JSON to NCPDP files
|
|
150
|
+
* @param {NcpdpApiNcpdpWritePostRequest} requestParameters Request parameters.
|
|
151
|
+
* @param {*} [options] Override http request option.
|
|
152
|
+
* @throws {RequiredError}
|
|
153
|
+
* @memberof NcpdpApiInterface
|
|
154
|
+
*/
|
|
155
|
+
ncpdpWritePost(requestParameters?: NcpdpApiNcpdpWritePostRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* Request parameters for ncpdpReadPost operation in NcpdpApi.
|
|
159
|
+
* @export
|
|
160
|
+
* @interface NcpdpApiNcpdpReadPostRequest
|
|
161
|
+
*/
|
|
162
|
+
export interface NcpdpApiNcpdpReadPostRequest {
|
|
163
|
+
/**
|
|
164
|
+
* Whether to ignore all null values in the response. The default is false.
|
|
165
|
+
* @type {boolean}
|
|
166
|
+
* @memberof NcpdpApiNcpdpReadPost
|
|
167
|
+
*/
|
|
168
|
+
readonly ignoreNullValues?: boolean;
|
|
169
|
+
/**
|
|
170
|
+
* The encoding of the file contents. The default is utf-8. The available values are: unicodeFFFE, utf-32, utf-32BE, us-ascii, iso-8859-1, utf-7, utf-8, utf-16.
|
|
171
|
+
* @type {string}
|
|
172
|
+
* @memberof NcpdpApiNcpdpReadPost
|
|
173
|
+
*/
|
|
174
|
+
readonly charSet?: string;
|
|
175
|
+
/**
|
|
176
|
+
* The model to use. By default, the API will infer the model based on the transaction and version identifiers.
|
|
177
|
+
* @type {string}
|
|
178
|
+
* @memberof NcpdpApiNcpdpReadPost
|
|
179
|
+
*/
|
|
180
|
+
readonly model?: string;
|
|
181
|
+
/**
|
|
182
|
+
*
|
|
183
|
+
* @type {File}
|
|
184
|
+
* @memberof NcpdpApiNcpdpReadPost
|
|
185
|
+
*/
|
|
186
|
+
readonly body?: File;
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* Request parameters for ncpdpValidatePost operation in NcpdpApi.
|
|
190
|
+
* @export
|
|
191
|
+
* @interface NcpdpApiNcpdpValidatePostRequest
|
|
192
|
+
*/
|
|
193
|
+
export interface NcpdpApiNcpdpValidatePostRequest {
|
|
194
|
+
/**
|
|
195
|
+
* In case you need to validate against a syntax set, different than Default, populate this filed with all of the allowed symbols, url-escaped.
|
|
196
|
+
* @type {string}
|
|
197
|
+
* @memberof NcpdpApiNcpdpValidatePost
|
|
198
|
+
*/
|
|
199
|
+
readonly syntaxSet?: string;
|
|
200
|
+
/**
|
|
201
|
+
* This is equivalent to HIPAA Snip level 1, where only the structure and control segments are validated. By default, this is set to false, however if you want to not validate things such as data types, number of repeteitions or dates, set this to true.
|
|
202
|
+
* @type {boolean}
|
|
203
|
+
* @memberof NcpdpApiNcpdpValidatePost
|
|
204
|
+
*/
|
|
205
|
+
readonly structureOnly?: boolean;
|
|
206
|
+
/**
|
|
207
|
+
* The NcpdpTransmission object to validate.
|
|
208
|
+
* @type {NcpdpTransmission}
|
|
209
|
+
* @memberof NcpdpApiNcpdpValidatePost
|
|
210
|
+
*/
|
|
211
|
+
readonly ncpdpTransmission?: NcpdpTransmission;
|
|
212
|
+
}
|
|
213
|
+
/**
|
|
214
|
+
* Request parameters for ncpdpWritePost operation in NcpdpApi.
|
|
215
|
+
* @export
|
|
216
|
+
* @interface NcpdpApiNcpdpWritePostRequest
|
|
217
|
+
*/
|
|
218
|
+
export interface NcpdpApiNcpdpWritePostRequest {
|
|
219
|
+
/**
|
|
220
|
+
* Whether to omit the transaction header G1. The default is false.
|
|
221
|
+
* @type {boolean}
|
|
222
|
+
* @memberof NcpdpApiNcpdpWritePost
|
|
223
|
+
*/
|
|
224
|
+
readonly noG1?: boolean;
|
|
225
|
+
/**
|
|
226
|
+
* The encoding of the file contents. The default is utf-8. The available values are: unicodeFFFE, utf-32, utf-32BE, us-ascii, iso-8859-1, utf-7, utf-8, utf-16.
|
|
227
|
+
* @type {string}
|
|
228
|
+
* @memberof NcpdpApiNcpdpWritePost
|
|
229
|
+
*/
|
|
230
|
+
readonly charSet?: string;
|
|
231
|
+
/**
|
|
232
|
+
* The optional message in the transmission trailer.
|
|
233
|
+
* @type {string}
|
|
234
|
+
* @memberof NcpdpApiNcpdpWritePost
|
|
235
|
+
*/
|
|
236
|
+
readonly trailerMessage?: string;
|
|
237
|
+
/**
|
|
238
|
+
* The NcpdpTransmission object to translate to raw NCPDP.
|
|
239
|
+
* @type {NcpdpTransmission}
|
|
240
|
+
* @memberof NcpdpApiNcpdpWritePost
|
|
241
|
+
*/
|
|
242
|
+
readonly ncpdpTransmission?: NcpdpTransmission;
|
|
243
|
+
}
|
|
244
|
+
/**
|
|
245
|
+
* NcpdpApi - object-oriented interface
|
|
246
|
+
* @export
|
|
247
|
+
* @class NcpdpApi
|
|
248
|
+
* @extends {BaseAPI}
|
|
249
|
+
*/
|
|
250
|
+
export declare class NcpdpApi extends BaseAPI implements NcpdpApiInterface {
|
|
251
|
+
/**
|
|
252
|
+
*
|
|
253
|
+
* @summary Convert NCPDP files to JSON
|
|
254
|
+
* @param {NcpdpApiNcpdpReadPostRequest} requestParameters Request parameters.
|
|
255
|
+
* @param {*} [options] Override http request option.
|
|
256
|
+
* @throws {RequiredError}
|
|
257
|
+
* @memberof NcpdpApi
|
|
258
|
+
*/
|
|
259
|
+
ncpdpReadPost(requestParameters?: NcpdpApiNcpdpReadPostRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<NcpdpTransmission, any, {}>>;
|
|
260
|
+
/**
|
|
261
|
+
*
|
|
262
|
+
* @summary Validate NCPDP messages
|
|
263
|
+
* @param {NcpdpApiNcpdpValidatePostRequest} requestParameters Request parameters.
|
|
264
|
+
* @param {*} [options] Override http request option.
|
|
265
|
+
* @throws {RequiredError}
|
|
266
|
+
* @memberof NcpdpApi
|
|
267
|
+
*/
|
|
268
|
+
ncpdpValidatePost(requestParameters?: NcpdpApiNcpdpValidatePostRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OperationResult, any, {}>>;
|
|
269
|
+
/**
|
|
270
|
+
*
|
|
271
|
+
* @summary Convert JSON to NCPDP files
|
|
272
|
+
* @param {NcpdpApiNcpdpWritePostRequest} requestParameters Request parameters.
|
|
273
|
+
* @param {*} [options] Override http request option.
|
|
274
|
+
* @throws {RequiredError}
|
|
275
|
+
* @memberof NcpdpApi
|
|
276
|
+
*/
|
|
277
|
+
ncpdpWritePost(requestParameters?: NcpdpApiNcpdpWritePostRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any, {}>>;
|
|
278
|
+
}
|
|
@@ -0,0 +1,305 @@
|
|
|
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.NcpdpApi = exports.NcpdpApiFactory = exports.NcpdpApiFp = exports.NcpdpApiAxiosParamCreator = 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
|
+
* NcpdpApi - axios parameter creator
|
|
28
|
+
* @export
|
|
29
|
+
*/
|
|
30
|
+
const NcpdpApiAxiosParamCreator = (configuration) => ({
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @summary Convert NCPDP files to JSON
|
|
34
|
+
* @param {boolean} [ignoreNullValues] Whether to ignore all null values in the response. The default is false.
|
|
35
|
+
* @param {string} [charSet] The encoding of the file contents. The default is utf-8. The available values are: unicodeFFFE, utf-32, utf-32BE, us-ascii, iso-8859-1, utf-7, utf-8, utf-16.
|
|
36
|
+
* @param {string} [model] The model to use. By default, the API will infer the model based on the transaction and version identifiers.
|
|
37
|
+
* @param {File} [body]
|
|
38
|
+
* @param {*} [options] Override http request option.
|
|
39
|
+
* @throws {RequiredError}
|
|
40
|
+
*/
|
|
41
|
+
ncpdpReadPost: async (ignoreNullValues, charSet, model, body, options = {}) => {
|
|
42
|
+
const localVarPath = '/ncpdp/read';
|
|
43
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
44
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
45
|
+
let baseOptions;
|
|
46
|
+
if (configuration) {
|
|
47
|
+
baseOptions = configuration.baseOptions;
|
|
48
|
+
}
|
|
49
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
50
|
+
const localVarHeaderParameter = {};
|
|
51
|
+
const localVarQueryParameter = {};
|
|
52
|
+
// authentication ApiKey required
|
|
53
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, 'Ocp-Apim-Subscription-Key', configuration);
|
|
54
|
+
if (ignoreNullValues !== undefined) {
|
|
55
|
+
localVarQueryParameter.ignoreNullValues = ignoreNullValues;
|
|
56
|
+
}
|
|
57
|
+
if (charSet !== undefined) {
|
|
58
|
+
localVarQueryParameter.charSet = charSet;
|
|
59
|
+
}
|
|
60
|
+
if (model !== undefined) {
|
|
61
|
+
localVarQueryParameter.model = model;
|
|
62
|
+
}
|
|
63
|
+
localVarHeaderParameter['Content-Type'] = 'application/octet-stream';
|
|
64
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
65
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
66
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
67
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
68
|
+
return {
|
|
69
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
70
|
+
options: localVarRequestOptions,
|
|
71
|
+
};
|
|
72
|
+
},
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @summary Validate NCPDP messages
|
|
76
|
+
* @param {string} [syntaxSet] In case you need to validate against a syntax set, different than Default, populate this filed with all of the allowed symbols, url-escaped.
|
|
77
|
+
* @param {boolean} [structureOnly] This is equivalent to HIPAA Snip level 1, where only the structure and control segments are validated. By default, this is set to false, however if you want to not validate things such as data types, number of repeteitions or dates, set this to true.
|
|
78
|
+
* @param {NcpdpTransmission} [ncpdpTransmission] The NcpdpTransmission object to validate.
|
|
79
|
+
* @param {*} [options] Override http request option.
|
|
80
|
+
* @throws {RequiredError}
|
|
81
|
+
*/
|
|
82
|
+
ncpdpValidatePost: async (syntaxSet, structureOnly, ncpdpTransmission, options = {}) => {
|
|
83
|
+
const localVarPath = '/ncpdp/validate';
|
|
84
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
85
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
86
|
+
let baseOptions;
|
|
87
|
+
if (configuration) {
|
|
88
|
+
baseOptions = configuration.baseOptions;
|
|
89
|
+
}
|
|
90
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
91
|
+
const localVarHeaderParameter = {};
|
|
92
|
+
const localVarQueryParameter = {};
|
|
93
|
+
// authentication ApiKey required
|
|
94
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, 'Ocp-Apim-Subscription-Key', configuration);
|
|
95
|
+
if (syntaxSet !== undefined) {
|
|
96
|
+
localVarQueryParameter.syntaxSet = syntaxSet;
|
|
97
|
+
}
|
|
98
|
+
if (structureOnly !== undefined) {
|
|
99
|
+
localVarQueryParameter.structureOnly = structureOnly;
|
|
100
|
+
}
|
|
101
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
102
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
103
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
104
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
105
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(ncpdpTransmission, localVarRequestOptions, configuration);
|
|
106
|
+
return {
|
|
107
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
108
|
+
options: localVarRequestOptions,
|
|
109
|
+
};
|
|
110
|
+
},
|
|
111
|
+
/**
|
|
112
|
+
*
|
|
113
|
+
* @summary Convert JSON to NCPDP files
|
|
114
|
+
* @param {boolean} [noG1] Whether to omit the transaction header G1. The default is false.
|
|
115
|
+
* @param {string} [charSet] The encoding of the file contents. The default is utf-8. The available values are: unicodeFFFE, utf-32, utf-32BE, us-ascii, iso-8859-1, utf-7, utf-8, utf-16.
|
|
116
|
+
* @param {string} [trailerMessage] The optional message in the transmission trailer.
|
|
117
|
+
* @param {NcpdpTransmission} [ncpdpTransmission] The NcpdpTransmission object to translate to raw NCPDP.
|
|
118
|
+
* @param {*} [options] Override http request option.
|
|
119
|
+
* @throws {RequiredError}
|
|
120
|
+
*/
|
|
121
|
+
ncpdpWritePost: async (noG1, charSet, trailerMessage, ncpdpTransmission, options = {}) => {
|
|
122
|
+
const localVarPath = '/ncpdp/write';
|
|
123
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
124
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
125
|
+
let baseOptions;
|
|
126
|
+
if (configuration) {
|
|
127
|
+
baseOptions = configuration.baseOptions;
|
|
128
|
+
}
|
|
129
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
130
|
+
const localVarHeaderParameter = {};
|
|
131
|
+
const localVarQueryParameter = {};
|
|
132
|
+
// authentication ApiKey required
|
|
133
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, 'Ocp-Apim-Subscription-Key', configuration);
|
|
134
|
+
if (noG1 !== undefined) {
|
|
135
|
+
localVarQueryParameter.noG1 = noG1;
|
|
136
|
+
}
|
|
137
|
+
if (charSet !== undefined) {
|
|
138
|
+
localVarQueryParameter.charSet = charSet;
|
|
139
|
+
}
|
|
140
|
+
if (trailerMessage !== undefined) {
|
|
141
|
+
localVarQueryParameter.trailerMessage = trailerMessage;
|
|
142
|
+
}
|
|
143
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
144
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
145
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
146
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
147
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(ncpdpTransmission, localVarRequestOptions, configuration);
|
|
148
|
+
return {
|
|
149
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
150
|
+
options: localVarRequestOptions,
|
|
151
|
+
};
|
|
152
|
+
},
|
|
153
|
+
});
|
|
154
|
+
exports.NcpdpApiAxiosParamCreator = NcpdpApiAxiosParamCreator;
|
|
155
|
+
/**
|
|
156
|
+
* NcpdpApi - functional programming interface
|
|
157
|
+
* @export
|
|
158
|
+
*/
|
|
159
|
+
const NcpdpApiFp = (configuration) => {
|
|
160
|
+
const localVarAxiosParamCreator = (0, exports.NcpdpApiAxiosParamCreator)(configuration);
|
|
161
|
+
return {
|
|
162
|
+
/**
|
|
163
|
+
*
|
|
164
|
+
* @summary Convert NCPDP files to JSON
|
|
165
|
+
* @param {boolean} [ignoreNullValues] Whether to ignore all null values in the response. The default is false.
|
|
166
|
+
* @param {string} [charSet] The encoding of the file contents. The default is utf-8. The available values are: unicodeFFFE, utf-32, utf-32BE, us-ascii, iso-8859-1, utf-7, utf-8, utf-16.
|
|
167
|
+
* @param {string} [model] The model to use. By default, the API will infer the model based on the transaction and version identifiers.
|
|
168
|
+
* @param {File} [body]
|
|
169
|
+
* @param {*} [options] Override http request option.
|
|
170
|
+
* @throws {RequiredError}
|
|
171
|
+
*/
|
|
172
|
+
async ncpdpReadPost(ignoreNullValues, charSet, model, body, options) {
|
|
173
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.ncpdpReadPost(ignoreNullValues, charSet, model, body, options);
|
|
174
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
175
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['NcpdpApi.ncpdpReadPost']?.[localVarOperationServerIndex]?.url;
|
|
176
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
177
|
+
},
|
|
178
|
+
/**
|
|
179
|
+
*
|
|
180
|
+
* @summary Validate NCPDP messages
|
|
181
|
+
* @param {string} [syntaxSet] In case you need to validate against a syntax set, different than Default, populate this filed with all of the allowed symbols, url-escaped.
|
|
182
|
+
* @param {boolean} [structureOnly] This is equivalent to HIPAA Snip level 1, where only the structure and control segments are validated. By default, this is set to false, however if you want to not validate things such as data types, number of repeteitions or dates, set this to true.
|
|
183
|
+
* @param {NcpdpTransmission} [ncpdpTransmission] The NcpdpTransmission object to validate.
|
|
184
|
+
* @param {*} [options] Override http request option.
|
|
185
|
+
* @throws {RequiredError}
|
|
186
|
+
*/
|
|
187
|
+
async ncpdpValidatePost(syntaxSet, structureOnly, ncpdpTransmission, options) {
|
|
188
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.ncpdpValidatePost(syntaxSet, structureOnly, ncpdpTransmission, options);
|
|
189
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
190
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['NcpdpApi.ncpdpValidatePost']?.[localVarOperationServerIndex]?.url;
|
|
191
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
192
|
+
},
|
|
193
|
+
/**
|
|
194
|
+
*
|
|
195
|
+
* @summary Convert JSON to NCPDP files
|
|
196
|
+
* @param {boolean} [noG1] Whether to omit the transaction header G1. The default is false.
|
|
197
|
+
* @param {string} [charSet] The encoding of the file contents. The default is utf-8. The available values are: unicodeFFFE, utf-32, utf-32BE, us-ascii, iso-8859-1, utf-7, utf-8, utf-16.
|
|
198
|
+
* @param {string} [trailerMessage] The optional message in the transmission trailer.
|
|
199
|
+
* @param {NcpdpTransmission} [ncpdpTransmission] The NcpdpTransmission object to translate to raw NCPDP.
|
|
200
|
+
* @param {*} [options] Override http request option.
|
|
201
|
+
* @throws {RequiredError}
|
|
202
|
+
*/
|
|
203
|
+
async ncpdpWritePost(noG1, charSet, trailerMessage, ncpdpTransmission, options) {
|
|
204
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.ncpdpWritePost(noG1, charSet, trailerMessage, ncpdpTransmission, options);
|
|
205
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
206
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['NcpdpApi.ncpdpWritePost']?.[localVarOperationServerIndex]?.url;
|
|
207
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
208
|
+
},
|
|
209
|
+
};
|
|
210
|
+
};
|
|
211
|
+
exports.NcpdpApiFp = NcpdpApiFp;
|
|
212
|
+
/**
|
|
213
|
+
* NcpdpApi - factory interface
|
|
214
|
+
* @export
|
|
215
|
+
*/
|
|
216
|
+
const NcpdpApiFactory = (configuration, basePath, axios) => {
|
|
217
|
+
const localVarFp = (0, exports.NcpdpApiFp)(configuration);
|
|
218
|
+
return {
|
|
219
|
+
/**
|
|
220
|
+
*
|
|
221
|
+
* @summary Convert NCPDP files to JSON
|
|
222
|
+
* @param {NcpdpApiNcpdpReadPostRequest} requestParameters Request parameters.
|
|
223
|
+
* @param {*} [options] Override http request option.
|
|
224
|
+
* @throws {RequiredError}
|
|
225
|
+
*/
|
|
226
|
+
ncpdpReadPost(requestParameters = {}, options) {
|
|
227
|
+
return localVarFp
|
|
228
|
+
.ncpdpReadPost(requestParameters.ignoreNullValues, requestParameters.charSet, requestParameters.model, requestParameters.body, options)
|
|
229
|
+
.then((request) => request(axios, basePath));
|
|
230
|
+
},
|
|
231
|
+
/**
|
|
232
|
+
*
|
|
233
|
+
* @summary Validate NCPDP messages
|
|
234
|
+
* @param {NcpdpApiNcpdpValidatePostRequest} requestParameters Request parameters.
|
|
235
|
+
* @param {*} [options] Override http request option.
|
|
236
|
+
* @throws {RequiredError}
|
|
237
|
+
*/
|
|
238
|
+
ncpdpValidatePost(requestParameters = {}, options) {
|
|
239
|
+
return localVarFp
|
|
240
|
+
.ncpdpValidatePost(requestParameters.syntaxSet, requestParameters.structureOnly, requestParameters.ncpdpTransmission, options)
|
|
241
|
+
.then((request) => request(axios, basePath));
|
|
242
|
+
},
|
|
243
|
+
/**
|
|
244
|
+
*
|
|
245
|
+
* @summary Convert JSON to NCPDP files
|
|
246
|
+
* @param {NcpdpApiNcpdpWritePostRequest} requestParameters Request parameters.
|
|
247
|
+
* @param {*} [options] Override http request option.
|
|
248
|
+
* @throws {RequiredError}
|
|
249
|
+
*/
|
|
250
|
+
ncpdpWritePost(requestParameters = {}, options) {
|
|
251
|
+
return localVarFp
|
|
252
|
+
.ncpdpWritePost(requestParameters.noG1, requestParameters.charSet, requestParameters.trailerMessage, requestParameters.ncpdpTransmission, options)
|
|
253
|
+
.then((request) => request(axios, basePath));
|
|
254
|
+
},
|
|
255
|
+
};
|
|
256
|
+
};
|
|
257
|
+
exports.NcpdpApiFactory = NcpdpApiFactory;
|
|
258
|
+
/**
|
|
259
|
+
* NcpdpApi - object-oriented interface
|
|
260
|
+
* @export
|
|
261
|
+
* @class NcpdpApi
|
|
262
|
+
* @extends {BaseAPI}
|
|
263
|
+
*/
|
|
264
|
+
class NcpdpApi extends base_1.BaseAPI {
|
|
265
|
+
/**
|
|
266
|
+
*
|
|
267
|
+
* @summary Convert NCPDP files to JSON
|
|
268
|
+
* @param {NcpdpApiNcpdpReadPostRequest} requestParameters Request parameters.
|
|
269
|
+
* @param {*} [options] Override http request option.
|
|
270
|
+
* @throws {RequiredError}
|
|
271
|
+
* @memberof NcpdpApi
|
|
272
|
+
*/
|
|
273
|
+
ncpdpReadPost(requestParameters = {}, options) {
|
|
274
|
+
return (0, exports.NcpdpApiFp)(this.configuration)
|
|
275
|
+
.ncpdpReadPost(requestParameters.ignoreNullValues, requestParameters.charSet, requestParameters.model, requestParameters.body, options)
|
|
276
|
+
.then((request) => request(this.axios, this.basePath));
|
|
277
|
+
}
|
|
278
|
+
/**
|
|
279
|
+
*
|
|
280
|
+
* @summary Validate NCPDP messages
|
|
281
|
+
* @param {NcpdpApiNcpdpValidatePostRequest} requestParameters Request parameters.
|
|
282
|
+
* @param {*} [options] Override http request option.
|
|
283
|
+
* @throws {RequiredError}
|
|
284
|
+
* @memberof NcpdpApi
|
|
285
|
+
*/
|
|
286
|
+
ncpdpValidatePost(requestParameters = {}, options) {
|
|
287
|
+
return (0, exports.NcpdpApiFp)(this.configuration)
|
|
288
|
+
.ncpdpValidatePost(requestParameters.syntaxSet, requestParameters.structureOnly, requestParameters.ncpdpTransmission, options)
|
|
289
|
+
.then((request) => request(this.axios, this.basePath));
|
|
290
|
+
}
|
|
291
|
+
/**
|
|
292
|
+
*
|
|
293
|
+
* @summary Convert JSON to NCPDP files
|
|
294
|
+
* @param {NcpdpApiNcpdpWritePostRequest} requestParameters Request parameters.
|
|
295
|
+
* @param {*} [options] Override http request option.
|
|
296
|
+
* @throws {RequiredError}
|
|
297
|
+
* @memberof NcpdpApi
|
|
298
|
+
*/
|
|
299
|
+
ncpdpWritePost(requestParameters = {}, options) {
|
|
300
|
+
return (0, exports.NcpdpApiFp)(this.configuration)
|
|
301
|
+
.ncpdpWritePost(requestParameters.noG1, requestParameters.charSet, requestParameters.trailerMessage, requestParameters.ncpdpTransmission, options)
|
|
302
|
+
.then((request) => request(this.axios, this.basePath));
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
exports.NcpdpApi = NcpdpApi;
|