@emilgroup/numbergenerator-sdk 1.5.1-beta.24 → 1.5.1-beta.4
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/.openapi-generator/FILES +1 -4
- package/README.md +2 -2
- package/api/{health-api.ts → default-api.ts} +13 -13
- package/api/numbers-api.ts +9 -15
- package/api.ts +2 -2
- package/base.ts +0 -1
- package/dist/api/{health-api.d.ts → default-api.d.ts} +10 -10
- package/dist/api/{health-api.js → default-api.js} +22 -22
- package/dist/api/numbers-api.d.ts +9 -12
- package/dist/api/numbers-api.js +3 -3
- package/dist/api.d.ts +1 -1
- package/dist/api.js +1 -1
- package/dist/base.d.ts +1 -2
- package/dist/base.js +0 -1
- package/dist/models/entity-number-class.d.ts +1 -11
- package/dist/models/entity-number-class.js +1 -2
- package/dist/models/index.d.ts +0 -3
- package/dist/models/index.js +0 -3
- package/dist/models/list-numbers-response-class.d.ts +6 -18
- package/models/entity-number-class.ts +2 -12
- package/models/index.ts +0 -3
- package/models/list-numbers-response-class.ts +6 -18
- package/package.json +2 -2
- package/dist/models/list-dto.d.ts +0 -24
- package/dist/models/list-dto.js +0 -15
- package/dist/models/random-dto.d.ts +0 -42
- package/dist/models/random-dto.js +0 -15
- package/dist/models/sequence-dto.d.ts +0 -54
- package/dist/models/sequence-dto.js +0 -15
- package/models/list-dto.ts +0 -30
- package/models/random-dto.ts +0 -48
- package/models/sequence-dto.ts +0 -60
package/.openapi-generator/FILES
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
.openapi-generator-ignore
|
|
4
4
|
README.md
|
|
5
5
|
api.ts
|
|
6
|
-
api/
|
|
6
|
+
api/default-api.ts
|
|
7
7
|
api/numbers-api.ts
|
|
8
8
|
base.ts
|
|
9
9
|
common.ts
|
|
@@ -16,12 +16,9 @@ models/get-number-response-class.ts
|
|
|
16
16
|
models/index.ts
|
|
17
17
|
models/inline-response200.ts
|
|
18
18
|
models/inline-response503.ts
|
|
19
|
-
models/list-dto.ts
|
|
20
19
|
models/list-numbers-response-class.ts
|
|
21
20
|
models/lookup-number-request-dto.ts
|
|
22
|
-
models/random-dto.ts
|
|
23
21
|
models/reset-number-request-dto.ts
|
|
24
|
-
models/sequence-dto.ts
|
|
25
22
|
models/update-number-response-class.ts
|
|
26
23
|
package.json
|
|
27
24
|
tsconfig.json
|
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/numbergenerator-sdk@1.5.1-beta.
|
|
20
|
+
npm install @emilgroup/numbergenerator-sdk@1.5.1-beta.4 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/numbergenerator-sdk@1.5.1-beta.
|
|
24
|
+
yarn add @emilgroup/numbergenerator-sdk@1.5.1-beta.4
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `NumbersApi`.
|
|
@@ -25,10 +25,10 @@ import { InlineResponse200 } from '../models';
|
|
|
25
25
|
// @ts-ignore
|
|
26
26
|
import { InlineResponse503 } from '../models';
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
28
|
+
* DefaultApi - axios parameter creator
|
|
29
29
|
* @export
|
|
30
30
|
*/
|
|
31
|
-
export const
|
|
31
|
+
export const DefaultApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
32
32
|
return {
|
|
33
33
|
/**
|
|
34
34
|
*
|
|
@@ -65,11 +65,11 @@ export const HealthApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
65
65
|
};
|
|
66
66
|
|
|
67
67
|
/**
|
|
68
|
-
*
|
|
68
|
+
* DefaultApi - functional programming interface
|
|
69
69
|
* @export
|
|
70
70
|
*/
|
|
71
|
-
export const
|
|
72
|
-
const localVarAxiosParamCreator =
|
|
71
|
+
export const DefaultApiFp = function(configuration?: Configuration) {
|
|
72
|
+
const localVarAxiosParamCreator = DefaultApiAxiosParamCreator(configuration)
|
|
73
73
|
return {
|
|
74
74
|
/**
|
|
75
75
|
*
|
|
@@ -84,11 +84,11 @@ export const HealthApiFp = function(configuration?: Configuration) {
|
|
|
84
84
|
};
|
|
85
85
|
|
|
86
86
|
/**
|
|
87
|
-
*
|
|
87
|
+
* DefaultApi - factory interface
|
|
88
88
|
* @export
|
|
89
89
|
*/
|
|
90
|
-
export const
|
|
91
|
-
const localVarFp =
|
|
90
|
+
export const DefaultApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
91
|
+
const localVarFp = DefaultApiFp(configuration)
|
|
92
92
|
return {
|
|
93
93
|
/**
|
|
94
94
|
*
|
|
@@ -102,19 +102,19 @@ export const HealthApiFactory = function (configuration?: Configuration, basePat
|
|
|
102
102
|
};
|
|
103
103
|
|
|
104
104
|
/**
|
|
105
|
-
*
|
|
105
|
+
* DefaultApi - object-oriented interface
|
|
106
106
|
* @export
|
|
107
|
-
* @class
|
|
107
|
+
* @class DefaultApi
|
|
108
108
|
* @extends {BaseAPI}
|
|
109
109
|
*/
|
|
110
|
-
export class
|
|
110
|
+
export class DefaultApi extends BaseAPI {
|
|
111
111
|
/**
|
|
112
112
|
*
|
|
113
113
|
* @param {*} [options] Override http request option.
|
|
114
114
|
* @throws {RequiredError}
|
|
115
|
-
* @memberof
|
|
115
|
+
* @memberof DefaultApi
|
|
116
116
|
*/
|
|
117
117
|
public check(options?: AxiosRequestConfig) {
|
|
118
|
-
return
|
|
118
|
+
return DefaultApiFp(this.configuration).check(options).then((request) => request(this.axios, this.basePath));
|
|
119
119
|
}
|
|
120
120
|
}
|
package/api/numbers-api.ts
CHANGED
|
@@ -25,18 +25,12 @@ import { CreateNumberResponseClass } from '../models';
|
|
|
25
25
|
// @ts-ignore
|
|
26
26
|
import { GetNumberResponseClass } from '../models';
|
|
27
27
|
// @ts-ignore
|
|
28
|
-
import { ListDto } from '../models';
|
|
29
|
-
// @ts-ignore
|
|
30
28
|
import { ListNumbersResponseClass } from '../models';
|
|
31
29
|
// @ts-ignore
|
|
32
30
|
import { LookupNumberRequestDto } from '../models';
|
|
33
31
|
// @ts-ignore
|
|
34
|
-
import { RandomDto } from '../models';
|
|
35
|
-
// @ts-ignore
|
|
36
32
|
import { ResetNumberRequestDto } from '../models';
|
|
37
33
|
// @ts-ignore
|
|
38
|
-
import { SequenceDto } from '../models';
|
|
39
|
-
// @ts-ignore
|
|
40
34
|
import { UpdateNumberResponseClass } from '../models';
|
|
41
35
|
/**
|
|
42
36
|
* NumbersApi - axios parameter creator
|
|
@@ -49,12 +43,12 @@ export const NumbersApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
49
43
|
* @summary Create the number
|
|
50
44
|
* @param {string} slug The slug of the number
|
|
51
45
|
* @param {string} type The type of number generator. This determines the structure of the config object.
|
|
52
|
-
* @param {
|
|
46
|
+
* @param {object} config Configuration object that varies based on the type field
|
|
53
47
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
54
48
|
* @param {*} [options] Override http request option.
|
|
55
49
|
* @throws {RequiredError}
|
|
56
50
|
*/
|
|
57
|
-
createNumber: async (slug: string, type: string, config:
|
|
51
|
+
createNumber: async (slug: string, type: string, config: object, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
58
52
|
// verify required parameter 'slug' is not null or undefined
|
|
59
53
|
assertParamExists('createNumber', 'slug', slug)
|
|
60
54
|
// verify required parameter 'type' is not null or undefined
|
|
@@ -392,12 +386,12 @@ export const NumbersApiFp = function(configuration?: Configuration) {
|
|
|
392
386
|
* @summary Create the number
|
|
393
387
|
* @param {string} slug The slug of the number
|
|
394
388
|
* @param {string} type The type of number generator. This determines the structure of the config object.
|
|
395
|
-
* @param {
|
|
389
|
+
* @param {object} config Configuration object that varies based on the type field
|
|
396
390
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
397
391
|
* @param {*} [options] Override http request option.
|
|
398
392
|
* @throws {RequiredError}
|
|
399
393
|
*/
|
|
400
|
-
async createNumber(slug: string, type: string, config:
|
|
394
|
+
async createNumber(slug: string, type: string, config: object, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateNumberResponseClass>> {
|
|
401
395
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createNumber(slug, type, config, authorization, options);
|
|
402
396
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
403
397
|
},
|
|
@@ -483,12 +477,12 @@ export const NumbersApiFactory = function (configuration?: Configuration, basePa
|
|
|
483
477
|
* @summary Create the number
|
|
484
478
|
* @param {string} slug The slug of the number
|
|
485
479
|
* @param {string} type The type of number generator. This determines the structure of the config object.
|
|
486
|
-
* @param {
|
|
480
|
+
* @param {object} config Configuration object that varies based on the type field
|
|
487
481
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
488
482
|
* @param {*} [options] Override http request option.
|
|
489
483
|
* @throws {RequiredError}
|
|
490
484
|
*/
|
|
491
|
-
createNumber(slug: string, type: string, config:
|
|
485
|
+
createNumber(slug: string, type: string, config: object, authorization?: string, options?: any): AxiosPromise<CreateNumberResponseClass> {
|
|
492
486
|
return localVarFp.createNumber(slug, type, config, authorization, options).then((request) => request(axios, basePath));
|
|
493
487
|
},
|
|
494
488
|
/**
|
|
@@ -577,11 +571,11 @@ export interface NumbersApiCreateNumberRequest {
|
|
|
577
571
|
readonly type: string
|
|
578
572
|
|
|
579
573
|
/**
|
|
580
|
-
* Configuration object
|
|
581
|
-
* @type {
|
|
574
|
+
* Configuration object that varies based on the type field
|
|
575
|
+
* @type {object}
|
|
582
576
|
* @memberof NumbersApiCreateNumber
|
|
583
577
|
*/
|
|
584
|
-
readonly config:
|
|
578
|
+
readonly config: object
|
|
585
579
|
|
|
586
580
|
/**
|
|
587
581
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
package/api.ts
CHANGED
|
@@ -20,10 +20,10 @@ import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig, AxiosResp
|
|
|
20
20
|
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
|
|
21
21
|
// @ts-ignore
|
|
22
22
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base';
|
|
23
|
-
import {
|
|
23
|
+
import { DefaultApi } from './api';
|
|
24
24
|
import { NumbersApi } from './api';
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
export * from './api/
|
|
27
|
+
export * from './api/default-api';
|
|
28
28
|
export * from './api/numbers-api';
|
|
29
29
|
|
package/base.ts
CHANGED
|
@@ -53,7 +53,6 @@ export enum Environment {
|
|
|
53
53
|
Staging = 'https://apiv2-staging.emil.de',
|
|
54
54
|
Development = 'https://apiv2-dev.emil.de',
|
|
55
55
|
ProductionZurich = 'https://eu-central-2.apiv2.emil.de',
|
|
56
|
-
StagingZurich = 'https://eu-central-2.apiv2-staging.emil.de',
|
|
57
56
|
}
|
|
58
57
|
|
|
59
58
|
let _retry_count = 0
|
|
@@ -14,10 +14,10 @@ import { Configuration } from '../configuration';
|
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import { InlineResponse200 } from '../models';
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* DefaultApi - axios parameter creator
|
|
18
18
|
* @export
|
|
19
19
|
*/
|
|
20
|
-
export declare const
|
|
20
|
+
export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
21
21
|
/**
|
|
22
22
|
*
|
|
23
23
|
* @param {*} [options] Override http request option.
|
|
@@ -26,10 +26,10 @@ export declare const HealthApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
26
26
|
check: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* DefaultApi - functional programming interface
|
|
30
30
|
* @export
|
|
31
31
|
*/
|
|
32
|
-
export declare const
|
|
32
|
+
export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
33
33
|
/**
|
|
34
34
|
*
|
|
35
35
|
* @param {*} [options] Override http request option.
|
|
@@ -38,10 +38,10 @@ export declare const HealthApiFp: (configuration?: Configuration) => {
|
|
|
38
38
|
check(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>>;
|
|
39
39
|
};
|
|
40
40
|
/**
|
|
41
|
-
*
|
|
41
|
+
* DefaultApi - factory interface
|
|
42
42
|
* @export
|
|
43
43
|
*/
|
|
44
|
-
export declare const
|
|
44
|
+
export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
45
45
|
/**
|
|
46
46
|
*
|
|
47
47
|
* @param {*} [options] Override http request option.
|
|
@@ -50,17 +50,17 @@ export declare const HealthApiFactory: (configuration?: Configuration, basePath?
|
|
|
50
50
|
check(options?: any): AxiosPromise<InlineResponse200>;
|
|
51
51
|
};
|
|
52
52
|
/**
|
|
53
|
-
*
|
|
53
|
+
* DefaultApi - object-oriented interface
|
|
54
54
|
* @export
|
|
55
|
-
* @class
|
|
55
|
+
* @class DefaultApi
|
|
56
56
|
* @extends {BaseAPI}
|
|
57
57
|
*/
|
|
58
|
-
export declare class
|
|
58
|
+
export declare class DefaultApi extends BaseAPI {
|
|
59
59
|
/**
|
|
60
60
|
*
|
|
61
61
|
* @param {*} [options] Override http request option.
|
|
62
62
|
* @throws {RequiredError}
|
|
63
|
-
* @memberof
|
|
63
|
+
* @memberof DefaultApi
|
|
64
64
|
*/
|
|
65
65
|
check(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineResponse200, any, {}>>;
|
|
66
66
|
}
|
|
@@ -78,7 +78,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
78
78
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
79
|
};
|
|
80
80
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
81
|
-
exports.
|
|
81
|
+
exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = void 0;
|
|
82
82
|
var axios_1 = __importDefault(require("axios"));
|
|
83
83
|
// Some imports not used depending on template conditions
|
|
84
84
|
// @ts-ignore
|
|
@@ -86,10 +86,10 @@ var common_1 = require("../common");
|
|
|
86
86
|
// @ts-ignore
|
|
87
87
|
var base_1 = require("../base");
|
|
88
88
|
/**
|
|
89
|
-
*
|
|
89
|
+
* DefaultApi - axios parameter creator
|
|
90
90
|
* @export
|
|
91
91
|
*/
|
|
92
|
-
var
|
|
92
|
+
var DefaultApiAxiosParamCreator = function (configuration) {
|
|
93
93
|
var _this = this;
|
|
94
94
|
return {
|
|
95
95
|
/**
|
|
@@ -123,13 +123,13 @@ var HealthApiAxiosParamCreator = function (configuration) {
|
|
|
123
123
|
},
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
exports.
|
|
126
|
+
exports.DefaultApiAxiosParamCreator = DefaultApiAxiosParamCreator;
|
|
127
127
|
/**
|
|
128
|
-
*
|
|
128
|
+
* DefaultApi - functional programming interface
|
|
129
129
|
* @export
|
|
130
130
|
*/
|
|
131
|
-
var
|
|
132
|
-
var localVarAxiosParamCreator = (0, exports.
|
|
131
|
+
var DefaultApiFp = function (configuration) {
|
|
132
|
+
var localVarAxiosParamCreator = (0, exports.DefaultApiAxiosParamCreator)(configuration);
|
|
133
133
|
return {
|
|
134
134
|
/**
|
|
135
135
|
*
|
|
@@ -151,13 +151,13 @@ var HealthApiFp = function (configuration) {
|
|
|
151
151
|
},
|
|
152
152
|
};
|
|
153
153
|
};
|
|
154
|
-
exports.
|
|
154
|
+
exports.DefaultApiFp = DefaultApiFp;
|
|
155
155
|
/**
|
|
156
|
-
*
|
|
156
|
+
* DefaultApi - factory interface
|
|
157
157
|
* @export
|
|
158
158
|
*/
|
|
159
|
-
var
|
|
160
|
-
var localVarFp = (0, exports.
|
|
159
|
+
var DefaultApiFactory = function (configuration, basePath, axios) {
|
|
160
|
+
var localVarFp = (0, exports.DefaultApiFp)(configuration);
|
|
161
161
|
return {
|
|
162
162
|
/**
|
|
163
163
|
*
|
|
@@ -169,28 +169,28 @@ var HealthApiFactory = function (configuration, basePath, axios) {
|
|
|
169
169
|
},
|
|
170
170
|
};
|
|
171
171
|
};
|
|
172
|
-
exports.
|
|
172
|
+
exports.DefaultApiFactory = DefaultApiFactory;
|
|
173
173
|
/**
|
|
174
|
-
*
|
|
174
|
+
* DefaultApi - object-oriented interface
|
|
175
175
|
* @export
|
|
176
|
-
* @class
|
|
176
|
+
* @class DefaultApi
|
|
177
177
|
* @extends {BaseAPI}
|
|
178
178
|
*/
|
|
179
|
-
var
|
|
180
|
-
__extends(
|
|
181
|
-
function
|
|
179
|
+
var DefaultApi = /** @class */ (function (_super) {
|
|
180
|
+
__extends(DefaultApi, _super);
|
|
181
|
+
function DefaultApi() {
|
|
182
182
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
183
183
|
}
|
|
184
184
|
/**
|
|
185
185
|
*
|
|
186
186
|
* @param {*} [options] Override http request option.
|
|
187
187
|
* @throws {RequiredError}
|
|
188
|
-
* @memberof
|
|
188
|
+
* @memberof DefaultApi
|
|
189
189
|
*/
|
|
190
|
-
|
|
190
|
+
DefaultApi.prototype.check = function (options) {
|
|
191
191
|
var _this = this;
|
|
192
|
-
return (0, exports.
|
|
192
|
+
return (0, exports.DefaultApiFp)(this.configuration).check(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
193
193
|
};
|
|
194
|
-
return
|
|
194
|
+
return DefaultApi;
|
|
195
195
|
}(base_1.BaseAPI));
|
|
196
|
-
exports.
|
|
196
|
+
exports.DefaultApi = DefaultApi;
|
|
@@ -14,12 +14,9 @@ import { Configuration } from '../configuration';
|
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import { CreateNumberResponseClass } from '../models';
|
|
16
16
|
import { GetNumberResponseClass } from '../models';
|
|
17
|
-
import { ListDto } from '../models';
|
|
18
17
|
import { ListNumbersResponseClass } from '../models';
|
|
19
18
|
import { LookupNumberRequestDto } from '../models';
|
|
20
|
-
import { RandomDto } from '../models';
|
|
21
19
|
import { ResetNumberRequestDto } from '../models';
|
|
22
|
-
import { SequenceDto } from '../models';
|
|
23
20
|
import { UpdateNumberResponseClass } from '../models';
|
|
24
21
|
/**
|
|
25
22
|
* NumbersApi - axios parameter creator
|
|
@@ -31,12 +28,12 @@ export declare const NumbersApiAxiosParamCreator: (configuration?: Configuration
|
|
|
31
28
|
* @summary Create the number
|
|
32
29
|
* @param {string} slug The slug of the number
|
|
33
30
|
* @param {string} type The type of number generator. This determines the structure of the config object.
|
|
34
|
-
* @param {
|
|
31
|
+
* @param {object} config Configuration object that varies based on the type field
|
|
35
32
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
36
33
|
* @param {*} [options] Override http request option.
|
|
37
34
|
* @throws {RequiredError}
|
|
38
35
|
*/
|
|
39
|
-
createNumber: (slug: string, type: string, config:
|
|
36
|
+
createNumber: (slug: string, type: string, config: object, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
40
37
|
/**
|
|
41
38
|
* Retrieves the details of the number that was previously created. Supply the unique number code that was returned when you created it and Emil Api will return the corresponding number information.
|
|
42
39
|
* @summary Retrieve the number
|
|
@@ -100,12 +97,12 @@ export declare const NumbersApiFp: (configuration?: Configuration) => {
|
|
|
100
97
|
* @summary Create the number
|
|
101
98
|
* @param {string} slug The slug of the number
|
|
102
99
|
* @param {string} type The type of number generator. This determines the structure of the config object.
|
|
103
|
-
* @param {
|
|
100
|
+
* @param {object} config Configuration object that varies based on the type field
|
|
104
101
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
105
102
|
* @param {*} [options] Override http request option.
|
|
106
103
|
* @throws {RequiredError}
|
|
107
104
|
*/
|
|
108
|
-
createNumber(slug: string, type: string, config:
|
|
105
|
+
createNumber(slug: string, type: string, config: object, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateNumberResponseClass>>;
|
|
109
106
|
/**
|
|
110
107
|
* Retrieves the details of the number that was previously created. Supply the unique number code that was returned when you created it and Emil Api will return the corresponding number information.
|
|
111
108
|
* @summary Retrieve the number
|
|
@@ -169,12 +166,12 @@ export declare const NumbersApiFactory: (configuration?: Configuration, basePath
|
|
|
169
166
|
* @summary Create the number
|
|
170
167
|
* @param {string} slug The slug of the number
|
|
171
168
|
* @param {string} type The type of number generator. This determines the structure of the config object.
|
|
172
|
-
* @param {
|
|
169
|
+
* @param {object} config Configuration object that varies based on the type field
|
|
173
170
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
174
171
|
* @param {*} [options] Override http request option.
|
|
175
172
|
* @throws {RequiredError}
|
|
176
173
|
*/
|
|
177
|
-
createNumber(slug: string, type: string, config:
|
|
174
|
+
createNumber(slug: string, type: string, config: object, authorization?: string, options?: any): AxiosPromise<CreateNumberResponseClass>;
|
|
178
175
|
/**
|
|
179
176
|
* Retrieves the details of the number that was previously created. Supply the unique number code that was returned when you created it and Emil Api will return the corresponding number information.
|
|
180
177
|
* @summary Retrieve the number
|
|
@@ -247,11 +244,11 @@ export interface NumbersApiCreateNumberRequest {
|
|
|
247
244
|
*/
|
|
248
245
|
readonly type: string;
|
|
249
246
|
/**
|
|
250
|
-
* Configuration object
|
|
251
|
-
* @type {
|
|
247
|
+
* Configuration object that varies based on the type field
|
|
248
|
+
* @type {object}
|
|
252
249
|
* @memberof NumbersApiCreateNumber
|
|
253
250
|
*/
|
|
254
|
-
readonly config:
|
|
251
|
+
readonly config: object;
|
|
255
252
|
/**
|
|
256
253
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
257
254
|
* @type {string}
|
package/dist/api/numbers-api.js
CHANGED
|
@@ -97,7 +97,7 @@ var NumbersApiAxiosParamCreator = function (configuration) {
|
|
|
97
97
|
* @summary Create the number
|
|
98
98
|
* @param {string} slug The slug of the number
|
|
99
99
|
* @param {string} type The type of number generator. This determines the structure of the config object.
|
|
100
|
-
* @param {
|
|
100
|
+
* @param {object} config Configuration object that varies based on the type field
|
|
101
101
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
102
102
|
* @param {*} [options] Override http request option.
|
|
103
103
|
* @throws {RequiredError}
|
|
@@ -443,7 +443,7 @@ var NumbersApiFp = function (configuration) {
|
|
|
443
443
|
* @summary Create the number
|
|
444
444
|
* @param {string} slug The slug of the number
|
|
445
445
|
* @param {string} type The type of number generator. This determines the structure of the config object.
|
|
446
|
-
* @param {
|
|
446
|
+
* @param {object} config Configuration object that varies based on the type field
|
|
447
447
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
448
448
|
* @param {*} [options] Override http request option.
|
|
449
449
|
* @throws {RequiredError}
|
|
@@ -588,7 +588,7 @@ var NumbersApiFactory = function (configuration, basePath, axios) {
|
|
|
588
588
|
* @summary Create the number
|
|
589
589
|
* @param {string} slug The slug of the number
|
|
590
590
|
* @param {string} type The type of number generator. This determines the structure of the config object.
|
|
591
|
-
* @param {
|
|
591
|
+
* @param {object} config Configuration object that varies based on the type field
|
|
592
592
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
593
593
|
* @param {*} [options] Override http request option.
|
|
594
594
|
* @throws {RequiredError}
|
package/dist/api.d.ts
CHANGED
package/dist/api.js
CHANGED
|
@@ -27,5 +27,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
27
27
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
28
28
|
};
|
|
29
29
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
|
-
__exportStar(require("./api/
|
|
30
|
+
__exportStar(require("./api/default-api"), exports);
|
|
31
31
|
__exportStar(require("./api/numbers-api"), exports);
|
package/dist/base.d.ts
CHANGED
|
@@ -39,8 +39,7 @@ export declare enum Environment {
|
|
|
39
39
|
Test = "https://apiv2-test.emil.de",
|
|
40
40
|
Staging = "https://apiv2-staging.emil.de",
|
|
41
41
|
Development = "https://apiv2-dev.emil.de",
|
|
42
|
-
ProductionZurich = "https://eu-central-2.apiv2.emil.de"
|
|
43
|
-
StagingZurich = "https://eu-central-2.apiv2-staging.emil.de"
|
|
42
|
+
ProductionZurich = "https://eu-central-2.apiv2.emil.de"
|
|
44
43
|
}
|
|
45
44
|
export declare function resetRetry(): void;
|
|
46
45
|
/**
|
package/dist/base.js
CHANGED
|
@@ -102,7 +102,6 @@ var Environment;
|
|
|
102
102
|
Environment["Staging"] = "https://apiv2-staging.emil.de";
|
|
103
103
|
Environment["Development"] = "https://apiv2-dev.emil.de";
|
|
104
104
|
Environment["ProductionZurich"] = "https://eu-central-2.apiv2.emil.de";
|
|
105
|
-
Environment["StagingZurich"] = "https://eu-central-2.apiv2-staging.emil.de";
|
|
106
105
|
})(Environment = exports.Environment || (exports.Environment = {}));
|
|
107
106
|
var _retry_count = 0;
|
|
108
107
|
var _retry = null;
|
|
@@ -9,9 +9,6 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { ListDto } from './list-dto';
|
|
13
|
-
import { RandomDto } from './random-dto';
|
|
14
|
-
import { SequenceDto } from './sequence-dto';
|
|
15
12
|
/**
|
|
16
13
|
*
|
|
17
14
|
* @export
|
|
@@ -44,16 +41,10 @@ export interface EntityNumberClass {
|
|
|
44
41
|
'type': EntityNumberClassTypeEnum;
|
|
45
42
|
/**
|
|
46
43
|
* Entity number configuration.
|
|
47
|
-
* @type {SequenceDto | ListDto | RandomDto}
|
|
48
|
-
* @memberof EntityNumberClass
|
|
49
|
-
*/
|
|
50
|
-
'configuration': SequenceDto | ListDto | RandomDto;
|
|
51
|
-
/**
|
|
52
|
-
* Entity number statistics.
|
|
53
44
|
* @type {object}
|
|
54
45
|
* @memberof EntityNumberClass
|
|
55
46
|
*/
|
|
56
|
-
'
|
|
47
|
+
'configuration': object;
|
|
57
48
|
/**
|
|
58
49
|
* Time at which the object was created.
|
|
59
50
|
* @type {string}
|
|
@@ -71,6 +62,5 @@ export declare const EntityNumberClassTypeEnum: {
|
|
|
71
62
|
readonly Sequence: "sequence";
|
|
72
63
|
readonly List: "list";
|
|
73
64
|
readonly Random: "random";
|
|
74
|
-
readonly Biglist: "biglist";
|
|
75
65
|
};
|
|
76
66
|
export type EntityNumberClassTypeEnum = typeof EntityNumberClassTypeEnum[keyof typeof EntityNumberClassTypeEnum];
|
package/dist/models/index.d.ts
CHANGED
|
@@ -3,10 +3,7 @@ export * from './entity-number-class';
|
|
|
3
3
|
export * from './get-number-response-class';
|
|
4
4
|
export * from './inline-response200';
|
|
5
5
|
export * from './inline-response503';
|
|
6
|
-
export * from './list-dto';
|
|
7
6
|
export * from './list-numbers-response-class';
|
|
8
7
|
export * from './lookup-number-request-dto';
|
|
9
|
-
export * from './random-dto';
|
|
10
8
|
export * from './reset-number-request-dto';
|
|
11
|
-
export * from './sequence-dto';
|
|
12
9
|
export * from './update-number-response-class';
|
package/dist/models/index.js
CHANGED
|
@@ -19,10 +19,7 @@ __exportStar(require("./entity-number-class"), exports);
|
|
|
19
19
|
__exportStar(require("./get-number-response-class"), exports);
|
|
20
20
|
__exportStar(require("./inline-response200"), exports);
|
|
21
21
|
__exportStar(require("./inline-response503"), exports);
|
|
22
|
-
__exportStar(require("./list-dto"), exports);
|
|
23
22
|
__exportStar(require("./list-numbers-response-class"), exports);
|
|
24
23
|
__exportStar(require("./lookup-number-request-dto"), exports);
|
|
25
|
-
__exportStar(require("./random-dto"), exports);
|
|
26
24
|
__exportStar(require("./reset-number-request-dto"), exports);
|
|
27
|
-
__exportStar(require("./sequence-dto"), exports);
|
|
28
25
|
__exportStar(require("./update-number-response-class"), exports);
|
|
@@ -16,28 +16,16 @@ import { EntityNumberClass } from './entity-number-class';
|
|
|
16
16
|
* @interface ListNumbersResponseClass
|
|
17
17
|
*/
|
|
18
18
|
export interface ListNumbersResponseClass {
|
|
19
|
-
/**
|
|
20
|
-
* Next page token.
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof ListNumbersResponseClass
|
|
23
|
-
*/
|
|
24
|
-
'nextPageToken': string;
|
|
25
|
-
/**
|
|
26
|
-
* Total amount of items.
|
|
27
|
-
* @type {number}
|
|
28
|
-
* @memberof ListNumbersResponseClass
|
|
29
|
-
*/
|
|
30
|
-
'totalItems': number;
|
|
31
|
-
/**
|
|
32
|
-
* Items per page.
|
|
33
|
-
* @type {number}
|
|
34
|
-
* @memberof ListNumbersResponseClass
|
|
35
|
-
*/
|
|
36
|
-
'itemsPerPage': number;
|
|
37
19
|
/**
|
|
38
20
|
* The list of numbers.
|
|
39
21
|
* @type {Array<EntityNumberClass>}
|
|
40
22
|
* @memberof ListNumbersResponseClass
|
|
41
23
|
*/
|
|
42
24
|
'items': Array<EntityNumberClass>;
|
|
25
|
+
/**
|
|
26
|
+
* Next page token
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ListNumbersResponseClass
|
|
29
|
+
*/
|
|
30
|
+
'nextPageToken': string;
|
|
43
31
|
}
|
|
@@ -13,9 +13,6 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
import { ListDto } from './list-dto';
|
|
17
|
-
import { RandomDto } from './random-dto';
|
|
18
|
-
import { SequenceDto } from './sequence-dto';
|
|
19
16
|
|
|
20
17
|
/**
|
|
21
18
|
*
|
|
@@ -49,16 +46,10 @@ export interface EntityNumberClass {
|
|
|
49
46
|
'type': EntityNumberClassTypeEnum;
|
|
50
47
|
/**
|
|
51
48
|
* Entity number configuration.
|
|
52
|
-
* @type {SequenceDto | ListDto | RandomDto}
|
|
53
|
-
* @memberof EntityNumberClass
|
|
54
|
-
*/
|
|
55
|
-
'configuration': SequenceDto | ListDto | RandomDto;
|
|
56
|
-
/**
|
|
57
|
-
* Entity number statistics.
|
|
58
49
|
* @type {object}
|
|
59
50
|
* @memberof EntityNumberClass
|
|
60
51
|
*/
|
|
61
|
-
'
|
|
52
|
+
'configuration': object;
|
|
62
53
|
/**
|
|
63
54
|
* Time at which the object was created.
|
|
64
55
|
* @type {string}
|
|
@@ -76,8 +67,7 @@ export interface EntityNumberClass {
|
|
|
76
67
|
export const EntityNumberClassTypeEnum = {
|
|
77
68
|
Sequence: 'sequence',
|
|
78
69
|
List: 'list',
|
|
79
|
-
Random: 'random'
|
|
80
|
-
Biglist: 'biglist'
|
|
70
|
+
Random: 'random'
|
|
81
71
|
} as const;
|
|
82
72
|
|
|
83
73
|
export type EntityNumberClassTypeEnum = typeof EntityNumberClassTypeEnum[keyof typeof EntityNumberClassTypeEnum];
|
package/models/index.ts
CHANGED
|
@@ -3,10 +3,7 @@ export * from './entity-number-class';
|
|
|
3
3
|
export * from './get-number-response-class';
|
|
4
4
|
export * from './inline-response200';
|
|
5
5
|
export * from './inline-response503';
|
|
6
|
-
export * from './list-dto';
|
|
7
6
|
export * from './list-numbers-response-class';
|
|
8
7
|
export * from './lookup-number-request-dto';
|
|
9
|
-
export * from './random-dto';
|
|
10
8
|
export * from './reset-number-request-dto';
|
|
11
|
-
export * from './sequence-dto';
|
|
12
9
|
export * from './update-number-response-class';
|
|
@@ -21,29 +21,17 @@ import { EntityNumberClass } from './entity-number-class';
|
|
|
21
21
|
* @interface ListNumbersResponseClass
|
|
22
22
|
*/
|
|
23
23
|
export interface ListNumbersResponseClass {
|
|
24
|
-
/**
|
|
25
|
-
* Next page token.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof ListNumbersResponseClass
|
|
28
|
-
*/
|
|
29
|
-
'nextPageToken': string;
|
|
30
|
-
/**
|
|
31
|
-
* Total amount of items.
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof ListNumbersResponseClass
|
|
34
|
-
*/
|
|
35
|
-
'totalItems': number;
|
|
36
|
-
/**
|
|
37
|
-
* Items per page.
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof ListNumbersResponseClass
|
|
40
|
-
*/
|
|
41
|
-
'itemsPerPage': number;
|
|
42
24
|
/**
|
|
43
25
|
* The list of numbers.
|
|
44
26
|
* @type {Array<EntityNumberClass>}
|
|
45
27
|
* @memberof ListNumbersResponseClass
|
|
46
28
|
*/
|
|
47
29
|
'items': Array<EntityNumberClass>;
|
|
30
|
+
/**
|
|
31
|
+
* Next page token
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ListNumbersResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'nextPageToken': string;
|
|
48
36
|
}
|
|
49
37
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emilgroup/numbergenerator-sdk",
|
|
3
|
-
"version": "1.5.1-beta.
|
|
3
|
+
"version": "1.5.1-beta.4",
|
|
4
4
|
"description": "OpenAPI client for @emilgroup/numbergenerator-sdk",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"keywords": [
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"prepare": "npm run build"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"axios": "1.
|
|
21
|
+
"axios": "1.12.0"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* EMIL Number Generator Service
|
|
3
|
-
* The EMIL Number Generator Service API is a robust tool designed to generate unique and structured entity numbers like policies, accounts, invoices, and other entities. This API streamlines the process of creating distinct identifiers for various business objects.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0
|
|
6
|
-
* Contact: kontakt@emil.de
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface ListDto
|
|
16
|
-
*/
|
|
17
|
-
export interface ListDto {
|
|
18
|
-
/**
|
|
19
|
-
* Array of string items for the list number generator
|
|
20
|
-
* @type {Array<string>}
|
|
21
|
-
* @memberof ListDto
|
|
22
|
-
*/
|
|
23
|
-
'items': Array<string>;
|
|
24
|
-
}
|
package/dist/models/list-dto.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* EMIL Number Generator Service
|
|
6
|
-
* The EMIL Number Generator Service API is a robust tool designed to generate unique and structured entity numbers like policies, accounts, invoices, and other entities. This API streamlines the process of creating distinct identifiers for various business objects.
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0
|
|
9
|
-
* Contact: kontakt@emil.de
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* EMIL Number Generator Service
|
|
3
|
-
* The EMIL Number Generator Service API is a robust tool designed to generate unique and structured entity numbers like policies, accounts, invoices, and other entities. This API streamlines the process of creating distinct identifiers for various business objects.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0
|
|
6
|
-
* Contact: kontakt@emil.de
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface RandomDto
|
|
16
|
-
*/
|
|
17
|
-
export interface RandomDto {
|
|
18
|
-
/**
|
|
19
|
-
* The number of characters in the random number
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof RandomDto
|
|
22
|
-
*/
|
|
23
|
-
'countOfChars': number;
|
|
24
|
-
/**
|
|
25
|
-
* The custom alphabet for the random number
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof RandomDto
|
|
28
|
-
*/
|
|
29
|
-
'customAlphabet'?: string;
|
|
30
|
-
/**
|
|
31
|
-
* The prefix of the random number
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof RandomDto
|
|
34
|
-
*/
|
|
35
|
-
'prefix'?: string;
|
|
36
|
-
/**
|
|
37
|
-
* The suffix of the random number
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof RandomDto
|
|
40
|
-
*/
|
|
41
|
-
'suffix'?: string;
|
|
42
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* EMIL Number Generator Service
|
|
6
|
-
* The EMIL Number Generator Service API is a robust tool designed to generate unique and structured entity numbers like policies, accounts, invoices, and other entities. This API streamlines the process of creating distinct identifiers for various business objects.
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0
|
|
9
|
-
* Contact: kontakt@emil.de
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* EMIL Number Generator Service
|
|
3
|
-
* The EMIL Number Generator Service API is a robust tool designed to generate unique and structured entity numbers like policies, accounts, invoices, and other entities. This API streamlines the process of creating distinct identifiers for various business objects.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0
|
|
6
|
-
* Contact: kontakt@emil.de
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface SequenceDto
|
|
16
|
-
*/
|
|
17
|
-
export interface SequenceDto {
|
|
18
|
-
/**
|
|
19
|
-
* The first value the sequence generates (inclusive lower bound). Must be at least 1.
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof SequenceDto
|
|
22
|
-
*/
|
|
23
|
-
'start': number;
|
|
24
|
-
/**
|
|
25
|
-
* Minimum width of the numeric part. Shorter values are left-padded using fillString.
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof SequenceDto
|
|
28
|
-
*/
|
|
29
|
-
'countOfChars': number;
|
|
30
|
-
/**
|
|
31
|
-
* Single character used to left-pad the numeric part up to countOfChars.
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof SequenceDto
|
|
34
|
-
*/
|
|
35
|
-
'fillString': string;
|
|
36
|
-
/**
|
|
37
|
-
* Optional text prepended to every generated number.
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof SequenceDto
|
|
40
|
-
*/
|
|
41
|
-
'prefix'?: string;
|
|
42
|
-
/**
|
|
43
|
-
* Optional text appended to every generated number.
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof SequenceDto
|
|
46
|
-
*/
|
|
47
|
-
'suffix'?: string;
|
|
48
|
-
/**
|
|
49
|
-
* Optional inclusive upper bound of the sequence. This is the highest number that can be generated, not the total count of unique numbers. When set, must be greater than or equal to start.
|
|
50
|
-
* @type {number}
|
|
51
|
-
* @memberof SequenceDto
|
|
52
|
-
*/
|
|
53
|
-
'maximum'?: number;
|
|
54
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* EMIL Number Generator Service
|
|
6
|
-
* The EMIL Number Generator Service API is a robust tool designed to generate unique and structured entity numbers like policies, accounts, invoices, and other entities. This API streamlines the process of creating distinct identifiers for various business objects.
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0
|
|
9
|
-
* Contact: kontakt@emil.de
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
package/models/list-dto.ts
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* EMIL Number Generator Service
|
|
5
|
-
* The EMIL Number Generator Service API is a robust tool designed to generate unique and structured entity numbers like policies, accounts, invoices, and other entities. This API streamlines the process of creating distinct identifiers for various business objects.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0
|
|
8
|
-
* Contact: kontakt@emil.de
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
*
|
|
19
|
-
* @export
|
|
20
|
-
* @interface ListDto
|
|
21
|
-
*/
|
|
22
|
-
export interface ListDto {
|
|
23
|
-
/**
|
|
24
|
-
* Array of string items for the list number generator
|
|
25
|
-
* @type {Array<string>}
|
|
26
|
-
* @memberof ListDto
|
|
27
|
-
*/
|
|
28
|
-
'items': Array<string>;
|
|
29
|
-
}
|
|
30
|
-
|
package/models/random-dto.ts
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* EMIL Number Generator Service
|
|
5
|
-
* The EMIL Number Generator Service API is a robust tool designed to generate unique and structured entity numbers like policies, accounts, invoices, and other entities. This API streamlines the process of creating distinct identifiers for various business objects.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0
|
|
8
|
-
* Contact: kontakt@emil.de
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
*
|
|
19
|
-
* @export
|
|
20
|
-
* @interface RandomDto
|
|
21
|
-
*/
|
|
22
|
-
export interface RandomDto {
|
|
23
|
-
/**
|
|
24
|
-
* The number of characters in the random number
|
|
25
|
-
* @type {number}
|
|
26
|
-
* @memberof RandomDto
|
|
27
|
-
*/
|
|
28
|
-
'countOfChars': number;
|
|
29
|
-
/**
|
|
30
|
-
* The custom alphabet for the random number
|
|
31
|
-
* @type {string}
|
|
32
|
-
* @memberof RandomDto
|
|
33
|
-
*/
|
|
34
|
-
'customAlphabet'?: string;
|
|
35
|
-
/**
|
|
36
|
-
* The prefix of the random number
|
|
37
|
-
* @type {string}
|
|
38
|
-
* @memberof RandomDto
|
|
39
|
-
*/
|
|
40
|
-
'prefix'?: string;
|
|
41
|
-
/**
|
|
42
|
-
* The suffix of the random number
|
|
43
|
-
* @type {string}
|
|
44
|
-
* @memberof RandomDto
|
|
45
|
-
*/
|
|
46
|
-
'suffix'?: string;
|
|
47
|
-
}
|
|
48
|
-
|
package/models/sequence-dto.ts
DELETED
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* EMIL Number Generator Service
|
|
5
|
-
* The EMIL Number Generator Service API is a robust tool designed to generate unique and structured entity numbers like policies, accounts, invoices, and other entities. This API streamlines the process of creating distinct identifiers for various business objects.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0
|
|
8
|
-
* Contact: kontakt@emil.de
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
*
|
|
19
|
-
* @export
|
|
20
|
-
* @interface SequenceDto
|
|
21
|
-
*/
|
|
22
|
-
export interface SequenceDto {
|
|
23
|
-
/**
|
|
24
|
-
* The first value the sequence generates (inclusive lower bound). Must be at least 1.
|
|
25
|
-
* @type {number}
|
|
26
|
-
* @memberof SequenceDto
|
|
27
|
-
*/
|
|
28
|
-
'start': number;
|
|
29
|
-
/**
|
|
30
|
-
* Minimum width of the numeric part. Shorter values are left-padded using fillString.
|
|
31
|
-
* @type {number}
|
|
32
|
-
* @memberof SequenceDto
|
|
33
|
-
*/
|
|
34
|
-
'countOfChars': number;
|
|
35
|
-
/**
|
|
36
|
-
* Single character used to left-pad the numeric part up to countOfChars.
|
|
37
|
-
* @type {string}
|
|
38
|
-
* @memberof SequenceDto
|
|
39
|
-
*/
|
|
40
|
-
'fillString': string;
|
|
41
|
-
/**
|
|
42
|
-
* Optional text prepended to every generated number.
|
|
43
|
-
* @type {string}
|
|
44
|
-
* @memberof SequenceDto
|
|
45
|
-
*/
|
|
46
|
-
'prefix'?: string;
|
|
47
|
-
/**
|
|
48
|
-
* Optional text appended to every generated number.
|
|
49
|
-
* @type {string}
|
|
50
|
-
* @memberof SequenceDto
|
|
51
|
-
*/
|
|
52
|
-
'suffix'?: string;
|
|
53
|
-
/**
|
|
54
|
-
* Optional inclusive upper bound of the sequence. This is the highest number that can be generated, not the total count of unique numbers. When set, must be greater than or equal to start.
|
|
55
|
-
* @type {number}
|
|
56
|
-
* @memberof SequenceDto
|
|
57
|
-
*/
|
|
58
|
-
'maximum'?: number;
|
|
59
|
-
}
|
|
60
|
-
|