@tradecafe/offer-service-sdk 0.0.22 → 0.0.23

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 (35) hide show
  1. package/dist/api/apis.d.ts +20 -0
  2. package/dist/api/apis.js +57 -0
  3. package/dist/api/apis.js.map +1 -0
  4. package/dist/api/automatedOffersApi.d.ts +103 -0
  5. package/dist/api/automatedOffersApi.js +799 -0
  6. package/dist/api/automatedOffersApi.js.map +1 -0
  7. package/dist/api/futureBidsApi.d.ts +63 -0
  8. package/dist/api/futureBidsApi.js +456 -0
  9. package/dist/api/futureBidsApi.js.map +1 -0
  10. package/dist/api/healthApi.d.ts +32 -0
  11. package/dist/api/healthApi.js +175 -0
  12. package/dist/api/healthApi.js.map +1 -0
  13. package/dist/api/matchedOffersApi.d.ts +159 -0
  14. package/dist/api/matchedOffersApi.js +1262 -0
  15. package/dist/api/matchedOffersApi.js.map +1 -0
  16. package/dist/api/offersApi.d.ts +183 -0
  17. package/dist/api/offersApi.js +1460 -0
  18. package/dist/api/offersApi.js.map +1 -0
  19. package/dist/api.d.ts +2 -0
  20. package/dist/api.js +19 -0
  21. package/dist/api.js.map +1 -0
  22. package/dist/model/healthControllerPing200Response.d.ts +24 -0
  23. package/dist/model/healthControllerPing200Response.js +36 -0
  24. package/dist/model/healthControllerPing200Response.js.map +1 -0
  25. package/dist/model/healthControllerPing200ResponseInfoValue.d.ts +10 -0
  26. package/dist/model/healthControllerPing200ResponseInfoValue.js +37 -0
  27. package/dist/model/healthControllerPing200ResponseInfoValue.js.map +1 -0
  28. package/dist/model/healthControllerPing503Response.d.ts +24 -0
  29. package/dist/model/healthControllerPing503Response.js +36 -0
  30. package/dist/model/healthControllerPing503Response.js.map +1 -0
  31. package/dist/model/models.d.ts +49 -0
  32. package/dist/model/models.js +232 -0
  33. package/dist/model/models.js.map +1 -0
  34. package/package.json +1 -1
  35. package/tsconfig.json +0 -1
@@ -0,0 +1,20 @@
1
+ /// <reference types="node" />
2
+ export * from './automatedOffersApi';
3
+ import { AutomatedOffersApi } from './automatedOffersApi';
4
+ export * from './futureBidsApi';
5
+ import { FutureBidsApi } from './futureBidsApi';
6
+ export * from './healthApi';
7
+ import { HealthApi } from './healthApi';
8
+ export * from './matchedOffersApi';
9
+ import { MatchedOffersApi } from './matchedOffersApi';
10
+ export * from './offersApi';
11
+ import { OffersApi } from './offersApi';
12
+ import * as http from 'http';
13
+ export declare class HttpError extends Error {
14
+ response: http.IncomingMessage;
15
+ body: any;
16
+ statusCode?: number | undefined;
17
+ constructor(response: http.IncomingMessage, body: any, statusCode?: number | undefined);
18
+ }
19
+ export { RequestFile } from '../model/models';
20
+ export declare const APIS: (typeof AutomatedOffersApi | typeof FutureBidsApi | typeof HealthApi | typeof MatchedOffersApi | typeof OffersApi)[];
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
18
+ if (k2 === undefined) k2 = k;
19
+ var desc = Object.getOwnPropertyDescriptor(m, k);
20
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
21
+ desc = { enumerable: true, get: function() { return m[k]; } };
22
+ }
23
+ Object.defineProperty(o, k2, desc);
24
+ }) : (function(o, m, k, k2) {
25
+ if (k2 === undefined) k2 = k;
26
+ o[k2] = m[k];
27
+ }));
28
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
29
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
30
+ };
31
+ Object.defineProperty(exports, "__esModule", { value: true });
32
+ exports.APIS = exports.HttpError = void 0;
33
+ __exportStar(require("./automatedOffersApi"), exports);
34
+ var automatedOffersApi_1 = require("./automatedOffersApi");
35
+ __exportStar(require("./futureBidsApi"), exports);
36
+ var futureBidsApi_1 = require("./futureBidsApi");
37
+ __exportStar(require("./healthApi"), exports);
38
+ var healthApi_1 = require("./healthApi");
39
+ __exportStar(require("./matchedOffersApi"), exports);
40
+ var matchedOffersApi_1 = require("./matchedOffersApi");
41
+ __exportStar(require("./offersApi"), exports);
42
+ var offersApi_1 = require("./offersApi");
43
+ var HttpError = (function (_super) {
44
+ __extends(HttpError, _super);
45
+ function HttpError(response, body, statusCode) {
46
+ var _this = _super.call(this, 'HTTP request failed') || this;
47
+ _this.response = response;
48
+ _this.body = body;
49
+ _this.statusCode = statusCode;
50
+ _this.name = 'HttpError';
51
+ return _this;
52
+ }
53
+ return HttpError;
54
+ }(Error));
55
+ exports.HttpError = HttpError;
56
+ exports.APIS = [automatedOffersApi_1.AutomatedOffersApi, futureBidsApi_1.FutureBidsApi, healthApi_1.HealthApi, matchedOffersApi_1.MatchedOffersApi, offersApi_1.OffersApi];
57
+ //# sourceMappingURL=apis.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"apis.js","sourceRoot":"","sources":["../../api/apis.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,2DAA0D;AAC1D,kDAAgC;AAChC,iDAAgD;AAChD,8CAA4B;AAC5B,yCAAwC;AACxC,qDAAmC;AACnC,uDAAsD;AACtD,8CAA4B;AAC5B,yCAAwC;AAGxC;IAA+B,6BAAK;IAChC,mBAAoB,QAA8B,EAAS,IAAS,EAAS,UAAmB;QAAhG,YACI,kBAAM,qBAAqB,CAAC,SAE/B;QAHmB,cAAQ,GAAR,QAAQ,CAAsB;QAAS,UAAI,GAAJ,IAAI,CAAK;QAAS,gBAAU,GAAV,UAAU,CAAS;QAE5F,KAAI,CAAC,IAAI,GAAG,WAAW,CAAC;;IAC5B,CAAC;IACL,gBAAC;AAAD,CAAC,AALD,CAA+B,KAAK,GAKnC;AALY,8BAAS;AAST,QAAA,IAAI,GAAG,CAAC,uCAAkB,EAAE,6BAAa,EAAE,qBAAS,EAAE,mCAAgB,EAAE,qBAAS,CAAC,CAAC"}
@@ -0,0 +1,103 @@
1
+ /// <reference types="node" />
2
+ import http from 'http';
3
+ import { Authentication, Interceptor } from '../model/models';
4
+ export declare enum AutomatedOffersApiApiKeys {
5
+ }
6
+ export declare class AutomatedOffersApi {
7
+ protected _basePath: string;
8
+ protected _defaultHeaders: any;
9
+ protected _useQuerystring: boolean;
10
+ protected authentications: {
11
+ default: Authentication;
12
+ };
13
+ protected interceptors: Interceptor[];
14
+ constructor(basePath?: string);
15
+ set useQuerystring(value: boolean);
16
+ set basePath(basePath: string);
17
+ set defaultHeaders(defaultHeaders: any);
18
+ get defaultHeaders(): any;
19
+ get basePath(): string;
20
+ setDefaultAuthentication(auth: Authentication): void;
21
+ setApiKey(key: AutomatedOffersApiApiKeys, value: string): void;
22
+ addInterceptor(interceptor: Interceptor): void;
23
+ automatedOffersControllerCreate(account: string, body: object, options?: {
24
+ headers: {
25
+ [name: string]: string;
26
+ };
27
+ }): Promise<{
28
+ response: http.IncomingMessage;
29
+ body?: any;
30
+ }>;
31
+ automatedOffersControllerFilter(account: string, skip?: number, limit?: number, sort?: string, body?: object, options?: {
32
+ headers: {
33
+ [name: string]: string;
34
+ };
35
+ }): Promise<{
36
+ response: http.IncomingMessage;
37
+ body?: any;
38
+ }>;
39
+ automatedOffersControllerFindall(account: string, body: object, skip?: number, limit?: number, sort?: string, options?: {
40
+ headers: {
41
+ [name: string]: string;
42
+ };
43
+ }): Promise<{
44
+ response: http.IncomingMessage;
45
+ body?: any;
46
+ }>;
47
+ automatedOffersControllerFindone(id: string, account: string, options?: {
48
+ headers: {
49
+ [name: string]: string;
50
+ };
51
+ }): Promise<{
52
+ response: http.IncomingMessage;
53
+ body?: any;
54
+ }>;
55
+ automatedOffersControllerGetbids(account: string, skip?: number, limit?: number, sort?: string, body?: object, options?: {
56
+ headers: {
57
+ [name: string]: string;
58
+ };
59
+ }): Promise<{
60
+ response: http.IncomingMessage;
61
+ body?: any;
62
+ }>;
63
+ automatedOffersControllerRemove(id: string, account: string, options?: {
64
+ headers: {
65
+ [name: string]: string;
66
+ };
67
+ }): Promise<{
68
+ response: http.IncomingMessage;
69
+ body?: any;
70
+ }>;
71
+ automatedOffersControllerUpdate(id: string, account: string, body: object, options?: {
72
+ headers: {
73
+ [name: string]: string;
74
+ };
75
+ }): Promise<{
76
+ response: http.IncomingMessage;
77
+ body?: any;
78
+ }>;
79
+ automatedOffersControllerUpdaterelistingstatus(automatedOfferId: string, id: string, account: string, body: object, options?: {
80
+ headers: {
81
+ [name: string]: string;
82
+ };
83
+ }): Promise<{
84
+ response: http.IncomingMessage;
85
+ body?: any;
86
+ }>;
87
+ automatedOffersControllerUpdatestatus(account: string, body: object, options?: {
88
+ headers: {
89
+ [name: string]: string;
90
+ };
91
+ }): Promise<{
92
+ response: http.IncomingMessage;
93
+ body?: any;
94
+ }>;
95
+ automatedOffersControllerViews(account: string, body?: object, options?: {
96
+ headers: {
97
+ [name: string]: string;
98
+ };
99
+ }): Promise<{
100
+ response: http.IncomingMessage;
101
+ body?: any;
102
+ }>;
103
+ }