@tradecafe/offer-service-sdk 0.0.5 → 0.0.6

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/dist/api.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export * from './api/apis';
2
- export * from './model/models';
1
+ export * from './api/apis';
2
+ export * from './model/models';
package/dist/api.js CHANGED
@@ -1,19 +1,19 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./api/apis"), exports);
18
- __exportStar(require("./model/models"), exports);
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./api/apis"), exports);
18
+ __exportStar(require("./model/models"), exports);
19
19
  //# sourceMappingURL=api.js.map
@@ -1,24 +1,24 @@
1
- import { HealthControllerPing200ResponseInfoValue } from './healthControllerPing200ResponseInfoValue';
2
- export declare class HealthControllerPing200Response {
3
- 'status'?: string;
4
- 'info'?: {
5
- [key: string]: HealthControllerPing200ResponseInfoValue;
6
- } | null;
7
- 'error'?: {
8
- [key: string]: HealthControllerPing200ResponseInfoValue;
9
- } | null;
10
- 'details'?: {
11
- [key: string]: HealthControllerPing200ResponseInfoValue;
12
- };
13
- static discriminator: string | undefined;
14
- static attributeTypeMap: Array<{
15
- name: string;
16
- baseName: string;
17
- type: string;
18
- }>;
19
- static getAttributeTypeMap(): {
20
- name: string;
21
- baseName: string;
22
- type: string;
23
- }[];
24
- }
1
+ import { HealthControllerPing200ResponseInfoValue } from './healthControllerPing200ResponseInfoValue';
2
+ export declare class HealthControllerPing200Response {
3
+ 'status'?: string;
4
+ 'info'?: {
5
+ [key: string]: HealthControllerPing200ResponseInfoValue;
6
+ } | null;
7
+ 'error'?: {
8
+ [key: string]: HealthControllerPing200ResponseInfoValue;
9
+ } | null;
10
+ 'details'?: {
11
+ [key: string]: HealthControllerPing200ResponseInfoValue;
12
+ };
13
+ static discriminator: string | undefined;
14
+ static attributeTypeMap: Array<{
15
+ name: string;
16
+ baseName: string;
17
+ type: string;
18
+ }>;
19
+ static getAttributeTypeMap(): {
20
+ name: string;
21
+ baseName: string;
22
+ type: string;
23
+ }[];
24
+ }
@@ -1,36 +1,36 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.HealthControllerPing200Response = void 0;
4
- var HealthControllerPing200Response = (function () {
5
- function HealthControllerPing200Response() {
6
- }
7
- HealthControllerPing200Response.getAttributeTypeMap = function () {
8
- return HealthControllerPing200Response.attributeTypeMap;
9
- };
10
- HealthControllerPing200Response.discriminator = undefined;
11
- HealthControllerPing200Response.attributeTypeMap = [
12
- {
13
- "name": "status",
14
- "baseName": "status",
15
- "type": "string"
16
- },
17
- {
18
- "name": "info",
19
- "baseName": "info",
20
- "type": "{ [key: string]: HealthControllerPing200ResponseInfoValue; }"
21
- },
22
- {
23
- "name": "error",
24
- "baseName": "error",
25
- "type": "{ [key: string]: HealthControllerPing200ResponseInfoValue; }"
26
- },
27
- {
28
- "name": "details",
29
- "baseName": "details",
30
- "type": "{ [key: string]: HealthControllerPing200ResponseInfoValue; }"
31
- }
32
- ];
33
- return HealthControllerPing200Response;
34
- }());
35
- exports.HealthControllerPing200Response = HealthControllerPing200Response;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.HealthControllerPing200Response = void 0;
4
+ var HealthControllerPing200Response = (function () {
5
+ function HealthControllerPing200Response() {
6
+ }
7
+ HealthControllerPing200Response.getAttributeTypeMap = function () {
8
+ return HealthControllerPing200Response.attributeTypeMap;
9
+ };
10
+ HealthControllerPing200Response.discriminator = undefined;
11
+ HealthControllerPing200Response.attributeTypeMap = [
12
+ {
13
+ "name": "status",
14
+ "baseName": "status",
15
+ "type": "string"
16
+ },
17
+ {
18
+ "name": "info",
19
+ "baseName": "info",
20
+ "type": "{ [key: string]: HealthControllerPing200ResponseInfoValue; }"
21
+ },
22
+ {
23
+ "name": "error",
24
+ "baseName": "error",
25
+ "type": "{ [key: string]: HealthControllerPing200ResponseInfoValue; }"
26
+ },
27
+ {
28
+ "name": "details",
29
+ "baseName": "details",
30
+ "type": "{ [key: string]: HealthControllerPing200ResponseInfoValue; }"
31
+ }
32
+ ];
33
+ return HealthControllerPing200Response;
34
+ }());
35
+ exports.HealthControllerPing200Response = HealthControllerPing200Response;
36
36
  //# sourceMappingURL=healthControllerPing200Response.js.map
@@ -1,10 +1,10 @@
1
- export declare class HealthControllerPing200ResponseInfoValue extends null<String, string> {
2
- 'status'?: string;
3
- static discriminator: string | undefined;
4
- static attributeTypeMap: Array<{
5
- name: string;
6
- baseName: string;
7
- type: string;
8
- }>;
9
- static getAttributeTypeMap(): any;
10
- }
1
+ export declare class HealthControllerPing200ResponseInfoValue extends null<String, string> {
2
+ 'status'?: string;
3
+ static discriminator: string | undefined;
4
+ static attributeTypeMap: Array<{
5
+ name: string;
6
+ baseName: string;
7
+ type: string;
8
+ }>;
9
+ static getAttributeTypeMap(): any;
10
+ }
@@ -1,37 +1,37 @@
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
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.HealthControllerPing200ResponseInfoValue = void 0;
19
- var HealthControllerPing200ResponseInfoValue = (function (_super) {
20
- __extends(HealthControllerPing200ResponseInfoValue, _super);
21
- function HealthControllerPing200ResponseInfoValue() {
22
- }
23
- HealthControllerPing200ResponseInfoValue.getAttributeTypeMap = function () {
24
- return _super.getAttributeTypeMap.call(this).concat(HealthControllerPing200ResponseInfoValue.attributeTypeMap);
25
- };
26
- HealthControllerPing200ResponseInfoValue.discriminator = undefined;
27
- HealthControllerPing200ResponseInfoValue.attributeTypeMap = [
28
- {
29
- "name": "status",
30
- "baseName": "status",
31
- "type": "string"
32
- }
33
- ];
34
- return HealthControllerPing200ResponseInfoValue;
35
- }(null));
36
- exports.HealthControllerPing200ResponseInfoValue = HealthControllerPing200ResponseInfoValue;
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
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.HealthControllerPing200ResponseInfoValue = void 0;
19
+ var HealthControllerPing200ResponseInfoValue = (function (_super) {
20
+ __extends(HealthControllerPing200ResponseInfoValue, _super);
21
+ function HealthControllerPing200ResponseInfoValue() {
22
+ }
23
+ HealthControllerPing200ResponseInfoValue.getAttributeTypeMap = function () {
24
+ return _super.getAttributeTypeMap.call(this).concat(HealthControllerPing200ResponseInfoValue.attributeTypeMap);
25
+ };
26
+ HealthControllerPing200ResponseInfoValue.discriminator = undefined;
27
+ HealthControllerPing200ResponseInfoValue.attributeTypeMap = [
28
+ {
29
+ "name": "status",
30
+ "baseName": "status",
31
+ "type": "string"
32
+ }
33
+ ];
34
+ return HealthControllerPing200ResponseInfoValue;
35
+ }(null));
36
+ exports.HealthControllerPing200ResponseInfoValue = HealthControllerPing200ResponseInfoValue;
37
37
  //# sourceMappingURL=healthControllerPing200ResponseInfoValue.js.map
@@ -1,24 +1,24 @@
1
- import { HealthControllerPing200ResponseInfoValue } from './healthControllerPing200ResponseInfoValue';
2
- export declare class HealthControllerPing503Response {
3
- 'status'?: string;
4
- 'info'?: {
5
- [key: string]: HealthControllerPing200ResponseInfoValue;
6
- } | null;
7
- 'error'?: {
8
- [key: string]: HealthControllerPing200ResponseInfoValue;
9
- } | null;
10
- 'details'?: {
11
- [key: string]: HealthControllerPing200ResponseInfoValue;
12
- };
13
- static discriminator: string | undefined;
14
- static attributeTypeMap: Array<{
15
- name: string;
16
- baseName: string;
17
- type: string;
18
- }>;
19
- static getAttributeTypeMap(): {
20
- name: string;
21
- baseName: string;
22
- type: string;
23
- }[];
24
- }
1
+ import { HealthControllerPing200ResponseInfoValue } from './healthControllerPing200ResponseInfoValue';
2
+ export declare class HealthControllerPing503Response {
3
+ 'status'?: string;
4
+ 'info'?: {
5
+ [key: string]: HealthControllerPing200ResponseInfoValue;
6
+ } | null;
7
+ 'error'?: {
8
+ [key: string]: HealthControllerPing200ResponseInfoValue;
9
+ } | null;
10
+ 'details'?: {
11
+ [key: string]: HealthControllerPing200ResponseInfoValue;
12
+ };
13
+ static discriminator: string | undefined;
14
+ static attributeTypeMap: Array<{
15
+ name: string;
16
+ baseName: string;
17
+ type: string;
18
+ }>;
19
+ static getAttributeTypeMap(): {
20
+ name: string;
21
+ baseName: string;
22
+ type: string;
23
+ }[];
24
+ }
@@ -1,36 +1,36 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.HealthControllerPing503Response = void 0;
4
- var HealthControllerPing503Response = (function () {
5
- function HealthControllerPing503Response() {
6
- }
7
- HealthControllerPing503Response.getAttributeTypeMap = function () {
8
- return HealthControllerPing503Response.attributeTypeMap;
9
- };
10
- HealthControllerPing503Response.discriminator = undefined;
11
- HealthControllerPing503Response.attributeTypeMap = [
12
- {
13
- "name": "status",
14
- "baseName": "status",
15
- "type": "string"
16
- },
17
- {
18
- "name": "info",
19
- "baseName": "info",
20
- "type": "{ [key: string]: HealthControllerPing200ResponseInfoValue; }"
21
- },
22
- {
23
- "name": "error",
24
- "baseName": "error",
25
- "type": "{ [key: string]: HealthControllerPing200ResponseInfoValue; }"
26
- },
27
- {
28
- "name": "details",
29
- "baseName": "details",
30
- "type": "{ [key: string]: HealthControllerPing200ResponseInfoValue; }"
31
- }
32
- ];
33
- return HealthControllerPing503Response;
34
- }());
35
- exports.HealthControllerPing503Response = HealthControllerPing503Response;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.HealthControllerPing503Response = void 0;
4
+ var HealthControllerPing503Response = (function () {
5
+ function HealthControllerPing503Response() {
6
+ }
7
+ HealthControllerPing503Response.getAttributeTypeMap = function () {
8
+ return HealthControllerPing503Response.attributeTypeMap;
9
+ };
10
+ HealthControllerPing503Response.discriminator = undefined;
11
+ HealthControllerPing503Response.attributeTypeMap = [
12
+ {
13
+ "name": "status",
14
+ "baseName": "status",
15
+ "type": "string"
16
+ },
17
+ {
18
+ "name": "info",
19
+ "baseName": "info",
20
+ "type": "{ [key: string]: HealthControllerPing200ResponseInfoValue; }"
21
+ },
22
+ {
23
+ "name": "error",
24
+ "baseName": "error",
25
+ "type": "{ [key: string]: HealthControllerPing200ResponseInfoValue; }"
26
+ },
27
+ {
28
+ "name": "details",
29
+ "baseName": "details",
30
+ "type": "{ [key: string]: HealthControllerPing200ResponseInfoValue; }"
31
+ }
32
+ ];
33
+ return HealthControllerPing503Response;
34
+ }());
35
+ exports.HealthControllerPing503Response = HealthControllerPing503Response;
36
36
  //# sourceMappingURL=healthControllerPing503Response.js.map
@@ -1,49 +1,49 @@
1
- /// <reference types="node" />
2
- /// <reference types="node" />
3
- import localVarRequest from 'request';
4
- export * from './healthControllerPing200Response';
5
- export * from './healthControllerPing200ResponseInfoValue';
6
- export * from './healthControllerPing503Response';
7
- import * as fs from 'fs';
8
- export interface RequestDetailedFile {
9
- value: Buffer;
10
- options?: {
11
- filename?: string;
12
- contentType?: string;
13
- };
14
- }
15
- export type RequestFile = string | Buffer | fs.ReadStream | RequestDetailedFile;
16
- export declare class ObjectSerializer {
17
- static findCorrectType(data: any, expectedType: string): any;
18
- static serialize(data: any, type: string): any;
19
- static deserialize(data: any, type: string): any;
20
- }
21
- export interface Authentication {
22
- applyToRequest(requestOptions: localVarRequest.Options): Promise<void> | void;
23
- }
24
- export declare class HttpBasicAuth implements Authentication {
25
- username: string;
26
- password: string;
27
- applyToRequest(requestOptions: localVarRequest.Options): void;
28
- }
29
- export declare class HttpBearerAuth implements Authentication {
30
- accessToken: string | (() => string);
31
- applyToRequest(requestOptions: localVarRequest.Options): void;
32
- }
33
- export declare class ApiKeyAuth implements Authentication {
34
- private location;
35
- private paramName;
36
- apiKey: string;
37
- constructor(location: string, paramName: string);
38
- applyToRequest(requestOptions: localVarRequest.Options): void;
39
- }
40
- export declare class OAuth implements Authentication {
41
- accessToken: string;
42
- applyToRequest(requestOptions: localVarRequest.Options): void;
43
- }
44
- export declare class VoidAuth implements Authentication {
45
- username: string;
46
- password: string;
47
- applyToRequest(_: localVarRequest.Options): void;
48
- }
49
- export type Interceptor = (requestOptions: localVarRequest.Options) => (Promise<void> | void);
1
+ /// <reference types="node" />
2
+ /// <reference types="node" />
3
+ import localVarRequest from 'request';
4
+ export * from './healthControllerPing200Response';
5
+ export * from './healthControllerPing200ResponseInfoValue';
6
+ export * from './healthControllerPing503Response';
7
+ import * as fs from 'fs';
8
+ export interface RequestDetailedFile {
9
+ value: Buffer;
10
+ options?: {
11
+ filename?: string;
12
+ contentType?: string;
13
+ };
14
+ }
15
+ export type RequestFile = string | Buffer | fs.ReadStream | RequestDetailedFile;
16
+ export declare class ObjectSerializer {
17
+ static findCorrectType(data: any, expectedType: string): any;
18
+ static serialize(data: any, type: string): any;
19
+ static deserialize(data: any, type: string): any;
20
+ }
21
+ export interface Authentication {
22
+ applyToRequest(requestOptions: localVarRequest.Options): Promise<void> | void;
23
+ }
24
+ export declare class HttpBasicAuth implements Authentication {
25
+ username: string;
26
+ password: string;
27
+ applyToRequest(requestOptions: localVarRequest.Options): void;
28
+ }
29
+ export declare class HttpBearerAuth implements Authentication {
30
+ accessToken: string | (() => string);
31
+ applyToRequest(requestOptions: localVarRequest.Options): void;
32
+ }
33
+ export declare class ApiKeyAuth implements Authentication {
34
+ private location;
35
+ private paramName;
36
+ apiKey: string;
37
+ constructor(location: string, paramName: string);
38
+ applyToRequest(requestOptions: localVarRequest.Options): void;
39
+ }
40
+ export declare class OAuth implements Authentication {
41
+ accessToken: string;
42
+ applyToRequest(requestOptions: localVarRequest.Options): void;
43
+ }
44
+ export declare class VoidAuth implements Authentication {
45
+ username: string;
46
+ password: string;
47
+ applyToRequest(_: localVarRequest.Options): void;
48
+ }
49
+ export type Interceptor = (requestOptions: localVarRequest.Options) => (Promise<void> | void);