@jprogrami/mobbcadona 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/.openapi-generator/FILES +18 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator/openapi.yaml-generate-sdk-typescript.sha256 +1 -0
  4. package/.openapi-generator-ignore +23 -0
  5. package/README.md +46 -0
  6. package/dist/apis/AuthenticationApi.d.ts +40 -0
  7. package/dist/apis/AuthenticationApi.js +168 -0
  8. package/dist/apis/InventoriesApi.d.ts +52 -0
  9. package/dist/apis/InventoriesApi.js +239 -0
  10. package/dist/apis/ProductsApi.d.ts +110 -0
  11. package/dist/apis/ProductsApi.js +515 -0
  12. package/dist/apis/index.d.ts +3 -0
  13. package/dist/apis/index.js +21 -0
  14. package/dist/index.d.ts +3 -0
  15. package/dist/index.js +21 -0
  16. package/dist/models/Inventory.d.ts +37 -0
  17. package/dist/models/Inventory.js +47 -0
  18. package/dist/models/LoginRequest.d.ts +37 -0
  19. package/dist/models/LoginRequest.js +47 -0
  20. package/dist/models/ProblemDetail.d.ts +55 -0
  21. package/dist/models/ProblemDetail.js +53 -0
  22. package/dist/models/Product.d.ts +49 -0
  23. package/dist/models/Product.js +55 -0
  24. package/dist/models/ProductDto.d.ts +43 -0
  25. package/dist/models/ProductDto.js +49 -0
  26. package/dist/models/RegisterRequest.d.ts +43 -0
  27. package/dist/models/RegisterRequest.js +49 -0
  28. package/dist/models/index.d.ts +6 -0
  29. package/dist/models/index.js +24 -0
  30. package/dist/runtime.d.ts +181 -0
  31. package/dist/runtime.js +557 -0
  32. package/package.json +19 -0
  33. package/src/apis/AuthenticationApi.ts +114 -0
  34. package/src/apis/InventoriesApi.ts +170 -0
  35. package/src/apis/ProductsApi.ts +431 -0
  36. package/src/apis/index.ts +5 -0
  37. package/src/index.ts +5 -0
  38. package/src/models/Inventory.ts +68 -0
  39. package/src/models/LoginRequest.ts +68 -0
  40. package/src/models/ProblemDetail.ts +92 -0
  41. package/src/models/Product.ts +86 -0
  42. package/src/models/ProductDto.ts +76 -0
  43. package/src/models/RegisterRequest.ts +76 -0
  44. package/src/models/index.ts +8 -0
  45. package/src/runtime.ts +426 -0
  46. package/tsconfig.json +20 -0
package/dist/index.js ADDED
@@ -0,0 +1,21 @@
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
+ /* tslint:disable */
18
+ /* eslint-disable */
19
+ __exportStar(require("./runtime"), exports);
20
+ __exportStar(require("./apis/index"), exports);
21
+ __exportStar(require("./models/index"), exports);
@@ -0,0 +1,37 @@
1
+ /**
2
+ * Inventory Management API
3
+ * RESTful API for inventory and product management, secured with JWT.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
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 Inventory
16
+ */
17
+ export interface Inventory {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof Inventory
22
+ */
23
+ id?: number;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof Inventory
28
+ */
29
+ name?: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the Inventory interface.
33
+ */
34
+ export declare function instanceOfInventory(value: object): boolean;
35
+ export declare function InventoryFromJSON(json: any): Inventory;
36
+ export declare function InventoryFromJSONTyped(json: any, ignoreDiscriminator: boolean): Inventory;
37
+ export declare function InventoryToJSON(value?: Inventory | null): any;
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Inventory Management API
6
+ * RESTful API for inventory and product management, secured with JWT.
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
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 });
16
+ exports.InventoryToJSON = exports.InventoryFromJSONTyped = exports.InventoryFromJSON = exports.instanceOfInventory = void 0;
17
+ /**
18
+ * Check if a given object implements the Inventory interface.
19
+ */
20
+ function instanceOfInventory(value) {
21
+ return true;
22
+ }
23
+ exports.instanceOfInventory = instanceOfInventory;
24
+ function InventoryFromJSON(json) {
25
+ return InventoryFromJSONTyped(json, false);
26
+ }
27
+ exports.InventoryFromJSON = InventoryFromJSON;
28
+ function InventoryFromJSONTyped(json, ignoreDiscriminator) {
29
+ if (json == null) {
30
+ return json;
31
+ }
32
+ return {
33
+ 'id': json['id'] == null ? undefined : json['id'],
34
+ 'name': json['name'] == null ? undefined : json['name'],
35
+ };
36
+ }
37
+ exports.InventoryFromJSONTyped = InventoryFromJSONTyped;
38
+ function InventoryToJSON(value) {
39
+ if (value == null) {
40
+ return value;
41
+ }
42
+ return {
43
+ 'id': value['id'],
44
+ 'name': value['name'],
45
+ };
46
+ }
47
+ exports.InventoryToJSON = InventoryToJSON;
@@ -0,0 +1,37 @@
1
+ /**
2
+ * Inventory Management API
3
+ * RESTful API for inventory and product management, secured with JWT.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
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 LoginRequest
16
+ */
17
+ export interface LoginRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof LoginRequest
22
+ */
23
+ username?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof LoginRequest
28
+ */
29
+ password?: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the LoginRequest interface.
33
+ */
34
+ export declare function instanceOfLoginRequest(value: object): boolean;
35
+ export declare function LoginRequestFromJSON(json: any): LoginRequest;
36
+ export declare function LoginRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): LoginRequest;
37
+ export declare function LoginRequestToJSON(value?: LoginRequest | null): any;
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Inventory Management API
6
+ * RESTful API for inventory and product management, secured with JWT.
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
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 });
16
+ exports.LoginRequestToJSON = exports.LoginRequestFromJSONTyped = exports.LoginRequestFromJSON = exports.instanceOfLoginRequest = void 0;
17
+ /**
18
+ * Check if a given object implements the LoginRequest interface.
19
+ */
20
+ function instanceOfLoginRequest(value) {
21
+ return true;
22
+ }
23
+ exports.instanceOfLoginRequest = instanceOfLoginRequest;
24
+ function LoginRequestFromJSON(json) {
25
+ return LoginRequestFromJSONTyped(json, false);
26
+ }
27
+ exports.LoginRequestFromJSON = LoginRequestFromJSON;
28
+ function LoginRequestFromJSONTyped(json, ignoreDiscriminator) {
29
+ if (json == null) {
30
+ return json;
31
+ }
32
+ return {
33
+ 'username': json['username'] == null ? undefined : json['username'],
34
+ 'password': json['password'] == null ? undefined : json['password'],
35
+ };
36
+ }
37
+ exports.LoginRequestFromJSONTyped = LoginRequestFromJSONTyped;
38
+ function LoginRequestToJSON(value) {
39
+ if (value == null) {
40
+ return value;
41
+ }
42
+ return {
43
+ 'username': value['username'],
44
+ 'password': value['password'],
45
+ };
46
+ }
47
+ exports.LoginRequestToJSON = LoginRequestToJSON;
@@ -0,0 +1,55 @@
1
+ /**
2
+ * Inventory Management API
3
+ * RESTful API for inventory and product management, secured with JWT.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
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 ProblemDetail
16
+ */
17
+ export interface ProblemDetail {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ProblemDetail
22
+ */
23
+ type?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof ProblemDetail
28
+ */
29
+ title?: string;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof ProblemDetail
34
+ */
35
+ status?: number;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof ProblemDetail
40
+ */
41
+ detail?: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof ProblemDetail
46
+ */
47
+ instance?: string;
48
+ }
49
+ /**
50
+ * Check if a given object implements the ProblemDetail interface.
51
+ */
52
+ export declare function instanceOfProblemDetail(value: object): boolean;
53
+ export declare function ProblemDetailFromJSON(json: any): ProblemDetail;
54
+ export declare function ProblemDetailFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProblemDetail;
55
+ export declare function ProblemDetailToJSON(value?: ProblemDetail | null): any;
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Inventory Management API
6
+ * RESTful API for inventory and product management, secured with JWT.
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
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 });
16
+ exports.ProblemDetailToJSON = exports.ProblemDetailFromJSONTyped = exports.ProblemDetailFromJSON = exports.instanceOfProblemDetail = void 0;
17
+ /**
18
+ * Check if a given object implements the ProblemDetail interface.
19
+ */
20
+ function instanceOfProblemDetail(value) {
21
+ return true;
22
+ }
23
+ exports.instanceOfProblemDetail = instanceOfProblemDetail;
24
+ function ProblemDetailFromJSON(json) {
25
+ return ProblemDetailFromJSONTyped(json, false);
26
+ }
27
+ exports.ProblemDetailFromJSON = ProblemDetailFromJSON;
28
+ function ProblemDetailFromJSONTyped(json, ignoreDiscriminator) {
29
+ if (json == null) {
30
+ return json;
31
+ }
32
+ return {
33
+ 'type': json['type'] == null ? undefined : json['type'],
34
+ 'title': json['title'] == null ? undefined : json['title'],
35
+ 'status': json['status'] == null ? undefined : json['status'],
36
+ 'detail': json['detail'] == null ? undefined : json['detail'],
37
+ 'instance': json['instance'] == null ? undefined : json['instance'],
38
+ };
39
+ }
40
+ exports.ProblemDetailFromJSONTyped = ProblemDetailFromJSONTyped;
41
+ function ProblemDetailToJSON(value) {
42
+ if (value == null) {
43
+ return value;
44
+ }
45
+ return {
46
+ 'type': value['type'],
47
+ 'title': value['title'],
48
+ 'status': value['status'],
49
+ 'detail': value['detail'],
50
+ 'instance': value['instance'],
51
+ };
52
+ }
53
+ exports.ProblemDetailToJSON = ProblemDetailToJSON;
@@ -0,0 +1,49 @@
1
+ /**
2
+ * Inventory Management API
3
+ * RESTful API for inventory and product management, secured with JWT.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
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 Product
16
+ */
17
+ export interface Product {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof Product
22
+ */
23
+ id?: number;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof Product
28
+ */
29
+ name: string;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof Product
34
+ */
35
+ price: number;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof Product
40
+ */
41
+ weight?: number;
42
+ }
43
+ /**
44
+ * Check if a given object implements the Product interface.
45
+ */
46
+ export declare function instanceOfProduct(value: object): boolean;
47
+ export declare function ProductFromJSON(json: any): Product;
48
+ export declare function ProductFromJSONTyped(json: any, ignoreDiscriminator: boolean): Product;
49
+ export declare function ProductToJSON(value?: Product | null): any;
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Inventory Management API
6
+ * RESTful API for inventory and product management, secured with JWT.
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
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 });
16
+ exports.ProductToJSON = exports.ProductFromJSONTyped = exports.ProductFromJSON = exports.instanceOfProduct = void 0;
17
+ /**
18
+ * Check if a given object implements the Product interface.
19
+ */
20
+ function instanceOfProduct(value) {
21
+ if (!('name' in value))
22
+ return false;
23
+ if (!('price' in value))
24
+ return false;
25
+ return true;
26
+ }
27
+ exports.instanceOfProduct = instanceOfProduct;
28
+ function ProductFromJSON(json) {
29
+ return ProductFromJSONTyped(json, false);
30
+ }
31
+ exports.ProductFromJSON = ProductFromJSON;
32
+ function ProductFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'id': json['id'] == null ? undefined : json['id'],
38
+ 'name': json['name'],
39
+ 'price': json['price'],
40
+ 'weight': json['weight'] == null ? undefined : json['weight'],
41
+ };
42
+ }
43
+ exports.ProductFromJSONTyped = ProductFromJSONTyped;
44
+ function ProductToJSON(value) {
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'id': value['id'],
50
+ 'name': value['name'],
51
+ 'price': value['price'],
52
+ 'weight': value['weight'],
53
+ };
54
+ }
55
+ exports.ProductToJSON = ProductToJSON;
@@ -0,0 +1,43 @@
1
+ /**
2
+ * Inventory Management API
3
+ * RESTful API for inventory and product management, secured with JWT.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
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 ProductDto
16
+ */
17
+ export interface ProductDto {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ProductDto
22
+ */
23
+ name?: string;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof ProductDto
28
+ */
29
+ price?: number;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof ProductDto
34
+ */
35
+ weight?: number;
36
+ }
37
+ /**
38
+ * Check if a given object implements the ProductDto interface.
39
+ */
40
+ export declare function instanceOfProductDto(value: object): boolean;
41
+ export declare function ProductDtoFromJSON(json: any): ProductDto;
42
+ export declare function ProductDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductDto;
43
+ export declare function ProductDtoToJSON(value?: ProductDto | null): any;
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Inventory Management API
6
+ * RESTful API for inventory and product management, secured with JWT.
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
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 });
16
+ exports.ProductDtoToJSON = exports.ProductDtoFromJSONTyped = exports.ProductDtoFromJSON = exports.instanceOfProductDto = void 0;
17
+ /**
18
+ * Check if a given object implements the ProductDto interface.
19
+ */
20
+ function instanceOfProductDto(value) {
21
+ return true;
22
+ }
23
+ exports.instanceOfProductDto = instanceOfProductDto;
24
+ function ProductDtoFromJSON(json) {
25
+ return ProductDtoFromJSONTyped(json, false);
26
+ }
27
+ exports.ProductDtoFromJSON = ProductDtoFromJSON;
28
+ function ProductDtoFromJSONTyped(json, ignoreDiscriminator) {
29
+ if (json == null) {
30
+ return json;
31
+ }
32
+ return {
33
+ 'name': json['name'] == null ? undefined : json['name'],
34
+ 'price': json['price'] == null ? undefined : json['price'],
35
+ 'weight': json['weight'] == null ? undefined : json['weight'],
36
+ };
37
+ }
38
+ exports.ProductDtoFromJSONTyped = ProductDtoFromJSONTyped;
39
+ function ProductDtoToJSON(value) {
40
+ if (value == null) {
41
+ return value;
42
+ }
43
+ return {
44
+ 'name': value['name'],
45
+ 'price': value['price'],
46
+ 'weight': value['weight'],
47
+ };
48
+ }
49
+ exports.ProductDtoToJSON = ProductDtoToJSON;
@@ -0,0 +1,43 @@
1
+ /**
2
+ * Inventory Management API
3
+ * RESTful API for inventory and product management, secured with JWT.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
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 RegisterRequest
16
+ */
17
+ export interface RegisterRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof RegisterRequest
22
+ */
23
+ username?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof RegisterRequest
28
+ */
29
+ password?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof RegisterRequest
34
+ */
35
+ role?: string;
36
+ }
37
+ /**
38
+ * Check if a given object implements the RegisterRequest interface.
39
+ */
40
+ export declare function instanceOfRegisterRequest(value: object): boolean;
41
+ export declare function RegisterRequestFromJSON(json: any): RegisterRequest;
42
+ export declare function RegisterRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RegisterRequest;
43
+ export declare function RegisterRequestToJSON(value?: RegisterRequest | null): any;
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Inventory Management API
6
+ * RESTful API for inventory and product management, secured with JWT.
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
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 });
16
+ exports.RegisterRequestToJSON = exports.RegisterRequestFromJSONTyped = exports.RegisterRequestFromJSON = exports.instanceOfRegisterRequest = void 0;
17
+ /**
18
+ * Check if a given object implements the RegisterRequest interface.
19
+ */
20
+ function instanceOfRegisterRequest(value) {
21
+ return true;
22
+ }
23
+ exports.instanceOfRegisterRequest = instanceOfRegisterRequest;
24
+ function RegisterRequestFromJSON(json) {
25
+ return RegisterRequestFromJSONTyped(json, false);
26
+ }
27
+ exports.RegisterRequestFromJSON = RegisterRequestFromJSON;
28
+ function RegisterRequestFromJSONTyped(json, ignoreDiscriminator) {
29
+ if (json == null) {
30
+ return json;
31
+ }
32
+ return {
33
+ 'username': json['username'] == null ? undefined : json['username'],
34
+ 'password': json['password'] == null ? undefined : json['password'],
35
+ 'role': json['role'] == null ? undefined : json['role'],
36
+ };
37
+ }
38
+ exports.RegisterRequestFromJSONTyped = RegisterRequestFromJSONTyped;
39
+ function RegisterRequestToJSON(value) {
40
+ if (value == null) {
41
+ return value;
42
+ }
43
+ return {
44
+ 'username': value['username'],
45
+ 'password': value['password'],
46
+ 'role': value['role'],
47
+ };
48
+ }
49
+ exports.RegisterRequestToJSON = RegisterRequestToJSON;
@@ -0,0 +1,6 @@
1
+ export * from './Inventory';
2
+ export * from './LoginRequest';
3
+ export * from './ProblemDetail';
4
+ export * from './Product';
5
+ export * from './ProductDto';
6
+ export * from './RegisterRequest';
@@ -0,0 +1,24 @@
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
+ /* tslint:disable */
18
+ /* eslint-disable */
19
+ __exportStar(require("./Inventory"), exports);
20
+ __exportStar(require("./LoginRequest"), exports);
21
+ __exportStar(require("./ProblemDetail"), exports);
22
+ __exportStar(require("./Product"), exports);
23
+ __exportStar(require("./ProductDto"), exports);
24
+ __exportStar(require("./RegisterRequest"), exports);