@homespot-sdk/api 0.0.6

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 (123) hide show
  1. package/.openapi-generator/FILES +43 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/README.md +149 -0
  5. package/dist/apis/AgencyControllerApi.d.ts +222 -0
  6. package/dist/apis/AgencyControllerApi.js +356 -0
  7. package/dist/apis/AgencyQueryControllerApi.d.ts +45 -0
  8. package/dist/apis/AgencyQueryControllerApi.js +63 -0
  9. package/dist/apis/InvitationControllerApi.d.ts +70 -0
  10. package/dist/apis/InvitationControllerApi.js +104 -0
  11. package/dist/apis/InvitationQueryControllerApi.d.ts +46 -0
  12. package/dist/apis/InvitationQueryControllerApi.js +65 -0
  13. package/dist/apis/index.d.ts +4 -0
  14. package/dist/apis/index.js +22 -0
  15. package/dist/esm/apis/AgencyControllerApi.d.ts +222 -0
  16. package/dist/esm/apis/AgencyControllerApi.js +352 -0
  17. package/dist/esm/apis/AgencyQueryControllerApi.d.ts +45 -0
  18. package/dist/esm/apis/AgencyQueryControllerApi.js +59 -0
  19. package/dist/esm/apis/InvitationControllerApi.d.ts +70 -0
  20. package/dist/esm/apis/InvitationControllerApi.js +100 -0
  21. package/dist/esm/apis/InvitationQueryControllerApi.d.ts +46 -0
  22. package/dist/esm/apis/InvitationQueryControllerApi.js +61 -0
  23. package/dist/esm/apis/index.d.ts +4 -0
  24. package/dist/esm/apis/index.js +6 -0
  25. package/dist/esm/index.d.ts +3 -0
  26. package/dist/esm/index.js +5 -0
  27. package/dist/esm/models/AddressRequest.d.ts +56 -0
  28. package/dist/esm/models/AddressRequest.js +59 -0
  29. package/dist/esm/models/CreateAgencyRequest.d.ts +69 -0
  30. package/dist/esm/models/CreateAgencyRequest.js +68 -0
  31. package/dist/esm/models/IdResponse.d.ts +32 -0
  32. package/dist/esm/models/IdResponse.js +43 -0
  33. package/dist/esm/models/InvitationViewResponse.d.ts +79 -0
  34. package/dist/esm/models/InvitationViewResponse.js +73 -0
  35. package/dist/esm/models/InviteMemberRequest.d.ts +32 -0
  36. package/dist/esm/models/InviteMemberRequest.js +43 -0
  37. package/dist/esm/models/PhotoRequest.d.ts +60 -0
  38. package/dist/esm/models/PhotoRequest.js +62 -0
  39. package/dist/esm/models/PresignedUrlResponse.d.ts +44 -0
  40. package/dist/esm/models/PresignedUrlResponse.js +51 -0
  41. package/dist/esm/models/PresignedUrlsResponse.d.ts +33 -0
  42. package/dist/esm/models/PresignedUrlsResponse.js +44 -0
  43. package/dist/esm/models/RolesRequest.d.ts +54 -0
  44. package/dist/esm/models/RolesRequest.js +60 -0
  45. package/dist/esm/models/SocialMediaRequest.d.ts +49 -0
  46. package/dist/esm/models/SocialMediaRequest.js +55 -0
  47. package/dist/esm/models/SocialMediasRequest.d.ts +33 -0
  48. package/dist/esm/models/SocialMediasRequest.js +44 -0
  49. package/dist/esm/models/UploadAcknowledgmentResponse.d.ts +38 -0
  50. package/dist/esm/models/UploadAcknowledgmentResponse.js +47 -0
  51. package/dist/esm/models/index.d.ts +12 -0
  52. package/dist/esm/models/index.js +14 -0
  53. package/dist/esm/runtime.d.ts +184 -0
  54. package/dist/esm/runtime.js +334 -0
  55. package/dist/index.d.ts +3 -0
  56. package/dist/index.js +21 -0
  57. package/dist/models/AddressRequest.d.ts +56 -0
  58. package/dist/models/AddressRequest.js +66 -0
  59. package/dist/models/CreateAgencyRequest.d.ts +69 -0
  60. package/dist/models/CreateAgencyRequest.js +75 -0
  61. package/dist/models/IdResponse.d.ts +32 -0
  62. package/dist/models/IdResponse.js +50 -0
  63. package/dist/models/InvitationViewResponse.d.ts +79 -0
  64. package/dist/models/InvitationViewResponse.js +81 -0
  65. package/dist/models/InviteMemberRequest.d.ts +32 -0
  66. package/dist/models/InviteMemberRequest.js +50 -0
  67. package/dist/models/PhotoRequest.d.ts +60 -0
  68. package/dist/models/PhotoRequest.js +70 -0
  69. package/dist/models/PresignedUrlResponse.d.ts +44 -0
  70. package/dist/models/PresignedUrlResponse.js +58 -0
  71. package/dist/models/PresignedUrlsResponse.d.ts +33 -0
  72. package/dist/models/PresignedUrlsResponse.js +51 -0
  73. package/dist/models/RolesRequest.d.ts +54 -0
  74. package/dist/models/RolesRequest.js +68 -0
  75. package/dist/models/SocialMediaRequest.d.ts +49 -0
  76. package/dist/models/SocialMediaRequest.js +63 -0
  77. package/dist/models/SocialMediasRequest.d.ts +33 -0
  78. package/dist/models/SocialMediasRequest.js +51 -0
  79. package/dist/models/UploadAcknowledgmentResponse.d.ts +38 -0
  80. package/dist/models/UploadAcknowledgmentResponse.js +54 -0
  81. package/dist/models/index.d.ts +12 -0
  82. package/dist/models/index.js +30 -0
  83. package/dist/runtime.d.ts +184 -0
  84. package/dist/runtime.js +350 -0
  85. package/docs/AddressRequest.md +42 -0
  86. package/docs/AgencyControllerApi.md +662 -0
  87. package/docs/AgencyQueryControllerApi.md +78 -0
  88. package/docs/CreateAgencyRequest.md +46 -0
  89. package/docs/IdResponse.md +34 -0
  90. package/docs/InvitationControllerApi.md +154 -0
  91. package/docs/InvitationQueryControllerApi.md +78 -0
  92. package/docs/InvitationViewResponse.md +46 -0
  93. package/docs/InviteMemberRequest.md +34 -0
  94. package/docs/PhotoRequest.md +40 -0
  95. package/docs/PresignedUrlResponse.md +38 -0
  96. package/docs/PresignedUrlsResponse.md +34 -0
  97. package/docs/RolesRequest.md +38 -0
  98. package/docs/SocialMediaRequest.md +36 -0
  99. package/docs/SocialMediasRequest.md +34 -0
  100. package/docs/UploadAcknowledgmentResponse.md +36 -0
  101. package/package.json +21 -0
  102. package/src/apis/AgencyControllerApi.ts +660 -0
  103. package/src/apis/AgencyQueryControllerApi.ts +88 -0
  104. package/src/apis/InvitationControllerApi.ts +173 -0
  105. package/src/apis/InvitationQueryControllerApi.ts +96 -0
  106. package/src/apis/index.ts +6 -0
  107. package/src/index.ts +5 -0
  108. package/src/models/AddressRequest.ts +102 -0
  109. package/src/models/CreateAgencyRequest.ts +128 -0
  110. package/src/models/IdResponse.ts +66 -0
  111. package/src/models/InvitationViewResponse.ts +132 -0
  112. package/src/models/InviteMemberRequest.ts +66 -0
  113. package/src/models/PhotoRequest.ts +105 -0
  114. package/src/models/PresignedUrlResponse.ts +84 -0
  115. package/src/models/PresignedUrlsResponse.ts +74 -0
  116. package/src/models/RolesRequest.ts +97 -0
  117. package/src/models/SocialMediaRequest.ts +88 -0
  118. package/src/models/SocialMediasRequest.ts +74 -0
  119. package/src/models/UploadAcknowledgmentResponse.ts +75 -0
  120. package/src/models/index.ts +14 -0
  121. package/src/runtime.ts +432 -0
  122. package/tsconfig.esm.json +7 -0
  123. package/tsconfig.json +16 -0
@@ -0,0 +1,69 @@
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 { AddressRequest } from './AddressRequest';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CreateAgencyRequest
17
+ */
18
+ export interface CreateAgencyRequest {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof CreateAgencyRequest
23
+ */
24
+ name: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof CreateAgencyRequest
29
+ */
30
+ email: string;
31
+ /**
32
+ *
33
+ * @type {number}
34
+ * @memberof CreateAgencyRequest
35
+ */
36
+ seats: number;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof CreateAgencyRequest
41
+ */
42
+ subDomain: string;
43
+ /**
44
+ *
45
+ * @type {string}
46
+ * @memberof CreateAgencyRequest
47
+ */
48
+ phone: string;
49
+ /**
50
+ *
51
+ * @type {AddressRequest}
52
+ * @memberof CreateAgencyRequest
53
+ */
54
+ address: AddressRequest;
55
+ /**
56
+ *
57
+ * @type {number}
58
+ * @memberof CreateAgencyRequest
59
+ */
60
+ yearSince: number;
61
+ }
62
+ /**
63
+ * Check if a given object implements the CreateAgencyRequest interface.
64
+ */
65
+ export declare function instanceOfCreateAgencyRequest(value: object): value is CreateAgencyRequest;
66
+ export declare function CreateAgencyRequestFromJSON(json: any): CreateAgencyRequest;
67
+ export declare function CreateAgencyRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateAgencyRequest;
68
+ export declare function CreateAgencyRequestToJSON(json: any): CreateAgencyRequest;
69
+ export declare function CreateAgencyRequestToJSONTyped(value?: CreateAgencyRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,75 @@
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.instanceOfCreateAgencyRequest = instanceOfCreateAgencyRequest;
17
+ exports.CreateAgencyRequestFromJSON = CreateAgencyRequestFromJSON;
18
+ exports.CreateAgencyRequestFromJSONTyped = CreateAgencyRequestFromJSONTyped;
19
+ exports.CreateAgencyRequestToJSON = CreateAgencyRequestToJSON;
20
+ exports.CreateAgencyRequestToJSONTyped = CreateAgencyRequestToJSONTyped;
21
+ const AddressRequest_1 = require("./AddressRequest");
22
+ /**
23
+ * Check if a given object implements the CreateAgencyRequest interface.
24
+ */
25
+ function instanceOfCreateAgencyRequest(value) {
26
+ if (!('name' in value) || value['name'] === undefined)
27
+ return false;
28
+ if (!('email' in value) || value['email'] === undefined)
29
+ return false;
30
+ if (!('seats' in value) || value['seats'] === undefined)
31
+ return false;
32
+ if (!('subDomain' in value) || value['subDomain'] === undefined)
33
+ return false;
34
+ if (!('phone' in value) || value['phone'] === undefined)
35
+ return false;
36
+ if (!('address' in value) || value['address'] === undefined)
37
+ return false;
38
+ if (!('yearSince' in value) || value['yearSince'] === undefined)
39
+ return false;
40
+ return true;
41
+ }
42
+ function CreateAgencyRequestFromJSON(json) {
43
+ return CreateAgencyRequestFromJSONTyped(json, false);
44
+ }
45
+ function CreateAgencyRequestFromJSONTyped(json, ignoreDiscriminator) {
46
+ if (json == null) {
47
+ return json;
48
+ }
49
+ return {
50
+ 'name': json['name'],
51
+ 'email': json['email'],
52
+ 'seats': json['seats'],
53
+ 'subDomain': json['subDomain'],
54
+ 'phone': json['phone'],
55
+ 'address': (0, AddressRequest_1.AddressRequestFromJSON)(json['address']),
56
+ 'yearSince': json['yearSince'],
57
+ };
58
+ }
59
+ function CreateAgencyRequestToJSON(json) {
60
+ return CreateAgencyRequestToJSONTyped(json, false);
61
+ }
62
+ function CreateAgencyRequestToJSONTyped(value, ignoreDiscriminator = false) {
63
+ if (value == null) {
64
+ return value;
65
+ }
66
+ return {
67
+ 'name': value['name'],
68
+ 'email': value['email'],
69
+ 'seats': value['seats'],
70
+ 'subDomain': value['subDomain'],
71
+ 'phone': value['phone'],
72
+ 'address': (0, AddressRequest_1.AddressRequestToJSON)(value['address']),
73
+ 'yearSince': value['yearSince'],
74
+ };
75
+ }
@@ -0,0 +1,32 @@
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 IdResponse
16
+ */
17
+ export interface IdResponse {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof IdResponse
22
+ */
23
+ id: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the IdResponse interface.
27
+ */
28
+ export declare function instanceOfIdResponse(value: object): value is IdResponse;
29
+ export declare function IdResponseFromJSON(json: any): IdResponse;
30
+ export declare function IdResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): IdResponse;
31
+ export declare function IdResponseToJSON(json: any): IdResponse;
32
+ export declare function IdResponseToJSONTyped(value?: IdResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,50 @@
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.instanceOfIdResponse = instanceOfIdResponse;
17
+ exports.IdResponseFromJSON = IdResponseFromJSON;
18
+ exports.IdResponseFromJSONTyped = IdResponseFromJSONTyped;
19
+ exports.IdResponseToJSON = IdResponseToJSON;
20
+ exports.IdResponseToJSONTyped = IdResponseToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the IdResponse interface.
23
+ */
24
+ function instanceOfIdResponse(value) {
25
+ if (!('id' in value) || value['id'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function IdResponseFromJSON(json) {
30
+ return IdResponseFromJSONTyped(json, false);
31
+ }
32
+ function IdResponseFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'id': json['id'],
38
+ };
39
+ }
40
+ function IdResponseToJSON(json) {
41
+ return IdResponseToJSONTyped(json, false);
42
+ }
43
+ function IdResponseToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'id': value['id'],
49
+ };
50
+ }
@@ -0,0 +1,79 @@
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 InvitationViewResponse
16
+ */
17
+ export interface InvitationViewResponse {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof InvitationViewResponse
22
+ */
23
+ invitationId: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof InvitationViewResponse
28
+ */
29
+ email: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof InvitationViewResponse
34
+ */
35
+ status: InvitationViewResponseStatusEnum;
36
+ /**
37
+ *
38
+ * @type {Date}
39
+ * @memberof InvitationViewResponse
40
+ */
41
+ createdAt: Date;
42
+ /**
43
+ *
44
+ * @type {Date}
45
+ * @memberof InvitationViewResponse
46
+ */
47
+ expiresAt: Date;
48
+ /**
49
+ *
50
+ * @type {Date}
51
+ * @memberof InvitationViewResponse
52
+ */
53
+ acceptedAt?: Date;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof InvitationViewResponse
58
+ */
59
+ acceptedBy?: string;
60
+ }
61
+ /**
62
+ * @export
63
+ */
64
+ export declare const InvitationViewResponseStatusEnum: {
65
+ readonly Pending: "PENDING";
66
+ readonly Accepted: "ACCEPTED";
67
+ readonly Rejected: "REJECTED";
68
+ readonly Cancelled: "CANCELLED";
69
+ readonly Expired: "EXPIRED";
70
+ };
71
+ export type InvitationViewResponseStatusEnum = typeof InvitationViewResponseStatusEnum[keyof typeof InvitationViewResponseStatusEnum];
72
+ /**
73
+ * Check if a given object implements the InvitationViewResponse interface.
74
+ */
75
+ export declare function instanceOfInvitationViewResponse(value: object): value is InvitationViewResponse;
76
+ export declare function InvitationViewResponseFromJSON(json: any): InvitationViewResponse;
77
+ export declare function InvitationViewResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): InvitationViewResponse;
78
+ export declare function InvitationViewResponseToJSON(json: any): InvitationViewResponse;
79
+ export declare function InvitationViewResponseToJSONTyped(value?: InvitationViewResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,81 @@
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.InvitationViewResponseStatusEnum = void 0;
17
+ exports.instanceOfInvitationViewResponse = instanceOfInvitationViewResponse;
18
+ exports.InvitationViewResponseFromJSON = InvitationViewResponseFromJSON;
19
+ exports.InvitationViewResponseFromJSONTyped = InvitationViewResponseFromJSONTyped;
20
+ exports.InvitationViewResponseToJSON = InvitationViewResponseToJSON;
21
+ exports.InvitationViewResponseToJSONTyped = InvitationViewResponseToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.InvitationViewResponseStatusEnum = {
26
+ Pending: 'PENDING',
27
+ Accepted: 'ACCEPTED',
28
+ Rejected: 'REJECTED',
29
+ Cancelled: 'CANCELLED',
30
+ Expired: 'EXPIRED'
31
+ };
32
+ /**
33
+ * Check if a given object implements the InvitationViewResponse interface.
34
+ */
35
+ function instanceOfInvitationViewResponse(value) {
36
+ if (!('invitationId' in value) || value['invitationId'] === undefined)
37
+ return false;
38
+ if (!('email' in value) || value['email'] === undefined)
39
+ return false;
40
+ if (!('status' in value) || value['status'] === undefined)
41
+ return false;
42
+ if (!('createdAt' in value) || value['createdAt'] === undefined)
43
+ return false;
44
+ if (!('expiresAt' in value) || value['expiresAt'] === undefined)
45
+ return false;
46
+ return true;
47
+ }
48
+ function InvitationViewResponseFromJSON(json) {
49
+ return InvitationViewResponseFromJSONTyped(json, false);
50
+ }
51
+ function InvitationViewResponseFromJSONTyped(json, ignoreDiscriminator) {
52
+ if (json == null) {
53
+ return json;
54
+ }
55
+ return {
56
+ 'invitationId': json['invitationId'],
57
+ 'email': json['email'],
58
+ 'status': json['status'],
59
+ 'createdAt': (new Date(json['createdAt'])),
60
+ 'expiresAt': (new Date(json['expiresAt'])),
61
+ 'acceptedAt': json['acceptedAt'] == null ? undefined : (new Date(json['acceptedAt'])),
62
+ 'acceptedBy': json['acceptedBy'] == null ? undefined : json['acceptedBy'],
63
+ };
64
+ }
65
+ function InvitationViewResponseToJSON(json) {
66
+ return InvitationViewResponseToJSONTyped(json, false);
67
+ }
68
+ function InvitationViewResponseToJSONTyped(value, ignoreDiscriminator = false) {
69
+ if (value == null) {
70
+ return value;
71
+ }
72
+ return {
73
+ 'invitationId': value['invitationId'],
74
+ 'email': value['email'],
75
+ 'status': value['status'],
76
+ 'createdAt': value['createdAt'].toISOString(),
77
+ 'expiresAt': value['expiresAt'].toISOString(),
78
+ 'acceptedAt': value['acceptedAt'] == null ? value['acceptedAt'] : value['acceptedAt'].toISOString(),
79
+ 'acceptedBy': value['acceptedBy'],
80
+ };
81
+ }
@@ -0,0 +1,32 @@
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 InviteMemberRequest
16
+ */
17
+ export interface InviteMemberRequest {
18
+ /**
19
+ *
20
+ * @type {Array<string>}
21
+ * @memberof InviteMemberRequest
22
+ */
23
+ emails: Array<string>;
24
+ }
25
+ /**
26
+ * Check if a given object implements the InviteMemberRequest interface.
27
+ */
28
+ export declare function instanceOfInviteMemberRequest(value: object): value is InviteMemberRequest;
29
+ export declare function InviteMemberRequestFromJSON(json: any): InviteMemberRequest;
30
+ export declare function InviteMemberRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): InviteMemberRequest;
31
+ export declare function InviteMemberRequestToJSON(json: any): InviteMemberRequest;
32
+ export declare function InviteMemberRequestToJSONTyped(value?: InviteMemberRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,50 @@
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.instanceOfInviteMemberRequest = instanceOfInviteMemberRequest;
17
+ exports.InviteMemberRequestFromJSON = InviteMemberRequestFromJSON;
18
+ exports.InviteMemberRequestFromJSONTyped = InviteMemberRequestFromJSONTyped;
19
+ exports.InviteMemberRequestToJSON = InviteMemberRequestToJSON;
20
+ exports.InviteMemberRequestToJSONTyped = InviteMemberRequestToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the InviteMemberRequest interface.
23
+ */
24
+ function instanceOfInviteMemberRequest(value) {
25
+ if (!('emails' in value) || value['emails'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function InviteMemberRequestFromJSON(json) {
30
+ return InviteMemberRequestFromJSONTyped(json, false);
31
+ }
32
+ function InviteMemberRequestFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'emails': json['emails'],
38
+ };
39
+ }
40
+ function InviteMemberRequestToJSON(json) {
41
+ return InviteMemberRequestToJSONTyped(json, false);
42
+ }
43
+ function InviteMemberRequestToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'emails': value['emails'],
49
+ };
50
+ }
@@ -0,0 +1,60 @@
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 PhotoRequest
16
+ */
17
+ export interface PhotoRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof PhotoRequest
22
+ */
23
+ photo: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof PhotoRequest
28
+ */
29
+ type: PhotoRequestTypeEnum;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof PhotoRequest
34
+ */
35
+ width: number;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof PhotoRequest
40
+ */
41
+ height?: number;
42
+ }
43
+ /**
44
+ * @export
45
+ */
46
+ export declare const PhotoRequestTypeEnum: {
47
+ readonly Jpeg: "JPEG";
48
+ readonly Jpg: "JPG";
49
+ readonly Png: "PNG";
50
+ readonly Webp: "WEBP";
51
+ };
52
+ export type PhotoRequestTypeEnum = typeof PhotoRequestTypeEnum[keyof typeof PhotoRequestTypeEnum];
53
+ /**
54
+ * Check if a given object implements the PhotoRequest interface.
55
+ */
56
+ export declare function instanceOfPhotoRequest(value: object): value is PhotoRequest;
57
+ export declare function PhotoRequestFromJSON(json: any): PhotoRequest;
58
+ export declare function PhotoRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PhotoRequest;
59
+ export declare function PhotoRequestToJSON(json: any): PhotoRequest;
60
+ export declare function PhotoRequestToJSONTyped(value?: PhotoRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,70 @@
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.PhotoRequestTypeEnum = void 0;
17
+ exports.instanceOfPhotoRequest = instanceOfPhotoRequest;
18
+ exports.PhotoRequestFromJSON = PhotoRequestFromJSON;
19
+ exports.PhotoRequestFromJSONTyped = PhotoRequestFromJSONTyped;
20
+ exports.PhotoRequestToJSON = PhotoRequestToJSON;
21
+ exports.PhotoRequestToJSONTyped = PhotoRequestToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.PhotoRequestTypeEnum = {
26
+ Jpeg: 'JPEG',
27
+ Jpg: 'JPG',
28
+ Png: 'PNG',
29
+ Webp: 'WEBP'
30
+ };
31
+ /**
32
+ * Check if a given object implements the PhotoRequest interface.
33
+ */
34
+ function instanceOfPhotoRequest(value) {
35
+ if (!('photo' in value) || value['photo'] === undefined)
36
+ return false;
37
+ if (!('type' in value) || value['type'] === undefined)
38
+ return false;
39
+ if (!('width' in value) || value['width'] === undefined)
40
+ return false;
41
+ return true;
42
+ }
43
+ function PhotoRequestFromJSON(json) {
44
+ return PhotoRequestFromJSONTyped(json, false);
45
+ }
46
+ function PhotoRequestFromJSONTyped(json, ignoreDiscriminator) {
47
+ if (json == null) {
48
+ return json;
49
+ }
50
+ return {
51
+ 'photo': json['photo'],
52
+ 'type': json['type'],
53
+ 'width': json['width'],
54
+ 'height': json['height'] == null ? undefined : json['height'],
55
+ };
56
+ }
57
+ function PhotoRequestToJSON(json) {
58
+ return PhotoRequestToJSONTyped(json, false);
59
+ }
60
+ function PhotoRequestToJSONTyped(value, ignoreDiscriminator = false) {
61
+ if (value == null) {
62
+ return value;
63
+ }
64
+ return {
65
+ 'photo': value['photo'],
66
+ 'type': value['type'],
67
+ 'width': value['width'],
68
+ 'height': value['height'],
69
+ };
70
+ }
@@ -0,0 +1,44 @@
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 PresignedUrlResponse
16
+ */
17
+ export interface PresignedUrlResponse {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof PresignedUrlResponse
22
+ */
23
+ originalName: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof PresignedUrlResponse
28
+ */
29
+ key: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof PresignedUrlResponse
34
+ */
35
+ url: string;
36
+ }
37
+ /**
38
+ * Check if a given object implements the PresignedUrlResponse interface.
39
+ */
40
+ export declare function instanceOfPresignedUrlResponse(value: object): value is PresignedUrlResponse;
41
+ export declare function PresignedUrlResponseFromJSON(json: any): PresignedUrlResponse;
42
+ export declare function PresignedUrlResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PresignedUrlResponse;
43
+ export declare function PresignedUrlResponseToJSON(json: any): PresignedUrlResponse;
44
+ export declare function PresignedUrlResponseToJSONTyped(value?: PresignedUrlResponse | null, ignoreDiscriminator?: boolean): any;