@homespot-sdk/api 0.0.634 → 0.0.636

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 (164) hide show
  1. package/.openapi-generator/FILES +34 -10
  2. package/README.md +28 -17
  3. package/dist/apis/AgencyControllerApi.d.ts +1 -63
  4. package/dist/apis/AgencyControllerApi.js +1 -100
  5. package/dist/apis/InvitationControllerApi.d.ts +10 -10
  6. package/dist/apis/InvitationControllerApi.js +9 -9
  7. package/dist/apis/InvitationQueryControllerApi.d.ts +12 -30
  8. package/dist/apis/InvitationQueryControllerApi.js +12 -47
  9. package/dist/apis/MemberControllerApi.d.ts +68 -0
  10. package/dist/apis/MemberControllerApi.js +101 -0
  11. package/dist/apis/MemberQueryControllerApi.d.ts +10 -4
  12. package/dist/apis/MemberQueryControllerApi.js +13 -7
  13. package/dist/apis/{AgencyQueryControllerApi.d.ts → PublicAgencyControllerApi.d.ts} +26 -22
  14. package/dist/apis/{AgencyQueryControllerApi.js → PublicAgencyControllerApi.js} +19 -16
  15. package/dist/apis/PublicInvitationControllerApi.d.ts +48 -0
  16. package/dist/apis/PublicInvitationControllerApi.js +71 -0
  17. package/dist/apis/PublicRoleControllerApi.d.ts +42 -0
  18. package/dist/apis/PublicRoleControllerApi.js +61 -0
  19. package/dist/apis/RoleControllerApi.d.ts +88 -0
  20. package/dist/apis/RoleControllerApi.js +133 -0
  21. package/dist/apis/RoleQueryControllerApi.d.ts +50 -0
  22. package/dist/apis/RoleQueryControllerApi.js +70 -0
  23. package/dist/apis/index.d.ts +6 -1
  24. package/dist/apis/index.js +6 -1
  25. package/dist/esm/apis/AgencyControllerApi.d.ts +1 -63
  26. package/dist/esm/apis/AgencyControllerApi.js +2 -101
  27. package/dist/esm/apis/InvitationControllerApi.d.ts +10 -10
  28. package/dist/esm/apis/InvitationControllerApi.js +9 -9
  29. package/dist/esm/apis/InvitationQueryControllerApi.d.ts +12 -30
  30. package/dist/esm/apis/InvitationQueryControllerApi.js +13 -48
  31. package/dist/esm/apis/MemberControllerApi.d.ts +68 -0
  32. package/dist/esm/apis/MemberControllerApi.js +97 -0
  33. package/dist/esm/apis/MemberQueryControllerApi.d.ts +10 -4
  34. package/dist/esm/apis/MemberQueryControllerApi.js +13 -7
  35. package/dist/esm/apis/{AgencyQueryControllerApi.d.ts → PublicAgencyControllerApi.d.ts} +26 -22
  36. package/dist/esm/apis/{AgencyQueryControllerApi.js → PublicAgencyControllerApi.js} +18 -15
  37. package/dist/esm/apis/PublicInvitationControllerApi.d.ts +48 -0
  38. package/dist/esm/apis/PublicInvitationControllerApi.js +67 -0
  39. package/dist/esm/apis/PublicRoleControllerApi.d.ts +42 -0
  40. package/dist/esm/apis/PublicRoleControllerApi.js +57 -0
  41. package/dist/esm/apis/RoleControllerApi.d.ts +88 -0
  42. package/dist/esm/apis/RoleControllerApi.js +129 -0
  43. package/dist/esm/apis/RoleQueryControllerApi.d.ts +50 -0
  44. package/dist/esm/apis/RoleQueryControllerApi.js +66 -0
  45. package/dist/esm/apis/index.d.ts +6 -1
  46. package/dist/esm/apis/index.js +6 -1
  47. package/dist/esm/models/AgencyProfileResponse.d.ts +69 -0
  48. package/dist/esm/models/{AgencyViewResponse.js → AgencyProfileResponse.js} +8 -8
  49. package/dist/esm/models/AgencySummaryResponse.d.ts +102 -0
  50. package/dist/esm/models/{AgencyPeekViewResponse.js → AgencySummaryResponse.js} +9 -9
  51. package/dist/esm/models/AssignRoleRequest.d.ts +32 -0
  52. package/dist/esm/models/AssignRoleRequest.js +43 -0
  53. package/dist/esm/models/BatchAssignRoleRequest.d.ts +38 -0
  54. package/dist/esm/models/BatchAssignRoleRequest.js +47 -0
  55. package/dist/esm/models/GroupedPermissionsResponse.d.ts +49 -0
  56. package/dist/esm/models/GroupedPermissionsResponse.js +57 -0
  57. package/dist/esm/models/OrganizationSummaryViewResponse.d.ts +10 -7
  58. package/dist/esm/models/OrganizationSummaryViewResponse.js +11 -8
  59. package/dist/esm/models/PageRoleResponse.d.ts +95 -0
  60. package/dist/esm/models/PageRoleResponse.js +64 -0
  61. package/dist/esm/models/PageableObject.d.ts +63 -0
  62. package/dist/esm/models/PageableObject.js +52 -0
  63. package/dist/esm/models/PagedModelAgencySummaryResponse.d.ts +40 -0
  64. package/dist/esm/models/{PagedModelAgencyPeekViewResponse.js → PagedModelAgencySummaryResponse.js} +11 -11
  65. package/dist/esm/models/PermissionResponse.d.ts +64 -0
  66. package/dist/esm/models/PermissionResponse.js +71 -0
  67. package/dist/esm/models/RoleResponse.d.ts +63 -0
  68. package/dist/esm/models/RoleResponse.js +67 -0
  69. package/dist/esm/models/RolesRequest.d.ts +10 -7
  70. package/dist/esm/models/RolesRequest.js +11 -8
  71. package/dist/esm/models/SortObject.d.ts +44 -0
  72. package/dist/esm/models/SortObject.js +45 -0
  73. package/dist/esm/models/index.d.ts +11 -4
  74. package/dist/esm/models/index.js +11 -4
  75. package/dist/models/AgencyProfileResponse.d.ts +69 -0
  76. package/dist/models/{AgencyViewResponse.js → AgencyProfileResponse.js} +13 -13
  77. package/dist/models/AgencySummaryResponse.d.ts +102 -0
  78. package/dist/models/{AgencyPeekViewResponse.js → AgencySummaryResponse.js} +15 -15
  79. package/dist/models/AssignRoleRequest.d.ts +32 -0
  80. package/dist/models/AssignRoleRequest.js +50 -0
  81. package/dist/models/BatchAssignRoleRequest.d.ts +38 -0
  82. package/dist/models/BatchAssignRoleRequest.js +54 -0
  83. package/dist/models/GroupedPermissionsResponse.d.ts +49 -0
  84. package/dist/models/GroupedPermissionsResponse.js +65 -0
  85. package/dist/models/OrganizationSummaryViewResponse.d.ts +10 -7
  86. package/dist/models/OrganizationSummaryViewResponse.js +12 -9
  87. package/dist/models/PageRoleResponse.d.ts +95 -0
  88. package/dist/models/PageRoleResponse.js +71 -0
  89. package/dist/models/PageableObject.d.ts +63 -0
  90. package/dist/models/PageableObject.js +59 -0
  91. package/dist/models/PagedModelAgencySummaryResponse.d.ts +40 -0
  92. package/dist/models/PagedModelAgencySummaryResponse.js +52 -0
  93. package/dist/models/PermissionResponse.d.ts +64 -0
  94. package/dist/models/PermissionResponse.js +79 -0
  95. package/dist/models/RoleResponse.d.ts +63 -0
  96. package/dist/models/RoleResponse.js +75 -0
  97. package/dist/models/RolesRequest.d.ts +10 -7
  98. package/dist/models/RolesRequest.js +12 -9
  99. package/dist/models/SortObject.d.ts +44 -0
  100. package/dist/models/SortObject.js +52 -0
  101. package/dist/models/index.d.ts +11 -4
  102. package/dist/models/index.js +11 -4
  103. package/docs/AgencyControllerApi.md +1 -214
  104. package/docs/{AgencyViewResponse.md → AgencyProfileResponse.md} +4 -4
  105. package/docs/{AgencyPeekViewResponse.md → AgencySummaryResponse.md} +4 -4
  106. package/docs/{Pageable.md → AssignRoleRequest.md} +6 -10
  107. package/docs/BatchAssignRoleRequest.md +36 -0
  108. package/docs/GroupedPermissionsResponse.md +36 -0
  109. package/docs/InvitationControllerApi.md +12 -12
  110. package/docs/InvitationQueryControllerApi.md +15 -82
  111. package/docs/MemberControllerApi.md +151 -0
  112. package/docs/MemberQueryControllerApi.md +13 -4
  113. package/docs/OrganizationSummaryViewResponse.md +2 -2
  114. package/docs/PageRoleResponse.md +54 -0
  115. package/docs/PageableObject.md +44 -0
  116. package/docs/{PagedModelAgencyPeekViewResponse.md → PagedModelAgencySummaryResponse.md} +5 -5
  117. package/docs/PermissionResponse.md +36 -0
  118. package/docs/{AgencyQueryControllerApi.md → PublicAgencyControllerApi.md} +25 -19
  119. package/docs/PublicInvitationControllerApi.md +81 -0
  120. package/docs/PublicRoleControllerApi.md +70 -0
  121. package/docs/RoleControllerApi.md +221 -0
  122. package/docs/RoleQueryControllerApi.md +84 -0
  123. package/docs/RoleResponse.md +40 -0
  124. package/docs/RolesRequest.md +2 -2
  125. package/docs/SortObject.md +38 -0
  126. package/package.json +1 -1
  127. package/src/apis/AgencyControllerApi.ts +1 -186
  128. package/src/apis/InvitationControllerApi.ts +15 -15
  129. package/src/apis/InvitationQueryControllerApi.ts +20 -91
  130. package/src/apis/MemberControllerApi.ts +168 -0
  131. package/src/apis/MemberQueryControllerApi.ts +22 -14
  132. package/src/apis/{AgencyQueryControllerApi.ts → PublicAgencyControllerApi.ts} +50 -48
  133. package/src/apis/PublicInvitationControllerApi.ts +109 -0
  134. package/src/apis/PublicRoleControllerApi.ts +83 -0
  135. package/src/apis/RoleControllerApi.ts +225 -0
  136. package/src/apis/RoleQueryControllerApi.ts +104 -0
  137. package/src/apis/index.ts +6 -1
  138. package/src/models/{AgencyViewResponse.ts → AgencyProfileResponse.ts} +17 -17
  139. package/src/models/{AgencyPeekViewResponse.ts → AgencySummaryResponse.ts} +24 -24
  140. package/src/models/AssignRoleRequest.ts +66 -0
  141. package/src/models/BatchAssignRoleRequest.ts +75 -0
  142. package/src/models/GroupedPermissionsResponse.ts +96 -0
  143. package/src/models/OrganizationSummaryViewResponse.ts +13 -10
  144. package/src/models/PageRoleResponse.ts +167 -0
  145. package/src/models/PageableObject.ts +113 -0
  146. package/src/models/PagedModelAgencySummaryResponse.ts +88 -0
  147. package/src/models/PermissionResponse.ts +105 -0
  148. package/src/models/RoleResponse.ts +109 -0
  149. package/src/models/RolesRequest.ts +13 -10
  150. package/src/models/SortObject.ts +81 -0
  151. package/src/models/index.ts +11 -4
  152. package/dist/esm/models/AgencyPeekViewResponse.d.ts +0 -102
  153. package/dist/esm/models/AgencyViewResponse.d.ts +0 -69
  154. package/dist/esm/models/Pageable.d.ts +0 -44
  155. package/dist/esm/models/Pageable.js +0 -45
  156. package/dist/esm/models/PagedModelAgencyPeekViewResponse.d.ts +0 -40
  157. package/dist/models/AgencyPeekViewResponse.d.ts +0 -102
  158. package/dist/models/AgencyViewResponse.d.ts +0 -69
  159. package/dist/models/Pageable.d.ts +0 -44
  160. package/dist/models/Pageable.js +0 -52
  161. package/dist/models/PagedModelAgencyPeekViewResponse.d.ts +0 -40
  162. package/dist/models/PagedModelAgencyPeekViewResponse.js +0 -52
  163. package/src/models/Pageable.ts +0 -81
  164. package/src/models/PagedModelAgencyPeekViewResponse.ts +0 -88
@@ -0,0 +1,81 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Service API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
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 SortObject
20
+ */
21
+ export interface SortObject {
22
+ /**
23
+ *
24
+ * @type {boolean}
25
+ * @memberof SortObject
26
+ */
27
+ empty?: boolean;
28
+ /**
29
+ *
30
+ * @type {boolean}
31
+ * @memberof SortObject
32
+ */
33
+ sorted?: boolean;
34
+ /**
35
+ *
36
+ * @type {boolean}
37
+ * @memberof SortObject
38
+ */
39
+ unsorted?: boolean;
40
+ }
41
+
42
+ /**
43
+ * Check if a given object implements the SortObject interface.
44
+ */
45
+ export function instanceOfSortObject(value: object): value is SortObject {
46
+ return true;
47
+ }
48
+
49
+ export function SortObjectFromJSON(json: any): SortObject {
50
+ return SortObjectFromJSONTyped(json, false);
51
+ }
52
+
53
+ export function SortObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): SortObject {
54
+ if (json == null) {
55
+ return json;
56
+ }
57
+ return {
58
+
59
+ 'empty': json['empty'] == null ? undefined : json['empty'],
60
+ 'sorted': json['sorted'] == null ? undefined : json['sorted'],
61
+ 'unsorted': json['unsorted'] == null ? undefined : json['unsorted'],
62
+ };
63
+ }
64
+
65
+ export function SortObjectToJSON(json: any): SortObject {
66
+ return SortObjectToJSONTyped(json, false);
67
+ }
68
+
69
+ export function SortObjectToJSONTyped(value?: SortObject | null, ignoreDiscriminator: boolean = false): any {
70
+ if (value == null) {
71
+ return value;
72
+ }
73
+
74
+ return {
75
+
76
+ 'empty': value['empty'],
77
+ 'sorted': value['sorted'],
78
+ 'unsorted': value['unsorted'],
79
+ };
80
+ }
81
+
@@ -2,9 +2,12 @@
2
2
  /* eslint-disable */
3
3
  export * from './AddressRequest';
4
4
  export * from './AddressViewResponse';
5
- export * from './AgencyPeekViewResponse';
6
- export * from './AgencyViewResponse';
5
+ export * from './AgencyProfileResponse';
6
+ export * from './AgencySummaryResponse';
7
+ export * from './AssignRoleRequest';
8
+ export * from './BatchAssignRoleRequest';
7
9
  export * from './CreateAgencyRequest';
10
+ export * from './GroupedPermissionsResponse';
8
11
  export * from './IdResponse';
9
12
  export * from './InvitationDetailsRequest';
10
13
  export * from './InvitationDetailsResponse';
@@ -13,16 +16,20 @@ export * from './InviteMemberRequest';
13
16
  export * from './MemberViewResponse';
14
17
  export * from './OrganizationSummaryViewResponse';
15
18
  export * from './PageMetadata';
16
- export * from './Pageable';
17
- export * from './PagedModelAgencyPeekViewResponse';
19
+ export * from './PageRoleResponse';
20
+ export * from './PageableObject';
21
+ export * from './PagedModelAgencySummaryResponse';
18
22
  export * from './PagedModelInvitationViewResponse';
19
23
  export * from './PagedModelMemberViewResponse';
24
+ export * from './PermissionResponse';
20
25
  export * from './PhotoRequest';
21
26
  export * from './PresignedUrlResponse';
22
27
  export * from './PresignedUrlsResponse';
28
+ export * from './RoleResponse';
23
29
  export * from './RolesRequest';
24
30
  export * from './SocialMediaRequest';
25
31
  export * from './SocialMediasRequest';
32
+ export * from './SortObject';
26
33
  export * from './UploadAcknowledgmentResponse';
27
34
  export * from './UserContextViewResponse';
28
35
  export * from './UserSummaryViewResponse';
@@ -1,102 +0,0 @@
1
- /**
2
- * Service API
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
- *
5
- * The version of the OpenAPI document: v1
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 AgencyPeekViewResponse
16
- */
17
- export interface AgencyPeekViewResponse {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof AgencyPeekViewResponse
22
- */
23
- id: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof AgencyPeekViewResponse
28
- */
29
- owner: string;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof AgencyPeekViewResponse
34
- */
35
- name: string;
36
- /**
37
- *
38
- * @type {string}
39
- * @memberof AgencyPeekViewResponse
40
- */
41
- email: string;
42
- /**
43
- *
44
- * @type {string}
45
- * @memberof AgencyPeekViewResponse
46
- */
47
- seats: string;
48
- /**
49
- *
50
- * @type {string}
51
- * @memberof AgencyPeekViewResponse
52
- */
53
- subDomain: string;
54
- /**
55
- *
56
- * @type {string}
57
- * @memberof AgencyPeekViewResponse
58
- */
59
- phone: string;
60
- /**
61
- *
62
- * @type {string}
63
- * @memberof AgencyPeekViewResponse
64
- */
65
- website?: string;
66
- /**
67
- *
68
- * @type {string}
69
- * @memberof AgencyPeekViewResponse
70
- */
71
- yearSince: string;
72
- /**
73
- *
74
- * @type {string}
75
- * @memberof AgencyPeekViewResponse
76
- */
77
- status: AgencyPeekViewResponseStatusEnum;
78
- /**
79
- *
80
- * @type {string}
81
- * @memberof AgencyPeekViewResponse
82
- */
83
- logo?: string;
84
- }
85
- /**
86
- * @export
87
- */
88
- export declare const AgencyPeekViewResponseStatusEnum: {
89
- readonly New: "NEW";
90
- readonly Active: "ACTIVE";
91
- readonly PaymentFailed: "PAYMENT_FAILED";
92
- readonly Inactive: "INACTIVE";
93
- };
94
- export type AgencyPeekViewResponseStatusEnum = typeof AgencyPeekViewResponseStatusEnum[keyof typeof AgencyPeekViewResponseStatusEnum];
95
- /**
96
- * Check if a given object implements the AgencyPeekViewResponse interface.
97
- */
98
- export declare function instanceOfAgencyPeekViewResponse(value: object): value is AgencyPeekViewResponse;
99
- export declare function AgencyPeekViewResponseFromJSON(json: any): AgencyPeekViewResponse;
100
- export declare function AgencyPeekViewResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgencyPeekViewResponse;
101
- export declare function AgencyPeekViewResponseToJSON(json: any): AgencyPeekViewResponse;
102
- export declare function AgencyPeekViewResponseToJSONTyped(value?: AgencyPeekViewResponse | null, ignoreDiscriminator?: boolean): any;
@@ -1,69 +0,0 @@
1
- /**
2
- * Service API
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
- *
5
- * The version of the OpenAPI document: v1
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 { AddressViewResponse } from './AddressViewResponse';
13
- /**
14
- *
15
- * @export
16
- * @interface AgencyViewResponse
17
- */
18
- export interface AgencyViewResponse {
19
- /**
20
- *
21
- * @type {string}
22
- * @memberof AgencyViewResponse
23
- */
24
- name: string;
25
- /**
26
- *
27
- * @type {string}
28
- * @memberof AgencyViewResponse
29
- */
30
- email: string;
31
- /**
32
- *
33
- * @type {number}
34
- * @memberof AgencyViewResponse
35
- */
36
- seats: number;
37
- /**
38
- *
39
- * @type {string}
40
- * @memberof AgencyViewResponse
41
- */
42
- subDomain: string;
43
- /**
44
- *
45
- * @type {string}
46
- * @memberof AgencyViewResponse
47
- */
48
- phone: string;
49
- /**
50
- *
51
- * @type {AddressViewResponse}
52
- * @memberof AgencyViewResponse
53
- */
54
- address: AddressViewResponse;
55
- /**
56
- *
57
- * @type {number}
58
- * @memberof AgencyViewResponse
59
- */
60
- yearSince: number;
61
- }
62
- /**
63
- * Check if a given object implements the AgencyViewResponse interface.
64
- */
65
- export declare function instanceOfAgencyViewResponse(value: object): value is AgencyViewResponse;
66
- export declare function AgencyViewResponseFromJSON(json: any): AgencyViewResponse;
67
- export declare function AgencyViewResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgencyViewResponse;
68
- export declare function AgencyViewResponseToJSON(json: any): AgencyViewResponse;
69
- export declare function AgencyViewResponseToJSONTyped(value?: AgencyViewResponse | null, ignoreDiscriminator?: boolean): any;
@@ -1,44 +0,0 @@
1
- /**
2
- * Service API
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
- *
5
- * The version of the OpenAPI document: v1
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 Pageable
16
- */
17
- export interface Pageable {
18
- /**
19
- *
20
- * @type {number}
21
- * @memberof Pageable
22
- */
23
- page?: number;
24
- /**
25
- *
26
- * @type {number}
27
- * @memberof Pageable
28
- */
29
- size?: number;
30
- /**
31
- *
32
- * @type {Array<string>}
33
- * @memberof Pageable
34
- */
35
- sort?: Array<string>;
36
- }
37
- /**
38
- * Check if a given object implements the Pageable interface.
39
- */
40
- export declare function instanceOfPageable(value: object): value is Pageable;
41
- export declare function PageableFromJSON(json: any): Pageable;
42
- export declare function PageableFromJSONTyped(json: any, ignoreDiscriminator: boolean): Pageable;
43
- export declare function PageableToJSON(json: any): Pageable;
44
- export declare function PageableToJSONTyped(value?: Pageable | null, ignoreDiscriminator?: boolean): any;
@@ -1,45 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Service API
5
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
- *
7
- * The version of the OpenAPI document: v1
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
- * Check if a given object implements the Pageable interface.
16
- */
17
- export function instanceOfPageable(value) {
18
- return true;
19
- }
20
- export function PageableFromJSON(json) {
21
- return PageableFromJSONTyped(json, false);
22
- }
23
- export function PageableFromJSONTyped(json, ignoreDiscriminator) {
24
- if (json == null) {
25
- return json;
26
- }
27
- return {
28
- 'page': json['page'] == null ? undefined : json['page'],
29
- 'size': json['size'] == null ? undefined : json['size'],
30
- 'sort': json['sort'] == null ? undefined : json['sort'],
31
- };
32
- }
33
- export function PageableToJSON(json) {
34
- return PageableToJSONTyped(json, false);
35
- }
36
- export function PageableToJSONTyped(value, ignoreDiscriminator = false) {
37
- if (value == null) {
38
- return value;
39
- }
40
- return {
41
- 'page': value['page'],
42
- 'size': value['size'],
43
- 'sort': value['sort'],
44
- };
45
- }
@@ -1,40 +0,0 @@
1
- /**
2
- * Service API
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
- *
5
- * The version of the OpenAPI document: v1
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 { PageMetadata } from './PageMetadata';
13
- import type { AgencyPeekViewResponse } from './AgencyPeekViewResponse';
14
- /**
15
- *
16
- * @export
17
- * @interface PagedModelAgencyPeekViewResponse
18
- */
19
- export interface PagedModelAgencyPeekViewResponse {
20
- /**
21
- *
22
- * @type {Array<AgencyPeekViewResponse>}
23
- * @memberof PagedModelAgencyPeekViewResponse
24
- */
25
- content?: Array<AgencyPeekViewResponse>;
26
- /**
27
- *
28
- * @type {PageMetadata}
29
- * @memberof PagedModelAgencyPeekViewResponse
30
- */
31
- page?: PageMetadata;
32
- }
33
- /**
34
- * Check if a given object implements the PagedModelAgencyPeekViewResponse interface.
35
- */
36
- export declare function instanceOfPagedModelAgencyPeekViewResponse(value: object): value is PagedModelAgencyPeekViewResponse;
37
- export declare function PagedModelAgencyPeekViewResponseFromJSON(json: any): PagedModelAgencyPeekViewResponse;
38
- export declare function PagedModelAgencyPeekViewResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PagedModelAgencyPeekViewResponse;
39
- export declare function PagedModelAgencyPeekViewResponseToJSON(json: any): PagedModelAgencyPeekViewResponse;
40
- export declare function PagedModelAgencyPeekViewResponseToJSONTyped(value?: PagedModelAgencyPeekViewResponse | null, ignoreDiscriminator?: boolean): any;
@@ -1,102 +0,0 @@
1
- /**
2
- * Service API
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
- *
5
- * The version of the OpenAPI document: v1
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 AgencyPeekViewResponse
16
- */
17
- export interface AgencyPeekViewResponse {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof AgencyPeekViewResponse
22
- */
23
- id: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof AgencyPeekViewResponse
28
- */
29
- owner: string;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof AgencyPeekViewResponse
34
- */
35
- name: string;
36
- /**
37
- *
38
- * @type {string}
39
- * @memberof AgencyPeekViewResponse
40
- */
41
- email: string;
42
- /**
43
- *
44
- * @type {string}
45
- * @memberof AgencyPeekViewResponse
46
- */
47
- seats: string;
48
- /**
49
- *
50
- * @type {string}
51
- * @memberof AgencyPeekViewResponse
52
- */
53
- subDomain: string;
54
- /**
55
- *
56
- * @type {string}
57
- * @memberof AgencyPeekViewResponse
58
- */
59
- phone: string;
60
- /**
61
- *
62
- * @type {string}
63
- * @memberof AgencyPeekViewResponse
64
- */
65
- website?: string;
66
- /**
67
- *
68
- * @type {string}
69
- * @memberof AgencyPeekViewResponse
70
- */
71
- yearSince: string;
72
- /**
73
- *
74
- * @type {string}
75
- * @memberof AgencyPeekViewResponse
76
- */
77
- status: AgencyPeekViewResponseStatusEnum;
78
- /**
79
- *
80
- * @type {string}
81
- * @memberof AgencyPeekViewResponse
82
- */
83
- logo?: string;
84
- }
85
- /**
86
- * @export
87
- */
88
- export declare const AgencyPeekViewResponseStatusEnum: {
89
- readonly New: "NEW";
90
- readonly Active: "ACTIVE";
91
- readonly PaymentFailed: "PAYMENT_FAILED";
92
- readonly Inactive: "INACTIVE";
93
- };
94
- export type AgencyPeekViewResponseStatusEnum = typeof AgencyPeekViewResponseStatusEnum[keyof typeof AgencyPeekViewResponseStatusEnum];
95
- /**
96
- * Check if a given object implements the AgencyPeekViewResponse interface.
97
- */
98
- export declare function instanceOfAgencyPeekViewResponse(value: object): value is AgencyPeekViewResponse;
99
- export declare function AgencyPeekViewResponseFromJSON(json: any): AgencyPeekViewResponse;
100
- export declare function AgencyPeekViewResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgencyPeekViewResponse;
101
- export declare function AgencyPeekViewResponseToJSON(json: any): AgencyPeekViewResponse;
102
- export declare function AgencyPeekViewResponseToJSONTyped(value?: AgencyPeekViewResponse | null, ignoreDiscriminator?: boolean): any;
@@ -1,69 +0,0 @@
1
- /**
2
- * Service API
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
- *
5
- * The version of the OpenAPI document: v1
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 { AddressViewResponse } from './AddressViewResponse';
13
- /**
14
- *
15
- * @export
16
- * @interface AgencyViewResponse
17
- */
18
- export interface AgencyViewResponse {
19
- /**
20
- *
21
- * @type {string}
22
- * @memberof AgencyViewResponse
23
- */
24
- name: string;
25
- /**
26
- *
27
- * @type {string}
28
- * @memberof AgencyViewResponse
29
- */
30
- email: string;
31
- /**
32
- *
33
- * @type {number}
34
- * @memberof AgencyViewResponse
35
- */
36
- seats: number;
37
- /**
38
- *
39
- * @type {string}
40
- * @memberof AgencyViewResponse
41
- */
42
- subDomain: string;
43
- /**
44
- *
45
- * @type {string}
46
- * @memberof AgencyViewResponse
47
- */
48
- phone: string;
49
- /**
50
- *
51
- * @type {AddressViewResponse}
52
- * @memberof AgencyViewResponse
53
- */
54
- address: AddressViewResponse;
55
- /**
56
- *
57
- * @type {number}
58
- * @memberof AgencyViewResponse
59
- */
60
- yearSince: number;
61
- }
62
- /**
63
- * Check if a given object implements the AgencyViewResponse interface.
64
- */
65
- export declare function instanceOfAgencyViewResponse(value: object): value is AgencyViewResponse;
66
- export declare function AgencyViewResponseFromJSON(json: any): AgencyViewResponse;
67
- export declare function AgencyViewResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgencyViewResponse;
68
- export declare function AgencyViewResponseToJSON(json: any): AgencyViewResponse;
69
- export declare function AgencyViewResponseToJSONTyped(value?: AgencyViewResponse | null, ignoreDiscriminator?: boolean): any;
@@ -1,44 +0,0 @@
1
- /**
2
- * Service API
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
- *
5
- * The version of the OpenAPI document: v1
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 Pageable
16
- */
17
- export interface Pageable {
18
- /**
19
- *
20
- * @type {number}
21
- * @memberof Pageable
22
- */
23
- page?: number;
24
- /**
25
- *
26
- * @type {number}
27
- * @memberof Pageable
28
- */
29
- size?: number;
30
- /**
31
- *
32
- * @type {Array<string>}
33
- * @memberof Pageable
34
- */
35
- sort?: Array<string>;
36
- }
37
- /**
38
- * Check if a given object implements the Pageable interface.
39
- */
40
- export declare function instanceOfPageable(value: object): value is Pageable;
41
- export declare function PageableFromJSON(json: any): Pageable;
42
- export declare function PageableFromJSONTyped(json: any, ignoreDiscriminator: boolean): Pageable;
43
- export declare function PageableToJSON(json: any): Pageable;
44
- export declare function PageableToJSONTyped(value?: Pageable | null, ignoreDiscriminator?: boolean): any;
@@ -1,52 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Service API
6
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
- *
8
- * The version of the OpenAPI document: v1
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.instanceOfPageable = instanceOfPageable;
17
- exports.PageableFromJSON = PageableFromJSON;
18
- exports.PageableFromJSONTyped = PageableFromJSONTyped;
19
- exports.PageableToJSON = PageableToJSON;
20
- exports.PageableToJSONTyped = PageableToJSONTyped;
21
- /**
22
- * Check if a given object implements the Pageable interface.
23
- */
24
- function instanceOfPageable(value) {
25
- return true;
26
- }
27
- function PageableFromJSON(json) {
28
- return PageableFromJSONTyped(json, false);
29
- }
30
- function PageableFromJSONTyped(json, ignoreDiscriminator) {
31
- if (json == null) {
32
- return json;
33
- }
34
- return {
35
- 'page': json['page'] == null ? undefined : json['page'],
36
- 'size': json['size'] == null ? undefined : json['size'],
37
- 'sort': json['sort'] == null ? undefined : json['sort'],
38
- };
39
- }
40
- function PageableToJSON(json) {
41
- return PageableToJSONTyped(json, false);
42
- }
43
- function PageableToJSONTyped(value, ignoreDiscriminator = false) {
44
- if (value == null) {
45
- return value;
46
- }
47
- return {
48
- 'page': value['page'],
49
- 'size': value['size'],
50
- 'sort': value['sort'],
51
- };
52
- }