@digital8/security-registers-backend-ts-sdk 0.0.76 → 0.0.78

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 (39) hide show
  1. package/.openapi-generator/FILES +7 -0
  2. package/README.md +2 -2
  3. package/dist/apis/GeneralApi.d.ts +28 -3
  4. package/dist/apis/GeneralApi.js +117 -4
  5. package/dist/models/IndexMinimalUserRequest.d.ts +104 -0
  6. package/dist/models/IndexMinimalUserRequest.js +84 -0
  7. package/dist/models/SecurityCompaniesListAllRequest.d.ts +94 -0
  8. package/dist/models/SecurityCompaniesListAllRequest.js +82 -0
  9. package/dist/models/SecurityCompanyLiteResource.d.ts +38 -0
  10. package/dist/models/SecurityCompanyLiteResource.js +53 -0
  11. package/dist/models/SecurityCompanyLiteResourceArrayResponse.d.ts +33 -0
  12. package/dist/models/SecurityCompanyLiteResourceArrayResponse.js +50 -0
  13. package/dist/models/StoreUserRequest.d.ts +2 -2
  14. package/dist/models/UpdateUserRequest.d.ts +3 -17
  15. package/dist/models/UpdateUserRequest.js +2 -16
  16. package/dist/models/UsersCreateWithRoleRequest.d.ts +2 -2
  17. package/dist/models/UsersRegisterVenueManagerRequest.d.ts +2 -2
  18. package/dist/models/VenueLiteResource.d.ts +38 -0
  19. package/dist/models/VenueLiteResource.js +53 -0
  20. package/dist/models/VenueLiteResourceArrayResponse.d.ts +33 -0
  21. package/dist/models/VenueLiteResourceArrayResponse.js +50 -0
  22. package/dist/models/VenuesListAllRequest.d.ts +112 -0
  23. package/dist/models/VenuesListAllRequest.js +88 -0
  24. package/dist/models/index.d.ts +7 -0
  25. package/dist/models/index.js +7 -0
  26. package/package.json +1 -1
  27. package/src/apis/GeneralApi.ts +113 -3
  28. package/src/models/IndexMinimalUserRequest.ts +159 -0
  29. package/src/models/SecurityCompaniesListAllRequest.ts +145 -0
  30. package/src/models/SecurityCompanyLiteResource.ts +74 -0
  31. package/src/models/SecurityCompanyLiteResourceArrayResponse.ts +73 -0
  32. package/src/models/StoreUserRequest.ts +2 -2
  33. package/src/models/UpdateUserRequest.ts +5 -26
  34. package/src/models/UsersCreateWithRoleRequest.ts +2 -2
  35. package/src/models/UsersRegisterVenueManagerRequest.ts +2 -2
  36. package/src/models/VenueLiteResource.ts +74 -0
  37. package/src/models/VenueLiteResourceArrayResponse.ts +73 -0
  38. package/src/models/VenuesListAllRequest.ts +169 -0
  39. package/src/models/index.ts +7 -0
@@ -0,0 +1,38 @@
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 SecurityCompanyLiteResource
16
+ */
17
+ export interface SecurityCompanyLiteResource {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof SecurityCompanyLiteResource
22
+ */
23
+ id?: number | null;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof SecurityCompanyLiteResource
28
+ */
29
+ name: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the SecurityCompanyLiteResource interface.
33
+ */
34
+ export declare function instanceOfSecurityCompanyLiteResource(value: object): value is SecurityCompanyLiteResource;
35
+ export declare function SecurityCompanyLiteResourceFromJSON(json: any): SecurityCompanyLiteResource;
36
+ export declare function SecurityCompanyLiteResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): SecurityCompanyLiteResource;
37
+ export declare function SecurityCompanyLiteResourceToJSON(json: any): SecurityCompanyLiteResource;
38
+ export declare function SecurityCompanyLiteResourceToJSONTyped(value?: SecurityCompanyLiteResource | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,53 @@
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.instanceOfSecurityCompanyLiteResource = instanceOfSecurityCompanyLiteResource;
17
+ exports.SecurityCompanyLiteResourceFromJSON = SecurityCompanyLiteResourceFromJSON;
18
+ exports.SecurityCompanyLiteResourceFromJSONTyped = SecurityCompanyLiteResourceFromJSONTyped;
19
+ exports.SecurityCompanyLiteResourceToJSON = SecurityCompanyLiteResourceToJSON;
20
+ exports.SecurityCompanyLiteResourceToJSONTyped = SecurityCompanyLiteResourceToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the SecurityCompanyLiteResource interface.
23
+ */
24
+ function instanceOfSecurityCompanyLiteResource(value) {
25
+ if (!('name' in value) || value['name'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function SecurityCompanyLiteResourceFromJSON(json) {
30
+ return SecurityCompanyLiteResourceFromJSONTyped(json, false);
31
+ }
32
+ function SecurityCompanyLiteResourceFromJSONTyped(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
+ };
40
+ }
41
+ function SecurityCompanyLiteResourceToJSON(json) {
42
+ return SecurityCompanyLiteResourceToJSONTyped(json, false);
43
+ }
44
+ function SecurityCompanyLiteResourceToJSONTyped(value, ignoreDiscriminator) {
45
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
46
+ if (value == null) {
47
+ return value;
48
+ }
49
+ return {
50
+ 'id': value['id'],
51
+ 'name': value['name'],
52
+ };
53
+ }
@@ -0,0 +1,33 @@
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
+ import type { SecurityCompanyLiteResource } from './SecurityCompanyLiteResource';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SecurityCompanyLiteResourceArrayResponse
17
+ */
18
+ export interface SecurityCompanyLiteResourceArrayResponse {
19
+ /**
20
+ *
21
+ * @type {Array<SecurityCompanyLiteResource>}
22
+ * @memberof SecurityCompanyLiteResourceArrayResponse
23
+ */
24
+ data?: Array<SecurityCompanyLiteResource>;
25
+ }
26
+ /**
27
+ * Check if a given object implements the SecurityCompanyLiteResourceArrayResponse interface.
28
+ */
29
+ export declare function instanceOfSecurityCompanyLiteResourceArrayResponse(value: object): value is SecurityCompanyLiteResourceArrayResponse;
30
+ export declare function SecurityCompanyLiteResourceArrayResponseFromJSON(json: any): SecurityCompanyLiteResourceArrayResponse;
31
+ export declare function SecurityCompanyLiteResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SecurityCompanyLiteResourceArrayResponse;
32
+ export declare function SecurityCompanyLiteResourceArrayResponseToJSON(json: any): SecurityCompanyLiteResourceArrayResponse;
33
+ export declare function SecurityCompanyLiteResourceArrayResponseToJSONTyped(value?: SecurityCompanyLiteResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,50 @@
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.instanceOfSecurityCompanyLiteResourceArrayResponse = instanceOfSecurityCompanyLiteResourceArrayResponse;
17
+ exports.SecurityCompanyLiteResourceArrayResponseFromJSON = SecurityCompanyLiteResourceArrayResponseFromJSON;
18
+ exports.SecurityCompanyLiteResourceArrayResponseFromJSONTyped = SecurityCompanyLiteResourceArrayResponseFromJSONTyped;
19
+ exports.SecurityCompanyLiteResourceArrayResponseToJSON = SecurityCompanyLiteResourceArrayResponseToJSON;
20
+ exports.SecurityCompanyLiteResourceArrayResponseToJSONTyped = SecurityCompanyLiteResourceArrayResponseToJSONTyped;
21
+ var SecurityCompanyLiteResource_1 = require("./SecurityCompanyLiteResource");
22
+ /**
23
+ * Check if a given object implements the SecurityCompanyLiteResourceArrayResponse interface.
24
+ */
25
+ function instanceOfSecurityCompanyLiteResourceArrayResponse(value) {
26
+ return true;
27
+ }
28
+ function SecurityCompanyLiteResourceArrayResponseFromJSON(json) {
29
+ return SecurityCompanyLiteResourceArrayResponseFromJSONTyped(json, false);
30
+ }
31
+ function SecurityCompanyLiteResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'data': json['data'] == null ? undefined : (json['data'].map(SecurityCompanyLiteResource_1.SecurityCompanyLiteResourceFromJSON)),
37
+ };
38
+ }
39
+ function SecurityCompanyLiteResourceArrayResponseToJSON(json) {
40
+ return SecurityCompanyLiteResourceArrayResponseToJSONTyped(json, false);
41
+ }
42
+ function SecurityCompanyLiteResourceArrayResponseToJSONTyped(value, ignoreDiscriminator) {
43
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'data': value['data'] == null ? undefined : (value['data'].map(SecurityCompanyLiteResource_1.SecurityCompanyLiteResourceToJSON)),
49
+ };
50
+ }
@@ -35,10 +35,10 @@ export interface StoreUserRequest {
35
35
  email: string;
36
36
  /**
37
37
  *
38
- * @type {string}
38
+ * @type {number}
39
39
  * @memberof StoreUserRequest
40
40
  */
41
- mobile: string;
41
+ mobile: number;
42
42
  }
43
43
  /**
44
44
  * Check if a given object implements the StoreUserRequest interface.
@@ -32,34 +32,20 @@ export interface UpdateUserRequest {
32
32
  * @type {string}
33
33
  * @memberof UpdateUserRequest
34
34
  */
35
- email: string;
35
+ email?: string;
36
36
  /**
37
37
  *
38
- * @type {string}
38
+ * @type {number}
39
39
  * @memberof UpdateUserRequest
40
40
  */
41
- mobile: string;
41
+ mobile?: number;
42
42
  /**
43
43
  *
44
44
  * @type {string}
45
45
  * @memberof UpdateUserRequest
46
46
  */
47
47
  password?: string;
48
- /**
49
- *
50
- * @type {string}
51
- * @memberof UpdateUserRequest
52
- */
53
- role?: UpdateUserRequestRoleEnum;
54
48
  }
55
- /**
56
- * @export
57
- */
58
- export declare const UpdateUserRequestRoleEnum: {
59
- readonly VenueManager: "venue_manager";
60
- readonly VenueStaff: "venue_staff";
61
- };
62
- export type UpdateUserRequestRoleEnum = typeof UpdateUserRequestRoleEnum[keyof typeof UpdateUserRequestRoleEnum];
63
49
  /**
64
50
  * Check if a given object implements the UpdateUserRequest interface.
65
51
  */
@@ -13,27 +13,15 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.UpdateUserRequestRoleEnum = 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.UpdateUserRequestRoleEnum = {
26
- VenueManager: 'venue_manager',
27
- VenueStaff: 'venue_staff'
28
- };
29
21
  /**
30
22
  * Check if a given object implements the UpdateUserRequest interface.
31
23
  */
32
24
  function instanceOfUpdateUserRequest(value) {
33
- if (!('email' in value) || value['email'] === undefined)
34
- return false;
35
- if (!('mobile' in value) || value['mobile'] === undefined)
36
- return false;
37
25
  return true;
38
26
  }
39
27
  function UpdateUserRequestFromJSON(json) {
@@ -46,10 +34,9 @@ function UpdateUserRequestFromJSONTyped(json, ignoreDiscriminator) {
46
34
  return {
47
35
  'firstName': json['first_name'] == null ? undefined : json['first_name'],
48
36
  'lastName': json['last_name'] == null ? undefined : json['last_name'],
49
- 'email': json['email'],
50
- 'mobile': json['mobile'],
37
+ 'email': json['email'] == null ? undefined : json['email'],
38
+ 'mobile': json['mobile'] == null ? undefined : json['mobile'],
51
39
  'password': json['password'] == null ? undefined : json['password'],
52
- 'role': json['role'] == null ? undefined : json['role'],
53
40
  };
54
41
  }
55
42
  function UpdateUserRequestToJSON(json) {
@@ -66,6 +53,5 @@ function UpdateUserRequestToJSONTyped(value, ignoreDiscriminator) {
66
53
  'email': value['email'],
67
54
  'mobile': value['mobile'],
68
55
  'password': value['password'],
69
- 'role': value['role'],
70
56
  };
71
57
  }
@@ -35,10 +35,10 @@ export interface UsersCreateWithRoleRequest {
35
35
  email: string;
36
36
  /**
37
37
  *
38
- * @type {string}
38
+ * @type {number}
39
39
  * @memberof UsersCreateWithRoleRequest
40
40
  */
41
- mobile: string;
41
+ mobile: number;
42
42
  /**
43
43
  *
44
44
  * @type {string}
@@ -35,10 +35,10 @@ export interface UsersRegisterVenueManagerRequest {
35
35
  email: string;
36
36
  /**
37
37
  *
38
- * @type {string}
38
+ * @type {number}
39
39
  * @memberof UsersRegisterVenueManagerRequest
40
40
  */
41
- mobile: string;
41
+ mobile: number;
42
42
  /**
43
43
  *
44
44
  * @type {string}
@@ -0,0 +1,38 @@
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 VenueLiteResource
16
+ */
17
+ export interface VenueLiteResource {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof VenueLiteResource
22
+ */
23
+ id?: number | null;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof VenueLiteResource
28
+ */
29
+ name: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the VenueLiteResource interface.
33
+ */
34
+ export declare function instanceOfVenueLiteResource(value: object): value is VenueLiteResource;
35
+ export declare function VenueLiteResourceFromJSON(json: any): VenueLiteResource;
36
+ export declare function VenueLiteResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): VenueLiteResource;
37
+ export declare function VenueLiteResourceToJSON(json: any): VenueLiteResource;
38
+ export declare function VenueLiteResourceToJSONTyped(value?: VenueLiteResource | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,53 @@
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.instanceOfVenueLiteResource = instanceOfVenueLiteResource;
17
+ exports.VenueLiteResourceFromJSON = VenueLiteResourceFromJSON;
18
+ exports.VenueLiteResourceFromJSONTyped = VenueLiteResourceFromJSONTyped;
19
+ exports.VenueLiteResourceToJSON = VenueLiteResourceToJSON;
20
+ exports.VenueLiteResourceToJSONTyped = VenueLiteResourceToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the VenueLiteResource interface.
23
+ */
24
+ function instanceOfVenueLiteResource(value) {
25
+ if (!('name' in value) || value['name'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function VenueLiteResourceFromJSON(json) {
30
+ return VenueLiteResourceFromJSONTyped(json, false);
31
+ }
32
+ function VenueLiteResourceFromJSONTyped(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
+ };
40
+ }
41
+ function VenueLiteResourceToJSON(json) {
42
+ return VenueLiteResourceToJSONTyped(json, false);
43
+ }
44
+ function VenueLiteResourceToJSONTyped(value, ignoreDiscriminator) {
45
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
46
+ if (value == null) {
47
+ return value;
48
+ }
49
+ return {
50
+ 'id': value['id'],
51
+ 'name': value['name'],
52
+ };
53
+ }
@@ -0,0 +1,33 @@
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
+ import type { VenueLiteResource } from './VenueLiteResource';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface VenueLiteResourceArrayResponse
17
+ */
18
+ export interface VenueLiteResourceArrayResponse {
19
+ /**
20
+ *
21
+ * @type {Array<VenueLiteResource>}
22
+ * @memberof VenueLiteResourceArrayResponse
23
+ */
24
+ data?: Array<VenueLiteResource>;
25
+ }
26
+ /**
27
+ * Check if a given object implements the VenueLiteResourceArrayResponse interface.
28
+ */
29
+ export declare function instanceOfVenueLiteResourceArrayResponse(value: object): value is VenueLiteResourceArrayResponse;
30
+ export declare function VenueLiteResourceArrayResponseFromJSON(json: any): VenueLiteResourceArrayResponse;
31
+ export declare function VenueLiteResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): VenueLiteResourceArrayResponse;
32
+ export declare function VenueLiteResourceArrayResponseToJSON(json: any): VenueLiteResourceArrayResponse;
33
+ export declare function VenueLiteResourceArrayResponseToJSONTyped(value?: VenueLiteResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,50 @@
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.instanceOfVenueLiteResourceArrayResponse = instanceOfVenueLiteResourceArrayResponse;
17
+ exports.VenueLiteResourceArrayResponseFromJSON = VenueLiteResourceArrayResponseFromJSON;
18
+ exports.VenueLiteResourceArrayResponseFromJSONTyped = VenueLiteResourceArrayResponseFromJSONTyped;
19
+ exports.VenueLiteResourceArrayResponseToJSON = VenueLiteResourceArrayResponseToJSON;
20
+ exports.VenueLiteResourceArrayResponseToJSONTyped = VenueLiteResourceArrayResponseToJSONTyped;
21
+ var VenueLiteResource_1 = require("./VenueLiteResource");
22
+ /**
23
+ * Check if a given object implements the VenueLiteResourceArrayResponse interface.
24
+ */
25
+ function instanceOfVenueLiteResourceArrayResponse(value) {
26
+ return true;
27
+ }
28
+ function VenueLiteResourceArrayResponseFromJSON(json) {
29
+ return VenueLiteResourceArrayResponseFromJSONTyped(json, false);
30
+ }
31
+ function VenueLiteResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'data': json['data'] == null ? undefined : (json['data'].map(VenueLiteResource_1.VenueLiteResourceFromJSON)),
37
+ };
38
+ }
39
+ function VenueLiteResourceArrayResponseToJSON(json) {
40
+ return VenueLiteResourceArrayResponseToJSONTyped(json, false);
41
+ }
42
+ function VenueLiteResourceArrayResponseToJSONTyped(value, ignoreDiscriminator) {
43
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'data': value['data'] == null ? undefined : (value['data'].map(VenueLiteResource_1.VenueLiteResourceToJSON)),
49
+ };
50
+ }
@@ -0,0 +1,112 @@
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 VenuesListAllRequest
16
+ */
17
+ export interface VenuesListAllRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof VenuesListAllRequest
22
+ */
23
+ search?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof VenuesListAllRequest
28
+ */
29
+ sortBy?: VenuesListAllRequestSortByEnum;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof VenuesListAllRequest
34
+ */
35
+ sortDirection?: VenuesListAllRequestSortDirectionEnum;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof VenuesListAllRequest
40
+ */
41
+ relatedId?: number;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof VenuesListAllRequest
46
+ */
47
+ relatedType?: string;
48
+ /**
49
+ *
50
+ * @type {boolean}
51
+ * @memberof VenuesListAllRequest
52
+ */
53
+ includesRelations?: boolean;
54
+ /**
55
+ *
56
+ * @type {Array<string>}
57
+ * @memberof VenuesListAllRequest
58
+ */
59
+ isEnabled?: Array<string>;
60
+ /**
61
+ *
62
+ * @type {Array<string>}
63
+ * @memberof VenuesListAllRequest
64
+ */
65
+ badgeNumberRequired?: Array<string>;
66
+ /**
67
+ *
68
+ * @type {Array<string>}
69
+ * @memberof VenuesListAllRequest
70
+ */
71
+ venueSignOnCodeRequired?: Array<string>;
72
+ /**
73
+ *
74
+ * @type {Array<string>}
75
+ * @memberof VenuesListAllRequest
76
+ */
77
+ primaryManagerId?: Array<string>;
78
+ /**
79
+ *
80
+ * @type {Array<string>}
81
+ * @memberof VenuesListAllRequest
82
+ */
83
+ addressState?: Array<string>;
84
+ }
85
+ /**
86
+ * @export
87
+ */
88
+ export declare const VenuesListAllRequestSortByEnum: {
89
+ readonly Name: "name";
90
+ readonly VenueCode: "venue_code";
91
+ readonly Timezone: "timezone";
92
+ readonly IsEnabled: "is_enabled";
93
+ readonly CreatedAt: "created_at";
94
+ readonly UpdatedAt: "updated_at";
95
+ };
96
+ export type VenuesListAllRequestSortByEnum = typeof VenuesListAllRequestSortByEnum[keyof typeof VenuesListAllRequestSortByEnum];
97
+ /**
98
+ * @export
99
+ */
100
+ export declare const VenuesListAllRequestSortDirectionEnum: {
101
+ readonly Asc: "asc";
102
+ readonly Desc: "desc";
103
+ };
104
+ export type VenuesListAllRequestSortDirectionEnum = typeof VenuesListAllRequestSortDirectionEnum[keyof typeof VenuesListAllRequestSortDirectionEnum];
105
+ /**
106
+ * Check if a given object implements the VenuesListAllRequest interface.
107
+ */
108
+ export declare function instanceOfVenuesListAllRequest(value: object): value is VenuesListAllRequest;
109
+ export declare function VenuesListAllRequestFromJSON(json: any): VenuesListAllRequest;
110
+ export declare function VenuesListAllRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): VenuesListAllRequest;
111
+ export declare function VenuesListAllRequestToJSON(json: any): VenuesListAllRequest;
112
+ export declare function VenuesListAllRequestToJSONTyped(value?: VenuesListAllRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,88 @@
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.VenuesListAllRequestSortDirectionEnum = exports.VenuesListAllRequestSortByEnum = void 0;
17
+ exports.instanceOfVenuesListAllRequest = instanceOfVenuesListAllRequest;
18
+ exports.VenuesListAllRequestFromJSON = VenuesListAllRequestFromJSON;
19
+ exports.VenuesListAllRequestFromJSONTyped = VenuesListAllRequestFromJSONTyped;
20
+ exports.VenuesListAllRequestToJSON = VenuesListAllRequestToJSON;
21
+ exports.VenuesListAllRequestToJSONTyped = VenuesListAllRequestToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.VenuesListAllRequestSortByEnum = {
26
+ Name: 'name',
27
+ VenueCode: 'venue_code',
28
+ Timezone: 'timezone',
29
+ IsEnabled: 'is_enabled',
30
+ CreatedAt: 'created_at',
31
+ UpdatedAt: 'updated_at'
32
+ };
33
+ /**
34
+ * @export
35
+ */
36
+ exports.VenuesListAllRequestSortDirectionEnum = {
37
+ Asc: 'asc',
38
+ Desc: 'desc'
39
+ };
40
+ /**
41
+ * Check if a given object implements the VenuesListAllRequest interface.
42
+ */
43
+ function instanceOfVenuesListAllRequest(value) {
44
+ return true;
45
+ }
46
+ function VenuesListAllRequestFromJSON(json) {
47
+ return VenuesListAllRequestFromJSONTyped(json, false);
48
+ }
49
+ function VenuesListAllRequestFromJSONTyped(json, ignoreDiscriminator) {
50
+ if (json == null) {
51
+ return json;
52
+ }
53
+ return {
54
+ 'search': json['search'] == null ? undefined : json['search'],
55
+ 'sortBy': json['sort_by'] == null ? undefined : json['sort_by'],
56
+ 'sortDirection': json['sort_direction'] == null ? undefined : json['sort_direction'],
57
+ 'relatedId': json['related_id'] == null ? undefined : json['related_id'],
58
+ 'relatedType': json['related_type'] == null ? undefined : json['related_type'],
59
+ 'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
60
+ 'isEnabled': json['is_enabled'] == null ? undefined : json['is_enabled'],
61
+ 'badgeNumberRequired': json['badge_number_required'] == null ? undefined : json['badge_number_required'],
62
+ 'venueSignOnCodeRequired': json['venue_sign_on_code_required'] == null ? undefined : json['venue_sign_on_code_required'],
63
+ 'primaryManagerId': json['primary_manager_id'] == null ? undefined : json['primary_manager_id'],
64
+ 'addressState': json['address-state'] == null ? undefined : json['address-state'],
65
+ };
66
+ }
67
+ function VenuesListAllRequestToJSON(json) {
68
+ return VenuesListAllRequestToJSONTyped(json, false);
69
+ }
70
+ function VenuesListAllRequestToJSONTyped(value, ignoreDiscriminator) {
71
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
72
+ if (value == null) {
73
+ return value;
74
+ }
75
+ return {
76
+ 'search': value['search'],
77
+ 'sort_by': value['sortBy'],
78
+ 'sort_direction': value['sortDirection'],
79
+ 'related_id': value['relatedId'],
80
+ 'related_type': value['relatedType'],
81
+ 'includes_relations': value['includesRelations'],
82
+ 'is_enabled': value['isEnabled'],
83
+ 'badge_number_required': value['badgeNumberRequired'],
84
+ 'venue_sign_on_code_required': value['venueSignOnCodeRequired'],
85
+ 'primary_manager_id': value['primaryManagerId'],
86
+ 'address-state': value['addressState'],
87
+ };
88
+ }