@seal-protocol/backendjs 0.0.7 → 0.0.8

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 (39) hide show
  1. package/lib/api/seal-client.d.ts +264 -0
  2. package/lib/api/seal-client.js +346 -0
  3. package/lib/api.d.ts +1 -432
  4. package/lib/api.js +14 -222
  5. package/lib/index.d.ts +1 -0
  6. package/lib/index.js +1 -0
  7. package/lib/model/index.d.ts +15 -0
  8. package/lib/model/index.js +31 -0
  9. package/lib/model/protobuf-any.d.ts +25 -0
  10. package/lib/model/protobuf-any.js +15 -0
  11. package/lib/model/rpc-status.d.ts +37 -0
  12. package/lib/model/rpc-status.js +15 -0
  13. package/lib/model/seal-config.d.ts +32 -0
  14. package/lib/model/seal-config.js +15 -0
  15. package/lib/model/seal-create-order-intent-request.d.ts +79 -0
  16. package/lib/model/seal-create-order-intent-request.js +15 -0
  17. package/lib/model/seal-database-config.d.ts +42 -0
  18. package/lib/model/seal-database-config.js +15 -0
  19. package/lib/model/seal-get-config-response.d.ts +37 -0
  20. package/lib/model/seal-get-config-response.js +15 -0
  21. package/lib/model/seal-get-health-check-response.d.ts +24 -0
  22. package/lib/model/seal-get-health-check-response.js +15 -0
  23. package/lib/model/seal-get-orders-response.d.ts +31 -0
  24. package/lib/model/seal-get-orders-response.js +15 -0
  25. package/lib/model/seal-logger-config.d.ts +66 -0
  26. package/lib/model/seal-logger-config.js +15 -0
  27. package/lib/model/seal-order.d.ts +66 -0
  28. package/lib/model/seal-order.js +15 -0
  29. package/lib/model/seal-orders-order-by-property.d.ts +26 -0
  30. package/lib/model/seal-orders-order-by-property.js +32 -0
  31. package/lib/model/seal-orders-order-by.d.ts +31 -0
  32. package/lib/model/seal-orders-order-by.js +15 -0
  33. package/lib/model/seal-pagination.d.ts +36 -0
  34. package/lib/model/seal-pagination.js +15 -0
  35. package/lib/model/seal-transfer-permission.d.ts +61 -0
  36. package/lib/model/seal-transfer-permission.js +15 -0
  37. package/lib/model/types-transfer-permission-type.d.ts +22 -0
  38. package/lib/model/types-transfer-permission-type.js +28 -0
  39. package/package.json +1 -1
package/lib/api.d.ts CHANGED
@@ -9,435 +9,4 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { Configuration } from './configuration';
13
- import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
- import type { RequestArgs } from './base';
15
- import { BaseAPI } from './base';
16
- /**
17
- *
18
- * @export
19
- * @interface ProtobufAny
20
- */
21
- export interface ProtobufAny {
22
- [key: string]: object | any;
23
- /**
24
- *
25
- * @type {string}
26
- * @memberof ProtobufAny
27
- */
28
- '@type'?: string;
29
- }
30
- /**
31
- *
32
- * @export
33
- * @interface RpcStatus
34
- */
35
- export interface RpcStatus {
36
- /**
37
- *
38
- * @type {number}
39
- * @memberof RpcStatus
40
- */
41
- 'code'?: number;
42
- /**
43
- *
44
- * @type {string}
45
- * @memberof RpcStatus
46
- */
47
- 'message'?: string;
48
- /**
49
- *
50
- * @type {Array<ProtobufAny>}
51
- * @memberof RpcStatus
52
- */
53
- 'details'?: Array<ProtobufAny>;
54
- }
55
- /**
56
- *
57
- * @export
58
- * @interface SealConfig
59
- */
60
- export interface SealConfig {
61
- /**
62
- *
63
- * @type {SealLoggerConfig}
64
- * @memberof SealConfig
65
- */
66
- 'logger'?: SealLoggerConfig;
67
- /**
68
- *
69
- * @type {SealDatabaseConfig}
70
- * @memberof SealConfig
71
- */
72
- 'database'?: SealDatabaseConfig;
73
- }
74
- /**
75
- *
76
- * @export
77
- * @interface SealCreateOrderIntentRequest
78
- */
79
- export interface SealCreateOrderIntentRequest {
80
- /**
81
- *
82
- * @type {SealOrder}
83
- * @memberof SealCreateOrderIntentRequest
84
- */
85
- 'order'?: SealOrder;
86
- /**
87
- *
88
- * @type {string}
89
- * @memberof SealCreateOrderIntentRequest
90
- */
91
- 'signature'?: string;
92
- /**
93
- *
94
- * @type {SealTransferPermission}
95
- * @memberof SealCreateOrderIntentRequest
96
- */
97
- 'transferPermission'?: SealTransferPermission;
98
- }
99
- /**
100
- *
101
- * @export
102
- * @interface SealDatabaseConfig
103
- */
104
- export interface SealDatabaseConfig {
105
- /**
106
- *
107
- * @type {number}
108
- * @memberof SealDatabaseConfig
109
- */
110
- 'poolMinConns'?: number;
111
- /**
112
- *
113
- * @type {number}
114
- * @memberof SealDatabaseConfig
115
- */
116
- 'poolMaxConns'?: number;
117
- /**
118
- *
119
- * @type {boolean}
120
- * @memberof SealDatabaseConfig
121
- */
122
- 'queryLoggerEnabled'?: boolean;
123
- /**
124
- *
125
- * @type {boolean}
126
- * @memberof SealDatabaseConfig
127
- */
128
- 'migrationDisabled'?: boolean;
129
- }
130
- /**
131
- *
132
- * @export
133
- * @interface SealLoggerConfig
134
- */
135
- export interface SealLoggerConfig {
136
- /**
137
- *
138
- * @type {string}
139
- * @memberof SealLoggerConfig
140
- */
141
- 'level'?: string;
142
- /**
143
- *
144
- * @type {string}
145
- * @memberof SealLoggerConfig
146
- */
147
- 'file'?: string;
148
- /**
149
- *
150
- * @type {number}
151
- * @memberof SealLoggerConfig
152
- */
153
- 'maxSize'?: number;
154
- /**
155
- *
156
- * @type {number}
157
- * @memberof SealLoggerConfig
158
- */
159
- 'maxBackups'?: number;
160
- /**
161
- *
162
- * @type {number}
163
- * @memberof SealLoggerConfig
164
- */
165
- 'maxAgeDays'?: number;
166
- /**
167
- *
168
- * @type {boolean}
169
- * @memberof SealLoggerConfig
170
- */
171
- 'compress'?: boolean;
172
- /**
173
- *
174
- * @type {boolean}
175
- * @memberof SealLoggerConfig
176
- */
177
- 'syslog'?: boolean;
178
- /**
179
- *
180
- * @type {boolean}
181
- * @memberof SealLoggerConfig
182
- */
183
- 'reportCaller'?: boolean;
184
- }
185
- /**
186
- *
187
- * @export
188
- * @interface SealOrder
189
- */
190
- export interface SealOrder {
191
- /**
192
- *
193
- * @type {string}
194
- * @memberof SealOrder
195
- */
196
- 'owner'?: string;
197
- /**
198
- *
199
- * @type {string}
200
- * @memberof SealOrder
201
- */
202
- 'tokenIn'?: string;
203
- /**
204
- *
205
- * @type {string}
206
- * @memberof SealOrder
207
- */
208
- 'amountIn'?: string;
209
- /**
210
- *
211
- * @type {string}
212
- * @memberof SealOrder
213
- */
214
- 'tokenOut'?: string;
215
- /**
216
- *
217
- * @type {string}
218
- * @memberof SealOrder
219
- */
220
- 'price'?: string;
221
- /**
222
- *
223
- * @type {boolean}
224
- * @memberof SealOrder
225
- */
226
- 'partiallyFillable'?: boolean;
227
- /**
228
- *
229
- * @type {string}
230
- * @memberof SealOrder
231
- */
232
- 'nonce'?: string;
233
- /**
234
- *
235
- * @type {string}
236
- * @memberof SealOrder
237
- */
238
- 'deadline'?: string;
239
- }
240
- /**
241
- *
242
- * @export
243
- * @interface SealQueryConfigResponse
244
- */
245
- export interface SealQueryConfigResponse {
246
- /**
247
- *
248
- * @type {SealConfig}
249
- * @memberof SealQueryConfigResponse
250
- */
251
- 'config'?: SealConfig;
252
- /**
253
- *
254
- * @type {string}
255
- * @memberof SealQueryConfigResponse
256
- */
257
- 'gitRevision'?: string;
258
- /**
259
- *
260
- * @type {string}
261
- * @memberof SealQueryConfigResponse
262
- */
263
- 'uptime'?: string;
264
- }
265
- /**
266
- *
267
- * @export
268
- * @interface SealQueryHealthCheckResponse
269
- */
270
- export interface SealQueryHealthCheckResponse {
271
- /**
272
- *
273
- * @type {string}
274
- * @memberof SealQueryHealthCheckResponse
275
- */
276
- 'uptime'?: string;
277
- }
278
- /**
279
- *
280
- * @export
281
- * @interface SealTransferPermission
282
- */
283
- export interface SealTransferPermission {
284
- /**
285
- *
286
- * @type {TypesTransferPermissionType}
287
- * @memberof SealTransferPermission
288
- */
289
- 'permitType'?: TypesTransferPermissionType;
290
- /**
291
- *
292
- * @type {string}
293
- * @memberof SealTransferPermission
294
- */
295
- 'permitAmount'?: string;
296
- /**
297
- *
298
- * @type {string}
299
- * @memberof SealTransferPermission
300
- */
301
- 'nonce'?: string;
302
- /**
303
- *
304
- * @type {string}
305
- * @memberof SealTransferPermission
306
- */
307
- 'deadline'?: string;
308
- /**
309
- *
310
- * @type {string}
311
- * @memberof SealTransferPermission
312
- */
313
- 'r'?: string;
314
- /**
315
- *
316
- * @type {string}
317
- * @memberof SealTransferPermission
318
- */
319
- 's'?: string;
320
- /**
321
- *
322
- * @type {string}
323
- * @memberof SealTransferPermission
324
- */
325
- 'v'?: string;
326
- }
327
- /**
328
- *
329
- * @export
330
- * @enum {string}
331
- */
332
- export declare const TypesTransferPermissionType: {
333
- readonly Invalid: "INVALID";
334
- readonly Normal: "NORMAL";
335
- readonly Eip2612: "EIP2612";
336
- readonly Permit2: "PERMIT2";
337
- };
338
- export type TypesTransferPermissionType = typeof TypesTransferPermissionType[keyof typeof TypesTransferPermissionType];
339
- /**
340
- * SealClient - axios parameter creator
341
- * @export
342
- */
343
- export declare const SealClientAxiosParamCreator: (configuration?: Configuration) => {
344
- /**
345
- *
346
- * @param {*} [options] Override http request option.
347
- * @throws {RequiredError}
348
- */
349
- config: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
350
- /**
351
- *
352
- * @param {SealCreateOrderIntentRequest} body
353
- * @param {*} [options] Override http request option.
354
- * @throws {RequiredError}
355
- */
356
- createOrderIntent: (body: SealCreateOrderIntentRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
357
- /**
358
- *
359
- * @param {*} [options] Override http request option.
360
- * @throws {RequiredError}
361
- */
362
- healthCheck: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
363
- };
364
- /**
365
- * SealClient - functional programming interface
366
- * @export
367
- */
368
- export declare const SealClientFp: (configuration?: Configuration) => {
369
- /**
370
- *
371
- * @param {*} [options] Override http request option.
372
- * @throws {RequiredError}
373
- */
374
- config(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealQueryConfigResponse>>;
375
- /**
376
- *
377
- * @param {SealCreateOrderIntentRequest} body
378
- * @param {*} [options] Override http request option.
379
- * @throws {RequiredError}
380
- */
381
- createOrderIntent(body: SealCreateOrderIntentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
382
- /**
383
- *
384
- * @param {*} [options] Override http request option.
385
- * @throws {RequiredError}
386
- */
387
- healthCheck(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealQueryHealthCheckResponse>>;
388
- };
389
- /**
390
- * SealClient - factory interface
391
- * @export
392
- */
393
- export declare const SealClientFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
394
- /**
395
- *
396
- * @param {*} [options] Override http request option.
397
- * @throws {RequiredError}
398
- */
399
- config(options?: RawAxiosRequestConfig): AxiosPromise<SealQueryConfigResponse>;
400
- /**
401
- *
402
- * @param {SealCreateOrderIntentRequest} body
403
- * @param {*} [options] Override http request option.
404
- * @throws {RequiredError}
405
- */
406
- createOrderIntent(body: SealCreateOrderIntentRequest, options?: RawAxiosRequestConfig): AxiosPromise<object>;
407
- /**
408
- *
409
- * @param {*} [options] Override http request option.
410
- * @throws {RequiredError}
411
- */
412
- healthCheck(options?: RawAxiosRequestConfig): AxiosPromise<SealQueryHealthCheckResponse>;
413
- };
414
- /**
415
- * SealClient - object-oriented interface
416
- * @export
417
- * @class SealClient
418
- * @extends {BaseAPI}
419
- */
420
- export declare class SealClient extends BaseAPI {
421
- /**
422
- *
423
- * @param {*} [options] Override http request option.
424
- * @throws {RequiredError}
425
- * @memberof SealClient
426
- */
427
- config(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealQueryConfigResponse, any>>;
428
- /**
429
- *
430
- * @param {SealCreateOrderIntentRequest} body
431
- * @param {*} [options] Override http request option.
432
- * @throws {RequiredError}
433
- * @memberof SealClient
434
- */
435
- createOrderIntent(body: SealCreateOrderIntentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
436
- /**
437
- *
438
- * @param {*} [options] Override http request option.
439
- * @throws {RequiredError}
440
- * @memberof SealClient
441
- */
442
- healthCheck(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealQueryHealthCheckResponse, any>>;
443
- }
12
+ export * from './api/seal-client';
package/lib/api.js CHANGED
@@ -12,227 +12,19 @@
12
12
  * https://openapi-generator.tech
13
13
  * Do not edit the class manually.
14
14
  */
15
- var __importDefault = (this && this.__importDefault) || function (mod) {
16
- return (mod && mod.__esModule) ? mod : { "default": mod };
15
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
16
+ if (k2 === undefined) k2 = k;
17
+ var desc = Object.getOwnPropertyDescriptor(m, k);
18
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
19
+ desc = { enumerable: true, get: function() { return m[k]; } };
20
+ }
21
+ Object.defineProperty(o, k2, desc);
22
+ }) : (function(o, m, k, k2) {
23
+ if (k2 === undefined) k2 = k;
24
+ o[k2] = m[k];
25
+ }));
26
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
27
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
17
28
  };
18
29
  Object.defineProperty(exports, "__esModule", { value: true });
19
- exports.SealClient = exports.SealClientFactory = exports.SealClientFp = exports.SealClientAxiosParamCreator = exports.TypesTransferPermissionType = void 0;
20
- const axios_1 = __importDefault(require("axios"));
21
- // Some imports not used depending on template conditions
22
- // @ts-ignore
23
- const common_1 = require("./common");
24
- // @ts-ignore
25
- const base_1 = require("./base");
26
- /**
27
- *
28
- * @export
29
- * @enum {string}
30
- */
31
- exports.TypesTransferPermissionType = {
32
- Invalid: 'INVALID',
33
- Normal: 'NORMAL',
34
- Eip2612: 'EIP2612',
35
- Permit2: 'PERMIT2'
36
- };
37
- /**
38
- * SealClient - axios parameter creator
39
- * @export
40
- */
41
- const SealClientAxiosParamCreator = function (configuration) {
42
- return {
43
- /**
44
- *
45
- * @param {*} [options] Override http request option.
46
- * @throws {RequiredError}
47
- */
48
- config: async (options = {}) => {
49
- const localVarPath = `/seal/config`;
50
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
51
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
52
- let baseOptions;
53
- if (configuration) {
54
- baseOptions = configuration.baseOptions;
55
- }
56
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
57
- const localVarHeaderParameter = {};
58
- const localVarQueryParameter = {};
59
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
60
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
61
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
62
- return {
63
- url: (0, common_1.toPathString)(localVarUrlObj),
64
- options: localVarRequestOptions,
65
- };
66
- },
67
- /**
68
- *
69
- * @param {SealCreateOrderIntentRequest} body
70
- * @param {*} [options] Override http request option.
71
- * @throws {RequiredError}
72
- */
73
- createOrderIntent: async (body, options = {}) => {
74
- // verify required parameter 'body' is not null or undefined
75
- (0, common_1.assertParamExists)('createOrderIntent', 'body', body);
76
- const localVarPath = `/seal/order/create_order_intent`;
77
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
78
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
79
- let baseOptions;
80
- if (configuration) {
81
- baseOptions = configuration.baseOptions;
82
- }
83
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
84
- const localVarHeaderParameter = {};
85
- const localVarQueryParameter = {};
86
- localVarHeaderParameter['Content-Type'] = 'application/json';
87
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
88
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
89
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
90
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
91
- return {
92
- url: (0, common_1.toPathString)(localVarUrlObj),
93
- options: localVarRequestOptions,
94
- };
95
- },
96
- /**
97
- *
98
- * @param {*} [options] Override http request option.
99
- * @throws {RequiredError}
100
- */
101
- healthCheck: async (options = {}) => {
102
- const localVarPath = `/seal/health`;
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
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
113
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
114
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
115
- return {
116
- url: (0, common_1.toPathString)(localVarUrlObj),
117
- options: localVarRequestOptions,
118
- };
119
- },
120
- };
121
- };
122
- exports.SealClientAxiosParamCreator = SealClientAxiosParamCreator;
123
- /**
124
- * SealClient - functional programming interface
125
- * @export
126
- */
127
- const SealClientFp = function (configuration) {
128
- const localVarAxiosParamCreator = (0, exports.SealClientAxiosParamCreator)(configuration);
129
- return {
130
- /**
131
- *
132
- * @param {*} [options] Override http request option.
133
- * @throws {RequiredError}
134
- */
135
- async config(options) {
136
- const localVarAxiosArgs = await localVarAxiosParamCreator.config(options);
137
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
138
- const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.config']?.[localVarOperationServerIndex]?.url;
139
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
140
- },
141
- /**
142
- *
143
- * @param {SealCreateOrderIntentRequest} body
144
- * @param {*} [options] Override http request option.
145
- * @throws {RequiredError}
146
- */
147
- async createOrderIntent(body, options) {
148
- const localVarAxiosArgs = await localVarAxiosParamCreator.createOrderIntent(body, options);
149
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
150
- const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.createOrderIntent']?.[localVarOperationServerIndex]?.url;
151
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
152
- },
153
- /**
154
- *
155
- * @param {*} [options] Override http request option.
156
- * @throws {RequiredError}
157
- */
158
- async healthCheck(options) {
159
- const localVarAxiosArgs = await localVarAxiosParamCreator.healthCheck(options);
160
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
161
- const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.healthCheck']?.[localVarOperationServerIndex]?.url;
162
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
163
- },
164
- };
165
- };
166
- exports.SealClientFp = SealClientFp;
167
- /**
168
- * SealClient - factory interface
169
- * @export
170
- */
171
- const SealClientFactory = function (configuration, basePath, axios) {
172
- const localVarFp = (0, exports.SealClientFp)(configuration);
173
- return {
174
- /**
175
- *
176
- * @param {*} [options] Override http request option.
177
- * @throws {RequiredError}
178
- */
179
- config(options) {
180
- return localVarFp.config(options).then((request) => request(axios, basePath));
181
- },
182
- /**
183
- *
184
- * @param {SealCreateOrderIntentRequest} body
185
- * @param {*} [options] Override http request option.
186
- * @throws {RequiredError}
187
- */
188
- createOrderIntent(body, options) {
189
- return localVarFp.createOrderIntent(body, options).then((request) => request(axios, basePath));
190
- },
191
- /**
192
- *
193
- * @param {*} [options] Override http request option.
194
- * @throws {RequiredError}
195
- */
196
- healthCheck(options) {
197
- return localVarFp.healthCheck(options).then((request) => request(axios, basePath));
198
- },
199
- };
200
- };
201
- exports.SealClientFactory = SealClientFactory;
202
- /**
203
- * SealClient - object-oriented interface
204
- * @export
205
- * @class SealClient
206
- * @extends {BaseAPI}
207
- */
208
- class SealClient extends base_1.BaseAPI {
209
- /**
210
- *
211
- * @param {*} [options] Override http request option.
212
- * @throws {RequiredError}
213
- * @memberof SealClient
214
- */
215
- config(options) {
216
- return (0, exports.SealClientFp)(this.configuration).config(options).then((request) => request(this.axios, this.basePath));
217
- }
218
- /**
219
- *
220
- * @param {SealCreateOrderIntentRequest} body
221
- * @param {*} [options] Override http request option.
222
- * @throws {RequiredError}
223
- * @memberof SealClient
224
- */
225
- createOrderIntent(body, options) {
226
- return (0, exports.SealClientFp)(this.configuration).createOrderIntent(body, options).then((request) => request(this.axios, this.basePath));
227
- }
228
- /**
229
- *
230
- * @param {*} [options] Override http request option.
231
- * @throws {RequiredError}
232
- * @memberof SealClient
233
- */
234
- healthCheck(options) {
235
- return (0, exports.SealClientFp)(this.configuration).healthCheck(options).then((request) => request(this.axios, this.basePath));
236
- }
237
- }
238
- exports.SealClient = SealClient;
30
+ __exportStar(require("./api/seal-client"), exports);
package/lib/index.d.ts CHANGED
@@ -11,3 +11,4 @@
11
11
  */
12
12
  export * from "./api";
13
13
  export * from "./configuration";
14
+ export * from "./model";
package/lib/index.js CHANGED
@@ -29,3 +29,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
29
29
  Object.defineProperty(exports, "__esModule", { value: true });
30
30
  __exportStar(require("./api"), exports);
31
31
  __exportStar(require("./configuration"), exports);
32
+ __exportStar(require("./model"), exports);
@@ -0,0 +1,15 @@
1
+ export * from './protobuf-any';
2
+ export * from './rpc-status';
3
+ export * from './seal-config';
4
+ export * from './seal-create-order-intent-request';
5
+ export * from './seal-database-config';
6
+ export * from './seal-get-config-response';
7
+ export * from './seal-get-health-check-response';
8
+ export * from './seal-get-orders-response';
9
+ export * from './seal-logger-config';
10
+ export * from './seal-order';
11
+ export * from './seal-orders-order-by';
12
+ export * from './seal-orders-order-by-property';
13
+ export * from './seal-pagination';
14
+ export * from './seal-transfer-permission';
15
+ export * from './types-transfer-permission-type';