@emilgroup/numbergenerator-sdk 1.5.1-beta.19 → 1.5.1-beta.20

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.
@@ -16,9 +16,12 @@ 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
19
20
  models/list-numbers-response-class.ts
20
21
  models/lookup-number-request-dto.ts
22
+ models/random-dto.ts
21
23
  models/reset-number-request-dto.ts
24
+ models/sequence-dto.ts
22
25
  models/update-number-response-class.ts
23
26
  package.json
24
27
  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.19 --save
20
+ npm install @emilgroup/numbergenerator-sdk@1.5.1-beta.20 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/numbergenerator-sdk@1.5.1-beta.19
24
+ yarn add @emilgroup/numbergenerator-sdk@1.5.1-beta.20
25
25
  ```
26
26
 
27
27
  And then you can import `NumbersApi`.
@@ -25,12 +25,18 @@ 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
28
30
  import { ListNumbersResponseClass } from '../models';
29
31
  // @ts-ignore
30
32
  import { LookupNumberRequestDto } from '../models';
31
33
  // @ts-ignore
34
+ import { RandomDto } from '../models';
35
+ // @ts-ignore
32
36
  import { ResetNumberRequestDto } from '../models';
33
37
  // @ts-ignore
38
+ import { SequenceDto } from '../models';
39
+ // @ts-ignore
34
40
  import { UpdateNumberResponseClass } from '../models';
35
41
  /**
36
42
  * NumbersApi - axios parameter creator
@@ -43,12 +49,12 @@ export const NumbersApiAxiosParamCreator = function (configuration?: Configurati
43
49
  * @summary Create the number
44
50
  * @param {string} slug The slug of the number
45
51
  * @param {string} type The type of number generator. This determines the structure of the config object.
46
- * @param {object} config Configuration object that varies based on the type field
52
+ * @param {SequenceDto | ListDto | RandomDto} config Configuration object. Structure depends on type: sequence - SequenceDto, list - ListDto, random - RandomDto.
47
53
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
48
54
  * @param {*} [options] Override http request option.
49
55
  * @throws {RequiredError}
50
56
  */
51
- createNumber: async (slug: string, type: string, config: object, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
57
+ createNumber: async (slug: string, type: string, config: SequenceDto | ListDto | RandomDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
52
58
  // verify required parameter 'slug' is not null or undefined
53
59
  assertParamExists('createNumber', 'slug', slug)
54
60
  // verify required parameter 'type' is not null or undefined
@@ -386,12 +392,12 @@ export const NumbersApiFp = function(configuration?: Configuration) {
386
392
  * @summary Create the number
387
393
  * @param {string} slug The slug of the number
388
394
  * @param {string} type The type of number generator. This determines the structure of the config object.
389
- * @param {object} config Configuration object that varies based on the type field
395
+ * @param {SequenceDto | ListDto | RandomDto} config Configuration object. Structure depends on type: sequence - SequenceDto, list - ListDto, random - RandomDto.
390
396
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
391
397
  * @param {*} [options] Override http request option.
392
398
  * @throws {RequiredError}
393
399
  */
394
- async createNumber(slug: string, type: string, config: object, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateNumberResponseClass>> {
400
+ async createNumber(slug: string, type: string, config: SequenceDto | ListDto | RandomDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateNumberResponseClass>> {
395
401
  const localVarAxiosArgs = await localVarAxiosParamCreator.createNumber(slug, type, config, authorization, options);
396
402
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
397
403
  },
@@ -477,12 +483,12 @@ export const NumbersApiFactory = function (configuration?: Configuration, basePa
477
483
  * @summary Create the number
478
484
  * @param {string} slug The slug of the number
479
485
  * @param {string} type The type of number generator. This determines the structure of the config object.
480
- * @param {object} config Configuration object that varies based on the type field
486
+ * @param {SequenceDto | ListDto | RandomDto} config Configuration object. Structure depends on type: sequence - SequenceDto, list - ListDto, random - RandomDto.
481
487
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
482
488
  * @param {*} [options] Override http request option.
483
489
  * @throws {RequiredError}
484
490
  */
485
- createNumber(slug: string, type: string, config: object, authorization?: string, options?: any): AxiosPromise<CreateNumberResponseClass> {
491
+ createNumber(slug: string, type: string, config: SequenceDto | ListDto | RandomDto, authorization?: string, options?: any): AxiosPromise<CreateNumberResponseClass> {
486
492
  return localVarFp.createNumber(slug, type, config, authorization, options).then((request) => request(axios, basePath));
487
493
  },
488
494
  /**
@@ -571,11 +577,11 @@ export interface NumbersApiCreateNumberRequest {
571
577
  readonly type: string
572
578
 
573
579
  /**
574
- * Configuration object that varies based on the type field
575
- * @type {object}
580
+ * Configuration object. Structure depends on type: sequence - SequenceDto, list - ListDto, random - RandomDto.
581
+ * @type {SequenceDto | ListDto | RandomDto}
576
582
  * @memberof NumbersApiCreateNumber
577
583
  */
578
- readonly config: object
584
+ readonly config: SequenceDto | ListDto | RandomDto
579
585
 
580
586
  /**
581
587
  * Bearer Token: provided by the login endpoint under the name accessToken.
@@ -14,9 +14,12 @@ 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';
17
18
  import { ListNumbersResponseClass } from '../models';
18
19
  import { LookupNumberRequestDto } from '../models';
20
+ import { RandomDto } from '../models';
19
21
  import { ResetNumberRequestDto } from '../models';
22
+ import { SequenceDto } from '../models';
20
23
  import { UpdateNumberResponseClass } from '../models';
21
24
  /**
22
25
  * NumbersApi - axios parameter creator
@@ -28,12 +31,12 @@ export declare const NumbersApiAxiosParamCreator: (configuration?: Configuration
28
31
  * @summary Create the number
29
32
  * @param {string} slug The slug of the number
30
33
  * @param {string} type The type of number generator. This determines the structure of the config object.
31
- * @param {object} config Configuration object that varies based on the type field
34
+ * @param {SequenceDto | ListDto | RandomDto} config Configuration object. Structure depends on type: sequence - SequenceDto, list - ListDto, random - RandomDto.
32
35
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
33
36
  * @param {*} [options] Override http request option.
34
37
  * @throws {RequiredError}
35
38
  */
36
- createNumber: (slug: string, type: string, config: object, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
39
+ createNumber: (slug: string, type: string, config: SequenceDto | ListDto | RandomDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
37
40
  /**
38
41
  * 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.
39
42
  * @summary Retrieve the number
@@ -97,12 +100,12 @@ export declare const NumbersApiFp: (configuration?: Configuration) => {
97
100
  * @summary Create the number
98
101
  * @param {string} slug The slug of the number
99
102
  * @param {string} type The type of number generator. This determines the structure of the config object.
100
- * @param {object} config Configuration object that varies based on the type field
103
+ * @param {SequenceDto | ListDto | RandomDto} config Configuration object. Structure depends on type: sequence - SequenceDto, list - ListDto, random - RandomDto.
101
104
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
102
105
  * @param {*} [options] Override http request option.
103
106
  * @throws {RequiredError}
104
107
  */
105
- createNumber(slug: string, type: string, config: object, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateNumberResponseClass>>;
108
+ createNumber(slug: string, type: string, config: SequenceDto | ListDto | RandomDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateNumberResponseClass>>;
106
109
  /**
107
110
  * 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.
108
111
  * @summary Retrieve the number
@@ -166,12 +169,12 @@ export declare const NumbersApiFactory: (configuration?: Configuration, basePath
166
169
  * @summary Create the number
167
170
  * @param {string} slug The slug of the number
168
171
  * @param {string} type The type of number generator. This determines the structure of the config object.
169
- * @param {object} config Configuration object that varies based on the type field
172
+ * @param {SequenceDto | ListDto | RandomDto} config Configuration object. Structure depends on type: sequence - SequenceDto, list - ListDto, random - RandomDto.
170
173
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
171
174
  * @param {*} [options] Override http request option.
172
175
  * @throws {RequiredError}
173
176
  */
174
- createNumber(slug: string, type: string, config: object, authorization?: string, options?: any): AxiosPromise<CreateNumberResponseClass>;
177
+ createNumber(slug: string, type: string, config: SequenceDto | ListDto | RandomDto, authorization?: string, options?: any): AxiosPromise<CreateNumberResponseClass>;
175
178
  /**
176
179
  * 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.
177
180
  * @summary Retrieve the number
@@ -244,11 +247,11 @@ export interface NumbersApiCreateNumberRequest {
244
247
  */
245
248
  readonly type: string;
246
249
  /**
247
- * Configuration object that varies based on the type field
248
- * @type {object}
250
+ * Configuration object. Structure depends on type: sequence - SequenceDto, list - ListDto, random - RandomDto.
251
+ * @type {SequenceDto | ListDto | RandomDto}
249
252
  * @memberof NumbersApiCreateNumber
250
253
  */
251
- readonly config: object;
254
+ readonly config: SequenceDto | ListDto | RandomDto;
252
255
  /**
253
256
  * Bearer Token: provided by the login endpoint under the name accessToken.
254
257
  * @type {string}
@@ -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 {object} config Configuration object that varies based on the type field
100
+ * @param {SequenceDto | ListDto | RandomDto} config Configuration object. Structure depends on type: sequence - SequenceDto, list - ListDto, random - RandomDto.
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 {object} config Configuration object that varies based on the type field
446
+ * @param {SequenceDto | ListDto | RandomDto} config Configuration object. Structure depends on type: sequence - SequenceDto, list - ListDto, random - RandomDto.
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 {object} config Configuration object that varies based on the type field
591
+ * @param {SequenceDto | ListDto | RandomDto} config Configuration object. Structure depends on type: sequence - SequenceDto, list - ListDto, random - RandomDto.
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}
@@ -9,6 +9,9 @@
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';
12
15
  /**
13
16
  *
14
17
  * @export
@@ -41,10 +44,10 @@ export interface EntityNumberClass {
41
44
  'type': EntityNumberClassTypeEnum;
42
45
  /**
43
46
  * Entity number configuration.
44
- * @type {object}
47
+ * @type {SequenceDto | ListDto | RandomDto}
45
48
  * @memberof EntityNumberClass
46
49
  */
47
- 'configuration': object;
50
+ 'configuration': SequenceDto | ListDto | RandomDto;
48
51
  /**
49
52
  * Entity number statistics.
50
53
  * @type {object}
@@ -3,7 +3,10 @@ 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';
6
7
  export * from './list-numbers-response-class';
7
8
  export * from './lookup-number-request-dto';
9
+ export * from './random-dto';
8
10
  export * from './reset-number-request-dto';
11
+ export * from './sequence-dto';
9
12
  export * from './update-number-response-class';
@@ -19,7 +19,10 @@ __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);
22
23
  __exportStar(require("./list-numbers-response-class"), exports);
23
24
  __exportStar(require("./lookup-number-request-dto"), exports);
25
+ __exportStar(require("./random-dto"), exports);
24
26
  __exportStar(require("./reset-number-request-dto"), exports);
27
+ __exportStar(require("./sequence-dto"), exports);
25
28
  __exportStar(require("./update-number-response-class"), exports);
@@ -0,0 +1,24 @@
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
+ }
@@ -0,0 +1,15 @@
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 });
@@ -0,0 +1,42 @@
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
+ }
@@ -0,0 +1,15 @@
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 });
@@ -0,0 +1,54 @@
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
+ }
@@ -0,0 +1,15 @@
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 });
@@ -13,6 +13,9 @@
13
13
  */
14
14
 
15
15
 
16
+ import { ListDto } from './list-dto';
17
+ import { RandomDto } from './random-dto';
18
+ import { SequenceDto } from './sequence-dto';
16
19
 
17
20
  /**
18
21
  *
@@ -46,10 +49,10 @@ export interface EntityNumberClass {
46
49
  'type': EntityNumberClassTypeEnum;
47
50
  /**
48
51
  * Entity number configuration.
49
- * @type {object}
52
+ * @type {SequenceDto | ListDto | RandomDto}
50
53
  * @memberof EntityNumberClass
51
54
  */
52
- 'configuration': object;
55
+ 'configuration': SequenceDto | ListDto | RandomDto;
53
56
  /**
54
57
  * Entity number statistics.
55
58
  * @type {object}
package/models/index.ts CHANGED
@@ -3,7 +3,10 @@ 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';
6
7
  export * from './list-numbers-response-class';
7
8
  export * from './lookup-number-request-dto';
9
+ export * from './random-dto';
8
10
  export * from './reset-number-request-dto';
11
+ export * from './sequence-dto';
9
12
  export * from './update-number-response-class';
@@ -0,0 +1,30 @@
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
+
@@ -0,0 +1,48 @@
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
+
@@ -0,0 +1,60 @@
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
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/numbergenerator-sdk",
3
- "version": "1.5.1-beta.19",
3
+ "version": "1.5.1-beta.20",
4
4
  "description": "OpenAPI client for @emilgroup/numbergenerator-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [