@reposit/api-client 6.59.0 → 6.61.0-concurrent-tenancy-check-1

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/base.d.ts DELETED
@@ -1,25 +0,0 @@
1
- /// <reference path="../src/custom.d.ts" />
2
- import { Configuration } from "./configuration";
3
- import { AxiosInstance } from 'axios';
4
- export declare const BASE_PATH: string;
5
- export declare const COLLECTION_FORMATS: {
6
- csv: string;
7
- ssv: string;
8
- tsv: string;
9
- pipes: string;
10
- };
11
- export interface RequestArgs {
12
- url: string;
13
- options: any;
14
- }
15
- export declare class BaseAPI {
16
- protected basePath: string;
17
- protected axios: AxiosInstance;
18
- protected configuration: Configuration | undefined;
19
- constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
20
- }
21
- export declare class RequiredError extends Error {
22
- field: string;
23
- name: "RequiredError";
24
- constructor(field: string, msg?: string);
25
- }
package/dist/base.js DELETED
@@ -1,50 +0,0 @@
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 (b.hasOwnProperty(p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- extendStatics(d, b);
11
- function __() { this.constructor = d; }
12
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
13
- };
14
- })();
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- var axios_1 = require("axios");
17
- exports.BASE_PATH = "http://localhost".replace(/\/+$/, "");
18
- exports.COLLECTION_FORMATS = {
19
- csv: ",",
20
- ssv: " ",
21
- tsv: "\t",
22
- pipes: "|",
23
- };
24
- var BaseAPI = (function () {
25
- function BaseAPI(configuration, basePath, axios) {
26
- if (basePath === void 0) { basePath = exports.BASE_PATH; }
27
- if (axios === void 0) { axios = axios_1.default; }
28
- this.basePath = basePath;
29
- this.axios = axios;
30
- if (configuration) {
31
- this.configuration = configuration;
32
- this.basePath = configuration.basePath || this.basePath;
33
- }
34
- }
35
- return BaseAPI;
36
- }());
37
- exports.BaseAPI = BaseAPI;
38
- ;
39
- var RequiredError = (function (_super) {
40
- __extends(RequiredError, _super);
41
- function RequiredError(field, msg) {
42
- var _this = _super.call(this, msg) || this;
43
- _this.field = field;
44
- _this.name = "RequiredError";
45
- return _this;
46
- }
47
- return RequiredError;
48
- }(Error));
49
- exports.RequiredError = RequiredError;
50
- //# sourceMappingURL=base.js.map
package/dist/base.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"base.js","sourceRoot":"","sources":["../src/base.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAgBA,+BAAiE;AAEpD,QAAA,SAAS,GAAG,kBAAkB,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;AAMnD,QAAA,kBAAkB,GAAG;IAC9B,GAAG,EAAE,GAAG;IACR,GAAG,EAAE,GAAG;IACR,GAAG,EAAE,IAAI;IACT,KAAK,EAAE,GAAG;CACb,CAAC;AAiBF;IAGI,iBAAY,aAA6B,EAAY,QAA4B,EAAY,KAAkC;QAA1E,yBAAA,EAAA,WAAmB,iBAAS;QAAY,sBAAA,EAAA,QAAuB,eAAW;QAA1E,aAAQ,GAAR,QAAQ,CAAoB;QAAY,UAAK,GAAL,KAAK,CAA6B;QAC3H,IAAI,aAAa,EAAE;YACf,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;YACnC,IAAI,CAAC,QAAQ,GAAG,aAAa,CAAC,QAAQ,IAAI,IAAI,CAAC,QAAQ,CAAC;SAC3D;IACL,CAAC;IACL,cAAC;AAAD,CAAC,AATD,IASC;AATY,0BAAO;AASnB,CAAC;AAQF;IAAmC,iCAAK;IAEpC,uBAAmB,KAAa,EAAE,GAAY;QAA9C,YACI,kBAAM,GAAG,CAAC,SACb;QAFkB,WAAK,GAAL,KAAK,CAAQ;QADhC,UAAI,GAAoB,eAAe,CAAC;;IAGxC,CAAC;IACL,oBAAC;AAAD,CAAC,AALD,CAAmC,KAAK,GAKvC;AALY,sCAAa"}
@@ -1,17 +0,0 @@
1
- export interface ConfigurationParameters {
2
- apiKey?: string | ((name: string) => string);
3
- username?: string;
4
- password?: string;
5
- accessToken?: string | ((name: string, scopes?: string[]) => string);
6
- basePath?: string;
7
- baseOptions?: any;
8
- }
9
- export declare class Configuration {
10
- apiKey?: string | ((name: string) => string);
11
- username?: string;
12
- password?: string;
13
- accessToken?: string | ((name: string, scopes?: string[]) => string);
14
- basePath?: string;
15
- baseOptions?: any;
16
- constructor(param?: ConfigurationParameters);
17
- }
@@ -1,15 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- var Configuration = (function () {
4
- function Configuration(param) {
5
- if (param === void 0) { param = {}; }
6
- this.apiKey = param.apiKey;
7
- this.username = param.username;
8
- this.password = param.password;
9
- this.accessToken = param.accessToken;
10
- this.basePath = param.basePath;
11
- }
12
- return Configuration;
13
- }());
14
- exports.Configuration = Configuration;
15
- //# sourceMappingURL=configuration.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"configuration.js","sourceRoot":"","sources":["../src/configuration.ts"],"names":[],"mappings":";;AAuBA;IA2CI,uBAAY,KAAmC;QAAnC,sBAAA,EAAA,UAAmC;QAC3C,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;QAC3B,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAC;QAC/B,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAC;QAC/B,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC,WAAW,CAAC;QACrC,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAC;IACnC,CAAC;IACL,oBAAC;AAAD,CAAC,AAlDD,IAkDC;AAlDY,sCAAa"}
package/dist/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;AAcA,2BAAsB;AACtB,qCAAgC"}