@epilot/document-client 0.5.1 → 0.6.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.
@@ -1 +1 @@
1
- (()=>{"use strict";var e={914:function(e,t,o){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var r=n(o(534));t.default=r.default},534:e=>{e.exports=JSON.parse('{"openapi":"3.0.3","info":{"title":"Document API","version":"1.0.0","description":"Generate documents with epilot data\\n\\n[Feature Documentation](https://docs.epilot.io/docs/files/document-generation)\\n"},"tags":[{"name":"Documents","description":"Document Generation"}],"security":[{"EpilotAuth":[]}],"paths":{"/v1/documents:generate":{"post":{"operationId":"generateDocument","summary":"generateDocument","description":"Builds document generated from input document with variables.\\n\\nSupported input document types:\\n- .docx\\n\\nSupported output document types:\\n- .pdf\\n\\nUses [Template Variables API](https://docs.epilot.io/api/template-variables) to replace variables in the document.\\n","tags":["Documents"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"language":{"type":"string","default":"en","example":"de","description":"Language to use"},"template_document":{"description":"Input template document","type":"object","properties":{"filename":{"type":"string","description":"Document original filename","example":"my-template-{{order.order_number}}.docx"},"s3ref":{"$ref":"#/components/schemas/S3Reference"}}},"context_entity_id":{"type":"string","description":"Entity to use for variable context","example":"bcd0aab9-b544-42b0-8bfb-6d449d02eacc"},"user_id":{"type":"string","description":"User Id for variable context","example":100321}},"required":["template_document"]}}}},"responses":{"200":{"description":"Generated document output","content":{"application/json":{"schema":{"type":"object","properties":{"preview_url":{"description":"Pre-signed S3 GET URL for preview","type":"string","example":"https://document-api-prod.s3.eu-central-1.amazonaws.com/preview/my-template-OR-001.pdf"},"output_document":{"type":"object","properties":{"filename":{"description":"Generated document filename","type":"string","example":"my-template-OR-001.pdf"},"s3ref":{"$ref":"#/components/schemas/S3Reference"}},"example":{"s3ref":{"bucket":"document-api-preview-prod","key":"preview/my-template.pdf"}}}}}}}}}}}},"components":{"securitySchemes":{"EpilotAuth":{"type":"http","scheme":"bearer","description":"Authorization header with epilot OAuth2 bearer token","bearerFormat":"JWT"}},"schemas":{"S3Reference":{"type":"object","properties":{"bucket":{"type":"string","example":"document-api-prod"},"key":{"type":"string","example":"uploads/my-template.pdf"}},"required":["bucket","key"]}}}}')}},t={},o=function o(n){var r=t[n];if(void 0!==r)return r.exports;var p=t[n]={exports:{}};return e[n].call(p.exports,p,p.exports,o),p.exports}(914),n=exports;for(var r in o)n[r]=o[r];o.__esModule&&Object.defineProperty(n,"__esModule",{value:!0})})();
1
+ (()=>{"use strict";var e={914:function(e,t,o){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var r=n(o(534));t.default=r.default},534:e=>{e.exports=JSON.parse('{"openapi":"3.0.3","info":{"title":"Document API","version":"1.0.0","description":"Generate documents with epilot data\\n\\n[Feature Documentation](https://docs.epilot.io/docs/files/document-generation)\\n"},"tags":[{"name":"Documents","description":"Document Generation"}],"security":[{"EpilotAuth":[]}],"paths":{"/v1/documents:generate":{"post":{"operationId":"generateDocument","summary":"generateDocument","description":"Builds document generated from input document with variables.\\n\\nSupported input document types:\\n- .docx\\n\\nSupported output document types:\\n- .pdf\\n\\nUses [Template Variables API](https://docs.epilot.io/api/template-variables) to replace variables in the document.\\n","tags":["Documents"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"language":{"type":"string","default":"en","example":"de","description":"Language to use"},"template_document":{"description":"Input template document","type":"object","properties":{"filename":{"type":"string","description":"Document original filename","example":"my-template-{{order.order_number}}.docx"},"s3ref":{"$ref":"#/components/schemas/S3Reference"}}},"context_entity_id":{"type":"string","description":"Entity to use for variable context","example":"bcd0aab9-b544-42b0-8bfb-6d449d02eacc"},"user_id":{"type":"string","description":"User Id for variable context","example":100321}},"required":["template_document"]}}}},"responses":{"200":{"description":"Generated document output","content":{"application/json":{"schema":{"type":"object","properties":{"preview_url":{"description":"Pre-signed S3 GET URL for preview","type":"string","example":"https://document-api-prod.s3.eu-central-1.amazonaws.com/preview/my-template-OR-001.pdf"},"output_document":{"type":"object","properties":{"filename":{"description":"Generated document filename","type":"string","example":"my-template-OR-001.pdf"},"s3ref":{"$ref":"#/components/schemas/S3Reference"}},"example":{"s3ref":{"bucket":"document-api-preview-prod","key":"preview/my-template.pdf"}}}}}}}}}}},"/v2/documents:generate":{"post":{"operationId":"generateDocumentV2","summary":"generateDocumentV2","description":"Builds document generated from input document with variables.\\n\\nSupported input document types:\\n- .docx\\n\\nSupported output document types:\\n- .pdf\\n- .docx but limited to only text based variables\\n\\nUses [Template Variables API](https://docs.epilot.io/api/template-variables) to replace variables in the document.\\n","parameters":[{"in":"query","name":"job_id","description":"Job ID for tracking the status of document generation action","schema":{"type":"string"}},{"in":"query","name":"mode","description":"Type of mode used for document generation flow.\\nPartial - Will have a intermediate step for users to validate and replace the variable values before generating the final document.\\nFull - Goes through all the steps for the full generation of final document\\n","schema":{"type":"string","enum":["partial_generation","full_generation"],"default":"automatic"}}],"tags":["Documents"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"language":{"type":"string","enum":["en","de"],"default":"en","example":"de","description":"Language to use"},"template_document":{"description":"Input template document","type":"object","properties":{"filename":{"type":"string","description":"Document original filename","example":"my-template-{{order.order_number}}.docx"},"s3ref":{"$ref":"#/components/schemas/S3Reference"}}},"context_entity_id":{"type":"string","description":"Entity to use for variable context","example":"bcd0aab9-b544-42b0-8bfb-6d449d02eacc"},"user_id":{"type":"string","description":"User Id for variable context","example":100321},"variable_payload":{"description":"Custom values for variables in the template. Takes the higher precedence than others.","type":"object","properties":{"additionalProperties":{"type":"string"}}}},"required":["template_document"]}}}},"responses":{"200":{"description":"Generated document output","content":{"application/json":{"schema":{"type":"object","properties":{"job_id":{"type":"string","format":"uuid"},"job_status":{"description":"Status of the job","type":"string","enum":["STARTED","PROCESSING","COMPLETED","FAILED"]},"pdf_output":{"type":"object","properties":{"preview_url":{"description":"Pre-signed S3 GET URL for PDF preview","type":"string","example":"https://document-api-prod.s3.eu-central-1.amazonaws.com/preview/my-template-OR-001.pdf"},"output_document":{"type":"object","properties":{"filename":{"description":"Generated document filename for PDF","type":"string","example":"my-template-OR-001.pdf"},"s3ref":{"$ref":"#/components/schemas/S3Reference"}},"example":{"s3ref":{"bucket":"document-api-preview-prod","key":"preview/my-template.pdf"}}}}},"docx_output":{"type":"object","properties":{"preview_url":{"description":"Pre-signed S3 GET URL for DOCX preview","type":"string","example":"https://document-api-prod.s3.eu-central-1.amazonaws.com/preview/my-template-OR-001.docx"},"output_document":{"type":"object","properties":{"filename":{"description":"Generated document filename for DOCX","type":"string","example":"my-template-OR-001.docx"},"s3ref":{"$ref":"#/components/schemas/S3Reference"}},"example":{"s3ref":{"bucket":"document-api-preview-prod","key":"preview/my-template.docx"}}}}},"variable_payload":{"description":"List of variables and its corresponding replaced values from the document template","type":"object","properties":{"additionalProperties":{"type":"string"}}}}}}}}}}}},"components":{"securitySchemes":{"EpilotAuth":{"type":"http","scheme":"bearer","description":"Authorization header with epilot OAuth2 bearer token","bearerFormat":"JWT"}},"schemas":{"S3Reference":{"type":"object","properties":{"bucket":{"type":"string","example":"document-api-prod"},"key":{"type":"string","example":"uploads/my-template.pdf"}},"required":["bucket","key"]}}}}')}},t={},o=function o(n){var r=t[n];if(void 0!==r)return r.exports;var p=t[n]={exports:{}};return e[n].call(p.exports,p,p.exports,o),p.exports}(914),n=exports;for(var r in o)n[r]=o[r];o.__esModule&&Object.defineProperty(n,"__esModule",{value:!0})})();
package/dist/openapi.d.ts CHANGED
@@ -86,6 +86,121 @@ declare namespace Paths {
86
86
  }
87
87
  }
88
88
  }
89
+ namespace GenerateDocumentV2 {
90
+ namespace Parameters {
91
+ export type JobId = string;
92
+ export type Mode = "partial_generation" | "full_generation";
93
+ }
94
+ export interface QueryParameters {
95
+ job_id?: Parameters.JobId;
96
+ mode?: Parameters.Mode;
97
+ }
98
+ export interface RequestBody {
99
+ /**
100
+ * Language to use
101
+ * example:
102
+ * de
103
+ */
104
+ language?: "en" | "de";
105
+ /**
106
+ * Input template document
107
+ */
108
+ template_document: {
109
+ /**
110
+ * Document original filename
111
+ * example:
112
+ * my-template-{{order.order_number}}.docx
113
+ */
114
+ filename?: string;
115
+ s3ref?: Components.Schemas.S3Reference;
116
+ };
117
+ /**
118
+ * Entity to use for variable context
119
+ * example:
120
+ * bcd0aab9-b544-42b0-8bfb-6d449d02eacc
121
+ */
122
+ context_entity_id?: string;
123
+ /**
124
+ * User Id for variable context
125
+ * example:
126
+ * 100321
127
+ */
128
+ user_id?: string;
129
+ /**
130
+ * Custom values for variables in the template. Takes the higher precedence than others.
131
+ */
132
+ variable_payload?: {
133
+ additionalProperties?: string;
134
+ };
135
+ }
136
+ namespace Responses {
137
+ export interface $200 {
138
+ job_id?: string; // uuid
139
+ /**
140
+ * Status of the job
141
+ */
142
+ job_status?: "STARTED" | "PROCESSING" | "COMPLETED" | "FAILED";
143
+ pdf_output?: {
144
+ /**
145
+ * Pre-signed S3 GET URL for PDF preview
146
+ * example:
147
+ * https://document-api-prod.s3.eu-central-1.amazonaws.com/preview/my-template-OR-001.pdf
148
+ */
149
+ preview_url?: string;
150
+ /**
151
+ * example:
152
+ * {
153
+ * "s3ref": {
154
+ * "bucket": "document-api-preview-prod",
155
+ * "key": "preview/my-template.pdf"
156
+ * }
157
+ * }
158
+ */
159
+ output_document?: {
160
+ /**
161
+ * Generated document filename for PDF
162
+ * example:
163
+ * my-template-OR-001.pdf
164
+ */
165
+ filename?: string;
166
+ s3ref?: Components.Schemas.S3Reference;
167
+ };
168
+ };
169
+ docx_output?: {
170
+ /**
171
+ * Pre-signed S3 GET URL for DOCX preview
172
+ * example:
173
+ * https://document-api-prod.s3.eu-central-1.amazonaws.com/preview/my-template-OR-001.docx
174
+ */
175
+ preview_url?: string;
176
+ /**
177
+ * example:
178
+ * {
179
+ * "s3ref": {
180
+ * "bucket": "document-api-preview-prod",
181
+ * "key": "preview/my-template.docx"
182
+ * }
183
+ * }
184
+ */
185
+ output_document?: {
186
+ /**
187
+ * Generated document filename for DOCX
188
+ * example:
189
+ * my-template-OR-001.docx
190
+ */
191
+ filename?: string;
192
+ s3ref?: Components.Schemas.S3Reference;
193
+ };
194
+ };
195
+ /**
196
+ * List of variables and its corresponding replaced values from the document template
197
+ */
198
+ variable_payload?: {
199
+ additionalProperties?: string;
200
+ };
201
+ }
202
+ }
203
+ }
89
204
  }
90
205
 
91
206
  export interface OperationMethods {
@@ -108,6 +223,26 @@ export interface OperationMethods {
108
223
  data?: Paths.GenerateDocument.RequestBody,
109
224
  config?: AxiosRequestConfig
110
225
  ): OperationResponse<Paths.GenerateDocument.Responses.$200>
226
+ /**
227
+ * generateDocumentV2 - generateDocumentV2
228
+ *
229
+ * Builds document generated from input document with variables.
230
+ *
231
+ * Supported input document types:
232
+ * - .docx
233
+ *
234
+ * Supported output document types:
235
+ * - .pdf
236
+ * - .docx but limited to only text based variables
237
+ *
238
+ * Uses [Template Variables API](https://docs.epilot.io/api/template-variables) to replace variables in the document.
239
+ *
240
+ */
241
+ 'generateDocumentV2'(
242
+ parameters?: Parameters<Paths.GenerateDocumentV2.QueryParameters> | null,
243
+ data?: Paths.GenerateDocumentV2.RequestBody,
244
+ config?: AxiosRequestConfig
245
+ ): OperationResponse<Paths.GenerateDocumentV2.Responses.$200>
111
246
  }
112
247
 
113
248
  export interface PathsDictionary {
@@ -132,6 +267,28 @@ export interface PathsDictionary {
132
267
  config?: AxiosRequestConfig
133
268
  ): OperationResponse<Paths.GenerateDocument.Responses.$200>
134
269
  }
270
+ ['/v2/documents:generate']: {
271
+ /**
272
+ * generateDocumentV2 - generateDocumentV2
273
+ *
274
+ * Builds document generated from input document with variables.
275
+ *
276
+ * Supported input document types:
277
+ * - .docx
278
+ *
279
+ * Supported output document types:
280
+ * - .pdf
281
+ * - .docx but limited to only text based variables
282
+ *
283
+ * Uses [Template Variables API](https://docs.epilot.io/api/template-variables) to replace variables in the document.
284
+ *
285
+ */
286
+ 'post'(
287
+ parameters?: Parameters<Paths.GenerateDocumentV2.QueryParameters> | null,
288
+ data?: Paths.GenerateDocumentV2.RequestBody,
289
+ config?: AxiosRequestConfig
290
+ ): OperationResponse<Paths.GenerateDocumentV2.Responses.$200>
291
+ }
135
292
  }
136
293
 
137
294
  export type Client = OpenAPIClient<OperationMethods, PathsDictionary>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/document-client",
3
- "version": "0.5.1",
3
+ "version": "0.6.0",
4
4
  "description": "API Client for epilot document API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -0,0 +1,294 @@
1
+ /* eslint-disable */
2
+ import type {
3
+ OpenAPIClient,
4
+ Parameters,
5
+ UnknownParamsObject,
6
+ OperationResponse,
7
+ AxiosRequestConfig,
8
+ } from 'openapi-client-axios';
9
+
10
+ declare namespace Components {
11
+ namespace Schemas {
12
+ export interface S3Reference {
13
+ /**
14
+ * example:
15
+ * document-api-prod
16
+ */
17
+ bucket: string;
18
+ /**
19
+ * example:
20
+ * uploads/my-template.pdf
21
+ */
22
+ key: string;
23
+ }
24
+ }
25
+ }
26
+ declare namespace Paths {
27
+ namespace GenerateDocument {
28
+ export interface RequestBody {
29
+ /**
30
+ * Language to use
31
+ * example:
32
+ * de
33
+ */
34
+ language?: string;
35
+ /**
36
+ * Input template document
37
+ */
38
+ template_document: {
39
+ /**
40
+ * Document original filename
41
+ * example:
42
+ * my-template-{{order.order_number}}.docx
43
+ */
44
+ filename?: string;
45
+ s3ref?: Components.Schemas.S3Reference;
46
+ };
47
+ /**
48
+ * Entity to use for variable context
49
+ * example:
50
+ * bcd0aab9-b544-42b0-8bfb-6d449d02eacc
51
+ */
52
+ context_entity_id?: string;
53
+ /**
54
+ * User Id for variable context
55
+ * example:
56
+ * 100321
57
+ */
58
+ user_id?: string;
59
+ }
60
+ namespace Responses {
61
+ export interface $200 {
62
+ /**
63
+ * Pre-signed S3 GET URL for preview
64
+ * example:
65
+ * https://document-api-prod.s3.eu-central-1.amazonaws.com/preview/my-template-OR-001.pdf
66
+ */
67
+ preview_url?: string;
68
+ /**
69
+ * example:
70
+ * {
71
+ * "s3ref": {
72
+ * "bucket": "document-api-preview-prod",
73
+ * "key": "preview/my-template.pdf"
74
+ * }
75
+ * }
76
+ */
77
+ output_document?: {
78
+ /**
79
+ * Generated document filename
80
+ * example:
81
+ * my-template-OR-001.pdf
82
+ */
83
+ filename?: string;
84
+ s3ref?: Components.Schemas.S3Reference;
85
+ };
86
+ }
87
+ }
88
+ }
89
+ namespace GenerateDocumentV2 {
90
+ namespace Parameters {
91
+ export type JobId = string;
92
+ export type Mode = "partial_generation" | "full_generation";
93
+ }
94
+ export interface QueryParameters {
95
+ job_id?: Parameters.JobId;
96
+ mode?: Parameters.Mode;
97
+ }
98
+ export interface RequestBody {
99
+ /**
100
+ * Language to use
101
+ * example:
102
+ * de
103
+ */
104
+ language?: "en" | "de";
105
+ /**
106
+ * Input template document
107
+ */
108
+ template_document: {
109
+ /**
110
+ * Document original filename
111
+ * example:
112
+ * my-template-{{order.order_number}}.docx
113
+ */
114
+ filename?: string;
115
+ s3ref?: Components.Schemas.S3Reference;
116
+ };
117
+ /**
118
+ * Entity to use for variable context
119
+ * example:
120
+ * bcd0aab9-b544-42b0-8bfb-6d449d02eacc
121
+ */
122
+ context_entity_id?: string;
123
+ /**
124
+ * User Id for variable context
125
+ * example:
126
+ * 100321
127
+ */
128
+ user_id?: string;
129
+ /**
130
+ * Custom values for variables in the template. Takes the higher precedence than others.
131
+ */
132
+ variable_payload?: {
133
+ additionalProperties?: string;
134
+ };
135
+ }
136
+ namespace Responses {
137
+ export interface $200 {
138
+ job_id?: string; // uuid
139
+ /**
140
+ * Status of the job
141
+ */
142
+ job_status?: "STARTED" | "PROCESSING" | "COMPLETED" | "FAILED";
143
+ pdf_output?: {
144
+ /**
145
+ * Pre-signed S3 GET URL for PDF preview
146
+ * example:
147
+ * https://document-api-prod.s3.eu-central-1.amazonaws.com/preview/my-template-OR-001.pdf
148
+ */
149
+ preview_url?: string;
150
+ /**
151
+ * example:
152
+ * {
153
+ * "s3ref": {
154
+ * "bucket": "document-api-preview-prod",
155
+ * "key": "preview/my-template.pdf"
156
+ * }
157
+ * }
158
+ */
159
+ output_document?: {
160
+ /**
161
+ * Generated document filename for PDF
162
+ * example:
163
+ * my-template-OR-001.pdf
164
+ */
165
+ filename?: string;
166
+ s3ref?: Components.Schemas.S3Reference;
167
+ };
168
+ };
169
+ docx_output?: {
170
+ /**
171
+ * Pre-signed S3 GET URL for DOCX preview
172
+ * example:
173
+ * https://document-api-prod.s3.eu-central-1.amazonaws.com/preview/my-template-OR-001.docx
174
+ */
175
+ preview_url?: string;
176
+ /**
177
+ * example:
178
+ * {
179
+ * "s3ref": {
180
+ * "bucket": "document-api-preview-prod",
181
+ * "key": "preview/my-template.docx"
182
+ * }
183
+ * }
184
+ */
185
+ output_document?: {
186
+ /**
187
+ * Generated document filename for DOCX
188
+ * example:
189
+ * my-template-OR-001.docx
190
+ */
191
+ filename?: string;
192
+ s3ref?: Components.Schemas.S3Reference;
193
+ };
194
+ };
195
+ /**
196
+ * List of variables and its corresponding replaced values from the document template
197
+ */
198
+ variable_payload?: {
199
+ additionalProperties?: string;
200
+ };
201
+ }
202
+ }
203
+ }
204
+ }
205
+
206
+ export interface OperationMethods {
207
+ /**
208
+ * generateDocument - generateDocument
209
+ *
210
+ * Builds document generated from input document with variables.
211
+ *
212
+ * Supported input document types:
213
+ * - .docx
214
+ *
215
+ * Supported output document types:
216
+ * - .pdf
217
+ *
218
+ * Uses [Template Variables API](https://docs.epilot.io/api/template-variables) to replace variables in the document.
219
+ *
220
+ */
221
+ 'generateDocument'(
222
+ parameters?: Parameters<UnknownParamsObject> | null,
223
+ data?: Paths.GenerateDocument.RequestBody,
224
+ config?: AxiosRequestConfig
225
+ ): OperationResponse<Paths.GenerateDocument.Responses.$200>
226
+ /**
227
+ * generateDocumentV2 - generateDocumentV2
228
+ *
229
+ * Builds document generated from input document with variables.
230
+ *
231
+ * Supported input document types:
232
+ * - .docx
233
+ *
234
+ * Supported output document types:
235
+ * - .pdf
236
+ * - .docx but limited to only text based variables
237
+ *
238
+ * Uses [Template Variables API](https://docs.epilot.io/api/template-variables) to replace variables in the document.
239
+ *
240
+ */
241
+ 'generateDocumentV2'(
242
+ parameters?: Parameters<Paths.GenerateDocumentV2.QueryParameters> | null,
243
+ data?: Paths.GenerateDocumentV2.RequestBody,
244
+ config?: AxiosRequestConfig
245
+ ): OperationResponse<Paths.GenerateDocumentV2.Responses.$200>
246
+ }
247
+
248
+ export interface PathsDictionary {
249
+ ['/v1/documents:generate']: {
250
+ /**
251
+ * generateDocument - generateDocument
252
+ *
253
+ * Builds document generated from input document with variables.
254
+ *
255
+ * Supported input document types:
256
+ * - .docx
257
+ *
258
+ * Supported output document types:
259
+ * - .pdf
260
+ *
261
+ * Uses [Template Variables API](https://docs.epilot.io/api/template-variables) to replace variables in the document.
262
+ *
263
+ */
264
+ 'post'(
265
+ parameters?: Parameters<UnknownParamsObject> | null,
266
+ data?: Paths.GenerateDocument.RequestBody,
267
+ config?: AxiosRequestConfig
268
+ ): OperationResponse<Paths.GenerateDocument.Responses.$200>
269
+ }
270
+ ['/v2/documents:generate']: {
271
+ /**
272
+ * generateDocumentV2 - generateDocumentV2
273
+ *
274
+ * Builds document generated from input document with variables.
275
+ *
276
+ * Supported input document types:
277
+ * - .docx
278
+ *
279
+ * Supported output document types:
280
+ * - .pdf
281
+ * - .docx but limited to only text based variables
282
+ *
283
+ * Uses [Template Variables API](https://docs.epilot.io/api/template-variables) to replace variables in the document.
284
+ *
285
+ */
286
+ 'post'(
287
+ parameters?: Parameters<Paths.GenerateDocumentV2.QueryParameters> | null,
288
+ data?: Paths.GenerateDocumentV2.RequestBody,
289
+ config?: AxiosRequestConfig
290
+ ): OperationResponse<Paths.GenerateDocumentV2.Responses.$200>
291
+ }
292
+ }
293
+
294
+ export type Client = OpenAPIClient<OperationMethods, PathsDictionary>