@digital8/laravel-auth-template-ts-sdk 0.0.2 → 0.0.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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @digital8/laravel-auth-template-ts-sdk@0.0.2
1
+ ## @digital8/laravel-auth-template-ts-sdk@0.0.4
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @digital8/laravel-auth-template-ts-sdk@0.0.2 --save
39
+ npm install @digital8/laravel-auth-template-ts-sdk@0.0.4 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -26,13 +26,13 @@ export interface IndexUserRequest {
26
26
  * @type {string}
27
27
  * @memberof IndexUserRequest
28
28
  */
29
- sortBy?: IndexUserRequestSortByEnum;
29
+ sortBy?: string;
30
30
  /**
31
31
  *
32
32
  * @type {string}
33
33
  * @memberof IndexUserRequest
34
34
  */
35
- sortDirection?: IndexUserRequestSortDirectionEnum;
35
+ sortDirection?: string;
36
36
  /**
37
37
  *
38
38
  * @type {string}
@@ -40,24 +40,6 @@ export interface IndexUserRequest {
40
40
  */
41
41
  perPage?: string;
42
42
  }
43
- /**
44
- * @export
45
- */
46
- export declare const IndexUserRequestSortByEnum: {
47
- readonly FirstName: "first_name";
48
- readonly LastName: "last_name";
49
- readonly Email: "email";
50
- readonly Mobile: "mobile";
51
- };
52
- export type IndexUserRequestSortByEnum = typeof IndexUserRequestSortByEnum[keyof typeof IndexUserRequestSortByEnum];
53
- /**
54
- * @export
55
- */
56
- export declare const IndexUserRequestSortDirectionEnum: {
57
- readonly Asc: "asc";
58
- readonly Desc: "desc";
59
- };
60
- export type IndexUserRequestSortDirectionEnum = typeof IndexUserRequestSortDirectionEnum[keyof typeof IndexUserRequestSortDirectionEnum];
61
43
  /**
62
44
  * Check if a given object implements the IndexUserRequest interface.
63
45
  */
@@ -13,28 +13,11 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.IndexUserRequestSortDirectionEnum = exports.IndexUserRequestSortByEnum = void 0;
17
16
  exports.instanceOfIndexUserRequest = instanceOfIndexUserRequest;
18
17
  exports.IndexUserRequestFromJSON = IndexUserRequestFromJSON;
19
18
  exports.IndexUserRequestFromJSONTyped = IndexUserRequestFromJSONTyped;
20
19
  exports.IndexUserRequestToJSON = IndexUserRequestToJSON;
21
20
  exports.IndexUserRequestToJSONTyped = IndexUserRequestToJSONTyped;
22
- /**
23
- * @export
24
- */
25
- exports.IndexUserRequestSortByEnum = {
26
- FirstName: 'first_name',
27
- LastName: 'last_name',
28
- Email: 'email',
29
- Mobile: 'mobile'
30
- };
31
- /**
32
- * @export
33
- */
34
- exports.IndexUserRequestSortDirectionEnum = {
35
- Asc: 'asc',
36
- Desc: 'desc'
37
- };
38
21
  /**
39
22
  * Check if a given object implements the IndexUserRequest interface.
40
23
  */
@@ -68,20 +68,8 @@ export interface UpdateUserRequest {
68
68
  * @type {string}
69
69
  * @memberof UpdateUserRequest
70
70
  */
71
- type: UpdateUserRequestTypeEnum;
71
+ type: string;
72
72
  }
73
- /**
74
- * @export
75
- */
76
- export declare const UpdateUserRequestTypeEnum: {
77
- readonly Owner: "owner";
78
- readonly Admin: "admin";
79
- readonly Manager: "manager";
80
- readonly Estimator: "estimator";
81
- readonly Supervisor: "supervisor";
82
- readonly Tradesman: "tradesman";
83
- };
84
- export type UpdateUserRequestTypeEnum = typeof UpdateUserRequestTypeEnum[keyof typeof UpdateUserRequestTypeEnum];
85
73
  /**
86
74
  * Check if a given object implements the UpdateUserRequest interface.
87
75
  */
@@ -13,23 +13,11 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.UpdateUserRequestTypeEnum = void 0;
17
16
  exports.instanceOfUpdateUserRequest = instanceOfUpdateUserRequest;
18
17
  exports.UpdateUserRequestFromJSON = UpdateUserRequestFromJSON;
19
18
  exports.UpdateUserRequestFromJSONTyped = UpdateUserRequestFromJSONTyped;
20
19
  exports.UpdateUserRequestToJSON = UpdateUserRequestToJSON;
21
20
  exports.UpdateUserRequestToJSONTyped = UpdateUserRequestToJSONTyped;
22
- /**
23
- * @export
24
- */
25
- exports.UpdateUserRequestTypeEnum = {
26
- Owner: 'owner',
27
- Admin: 'admin',
28
- Manager: 'manager',
29
- Estimator: 'estimator',
30
- Supervisor: 'supervisor',
31
- Tradesman: 'tradesman'
32
- };
33
21
  /**
34
22
  * Check if a given object implements the UpdateUserRequest interface.
35
23
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital8/laravel-auth-template-ts-sdk",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "description": "OpenAPI client for @digital8/laravel-auth-template-ts-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -30,13 +30,13 @@ export interface IndexUserRequest {
30
30
  * @type {string}
31
31
  * @memberof IndexUserRequest
32
32
  */
33
- sortBy?: IndexUserRequestSortByEnum;
33
+ sortBy?: string;
34
34
  /**
35
35
  *
36
36
  * @type {string}
37
37
  * @memberof IndexUserRequest
38
38
  */
39
- sortDirection?: IndexUserRequestSortDirectionEnum;
39
+ sortDirection?: string;
40
40
  /**
41
41
  *
42
42
  * @type {string}
@@ -45,28 +45,6 @@ export interface IndexUserRequest {
45
45
  perPage?: string;
46
46
  }
47
47
 
48
-
49
- /**
50
- * @export
51
- */
52
- export const IndexUserRequestSortByEnum = {
53
- FirstName: 'first_name',
54
- LastName: 'last_name',
55
- Email: 'email',
56
- Mobile: 'mobile'
57
- } as const;
58
- export type IndexUserRequestSortByEnum = typeof IndexUserRequestSortByEnum[keyof typeof IndexUserRequestSortByEnum];
59
-
60
- /**
61
- * @export
62
- */
63
- export const IndexUserRequestSortDirectionEnum = {
64
- Asc: 'asc',
65
- Desc: 'desc'
66
- } as const;
67
- export type IndexUserRequestSortDirectionEnum = typeof IndexUserRequestSortDirectionEnum[keyof typeof IndexUserRequestSortDirectionEnum];
68
-
69
-
70
48
  /**
71
49
  * Check if a given object implements the IndexUserRequest interface.
72
50
  */
@@ -72,24 +72,9 @@ export interface UpdateUserRequest {
72
72
  * @type {string}
73
73
  * @memberof UpdateUserRequest
74
74
  */
75
- type: UpdateUserRequestTypeEnum;
75
+ type: string;
76
76
  }
77
77
 
78
-
79
- /**
80
- * @export
81
- */
82
- export const UpdateUserRequestTypeEnum = {
83
- Owner: 'owner',
84
- Admin: 'admin',
85
- Manager: 'manager',
86
- Estimator: 'estimator',
87
- Supervisor: 'supervisor',
88
- Tradesman: 'tradesman'
89
- } as const;
90
- export type UpdateUserRequestTypeEnum = typeof UpdateUserRequestTypeEnum[keyof typeof UpdateUserRequestTypeEnum];
91
-
92
-
93
78
  /**
94
79
  * Check if a given object implements the UpdateUserRequest interface.
95
80
  */