@digital8/security-registers-backend-ts-sdk 0.0.3 → 0.0.5

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.
@@ -0,0 +1,73 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * My API
5
+ * API documentation for my Laravel app
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
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
+ import { mapValues } from '../runtime';
16
+ import type { SecurityCompanyResource } from './SecurityCompanyResource';
17
+ import {
18
+ SecurityCompanyResourceFromJSON,
19
+ SecurityCompanyResourceFromJSONTyped,
20
+ SecurityCompanyResourceToJSON,
21
+ SecurityCompanyResourceToJSONTyped,
22
+ } from './SecurityCompanyResource';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface SecurityCompanyResourceArrayResponse
28
+ */
29
+ export interface SecurityCompanyResourceArrayResponse {
30
+ /**
31
+ *
32
+ * @type {Array<SecurityCompanyResource>}
33
+ * @memberof SecurityCompanyResourceArrayResponse
34
+ */
35
+ data?: Array<SecurityCompanyResource>;
36
+ }
37
+
38
+ /**
39
+ * Check if a given object implements the SecurityCompanyResourceArrayResponse interface.
40
+ */
41
+ export function instanceOfSecurityCompanyResourceArrayResponse(value: object): value is SecurityCompanyResourceArrayResponse {
42
+ return true;
43
+ }
44
+
45
+ export function SecurityCompanyResourceArrayResponseFromJSON(json: any): SecurityCompanyResourceArrayResponse {
46
+ return SecurityCompanyResourceArrayResponseFromJSONTyped(json, false);
47
+ }
48
+
49
+ export function SecurityCompanyResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SecurityCompanyResourceArrayResponse {
50
+ if (json == null) {
51
+ return json;
52
+ }
53
+ return {
54
+
55
+ 'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(SecurityCompanyResourceFromJSON)),
56
+ };
57
+ }
58
+
59
+ export function SecurityCompanyResourceArrayResponseToJSON(json: any): SecurityCompanyResourceArrayResponse {
60
+ return SecurityCompanyResourceArrayResponseToJSONTyped(json, false);
61
+ }
62
+
63
+ export function SecurityCompanyResourceArrayResponseToJSONTyped(value?: SecurityCompanyResourceArrayResponse | null, ignoreDiscriminator: boolean = false): any {
64
+ if (value == null) {
65
+ return value;
66
+ }
67
+
68
+ return {
69
+
70
+ 'data': value['data'] == null ? undefined : ((value['data'] as Array<any>).map(SecurityCompanyResourceToJSON)),
71
+ };
72
+ }
73
+
@@ -2,7 +2,6 @@
2
2
  /* eslint-disable */
3
3
  export * from './AddressResource';
4
4
  export * from './AddressResourceArrayResponse';
5
- export * from './AdminRegisterRequest';
6
5
  export * from './AssetFileForUploadResource';
7
6
  export * from './AssetFileForUploadResourceArrayResponse';
8
7
  export * from './AssetLiteResource';
@@ -12,9 +11,13 @@ export * from './AssetResourceArrayResponse';
12
11
  export * from './GenericResponse';
13
12
  export * from './IndexUserRequest';
14
13
  export * from './LoginAuthRequest';
14
+ export * from './PaginatedSecurityCompanyResourceResponse';
15
15
  export * from './PaginatedUserResourceResponse';
16
16
  export * from './PagingMetadata';
17
17
  export * from './ResetPasswordAuthRequest';
18
+ export * from './SecurityCompaniesStoreRequest';
19
+ export * from './SecurityCompanyResource';
20
+ export * from './SecurityCompanyResourceArrayResponse';
18
21
  export * from './SendForgotPasswordLinkAuthRequest';
19
22
  export * from './StoreAssetFileRequest';
20
23
  export * from './StoreUserRequest';
@@ -1,56 +0,0 @@
1
- /**
2
- * My API
3
- * API documentation for my Laravel app
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 AdminRegisterRequest
16
- */
17
- export interface AdminRegisterRequest {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof AdminRegisterRequest
22
- */
23
- firstName: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof AdminRegisterRequest
28
- */
29
- lastName: string;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof AdminRegisterRequest
34
- */
35
- email: string;
36
- /**
37
- *
38
- * @type {number}
39
- * @memberof AdminRegisterRequest
40
- */
41
- mobile: number;
42
- /**
43
- *
44
- * @type {string}
45
- * @memberof AdminRegisterRequest
46
- */
47
- password: string;
48
- }
49
- /**
50
- * Check if a given object implements the AdminRegisterRequest interface.
51
- */
52
- export declare function instanceOfAdminRegisterRequest(value: object): value is AdminRegisterRequest;
53
- export declare function AdminRegisterRequestFromJSON(json: any): AdminRegisterRequest;
54
- export declare function AdminRegisterRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminRegisterRequest;
55
- export declare function AdminRegisterRequestToJSON(json: any): AdminRegisterRequest;
56
- export declare function AdminRegisterRequestToJSONTyped(value?: AdminRegisterRequest | null, ignoreDiscriminator?: boolean): any;
@@ -1,67 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * My API
6
- * API documentation for my Laravel app
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.instanceOfAdminRegisterRequest = instanceOfAdminRegisterRequest;
17
- exports.AdminRegisterRequestFromJSON = AdminRegisterRequestFromJSON;
18
- exports.AdminRegisterRequestFromJSONTyped = AdminRegisterRequestFromJSONTyped;
19
- exports.AdminRegisterRequestToJSON = AdminRegisterRequestToJSON;
20
- exports.AdminRegisterRequestToJSONTyped = AdminRegisterRequestToJSONTyped;
21
- /**
22
- * Check if a given object implements the AdminRegisterRequest interface.
23
- */
24
- function instanceOfAdminRegisterRequest(value) {
25
- if (!('firstName' in value) || value['firstName'] === undefined)
26
- return false;
27
- if (!('lastName' in value) || value['lastName'] === undefined)
28
- return false;
29
- if (!('email' in value) || value['email'] === undefined)
30
- return false;
31
- if (!('mobile' in value) || value['mobile'] === undefined)
32
- return false;
33
- if (!('password' in value) || value['password'] === undefined)
34
- return false;
35
- return true;
36
- }
37
- function AdminRegisterRequestFromJSON(json) {
38
- return AdminRegisterRequestFromJSONTyped(json, false);
39
- }
40
- function AdminRegisterRequestFromJSONTyped(json, ignoreDiscriminator) {
41
- if (json == null) {
42
- return json;
43
- }
44
- return {
45
- 'firstName': json['first_name'],
46
- 'lastName': json['last_name'],
47
- 'email': json['email'],
48
- 'mobile': json['mobile'],
49
- 'password': json['password'],
50
- };
51
- }
52
- function AdminRegisterRequestToJSON(json) {
53
- return AdminRegisterRequestToJSONTyped(json, false);
54
- }
55
- function AdminRegisterRequestToJSONTyped(value, ignoreDiscriminator) {
56
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
57
- if (value == null) {
58
- return value;
59
- }
60
- return {
61
- 'first_name': value['firstName'],
62
- 'last_name': value['lastName'],
63
- 'email': value['email'],
64
- 'mobile': value['mobile'],
65
- 'password': value['password'],
66
- };
67
- }
@@ -1,102 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * My API
5
- * API documentation for my Laravel app
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- *
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
- import { mapValues } from '../runtime';
16
- /**
17
- *
18
- * @export
19
- * @interface AdminRegisterRequest
20
- */
21
- export interface AdminRegisterRequest {
22
- /**
23
- *
24
- * @type {string}
25
- * @memberof AdminRegisterRequest
26
- */
27
- firstName: string;
28
- /**
29
- *
30
- * @type {string}
31
- * @memberof AdminRegisterRequest
32
- */
33
- lastName: string;
34
- /**
35
- *
36
- * @type {string}
37
- * @memberof AdminRegisterRequest
38
- */
39
- email: string;
40
- /**
41
- *
42
- * @type {number}
43
- * @memberof AdminRegisterRequest
44
- */
45
- mobile: number;
46
- /**
47
- *
48
- * @type {string}
49
- * @memberof AdminRegisterRequest
50
- */
51
- password: string;
52
- }
53
-
54
- /**
55
- * Check if a given object implements the AdminRegisterRequest interface.
56
- */
57
- export function instanceOfAdminRegisterRequest(value: object): value is AdminRegisterRequest {
58
- if (!('firstName' in value) || value['firstName'] === undefined) return false;
59
- if (!('lastName' in value) || value['lastName'] === undefined) return false;
60
- if (!('email' in value) || value['email'] === undefined) return false;
61
- if (!('mobile' in value) || value['mobile'] === undefined) return false;
62
- if (!('password' in value) || value['password'] === undefined) return false;
63
- return true;
64
- }
65
-
66
- export function AdminRegisterRequestFromJSON(json: any): AdminRegisterRequest {
67
- return AdminRegisterRequestFromJSONTyped(json, false);
68
- }
69
-
70
- export function AdminRegisterRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminRegisterRequest {
71
- if (json == null) {
72
- return json;
73
- }
74
- return {
75
-
76
- 'firstName': json['first_name'],
77
- 'lastName': json['last_name'],
78
- 'email': json['email'],
79
- 'mobile': json['mobile'],
80
- 'password': json['password'],
81
- };
82
- }
83
-
84
- export function AdminRegisterRequestToJSON(json: any): AdminRegisterRequest {
85
- return AdminRegisterRequestToJSONTyped(json, false);
86
- }
87
-
88
- export function AdminRegisterRequestToJSONTyped(value?: AdminRegisterRequest | null, ignoreDiscriminator: boolean = false): any {
89
- if (value == null) {
90
- return value;
91
- }
92
-
93
- return {
94
-
95
- 'first_name': value['firstName'],
96
- 'last_name': value['lastName'],
97
- 'email': value['email'],
98
- 'mobile': value['mobile'],
99
- 'password': value['password'],
100
- };
101
- }
102
-