@s-corp-biz/biz-entity-api 1.6.0-development.3

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 (179) hide show
  1. package/lib/api/auth-api.d.ts +135 -0
  2. package/lib/api/auth-api.js +386 -0
  3. package/lib/api/class2553-irs-form-editor-api.d.ts +70 -0
  4. package/lib/api/class2553-irs-form-editor-api.js +211 -0
  5. package/lib/api/company-api.d.ts +262 -0
  6. package/lib/api/company-api.js +753 -0
  7. package/lib/api/depreciation-api.d.ts +196 -0
  8. package/lib/api/depreciation-api.js +564 -0
  9. package/lib/api/family-api.d.ts +247 -0
  10. package/lib/api/family-api.js +713 -0
  11. package/lib/api/people-api.d.ts +430 -0
  12. package/lib/api/people-api.js +1184 -0
  13. package/lib/api/personal-tax-report-adjustments-to-income-api.d.ts +290 -0
  14. package/lib/api/personal-tax-report-adjustments-to-income-api.js +824 -0
  15. package/lib/api/personal-tax-report-api.d.ts +298 -0
  16. package/lib/api/personal-tax-report-api.js +834 -0
  17. package/lib/api/personal-tax-report-capital-gain-api.d.ts +290 -0
  18. package/lib/api/personal-tax-report-capital-gain-api.js +824 -0
  19. package/lib/api/personal-tax-report-federal-tax-section-api.d.ts +228 -0
  20. package/lib/api/personal-tax-report-federal-tax-section-api.js +650 -0
  21. package/lib/api/personal-tax-report-minimum-amount-api.d.ts +104 -0
  22. package/lib/api/personal-tax-report-minimum-amount-api.js +302 -0
  23. package/lib/api/personal-tax-report-other-income-api.d.ts +290 -0
  24. package/lib/api/personal-tax-report-other-income-api.js +824 -0
  25. package/lib/api/personal-tax-report-personal-itemized-deductions-api.d.ts +290 -0
  26. package/lib/api/personal-tax-report-personal-itemized-deductions-api.js +824 -0
  27. package/lib/api/personal-tax-report-w2-wages-api.d.ts +204 -0
  28. package/lib/api/personal-tax-report-w2-wages-api.js +574 -0
  29. package/lib/api/quick-books-auth-api.d.ts +106 -0
  30. package/lib/api/quick-books-auth-api.js +310 -0
  31. package/lib/api/stripe-api.d.ts +70 -0
  32. package/lib/api/stripe-api.js +211 -0
  33. package/lib/api/tax-category-api.d.ts +66 -0
  34. package/lib/api/tax-category-api.js +205 -0
  35. package/lib/api/tax-category-map-api.d.ts +171 -0
  36. package/lib/api/tax-category-map-api.js +484 -0
  37. package/lib/api/tax-line-items-api.d.ts +133 -0
  38. package/lib/api/tax-line-items-api.js +386 -0
  39. package/lib/api.d.ts +30 -0
  40. package/lib/api.js +48 -0
  41. package/lib/base.d.ts +66 -0
  42. package/lib/base.js +86 -0
  43. package/lib/common.d.ts +65 -0
  44. package/lib/common.js +253 -0
  45. package/lib/configuration.d.ts +91 -0
  46. package/lib/configuration.js +57 -0
  47. package/lib/index.d.ts +14 -0
  48. package/lib/index.js +32 -0
  49. package/lib/models/accept-invitation-request.d.ts +31 -0
  50. package/lib/models/accept-invitation-request.js +15 -0
  51. package/lib/models/account-name-response.d.ts +42 -0
  52. package/lib/models/account-name-response.js +15 -0
  53. package/lib/models/account-type.d.ts +25 -0
  54. package/lib/models/account-type.js +29 -0
  55. package/lib/models/add-existing-member-request.d.ts +24 -0
  56. package/lib/models/add-existing-member-request.js +15 -0
  57. package/lib/models/add-family-member-request.d.ts +31 -0
  58. package/lib/models/add-family-member-request.js +15 -0
  59. package/lib/models/add-person-request.d.ts +91 -0
  60. package/lib/models/add-person-request.js +15 -0
  61. package/lib/models/authenticated-user-in-ui.d.ts +42 -0
  62. package/lib/models/authenticated-user-in-ui.js +15 -0
  63. package/lib/models/company-ownership-transfer-request.d.ts +24 -0
  64. package/lib/models/company-ownership-transfer-request.js +15 -0
  65. package/lib/models/company-response.d.ts +115 -0
  66. package/lib/models/company-response.js +15 -0
  67. package/lib/models/company-update-request.d.ts +66 -0
  68. package/lib/models/company-update-request.js +15 -0
  69. package/lib/models/company-user-response.d.ts +96 -0
  70. package/lib/models/company-user-response.js +15 -0
  71. package/lib/models/create-depreciation-request.d.ts +54 -0
  72. package/lib/models/create-depreciation-request.js +15 -0
  73. package/lib/models/create-payment-intent-request.d.ts +30 -0
  74. package/lib/models/create-payment-intent-request.js +15 -0
  75. package/lib/models/create-tax-line-item-request.d.ts +48 -0
  76. package/lib/models/create-tax-line-item-request.js +15 -0
  77. package/lib/models/create-w2-wages-request.d.ts +48 -0
  78. package/lib/models/create-w2-wages-request.js +15 -0
  79. package/lib/models/depreciation-response.d.ts +74 -0
  80. package/lib/models/depreciation-response.js +15 -0
  81. package/lib/models/family-member-info.d.ts +42 -0
  82. package/lib/models/family-member-info.js +15 -0
  83. package/lib/models/family-member-permission-request.d.ts +31 -0
  84. package/lib/models/family-member-permission-request.js +15 -0
  85. package/lib/models/family-member-response.d.ts +42 -0
  86. package/lib/models/family-member-response.js +15 -0
  87. package/lib/models/federal-tax-estimate-response.d.ts +30 -0
  88. package/lib/models/federal-tax-estimate-response.js +15 -0
  89. package/lib/models/filing-status-enum.d.ts +24 -0
  90. package/lib/models/filing-status-enum.js +28 -0
  91. package/lib/models/fill2553-irs-form-request.d.ts +54 -0
  92. package/lib/models/fill2553-irs-form-request.js +15 -0
  93. package/lib/models/head-personal-tax-report-summary-response.d.ts +39 -0
  94. package/lib/models/head-personal-tax-report-summary-response.js +15 -0
  95. package/lib/models/http-status-code.d.ts +80 -0
  96. package/lib/models/http-status-code.js +84 -0
  97. package/lib/models/index.d.ts +64 -0
  98. package/lib/models/index.js +80 -0
  99. package/lib/models/invitation-metadata-response.d.ts +67 -0
  100. package/lib/models/invitation-metadata-response.js +15 -0
  101. package/lib/models/join-family-by-company-request.d.ts +31 -0
  102. package/lib/models/join-family-by-company-request.js +15 -0
  103. package/lib/models/long-term-capital-gains-tax-response.d.ts +30 -0
  104. package/lib/models/long-term-capital-gains-tax-response.js +15 -0
  105. package/lib/models/monthly-data.d.ts +30 -0
  106. package/lib/models/monthly-data.js +15 -0
  107. package/lib/models/open-id-claim-response.d.ts +31 -0
  108. package/lib/models/open-id-claim-response.js +15 -0
  109. package/lib/models/open-id-options-result.d.ts +24 -0
  110. package/lib/models/open-id-options-result.js +15 -0
  111. package/lib/models/people-response.d.ts +108 -0
  112. package/lib/models/people-response.js +15 -0
  113. package/lib/models/permissions-enum.d.ts +24 -0
  114. package/lib/models/permissions-enum.js +28 -0
  115. package/lib/models/personal-tax-report-response.d.ts +55 -0
  116. package/lib/models/personal-tax-report-response.js +15 -0
  117. package/lib/models/problem-details.d.ts +49 -0
  118. package/lib/models/problem-details.js +15 -0
  119. package/lib/models/qbaccount-name-info.d.ts +30 -0
  120. package/lib/models/qbaccount-name-info.js +15 -0
  121. package/lib/models/qbaccounts.d.ts +54 -0
  122. package/lib/models/qbaccounts.js +15 -0
  123. package/lib/models/quick-books-account-mapping.d.ts +36 -0
  124. package/lib/models/quick-books-account-mapping.js +15 -0
  125. package/lib/models/resend-invitation-request.d.ts +30 -0
  126. package/lib/models/resend-invitation-request.js +15 -0
  127. package/lib/models/send-invitation-request.d.ts +42 -0
  128. package/lib/models/send-invitation-request.js +15 -0
  129. package/lib/models/shared-family-info-response.d.ts +44 -0
  130. package/lib/models/shared-family-info-response.js +15 -0
  131. package/lib/models/sign-in-with-open-id-req.d.ts +30 -0
  132. package/lib/models/sign-in-with-open-id-req.js +15 -0
  133. package/lib/models/tax-calculation-step.d.ts +45 -0
  134. package/lib/models/tax-calculation-step.js +15 -0
  135. package/lib/models/tax-categories.d.ts +43 -0
  136. package/lib/models/tax-categories.js +15 -0
  137. package/lib/models/tax-category-balance.d.ts +49 -0
  138. package/lib/models/tax-category-balance.js +15 -0
  139. package/lib/models/tax-category-balances.d.ts +79 -0
  140. package/lib/models/tax-category-balances.js +15 -0
  141. package/lib/models/tax-category-enum.d.ts +35 -0
  142. package/lib/models/tax-category-enum.js +39 -0
  143. package/lib/models/tax-category-info.d.ts +31 -0
  144. package/lib/models/tax-category-info.js +15 -0
  145. package/lib/models/tax-category-response.d.ts +37 -0
  146. package/lib/models/tax-category-response.js +15 -0
  147. package/lib/models/tax-category-to-qbaccount-mappings.d.ts +87 -0
  148. package/lib/models/tax-category-to-qbaccount-mappings.js +15 -0
  149. package/lib/models/tax-dashboard-calculations.d.ts +67 -0
  150. package/lib/models/tax-dashboard-calculations.js +15 -0
  151. package/lib/models/tax-dashboard-value.d.ts +31 -0
  152. package/lib/models/tax-dashboard-value.js +15 -0
  153. package/lib/models/tax-item-definition-response.d.ts +31 -0
  154. package/lib/models/tax-item-definition-response.js +15 -0
  155. package/lib/models/tax-item-type-enum.d.ts +40 -0
  156. package/lib/models/tax-item-type-enum.js +44 -0
  157. package/lib/models/tax-line-item-response.d.ts +85 -0
  158. package/lib/models/tax-line-item-response.js +15 -0
  159. package/lib/models/tax-report-response.d.ts +57 -0
  160. package/lib/models/tax-report-response.js +15 -0
  161. package/lib/models/test-email-request.d.ts +24 -0
  162. package/lib/models/test-email-request.js +15 -0
  163. package/lib/models/unmapped-qbaccount.d.ts +36 -0
  164. package/lib/models/unmapped-qbaccount.js +15 -0
  165. package/lib/models/update-depreciation-request.d.ts +48 -0
  166. package/lib/models/update-depreciation-request.js +15 -0
  167. package/lib/models/update-person-request.d.ts +97 -0
  168. package/lib/models/update-person-request.js +15 -0
  169. package/lib/models/update-personal-tax-report-request.d.ts +25 -0
  170. package/lib/models/update-personal-tax-report-request.js +15 -0
  171. package/lib/models/update-tax-line-item-request.d.ts +48 -0
  172. package/lib/models/update-tax-line-item-request.js +15 -0
  173. package/lib/models/update-w2-wages-request.d.ts +48 -0
  174. package/lib/models/update-w2-wages-request.js +15 -0
  175. package/lib/models/user-summary-response.d.ts +36 -0
  176. package/lib/models/user-summary-response.js +15 -0
  177. package/lib/models/w2-wages-response.d.ts +78 -0
  178. package/lib/models/w2-wages-response.js +15 -0
  179. package/package.json +118 -0
@@ -0,0 +1,713 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * biz-entity-api
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v2
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
+ var __extends = (this && this.__extends) || (function () {
16
+ var extendStatics = function (d, b) {
17
+ extendStatics = Object.setPrototypeOf ||
18
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
19
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
20
+ return extendStatics(d, b);
21
+ };
22
+ return function (d, b) {
23
+ if (typeof b !== "function" && b !== null)
24
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
25
+ extendStatics(d, b);
26
+ function __() { this.constructor = d; }
27
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
28
+ };
29
+ })();
30
+ var __assign = (this && this.__assign) || function () {
31
+ __assign = Object.assign || function(t) {
32
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
33
+ s = arguments[i];
34
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
35
+ t[p] = s[p];
36
+ }
37
+ return t;
38
+ };
39
+ return __assign.apply(this, arguments);
40
+ };
41
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
42
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
43
+ return new (P || (P = Promise))(function (resolve, reject) {
44
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
45
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
46
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
47
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
48
+ });
49
+ };
50
+ var __generator = (this && this.__generator) || function (thisArg, body) {
51
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
52
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
53
+ function verb(n) { return function (v) { return step([n, v]); }; }
54
+ function step(op) {
55
+ if (f) throw new TypeError("Generator is already executing.");
56
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
57
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
58
+ if (y = 0, t) op = [op[0] & 2, t.value];
59
+ switch (op[0]) {
60
+ case 0: case 1: t = op; break;
61
+ case 4: _.label++; return { value: op[1], done: false };
62
+ case 5: _.label++; y = op[1]; op = [0]; continue;
63
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
64
+ default:
65
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
66
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
67
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
68
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
69
+ if (t[2]) _.ops.pop();
70
+ _.trys.pop(); continue;
71
+ }
72
+ op = body.call(thisArg, _);
73
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
74
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
75
+ }
76
+ };
77
+ Object.defineProperty(exports, "__esModule", { value: true });
78
+ exports.FamilyApi = exports.FamilyApiFactory = exports.FamilyApiFp = exports.FamilyApiAxiosParamCreator = void 0;
79
+ var axios_1 = require("axios");
80
+ // Some imports not used depending on template conditions
81
+ // @ts-ignore
82
+ var common_1 = require("../common");
83
+ // @ts-ignore
84
+ var base_1 = require("../base");
85
+ /**
86
+ * FamilyApi - axios parameter creator
87
+ * @export
88
+ */
89
+ var FamilyApiAxiosParamCreator = function (configuration) {
90
+ var _this = this;
91
+ return {
92
+ /**
93
+ *
94
+ * @param {string} companyId
95
+ * @param {JoinFamilyByCompanyRequest} [joinFamilyByCompanyRequest]
96
+ * @param {*} [options] Override http request option.
97
+ * @throws {RequiredError}
98
+ */
99
+ apiFamilyCompanyCompanyIdJoinPost: function (companyId, joinFamilyByCompanyRequest, options) {
100
+ if (options === void 0) { options = {}; }
101
+ return __awaiter(_this, void 0, void 0, function () {
102
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
103
+ return __generator(this, function (_a) {
104
+ switch (_a.label) {
105
+ case 0:
106
+ // verify required parameter 'companyId' is not null or undefined
107
+ (0, common_1.assertParamExists)('apiFamilyCompanyCompanyIdJoinPost', 'companyId', companyId);
108
+ localVarPath = "/api/family/company/{companyId}/join"
109
+ .replace("{".concat("companyId", "}"), encodeURIComponent(String(companyId)));
110
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
111
+ if (configuration) {
112
+ baseOptions = configuration.baseOptions;
113
+ }
114
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
115
+ localVarHeaderParameter = {};
116
+ localVarQueryParameter = {};
117
+ // authentication Bearer required
118
+ // http bearer authentication required
119
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
120
+ case 1:
121
+ // authentication Bearer required
122
+ // http bearer authentication required
123
+ _a.sent();
124
+ localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
125
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
126
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
127
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
128
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(joinFamilyByCompanyRequest, localVarRequestOptions, configuration);
129
+ return [2 /*return*/, {
130
+ url: (0, common_1.toPathString)(localVarUrlObj),
131
+ options: localVarRequestOptions,
132
+ }];
133
+ }
134
+ });
135
+ });
136
+ },
137
+ /**
138
+ *
139
+ * @param {string} userId
140
+ * @param {*} [options] Override http request option.
141
+ * @throws {RequiredError}
142
+ */
143
+ apiFamilyFamilyMembersUserIdGet: function (userId, options) {
144
+ if (options === void 0) { options = {}; }
145
+ return __awaiter(_this, void 0, void 0, function () {
146
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
147
+ return __generator(this, function (_a) {
148
+ switch (_a.label) {
149
+ case 0:
150
+ // verify required parameter 'userId' is not null or undefined
151
+ (0, common_1.assertParamExists)('apiFamilyFamilyMembersUserIdGet', 'userId', userId);
152
+ localVarPath = "/api/family/family-members/{userId}"
153
+ .replace("{".concat("userId", "}"), encodeURIComponent(String(userId)));
154
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
155
+ if (configuration) {
156
+ baseOptions = configuration.baseOptions;
157
+ }
158
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
159
+ localVarHeaderParameter = {};
160
+ localVarQueryParameter = {};
161
+ // authentication Bearer required
162
+ // http bearer authentication required
163
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
164
+ case 1:
165
+ // authentication Bearer required
166
+ // http bearer authentication required
167
+ _a.sent();
168
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
169
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
170
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
171
+ return [2 /*return*/, {
172
+ url: (0, common_1.toPathString)(localVarUrlObj),
173
+ options: localVarRequestOptions,
174
+ }];
175
+ }
176
+ });
177
+ });
178
+ },
179
+ /**
180
+ *
181
+ * @param {string} headUserId
182
+ * @param {string} memberUserIdToRemove
183
+ * @param {*} [options] Override http request option.
184
+ * @throws {RequiredError}
185
+ */
186
+ apiFamilyMembersHeadUserIdMemberUserIdToRemoveDelete: function (headUserId, memberUserIdToRemove, options) {
187
+ if (options === void 0) { options = {}; }
188
+ return __awaiter(_this, void 0, void 0, function () {
189
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
190
+ return __generator(this, function (_a) {
191
+ switch (_a.label) {
192
+ case 0:
193
+ // verify required parameter 'headUserId' is not null or undefined
194
+ (0, common_1.assertParamExists)('apiFamilyMembersHeadUserIdMemberUserIdToRemoveDelete', 'headUserId', headUserId);
195
+ // verify required parameter 'memberUserIdToRemove' is not null or undefined
196
+ (0, common_1.assertParamExists)('apiFamilyMembersHeadUserIdMemberUserIdToRemoveDelete', 'memberUserIdToRemove', memberUserIdToRemove);
197
+ localVarPath = "/api/family/members/{headUserId}/{memberUserIdToRemove}"
198
+ .replace("{".concat("headUserId", "}"), encodeURIComponent(String(headUserId)))
199
+ .replace("{".concat("memberUserIdToRemove", "}"), encodeURIComponent(String(memberUserIdToRemove)));
200
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
201
+ if (configuration) {
202
+ baseOptions = configuration.baseOptions;
203
+ }
204
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
205
+ localVarHeaderParameter = {};
206
+ localVarQueryParameter = {};
207
+ // authentication Bearer required
208
+ // http bearer authentication required
209
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
210
+ case 1:
211
+ // authentication Bearer required
212
+ // http bearer authentication required
213
+ _a.sent();
214
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
215
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
216
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
217
+ return [2 /*return*/, {
218
+ url: (0, common_1.toPathString)(localVarUrlObj),
219
+ options: localVarRequestOptions,
220
+ }];
221
+ }
222
+ });
223
+ });
224
+ },
225
+ /**
226
+ *
227
+ * @param {AddFamilyMemberRequest} [addFamilyMemberRequest]
228
+ * @param {*} [options] Override http request option.
229
+ * @throws {RequiredError}
230
+ */
231
+ apiFamilyMembersPermissionPut: function (addFamilyMemberRequest, options) {
232
+ if (options === void 0) { options = {}; }
233
+ return __awaiter(_this, void 0, void 0, function () {
234
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
235
+ return __generator(this, function (_a) {
236
+ switch (_a.label) {
237
+ case 0:
238
+ localVarPath = "/api/family/members/permission";
239
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
240
+ if (configuration) {
241
+ baseOptions = configuration.baseOptions;
242
+ }
243
+ localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
244
+ localVarHeaderParameter = {};
245
+ localVarQueryParameter = {};
246
+ // authentication Bearer required
247
+ // http bearer authentication required
248
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
249
+ case 1:
250
+ // authentication Bearer required
251
+ // http bearer authentication required
252
+ _a.sent();
253
+ localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
254
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
255
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
256
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
257
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(addFamilyMemberRequest, localVarRequestOptions, configuration);
258
+ return [2 /*return*/, {
259
+ url: (0, common_1.toPathString)(localVarUrlObj),
260
+ options: localVarRequestOptions,
261
+ }];
262
+ }
263
+ });
264
+ });
265
+ },
266
+ /**
267
+ *
268
+ * @param {AddFamilyMemberRequest} [addFamilyMemberRequest]
269
+ * @param {*} [options] Override http request option.
270
+ * @throws {RequiredError}
271
+ */
272
+ apiFamilyMembersPost: function (addFamilyMemberRequest, options) {
273
+ if (options === void 0) { options = {}; }
274
+ return __awaiter(_this, void 0, void 0, function () {
275
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
276
+ return __generator(this, function (_a) {
277
+ switch (_a.label) {
278
+ case 0:
279
+ localVarPath = "/api/family/members";
280
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
281
+ if (configuration) {
282
+ baseOptions = configuration.baseOptions;
283
+ }
284
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
285
+ localVarHeaderParameter = {};
286
+ localVarQueryParameter = {};
287
+ // authentication Bearer required
288
+ // http bearer authentication required
289
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
290
+ case 1:
291
+ // authentication Bearer required
292
+ // http bearer authentication required
293
+ _a.sent();
294
+ localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
295
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
296
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
297
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
298
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(addFamilyMemberRequest, localVarRequestOptions, configuration);
299
+ return [2 /*return*/, {
300
+ url: (0, common_1.toPathString)(localVarUrlObj),
301
+ options: localVarRequestOptions,
302
+ }];
303
+ }
304
+ });
305
+ });
306
+ },
307
+ /**
308
+ *
309
+ * @param {*} [options] Override http request option.
310
+ * @throws {RequiredError}
311
+ */
312
+ apiFamilyMyMembersGet: function (options) {
313
+ if (options === void 0) { options = {}; }
314
+ return __awaiter(_this, void 0, void 0, function () {
315
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
316
+ return __generator(this, function (_a) {
317
+ switch (_a.label) {
318
+ case 0:
319
+ localVarPath = "/api/family/my-members";
320
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
321
+ if (configuration) {
322
+ baseOptions = configuration.baseOptions;
323
+ }
324
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
325
+ localVarHeaderParameter = {};
326
+ localVarQueryParameter = {};
327
+ // authentication Bearer required
328
+ // http bearer authentication required
329
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
330
+ case 1:
331
+ // authentication Bearer required
332
+ // http bearer authentication required
333
+ _a.sent();
334
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
335
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
336
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
337
+ return [2 /*return*/, {
338
+ url: (0, common_1.toPathString)(localVarUrlObj),
339
+ options: localVarRequestOptions,
340
+ }];
341
+ }
342
+ });
343
+ });
344
+ },
345
+ /**
346
+ *
347
+ * @param {*} [options] Override http request option.
348
+ * @throws {RequiredError}
349
+ */
350
+ apiFamilySharedWithMeGet: function (options) {
351
+ if (options === void 0) { options = {}; }
352
+ return __awaiter(_this, void 0, void 0, function () {
353
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
354
+ return __generator(this, function (_a) {
355
+ switch (_a.label) {
356
+ case 0:
357
+ localVarPath = "/api/family/shared-with-me";
358
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
359
+ if (configuration) {
360
+ baseOptions = configuration.baseOptions;
361
+ }
362
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
363
+ localVarHeaderParameter = {};
364
+ localVarQueryParameter = {};
365
+ // authentication Bearer required
366
+ // http bearer authentication required
367
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
368
+ case 1:
369
+ // authentication Bearer required
370
+ // http bearer authentication required
371
+ _a.sent();
372
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
373
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
374
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
375
+ return [2 /*return*/, {
376
+ url: (0, common_1.toPathString)(localVarUrlObj),
377
+ options: localVarRequestOptions,
378
+ }];
379
+ }
380
+ });
381
+ });
382
+ },
383
+ };
384
+ };
385
+ exports.FamilyApiAxiosParamCreator = FamilyApiAxiosParamCreator;
386
+ /**
387
+ * FamilyApi - functional programming interface
388
+ * @export
389
+ */
390
+ var FamilyApiFp = function (configuration) {
391
+ var localVarAxiosParamCreator = (0, exports.FamilyApiAxiosParamCreator)(configuration);
392
+ return {
393
+ /**
394
+ *
395
+ * @param {string} companyId
396
+ * @param {JoinFamilyByCompanyRequest} [joinFamilyByCompanyRequest]
397
+ * @param {*} [options] Override http request option.
398
+ * @throws {RequiredError}
399
+ */
400
+ apiFamilyCompanyCompanyIdJoinPost: function (companyId, joinFamilyByCompanyRequest, options) {
401
+ var _a, _b, _c;
402
+ return __awaiter(this, void 0, void 0, function () {
403
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
404
+ return __generator(this, function (_d) {
405
+ switch (_d.label) {
406
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiFamilyCompanyCompanyIdJoinPost(companyId, joinFamilyByCompanyRequest, options)];
407
+ case 1:
408
+ localVarAxiosArgs = _d.sent();
409
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
410
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FamilyApi.apiFamilyCompanyCompanyIdJoinPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
411
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
412
+ }
413
+ });
414
+ });
415
+ },
416
+ /**
417
+ *
418
+ * @param {string} userId
419
+ * @param {*} [options] Override http request option.
420
+ * @throws {RequiredError}
421
+ */
422
+ apiFamilyFamilyMembersUserIdGet: function (userId, options) {
423
+ var _a, _b, _c;
424
+ return __awaiter(this, void 0, void 0, function () {
425
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
426
+ return __generator(this, function (_d) {
427
+ switch (_d.label) {
428
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiFamilyFamilyMembersUserIdGet(userId, options)];
429
+ case 1:
430
+ localVarAxiosArgs = _d.sent();
431
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
432
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FamilyApi.apiFamilyFamilyMembersUserIdGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
433
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
434
+ }
435
+ });
436
+ });
437
+ },
438
+ /**
439
+ *
440
+ * @param {string} headUserId
441
+ * @param {string} memberUserIdToRemove
442
+ * @param {*} [options] Override http request option.
443
+ * @throws {RequiredError}
444
+ */
445
+ apiFamilyMembersHeadUserIdMemberUserIdToRemoveDelete: function (headUserId, memberUserIdToRemove, options) {
446
+ var _a, _b, _c;
447
+ return __awaiter(this, void 0, void 0, function () {
448
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
449
+ return __generator(this, function (_d) {
450
+ switch (_d.label) {
451
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiFamilyMembersHeadUserIdMemberUserIdToRemoveDelete(headUserId, memberUserIdToRemove, options)];
452
+ case 1:
453
+ localVarAxiosArgs = _d.sent();
454
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
455
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FamilyApi.apiFamilyMembersHeadUserIdMemberUserIdToRemoveDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
456
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
457
+ }
458
+ });
459
+ });
460
+ },
461
+ /**
462
+ *
463
+ * @param {AddFamilyMemberRequest} [addFamilyMemberRequest]
464
+ * @param {*} [options] Override http request option.
465
+ * @throws {RequiredError}
466
+ */
467
+ apiFamilyMembersPermissionPut: function (addFamilyMemberRequest, options) {
468
+ var _a, _b, _c;
469
+ return __awaiter(this, void 0, void 0, function () {
470
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
471
+ return __generator(this, function (_d) {
472
+ switch (_d.label) {
473
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiFamilyMembersPermissionPut(addFamilyMemberRequest, options)];
474
+ case 1:
475
+ localVarAxiosArgs = _d.sent();
476
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
477
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FamilyApi.apiFamilyMembersPermissionPut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
478
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
479
+ }
480
+ });
481
+ });
482
+ },
483
+ /**
484
+ *
485
+ * @param {AddFamilyMemberRequest} [addFamilyMemberRequest]
486
+ * @param {*} [options] Override http request option.
487
+ * @throws {RequiredError}
488
+ */
489
+ apiFamilyMembersPost: function (addFamilyMemberRequest, options) {
490
+ var _a, _b, _c;
491
+ return __awaiter(this, void 0, void 0, function () {
492
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
493
+ return __generator(this, function (_d) {
494
+ switch (_d.label) {
495
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiFamilyMembersPost(addFamilyMemberRequest, options)];
496
+ case 1:
497
+ localVarAxiosArgs = _d.sent();
498
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
499
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FamilyApi.apiFamilyMembersPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
500
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
501
+ }
502
+ });
503
+ });
504
+ },
505
+ /**
506
+ *
507
+ * @param {*} [options] Override http request option.
508
+ * @throws {RequiredError}
509
+ */
510
+ apiFamilyMyMembersGet: function (options) {
511
+ var _a, _b, _c;
512
+ return __awaiter(this, void 0, void 0, function () {
513
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
514
+ return __generator(this, function (_d) {
515
+ switch (_d.label) {
516
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiFamilyMyMembersGet(options)];
517
+ case 1:
518
+ localVarAxiosArgs = _d.sent();
519
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
520
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FamilyApi.apiFamilyMyMembersGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
521
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
522
+ }
523
+ });
524
+ });
525
+ },
526
+ /**
527
+ *
528
+ * @param {*} [options] Override http request option.
529
+ * @throws {RequiredError}
530
+ */
531
+ apiFamilySharedWithMeGet: function (options) {
532
+ var _a, _b, _c;
533
+ return __awaiter(this, void 0, void 0, function () {
534
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
535
+ return __generator(this, function (_d) {
536
+ switch (_d.label) {
537
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiFamilySharedWithMeGet(options)];
538
+ case 1:
539
+ localVarAxiosArgs = _d.sent();
540
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
541
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FamilyApi.apiFamilySharedWithMeGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
542
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
543
+ }
544
+ });
545
+ });
546
+ },
547
+ };
548
+ };
549
+ exports.FamilyApiFp = FamilyApiFp;
550
+ /**
551
+ * FamilyApi - factory interface
552
+ * @export
553
+ */
554
+ var FamilyApiFactory = function (configuration, basePath, axios) {
555
+ var localVarFp = (0, exports.FamilyApiFp)(configuration);
556
+ return {
557
+ /**
558
+ *
559
+ * @param {string} companyId
560
+ * @param {JoinFamilyByCompanyRequest} [joinFamilyByCompanyRequest]
561
+ * @param {*} [options] Override http request option.
562
+ * @throws {RequiredError}
563
+ */
564
+ apiFamilyCompanyCompanyIdJoinPost: function (companyId, joinFamilyByCompanyRequest, options) {
565
+ return localVarFp.apiFamilyCompanyCompanyIdJoinPost(companyId, joinFamilyByCompanyRequest, options).then(function (request) { return request(axios, basePath); });
566
+ },
567
+ /**
568
+ *
569
+ * @param {string} userId
570
+ * @param {*} [options] Override http request option.
571
+ * @throws {RequiredError}
572
+ */
573
+ apiFamilyFamilyMembersUserIdGet: function (userId, options) {
574
+ return localVarFp.apiFamilyFamilyMembersUserIdGet(userId, options).then(function (request) { return request(axios, basePath); });
575
+ },
576
+ /**
577
+ *
578
+ * @param {string} headUserId
579
+ * @param {string} memberUserIdToRemove
580
+ * @param {*} [options] Override http request option.
581
+ * @throws {RequiredError}
582
+ */
583
+ apiFamilyMembersHeadUserIdMemberUserIdToRemoveDelete: function (headUserId, memberUserIdToRemove, options) {
584
+ return localVarFp.apiFamilyMembersHeadUserIdMemberUserIdToRemoveDelete(headUserId, memberUserIdToRemove, options).then(function (request) { return request(axios, basePath); });
585
+ },
586
+ /**
587
+ *
588
+ * @param {AddFamilyMemberRequest} [addFamilyMemberRequest]
589
+ * @param {*} [options] Override http request option.
590
+ * @throws {RequiredError}
591
+ */
592
+ apiFamilyMembersPermissionPut: function (addFamilyMemberRequest, options) {
593
+ return localVarFp.apiFamilyMembersPermissionPut(addFamilyMemberRequest, options).then(function (request) { return request(axios, basePath); });
594
+ },
595
+ /**
596
+ *
597
+ * @param {AddFamilyMemberRequest} [addFamilyMemberRequest]
598
+ * @param {*} [options] Override http request option.
599
+ * @throws {RequiredError}
600
+ */
601
+ apiFamilyMembersPost: function (addFamilyMemberRequest, options) {
602
+ return localVarFp.apiFamilyMembersPost(addFamilyMemberRequest, options).then(function (request) { return request(axios, basePath); });
603
+ },
604
+ /**
605
+ *
606
+ * @param {*} [options] Override http request option.
607
+ * @throws {RequiredError}
608
+ */
609
+ apiFamilyMyMembersGet: function (options) {
610
+ return localVarFp.apiFamilyMyMembersGet(options).then(function (request) { return request(axios, basePath); });
611
+ },
612
+ /**
613
+ *
614
+ * @param {*} [options] Override http request option.
615
+ * @throws {RequiredError}
616
+ */
617
+ apiFamilySharedWithMeGet: function (options) {
618
+ return localVarFp.apiFamilySharedWithMeGet(options).then(function (request) { return request(axios, basePath); });
619
+ },
620
+ };
621
+ };
622
+ exports.FamilyApiFactory = FamilyApiFactory;
623
+ /**
624
+ * FamilyApi - object-oriented interface
625
+ * @export
626
+ * @class FamilyApi
627
+ * @extends {BaseAPI}
628
+ */
629
+ var FamilyApi = /** @class */ (function (_super) {
630
+ __extends(FamilyApi, _super);
631
+ function FamilyApi() {
632
+ return _super !== null && _super.apply(this, arguments) || this;
633
+ }
634
+ /**
635
+ *
636
+ * @param {string} companyId
637
+ * @param {JoinFamilyByCompanyRequest} [joinFamilyByCompanyRequest]
638
+ * @param {*} [options] Override http request option.
639
+ * @throws {RequiredError}
640
+ * @memberof FamilyApi
641
+ */
642
+ FamilyApi.prototype.apiFamilyCompanyCompanyIdJoinPost = function (companyId, joinFamilyByCompanyRequest, options) {
643
+ var _this = this;
644
+ return (0, exports.FamilyApiFp)(this.configuration).apiFamilyCompanyCompanyIdJoinPost(companyId, joinFamilyByCompanyRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
645
+ };
646
+ /**
647
+ *
648
+ * @param {string} userId
649
+ * @param {*} [options] Override http request option.
650
+ * @throws {RequiredError}
651
+ * @memberof FamilyApi
652
+ */
653
+ FamilyApi.prototype.apiFamilyFamilyMembersUserIdGet = function (userId, options) {
654
+ var _this = this;
655
+ return (0, exports.FamilyApiFp)(this.configuration).apiFamilyFamilyMembersUserIdGet(userId, options).then(function (request) { return request(_this.axios, _this.basePath); });
656
+ };
657
+ /**
658
+ *
659
+ * @param {string} headUserId
660
+ * @param {string} memberUserIdToRemove
661
+ * @param {*} [options] Override http request option.
662
+ * @throws {RequiredError}
663
+ * @memberof FamilyApi
664
+ */
665
+ FamilyApi.prototype.apiFamilyMembersHeadUserIdMemberUserIdToRemoveDelete = function (headUserId, memberUserIdToRemove, options) {
666
+ var _this = this;
667
+ return (0, exports.FamilyApiFp)(this.configuration).apiFamilyMembersHeadUserIdMemberUserIdToRemoveDelete(headUserId, memberUserIdToRemove, options).then(function (request) { return request(_this.axios, _this.basePath); });
668
+ };
669
+ /**
670
+ *
671
+ * @param {AddFamilyMemberRequest} [addFamilyMemberRequest]
672
+ * @param {*} [options] Override http request option.
673
+ * @throws {RequiredError}
674
+ * @memberof FamilyApi
675
+ */
676
+ FamilyApi.prototype.apiFamilyMembersPermissionPut = function (addFamilyMemberRequest, options) {
677
+ var _this = this;
678
+ return (0, exports.FamilyApiFp)(this.configuration).apiFamilyMembersPermissionPut(addFamilyMemberRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
679
+ };
680
+ /**
681
+ *
682
+ * @param {AddFamilyMemberRequest} [addFamilyMemberRequest]
683
+ * @param {*} [options] Override http request option.
684
+ * @throws {RequiredError}
685
+ * @memberof FamilyApi
686
+ */
687
+ FamilyApi.prototype.apiFamilyMembersPost = function (addFamilyMemberRequest, options) {
688
+ var _this = this;
689
+ return (0, exports.FamilyApiFp)(this.configuration).apiFamilyMembersPost(addFamilyMemberRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
690
+ };
691
+ /**
692
+ *
693
+ * @param {*} [options] Override http request option.
694
+ * @throws {RequiredError}
695
+ * @memberof FamilyApi
696
+ */
697
+ FamilyApi.prototype.apiFamilyMyMembersGet = function (options) {
698
+ var _this = this;
699
+ return (0, exports.FamilyApiFp)(this.configuration).apiFamilyMyMembersGet(options).then(function (request) { return request(_this.axios, _this.basePath); });
700
+ };
701
+ /**
702
+ *
703
+ * @param {*} [options] Override http request option.
704
+ * @throws {RequiredError}
705
+ * @memberof FamilyApi
706
+ */
707
+ FamilyApi.prototype.apiFamilySharedWithMeGet = function (options) {
708
+ var _this = this;
709
+ return (0, exports.FamilyApiFp)(this.configuration).apiFamilySharedWithMeGet(options).then(function (request) { return request(_this.axios, _this.basePath); });
710
+ };
711
+ return FamilyApi;
712
+ }(base_1.BaseAPI));
713
+ exports.FamilyApi = FamilyApi;