@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,1184 @@
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.PeopleApi = exports.PeopleApiFactory = exports.PeopleApiFp = exports.PeopleApiAxiosParamCreator = 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
+ * PeopleApi - axios parameter creator
87
+ * @export
88
+ */
89
+ var PeopleApiAxiosParamCreator = function (configuration) {
90
+ var _this = this;
91
+ return {
92
+ /**
93
+ *
94
+ * @param {AcceptInvitationRequest} [acceptInvitationRequest]
95
+ * @param {*} [options] Override http request option.
96
+ * @throws {RequiredError}
97
+ */
98
+ apiPeopleAcceptInvitationPost: function (acceptInvitationRequest, options) {
99
+ if (options === void 0) { options = {}; }
100
+ return __awaiter(_this, void 0, void 0, function () {
101
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
102
+ return __generator(this, function (_a) {
103
+ switch (_a.label) {
104
+ case 0:
105
+ localVarPath = "/api/People/accept-invitation";
106
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
107
+ if (configuration) {
108
+ baseOptions = configuration.baseOptions;
109
+ }
110
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
111
+ localVarHeaderParameter = {};
112
+ localVarQueryParameter = {};
113
+ // authentication Bearer required
114
+ // http bearer authentication required
115
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
116
+ case 1:
117
+ // authentication Bearer required
118
+ // http bearer authentication required
119
+ _a.sent();
120
+ localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
121
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
122
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
123
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
124
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(acceptInvitationRequest, localVarRequestOptions, configuration);
125
+ return [2 /*return*/, {
126
+ url: (0, common_1.toPathString)(localVarUrlObj),
127
+ options: localVarRequestOptions,
128
+ }];
129
+ }
130
+ });
131
+ });
132
+ },
133
+ /**
134
+ *
135
+ * @param {string} companyId
136
+ * @param {AddExistingMemberRequest} [addExistingMemberRequest]
137
+ * @param {*} [options] Override http request option.
138
+ * @throws {RequiredError}
139
+ */
140
+ apiPeopleCompanyCompanyIdAddExistingMembersPost: function (companyId, addExistingMemberRequest, options) {
141
+ if (options === void 0) { options = {}; }
142
+ return __awaiter(_this, void 0, void 0, function () {
143
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
144
+ return __generator(this, function (_a) {
145
+ switch (_a.label) {
146
+ case 0:
147
+ // verify required parameter 'companyId' is not null or undefined
148
+ (0, common_1.assertParamExists)('apiPeopleCompanyCompanyIdAddExistingMembersPost', 'companyId', companyId);
149
+ localVarPath = "/api/People/company/{companyId}/add-existing-members"
150
+ .replace("{".concat("companyId", "}"), encodeURIComponent(String(companyId)));
151
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
152
+ if (configuration) {
153
+ baseOptions = configuration.baseOptions;
154
+ }
155
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
156
+ localVarHeaderParameter = {};
157
+ localVarQueryParameter = {};
158
+ // authentication Bearer required
159
+ // http bearer authentication required
160
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
161
+ case 1:
162
+ // authentication Bearer required
163
+ // http bearer authentication required
164
+ _a.sent();
165
+ localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
166
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
167
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
168
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
169
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(addExistingMemberRequest, localVarRequestOptions, configuration);
170
+ return [2 /*return*/, {
171
+ url: (0, common_1.toPathString)(localVarUrlObj),
172
+ options: localVarRequestOptions,
173
+ }];
174
+ }
175
+ });
176
+ });
177
+ },
178
+ /**
179
+ *
180
+ * @param {string} companyId
181
+ * @param {*} [options] Override http request option.
182
+ * @throws {RequiredError}
183
+ */
184
+ apiPeopleCompanyCompanyIdGet: function (companyId, options) {
185
+ if (options === void 0) { options = {}; }
186
+ return __awaiter(_this, void 0, void 0, function () {
187
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
188
+ return __generator(this, function (_a) {
189
+ switch (_a.label) {
190
+ case 0:
191
+ // verify required parameter 'companyId' is not null or undefined
192
+ (0, common_1.assertParamExists)('apiPeopleCompanyCompanyIdGet', 'companyId', companyId);
193
+ localVarPath = "/api/People/company/{companyId}"
194
+ .replace("{".concat("companyId", "}"), encodeURIComponent(String(companyId)));
195
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
196
+ if (configuration) {
197
+ baseOptions = configuration.baseOptions;
198
+ }
199
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
200
+ localVarHeaderParameter = {};
201
+ localVarQueryParameter = {};
202
+ // authentication Bearer required
203
+ // http bearer authentication required
204
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
205
+ case 1:
206
+ // authentication Bearer required
207
+ // http bearer authentication required
208
+ _a.sent();
209
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
210
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
211
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
212
+ return [2 /*return*/, {
213
+ url: (0, common_1.toPathString)(localVarUrlObj),
214
+ options: localVarRequestOptions,
215
+ }];
216
+ }
217
+ });
218
+ });
219
+ },
220
+ /**
221
+ *
222
+ * @param {string} companyId
223
+ * @param {SendInvitationRequest} [sendInvitationRequest]
224
+ * @param {*} [options] Override http request option.
225
+ * @throws {RequiredError}
226
+ */
227
+ apiPeopleCompanyCompanyIdInvitePost: function (companyId, sendInvitationRequest, options) {
228
+ if (options === void 0) { options = {}; }
229
+ return __awaiter(_this, void 0, void 0, function () {
230
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
231
+ return __generator(this, function (_a) {
232
+ switch (_a.label) {
233
+ case 0:
234
+ // verify required parameter 'companyId' is not null or undefined
235
+ (0, common_1.assertParamExists)('apiPeopleCompanyCompanyIdInvitePost', 'companyId', companyId);
236
+ localVarPath = "/api/People/company/{companyId}/invite"
237
+ .replace("{".concat("companyId", "}"), encodeURIComponent(String(companyId)));
238
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
239
+ if (configuration) {
240
+ baseOptions = configuration.baseOptions;
241
+ }
242
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
243
+ localVarHeaderParameter = {};
244
+ localVarQueryParameter = {};
245
+ // authentication Bearer required
246
+ // http bearer authentication required
247
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
248
+ case 1:
249
+ // authentication Bearer required
250
+ // http bearer authentication required
251
+ _a.sent();
252
+ localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
253
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
254
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
255
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
256
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(sendInvitationRequest, localVarRequestOptions, configuration);
257
+ return [2 /*return*/, {
258
+ url: (0, common_1.toPathString)(localVarUrlObj),
259
+ options: localVarRequestOptions,
260
+ }];
261
+ }
262
+ });
263
+ });
264
+ },
265
+ /**
266
+ *
267
+ * @param {string} companyId
268
+ * @param {*} [options] Override http request option.
269
+ * @throws {RequiredError}
270
+ */
271
+ apiPeopleCompanyCompanyIdOtherCompanyMembersGet: function (companyId, options) {
272
+ if (options === void 0) { options = {}; }
273
+ return __awaiter(_this, void 0, void 0, function () {
274
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
275
+ return __generator(this, function (_a) {
276
+ switch (_a.label) {
277
+ case 0:
278
+ // verify required parameter 'companyId' is not null or undefined
279
+ (0, common_1.assertParamExists)('apiPeopleCompanyCompanyIdOtherCompanyMembersGet', 'companyId', companyId);
280
+ localVarPath = "/api/People/company/{companyId}/other-company-members"
281
+ .replace("{".concat("companyId", "}"), encodeURIComponent(String(companyId)));
282
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
283
+ if (configuration) {
284
+ baseOptions = configuration.baseOptions;
285
+ }
286
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
287
+ localVarHeaderParameter = {};
288
+ localVarQueryParameter = {};
289
+ // authentication Bearer required
290
+ // http bearer authentication required
291
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
292
+ case 1:
293
+ // authentication Bearer required
294
+ // http bearer authentication required
295
+ _a.sent();
296
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
297
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
298
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
299
+ return [2 /*return*/, {
300
+ url: (0, common_1.toPathString)(localVarUrlObj),
301
+ options: localVarRequestOptions,
302
+ }];
303
+ }
304
+ });
305
+ });
306
+ },
307
+ /**
308
+ *
309
+ * @param {string} companyId
310
+ * @param {CompanyOwnershipTransferRequest} [companyOwnershipTransferRequest]
311
+ * @param {*} [options] Override http request option.
312
+ * @throws {RequiredError}
313
+ */
314
+ apiPeopleCompanyCompanyIdOwnershipTransferPost: function (companyId, companyOwnershipTransferRequest, options) {
315
+ if (options === void 0) { options = {}; }
316
+ return __awaiter(_this, void 0, void 0, function () {
317
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
318
+ return __generator(this, function (_a) {
319
+ switch (_a.label) {
320
+ case 0:
321
+ // verify required parameter 'companyId' is not null or undefined
322
+ (0, common_1.assertParamExists)('apiPeopleCompanyCompanyIdOwnershipTransferPost', 'companyId', companyId);
323
+ localVarPath = "/api/People/company/{companyId}/ownership-transfer"
324
+ .replace("{".concat("companyId", "}"), encodeURIComponent(String(companyId)));
325
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
326
+ if (configuration) {
327
+ baseOptions = configuration.baseOptions;
328
+ }
329
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
330
+ localVarHeaderParameter = {};
331
+ localVarQueryParameter = {};
332
+ // authentication Bearer required
333
+ // http bearer authentication required
334
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
335
+ case 1:
336
+ // authentication Bearer required
337
+ // http bearer authentication required
338
+ _a.sent();
339
+ localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
340
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
341
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
342
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
343
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(companyOwnershipTransferRequest, localVarRequestOptions, configuration);
344
+ return [2 /*return*/, {
345
+ url: (0, common_1.toPathString)(localVarUrlObj),
346
+ options: localVarRequestOptions,
347
+ }];
348
+ }
349
+ });
350
+ });
351
+ },
352
+ /**
353
+ *
354
+ * @param {string} companyId
355
+ * @param {string} personId
356
+ * @param {*} [options] Override http request option.
357
+ * @throws {RequiredError}
358
+ */
359
+ apiPeopleCompanyCompanyIdPersonPersonIdDelete: function (companyId, personId, options) {
360
+ if (options === void 0) { options = {}; }
361
+ return __awaiter(_this, void 0, void 0, function () {
362
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
363
+ return __generator(this, function (_a) {
364
+ switch (_a.label) {
365
+ case 0:
366
+ // verify required parameter 'companyId' is not null or undefined
367
+ (0, common_1.assertParamExists)('apiPeopleCompanyCompanyIdPersonPersonIdDelete', 'companyId', companyId);
368
+ // verify required parameter 'personId' is not null or undefined
369
+ (0, common_1.assertParamExists)('apiPeopleCompanyCompanyIdPersonPersonIdDelete', 'personId', personId);
370
+ localVarPath = "/api/People/company/{companyId}/person/{personId}"
371
+ .replace("{".concat("companyId", "}"), encodeURIComponent(String(companyId)))
372
+ .replace("{".concat("personId", "}"), encodeURIComponent(String(personId)));
373
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
374
+ if (configuration) {
375
+ baseOptions = configuration.baseOptions;
376
+ }
377
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
378
+ localVarHeaderParameter = {};
379
+ localVarQueryParameter = {};
380
+ // authentication Bearer required
381
+ // http bearer authentication required
382
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
383
+ case 1:
384
+ // authentication Bearer required
385
+ // http bearer authentication required
386
+ _a.sent();
387
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
388
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
389
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
390
+ return [2 /*return*/, {
391
+ url: (0, common_1.toPathString)(localVarUrlObj),
392
+ options: localVarRequestOptions,
393
+ }];
394
+ }
395
+ });
396
+ });
397
+ },
398
+ /**
399
+ *
400
+ * @param {string} companyId
401
+ * @param {string} personId
402
+ * @param {UpdatePersonRequest} [updatePersonRequest]
403
+ * @param {*} [options] Override http request option.
404
+ * @throws {RequiredError}
405
+ */
406
+ apiPeopleCompanyCompanyIdPersonPersonIdPut: function (companyId, personId, updatePersonRequest, options) {
407
+ if (options === void 0) { options = {}; }
408
+ return __awaiter(_this, void 0, void 0, function () {
409
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
410
+ return __generator(this, function (_a) {
411
+ switch (_a.label) {
412
+ case 0:
413
+ // verify required parameter 'companyId' is not null or undefined
414
+ (0, common_1.assertParamExists)('apiPeopleCompanyCompanyIdPersonPersonIdPut', 'companyId', companyId);
415
+ // verify required parameter 'personId' is not null or undefined
416
+ (0, common_1.assertParamExists)('apiPeopleCompanyCompanyIdPersonPersonIdPut', 'personId', personId);
417
+ localVarPath = "/api/People/company/{companyId}/person/{personId}"
418
+ .replace("{".concat("companyId", "}"), encodeURIComponent(String(companyId)))
419
+ .replace("{".concat("personId", "}"), encodeURIComponent(String(personId)));
420
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
421
+ if (configuration) {
422
+ baseOptions = configuration.baseOptions;
423
+ }
424
+ localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
425
+ localVarHeaderParameter = {};
426
+ localVarQueryParameter = {};
427
+ // authentication Bearer required
428
+ // http bearer authentication required
429
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
430
+ case 1:
431
+ // authentication Bearer required
432
+ // http bearer authentication required
433
+ _a.sent();
434
+ localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
435
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
436
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
437
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
438
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updatePersonRequest, localVarRequestOptions, configuration);
439
+ return [2 /*return*/, {
440
+ url: (0, common_1.toPathString)(localVarUrlObj),
441
+ options: localVarRequestOptions,
442
+ }];
443
+ }
444
+ });
445
+ });
446
+ },
447
+ /**
448
+ *
449
+ * @param {string} companyId
450
+ * @param {AddPersonRequest} [addPersonRequest]
451
+ * @param {*} [options] Override http request option.
452
+ * @throws {RequiredError}
453
+ */
454
+ apiPeopleCompanyCompanyIdPost: function (companyId, addPersonRequest, options) {
455
+ if (options === void 0) { options = {}; }
456
+ return __awaiter(_this, void 0, void 0, function () {
457
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
458
+ return __generator(this, function (_a) {
459
+ switch (_a.label) {
460
+ case 0:
461
+ // verify required parameter 'companyId' is not null or undefined
462
+ (0, common_1.assertParamExists)('apiPeopleCompanyCompanyIdPost', 'companyId', companyId);
463
+ localVarPath = "/api/People/company/{companyId}"
464
+ .replace("{".concat("companyId", "}"), encodeURIComponent(String(companyId)));
465
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
466
+ if (configuration) {
467
+ baseOptions = configuration.baseOptions;
468
+ }
469
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
470
+ localVarHeaderParameter = {};
471
+ localVarQueryParameter = {};
472
+ // authentication Bearer required
473
+ // http bearer authentication required
474
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
475
+ case 1:
476
+ // authentication Bearer required
477
+ // http bearer authentication required
478
+ _a.sent();
479
+ localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
480
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
481
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
482
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
483
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(addPersonRequest, localVarRequestOptions, configuration);
484
+ return [2 /*return*/, {
485
+ url: (0, common_1.toPathString)(localVarUrlObj),
486
+ options: localVarRequestOptions,
487
+ }];
488
+ }
489
+ });
490
+ });
491
+ },
492
+ /**
493
+ *
494
+ * @param {string} companyId
495
+ * @param {ResendInvitationRequest} [resendInvitationRequest]
496
+ * @param {*} [options] Override http request option.
497
+ * @throws {RequiredError}
498
+ */
499
+ apiPeopleCompanyCompanyIdResendInvitePost: function (companyId, resendInvitationRequest, options) {
500
+ if (options === void 0) { options = {}; }
501
+ return __awaiter(_this, void 0, void 0, function () {
502
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
503
+ return __generator(this, function (_a) {
504
+ switch (_a.label) {
505
+ case 0:
506
+ // verify required parameter 'companyId' is not null or undefined
507
+ (0, common_1.assertParamExists)('apiPeopleCompanyCompanyIdResendInvitePost', 'companyId', companyId);
508
+ localVarPath = "/api/People/company/{companyId}/resend-invite"
509
+ .replace("{".concat("companyId", "}"), encodeURIComponent(String(companyId)));
510
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
511
+ if (configuration) {
512
+ baseOptions = configuration.baseOptions;
513
+ }
514
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
515
+ localVarHeaderParameter = {};
516
+ localVarQueryParameter = {};
517
+ // authentication Bearer required
518
+ // http bearer authentication required
519
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
520
+ case 1:
521
+ // authentication Bearer required
522
+ // http bearer authentication required
523
+ _a.sent();
524
+ localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
525
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
526
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
527
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
528
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(resendInvitationRequest, localVarRequestOptions, configuration);
529
+ return [2 /*return*/, {
530
+ url: (0, common_1.toPathString)(localVarUrlObj),
531
+ options: localVarRequestOptions,
532
+ }];
533
+ }
534
+ });
535
+ });
536
+ },
537
+ /**
538
+ *
539
+ * @param {string} token
540
+ * @param {*} [options] Override http request option.
541
+ * @throws {RequiredError}
542
+ */
543
+ apiPeopleInvitationMetadataTokenGet: function (token, options) {
544
+ if (options === void 0) { options = {}; }
545
+ return __awaiter(_this, void 0, void 0, function () {
546
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
547
+ return __generator(this, function (_a) {
548
+ switch (_a.label) {
549
+ case 0:
550
+ // verify required parameter 'token' is not null or undefined
551
+ (0, common_1.assertParamExists)('apiPeopleInvitationMetadataTokenGet', 'token', token);
552
+ localVarPath = "/api/People/invitation-metadata/{token}"
553
+ .replace("{".concat("token", "}"), encodeURIComponent(String(token)));
554
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
555
+ if (configuration) {
556
+ baseOptions = configuration.baseOptions;
557
+ }
558
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
559
+ localVarHeaderParameter = {};
560
+ localVarQueryParameter = {};
561
+ // authentication Bearer required
562
+ // http bearer authentication required
563
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
564
+ case 1:
565
+ // authentication Bearer required
566
+ // http bearer authentication required
567
+ _a.sent();
568
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
569
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
570
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
571
+ return [2 /*return*/, {
572
+ url: (0, common_1.toPathString)(localVarUrlObj),
573
+ options: localVarRequestOptions,
574
+ }];
575
+ }
576
+ });
577
+ });
578
+ },
579
+ /**
580
+ *
581
+ * @param {TestEmailRequest} [testEmailRequest]
582
+ * @param {*} [options] Override http request option.
583
+ * @throws {RequiredError}
584
+ */
585
+ apiPeopleTestEmailPost: function (testEmailRequest, options) {
586
+ if (options === void 0) { options = {}; }
587
+ return __awaiter(_this, void 0, void 0, function () {
588
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
589
+ return __generator(this, function (_a) {
590
+ switch (_a.label) {
591
+ case 0:
592
+ localVarPath = "/api/People/test-email";
593
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
594
+ if (configuration) {
595
+ baseOptions = configuration.baseOptions;
596
+ }
597
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
598
+ localVarHeaderParameter = {};
599
+ localVarQueryParameter = {};
600
+ // authentication Bearer required
601
+ // http bearer authentication required
602
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
603
+ case 1:
604
+ // authentication Bearer required
605
+ // http bearer authentication required
606
+ _a.sent();
607
+ localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
608
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
609
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
610
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
611
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(testEmailRequest, localVarRequestOptions, configuration);
612
+ return [2 /*return*/, {
613
+ url: (0, common_1.toPathString)(localVarUrlObj),
614
+ options: localVarRequestOptions,
615
+ }];
616
+ }
617
+ });
618
+ });
619
+ },
620
+ };
621
+ };
622
+ exports.PeopleApiAxiosParamCreator = PeopleApiAxiosParamCreator;
623
+ /**
624
+ * PeopleApi - functional programming interface
625
+ * @export
626
+ */
627
+ var PeopleApiFp = function (configuration) {
628
+ var localVarAxiosParamCreator = (0, exports.PeopleApiAxiosParamCreator)(configuration);
629
+ return {
630
+ /**
631
+ *
632
+ * @param {AcceptInvitationRequest} [acceptInvitationRequest]
633
+ * @param {*} [options] Override http request option.
634
+ * @throws {RequiredError}
635
+ */
636
+ apiPeopleAcceptInvitationPost: function (acceptInvitationRequest, options) {
637
+ var _a, _b, _c;
638
+ return __awaiter(this, void 0, void 0, function () {
639
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
640
+ return __generator(this, function (_d) {
641
+ switch (_d.label) {
642
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiPeopleAcceptInvitationPost(acceptInvitationRequest, options)];
643
+ case 1:
644
+ localVarAxiosArgs = _d.sent();
645
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
646
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PeopleApi.apiPeopleAcceptInvitationPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
647
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
648
+ }
649
+ });
650
+ });
651
+ },
652
+ /**
653
+ *
654
+ * @param {string} companyId
655
+ * @param {AddExistingMemberRequest} [addExistingMemberRequest]
656
+ * @param {*} [options] Override http request option.
657
+ * @throws {RequiredError}
658
+ */
659
+ apiPeopleCompanyCompanyIdAddExistingMembersPost: function (companyId, addExistingMemberRequest, options) {
660
+ var _a, _b, _c;
661
+ return __awaiter(this, void 0, void 0, function () {
662
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
663
+ return __generator(this, function (_d) {
664
+ switch (_d.label) {
665
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiPeopleCompanyCompanyIdAddExistingMembersPost(companyId, addExistingMemberRequest, options)];
666
+ case 1:
667
+ localVarAxiosArgs = _d.sent();
668
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
669
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PeopleApi.apiPeopleCompanyCompanyIdAddExistingMembersPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
670
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
671
+ }
672
+ });
673
+ });
674
+ },
675
+ /**
676
+ *
677
+ * @param {string} companyId
678
+ * @param {*} [options] Override http request option.
679
+ * @throws {RequiredError}
680
+ */
681
+ apiPeopleCompanyCompanyIdGet: function (companyId, options) {
682
+ var _a, _b, _c;
683
+ return __awaiter(this, void 0, void 0, function () {
684
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
685
+ return __generator(this, function (_d) {
686
+ switch (_d.label) {
687
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiPeopleCompanyCompanyIdGet(companyId, options)];
688
+ case 1:
689
+ localVarAxiosArgs = _d.sent();
690
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
691
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PeopleApi.apiPeopleCompanyCompanyIdGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
692
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
693
+ }
694
+ });
695
+ });
696
+ },
697
+ /**
698
+ *
699
+ * @param {string} companyId
700
+ * @param {SendInvitationRequest} [sendInvitationRequest]
701
+ * @param {*} [options] Override http request option.
702
+ * @throws {RequiredError}
703
+ */
704
+ apiPeopleCompanyCompanyIdInvitePost: function (companyId, sendInvitationRequest, options) {
705
+ var _a, _b, _c;
706
+ return __awaiter(this, void 0, void 0, function () {
707
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
708
+ return __generator(this, function (_d) {
709
+ switch (_d.label) {
710
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiPeopleCompanyCompanyIdInvitePost(companyId, sendInvitationRequest, options)];
711
+ case 1:
712
+ localVarAxiosArgs = _d.sent();
713
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
714
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PeopleApi.apiPeopleCompanyCompanyIdInvitePost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
715
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
716
+ }
717
+ });
718
+ });
719
+ },
720
+ /**
721
+ *
722
+ * @param {string} companyId
723
+ * @param {*} [options] Override http request option.
724
+ * @throws {RequiredError}
725
+ */
726
+ apiPeopleCompanyCompanyIdOtherCompanyMembersGet: function (companyId, options) {
727
+ var _a, _b, _c;
728
+ return __awaiter(this, void 0, void 0, function () {
729
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
730
+ return __generator(this, function (_d) {
731
+ switch (_d.label) {
732
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiPeopleCompanyCompanyIdOtherCompanyMembersGet(companyId, options)];
733
+ case 1:
734
+ localVarAxiosArgs = _d.sent();
735
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
736
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PeopleApi.apiPeopleCompanyCompanyIdOtherCompanyMembersGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
737
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
738
+ }
739
+ });
740
+ });
741
+ },
742
+ /**
743
+ *
744
+ * @param {string} companyId
745
+ * @param {CompanyOwnershipTransferRequest} [companyOwnershipTransferRequest]
746
+ * @param {*} [options] Override http request option.
747
+ * @throws {RequiredError}
748
+ */
749
+ apiPeopleCompanyCompanyIdOwnershipTransferPost: function (companyId, companyOwnershipTransferRequest, options) {
750
+ var _a, _b, _c;
751
+ return __awaiter(this, void 0, void 0, function () {
752
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
753
+ return __generator(this, function (_d) {
754
+ switch (_d.label) {
755
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiPeopleCompanyCompanyIdOwnershipTransferPost(companyId, companyOwnershipTransferRequest, options)];
756
+ case 1:
757
+ localVarAxiosArgs = _d.sent();
758
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
759
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PeopleApi.apiPeopleCompanyCompanyIdOwnershipTransferPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
760
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
761
+ }
762
+ });
763
+ });
764
+ },
765
+ /**
766
+ *
767
+ * @param {string} companyId
768
+ * @param {string} personId
769
+ * @param {*} [options] Override http request option.
770
+ * @throws {RequiredError}
771
+ */
772
+ apiPeopleCompanyCompanyIdPersonPersonIdDelete: function (companyId, personId, options) {
773
+ var _a, _b, _c;
774
+ return __awaiter(this, void 0, void 0, function () {
775
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
776
+ return __generator(this, function (_d) {
777
+ switch (_d.label) {
778
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiPeopleCompanyCompanyIdPersonPersonIdDelete(companyId, personId, options)];
779
+ case 1:
780
+ localVarAxiosArgs = _d.sent();
781
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
782
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PeopleApi.apiPeopleCompanyCompanyIdPersonPersonIdDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
783
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
784
+ }
785
+ });
786
+ });
787
+ },
788
+ /**
789
+ *
790
+ * @param {string} companyId
791
+ * @param {string} personId
792
+ * @param {UpdatePersonRequest} [updatePersonRequest]
793
+ * @param {*} [options] Override http request option.
794
+ * @throws {RequiredError}
795
+ */
796
+ apiPeopleCompanyCompanyIdPersonPersonIdPut: function (companyId, personId, updatePersonRequest, options) {
797
+ var _a, _b, _c;
798
+ return __awaiter(this, void 0, void 0, function () {
799
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
800
+ return __generator(this, function (_d) {
801
+ switch (_d.label) {
802
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiPeopleCompanyCompanyIdPersonPersonIdPut(companyId, personId, updatePersonRequest, options)];
803
+ case 1:
804
+ localVarAxiosArgs = _d.sent();
805
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
806
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PeopleApi.apiPeopleCompanyCompanyIdPersonPersonIdPut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
807
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
808
+ }
809
+ });
810
+ });
811
+ },
812
+ /**
813
+ *
814
+ * @param {string} companyId
815
+ * @param {AddPersonRequest} [addPersonRequest]
816
+ * @param {*} [options] Override http request option.
817
+ * @throws {RequiredError}
818
+ */
819
+ apiPeopleCompanyCompanyIdPost: function (companyId, addPersonRequest, options) {
820
+ var _a, _b, _c;
821
+ return __awaiter(this, void 0, void 0, function () {
822
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
823
+ return __generator(this, function (_d) {
824
+ switch (_d.label) {
825
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiPeopleCompanyCompanyIdPost(companyId, addPersonRequest, options)];
826
+ case 1:
827
+ localVarAxiosArgs = _d.sent();
828
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
829
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PeopleApi.apiPeopleCompanyCompanyIdPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
830
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
831
+ }
832
+ });
833
+ });
834
+ },
835
+ /**
836
+ *
837
+ * @param {string} companyId
838
+ * @param {ResendInvitationRequest} [resendInvitationRequest]
839
+ * @param {*} [options] Override http request option.
840
+ * @throws {RequiredError}
841
+ */
842
+ apiPeopleCompanyCompanyIdResendInvitePost: function (companyId, resendInvitationRequest, options) {
843
+ var _a, _b, _c;
844
+ return __awaiter(this, void 0, void 0, function () {
845
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
846
+ return __generator(this, function (_d) {
847
+ switch (_d.label) {
848
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiPeopleCompanyCompanyIdResendInvitePost(companyId, resendInvitationRequest, options)];
849
+ case 1:
850
+ localVarAxiosArgs = _d.sent();
851
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
852
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PeopleApi.apiPeopleCompanyCompanyIdResendInvitePost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
853
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
854
+ }
855
+ });
856
+ });
857
+ },
858
+ /**
859
+ *
860
+ * @param {string} token
861
+ * @param {*} [options] Override http request option.
862
+ * @throws {RequiredError}
863
+ */
864
+ apiPeopleInvitationMetadataTokenGet: function (token, options) {
865
+ var _a, _b, _c;
866
+ return __awaiter(this, void 0, void 0, function () {
867
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
868
+ return __generator(this, function (_d) {
869
+ switch (_d.label) {
870
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiPeopleInvitationMetadataTokenGet(token, options)];
871
+ case 1:
872
+ localVarAxiosArgs = _d.sent();
873
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
874
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PeopleApi.apiPeopleInvitationMetadataTokenGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
875
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
876
+ }
877
+ });
878
+ });
879
+ },
880
+ /**
881
+ *
882
+ * @param {TestEmailRequest} [testEmailRequest]
883
+ * @param {*} [options] Override http request option.
884
+ * @throws {RequiredError}
885
+ */
886
+ apiPeopleTestEmailPost: function (testEmailRequest, options) {
887
+ var _a, _b, _c;
888
+ return __awaiter(this, void 0, void 0, function () {
889
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
890
+ return __generator(this, function (_d) {
891
+ switch (_d.label) {
892
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiPeopleTestEmailPost(testEmailRequest, options)];
893
+ case 1:
894
+ localVarAxiosArgs = _d.sent();
895
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
896
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PeopleApi.apiPeopleTestEmailPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
897
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
898
+ }
899
+ });
900
+ });
901
+ },
902
+ };
903
+ };
904
+ exports.PeopleApiFp = PeopleApiFp;
905
+ /**
906
+ * PeopleApi - factory interface
907
+ * @export
908
+ */
909
+ var PeopleApiFactory = function (configuration, basePath, axios) {
910
+ var localVarFp = (0, exports.PeopleApiFp)(configuration);
911
+ return {
912
+ /**
913
+ *
914
+ * @param {AcceptInvitationRequest} [acceptInvitationRequest]
915
+ * @param {*} [options] Override http request option.
916
+ * @throws {RequiredError}
917
+ */
918
+ apiPeopleAcceptInvitationPost: function (acceptInvitationRequest, options) {
919
+ return localVarFp.apiPeopleAcceptInvitationPost(acceptInvitationRequest, options).then(function (request) { return request(axios, basePath); });
920
+ },
921
+ /**
922
+ *
923
+ * @param {string} companyId
924
+ * @param {AddExistingMemberRequest} [addExistingMemberRequest]
925
+ * @param {*} [options] Override http request option.
926
+ * @throws {RequiredError}
927
+ */
928
+ apiPeopleCompanyCompanyIdAddExistingMembersPost: function (companyId, addExistingMemberRequest, options) {
929
+ return localVarFp.apiPeopleCompanyCompanyIdAddExistingMembersPost(companyId, addExistingMemberRequest, options).then(function (request) { return request(axios, basePath); });
930
+ },
931
+ /**
932
+ *
933
+ * @param {string} companyId
934
+ * @param {*} [options] Override http request option.
935
+ * @throws {RequiredError}
936
+ */
937
+ apiPeopleCompanyCompanyIdGet: function (companyId, options) {
938
+ return localVarFp.apiPeopleCompanyCompanyIdGet(companyId, options).then(function (request) { return request(axios, basePath); });
939
+ },
940
+ /**
941
+ *
942
+ * @param {string} companyId
943
+ * @param {SendInvitationRequest} [sendInvitationRequest]
944
+ * @param {*} [options] Override http request option.
945
+ * @throws {RequiredError}
946
+ */
947
+ apiPeopleCompanyCompanyIdInvitePost: function (companyId, sendInvitationRequest, options) {
948
+ return localVarFp.apiPeopleCompanyCompanyIdInvitePost(companyId, sendInvitationRequest, options).then(function (request) { return request(axios, basePath); });
949
+ },
950
+ /**
951
+ *
952
+ * @param {string} companyId
953
+ * @param {*} [options] Override http request option.
954
+ * @throws {RequiredError}
955
+ */
956
+ apiPeopleCompanyCompanyIdOtherCompanyMembersGet: function (companyId, options) {
957
+ return localVarFp.apiPeopleCompanyCompanyIdOtherCompanyMembersGet(companyId, options).then(function (request) { return request(axios, basePath); });
958
+ },
959
+ /**
960
+ *
961
+ * @param {string} companyId
962
+ * @param {CompanyOwnershipTransferRequest} [companyOwnershipTransferRequest]
963
+ * @param {*} [options] Override http request option.
964
+ * @throws {RequiredError}
965
+ */
966
+ apiPeopleCompanyCompanyIdOwnershipTransferPost: function (companyId, companyOwnershipTransferRequest, options) {
967
+ return localVarFp.apiPeopleCompanyCompanyIdOwnershipTransferPost(companyId, companyOwnershipTransferRequest, options).then(function (request) { return request(axios, basePath); });
968
+ },
969
+ /**
970
+ *
971
+ * @param {string} companyId
972
+ * @param {string} personId
973
+ * @param {*} [options] Override http request option.
974
+ * @throws {RequiredError}
975
+ */
976
+ apiPeopleCompanyCompanyIdPersonPersonIdDelete: function (companyId, personId, options) {
977
+ return localVarFp.apiPeopleCompanyCompanyIdPersonPersonIdDelete(companyId, personId, options).then(function (request) { return request(axios, basePath); });
978
+ },
979
+ /**
980
+ *
981
+ * @param {string} companyId
982
+ * @param {string} personId
983
+ * @param {UpdatePersonRequest} [updatePersonRequest]
984
+ * @param {*} [options] Override http request option.
985
+ * @throws {RequiredError}
986
+ */
987
+ apiPeopleCompanyCompanyIdPersonPersonIdPut: function (companyId, personId, updatePersonRequest, options) {
988
+ return localVarFp.apiPeopleCompanyCompanyIdPersonPersonIdPut(companyId, personId, updatePersonRequest, options).then(function (request) { return request(axios, basePath); });
989
+ },
990
+ /**
991
+ *
992
+ * @param {string} companyId
993
+ * @param {AddPersonRequest} [addPersonRequest]
994
+ * @param {*} [options] Override http request option.
995
+ * @throws {RequiredError}
996
+ */
997
+ apiPeopleCompanyCompanyIdPost: function (companyId, addPersonRequest, options) {
998
+ return localVarFp.apiPeopleCompanyCompanyIdPost(companyId, addPersonRequest, options).then(function (request) { return request(axios, basePath); });
999
+ },
1000
+ /**
1001
+ *
1002
+ * @param {string} companyId
1003
+ * @param {ResendInvitationRequest} [resendInvitationRequest]
1004
+ * @param {*} [options] Override http request option.
1005
+ * @throws {RequiredError}
1006
+ */
1007
+ apiPeopleCompanyCompanyIdResendInvitePost: function (companyId, resendInvitationRequest, options) {
1008
+ return localVarFp.apiPeopleCompanyCompanyIdResendInvitePost(companyId, resendInvitationRequest, options).then(function (request) { return request(axios, basePath); });
1009
+ },
1010
+ /**
1011
+ *
1012
+ * @param {string} token
1013
+ * @param {*} [options] Override http request option.
1014
+ * @throws {RequiredError}
1015
+ */
1016
+ apiPeopleInvitationMetadataTokenGet: function (token, options) {
1017
+ return localVarFp.apiPeopleInvitationMetadataTokenGet(token, options).then(function (request) { return request(axios, basePath); });
1018
+ },
1019
+ /**
1020
+ *
1021
+ * @param {TestEmailRequest} [testEmailRequest]
1022
+ * @param {*} [options] Override http request option.
1023
+ * @throws {RequiredError}
1024
+ */
1025
+ apiPeopleTestEmailPost: function (testEmailRequest, options) {
1026
+ return localVarFp.apiPeopleTestEmailPost(testEmailRequest, options).then(function (request) { return request(axios, basePath); });
1027
+ },
1028
+ };
1029
+ };
1030
+ exports.PeopleApiFactory = PeopleApiFactory;
1031
+ /**
1032
+ * PeopleApi - object-oriented interface
1033
+ * @export
1034
+ * @class PeopleApi
1035
+ * @extends {BaseAPI}
1036
+ */
1037
+ var PeopleApi = /** @class */ (function (_super) {
1038
+ __extends(PeopleApi, _super);
1039
+ function PeopleApi() {
1040
+ return _super !== null && _super.apply(this, arguments) || this;
1041
+ }
1042
+ /**
1043
+ *
1044
+ * @param {AcceptInvitationRequest} [acceptInvitationRequest]
1045
+ * @param {*} [options] Override http request option.
1046
+ * @throws {RequiredError}
1047
+ * @memberof PeopleApi
1048
+ */
1049
+ PeopleApi.prototype.apiPeopleAcceptInvitationPost = function (acceptInvitationRequest, options) {
1050
+ var _this = this;
1051
+ return (0, exports.PeopleApiFp)(this.configuration).apiPeopleAcceptInvitationPost(acceptInvitationRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
1052
+ };
1053
+ /**
1054
+ *
1055
+ * @param {string} companyId
1056
+ * @param {AddExistingMemberRequest} [addExistingMemberRequest]
1057
+ * @param {*} [options] Override http request option.
1058
+ * @throws {RequiredError}
1059
+ * @memberof PeopleApi
1060
+ */
1061
+ PeopleApi.prototype.apiPeopleCompanyCompanyIdAddExistingMembersPost = function (companyId, addExistingMemberRequest, options) {
1062
+ var _this = this;
1063
+ return (0, exports.PeopleApiFp)(this.configuration).apiPeopleCompanyCompanyIdAddExistingMembersPost(companyId, addExistingMemberRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
1064
+ };
1065
+ /**
1066
+ *
1067
+ * @param {string} companyId
1068
+ * @param {*} [options] Override http request option.
1069
+ * @throws {RequiredError}
1070
+ * @memberof PeopleApi
1071
+ */
1072
+ PeopleApi.prototype.apiPeopleCompanyCompanyIdGet = function (companyId, options) {
1073
+ var _this = this;
1074
+ return (0, exports.PeopleApiFp)(this.configuration).apiPeopleCompanyCompanyIdGet(companyId, options).then(function (request) { return request(_this.axios, _this.basePath); });
1075
+ };
1076
+ /**
1077
+ *
1078
+ * @param {string} companyId
1079
+ * @param {SendInvitationRequest} [sendInvitationRequest]
1080
+ * @param {*} [options] Override http request option.
1081
+ * @throws {RequiredError}
1082
+ * @memberof PeopleApi
1083
+ */
1084
+ PeopleApi.prototype.apiPeopleCompanyCompanyIdInvitePost = function (companyId, sendInvitationRequest, options) {
1085
+ var _this = this;
1086
+ return (0, exports.PeopleApiFp)(this.configuration).apiPeopleCompanyCompanyIdInvitePost(companyId, sendInvitationRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
1087
+ };
1088
+ /**
1089
+ *
1090
+ * @param {string} companyId
1091
+ * @param {*} [options] Override http request option.
1092
+ * @throws {RequiredError}
1093
+ * @memberof PeopleApi
1094
+ */
1095
+ PeopleApi.prototype.apiPeopleCompanyCompanyIdOtherCompanyMembersGet = function (companyId, options) {
1096
+ var _this = this;
1097
+ return (0, exports.PeopleApiFp)(this.configuration).apiPeopleCompanyCompanyIdOtherCompanyMembersGet(companyId, options).then(function (request) { return request(_this.axios, _this.basePath); });
1098
+ };
1099
+ /**
1100
+ *
1101
+ * @param {string} companyId
1102
+ * @param {CompanyOwnershipTransferRequest} [companyOwnershipTransferRequest]
1103
+ * @param {*} [options] Override http request option.
1104
+ * @throws {RequiredError}
1105
+ * @memberof PeopleApi
1106
+ */
1107
+ PeopleApi.prototype.apiPeopleCompanyCompanyIdOwnershipTransferPost = function (companyId, companyOwnershipTransferRequest, options) {
1108
+ var _this = this;
1109
+ return (0, exports.PeopleApiFp)(this.configuration).apiPeopleCompanyCompanyIdOwnershipTransferPost(companyId, companyOwnershipTransferRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
1110
+ };
1111
+ /**
1112
+ *
1113
+ * @param {string} companyId
1114
+ * @param {string} personId
1115
+ * @param {*} [options] Override http request option.
1116
+ * @throws {RequiredError}
1117
+ * @memberof PeopleApi
1118
+ */
1119
+ PeopleApi.prototype.apiPeopleCompanyCompanyIdPersonPersonIdDelete = function (companyId, personId, options) {
1120
+ var _this = this;
1121
+ return (0, exports.PeopleApiFp)(this.configuration).apiPeopleCompanyCompanyIdPersonPersonIdDelete(companyId, personId, options).then(function (request) { return request(_this.axios, _this.basePath); });
1122
+ };
1123
+ /**
1124
+ *
1125
+ * @param {string} companyId
1126
+ * @param {string} personId
1127
+ * @param {UpdatePersonRequest} [updatePersonRequest]
1128
+ * @param {*} [options] Override http request option.
1129
+ * @throws {RequiredError}
1130
+ * @memberof PeopleApi
1131
+ */
1132
+ PeopleApi.prototype.apiPeopleCompanyCompanyIdPersonPersonIdPut = function (companyId, personId, updatePersonRequest, options) {
1133
+ var _this = this;
1134
+ return (0, exports.PeopleApiFp)(this.configuration).apiPeopleCompanyCompanyIdPersonPersonIdPut(companyId, personId, updatePersonRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
1135
+ };
1136
+ /**
1137
+ *
1138
+ * @param {string} companyId
1139
+ * @param {AddPersonRequest} [addPersonRequest]
1140
+ * @param {*} [options] Override http request option.
1141
+ * @throws {RequiredError}
1142
+ * @memberof PeopleApi
1143
+ */
1144
+ PeopleApi.prototype.apiPeopleCompanyCompanyIdPost = function (companyId, addPersonRequest, options) {
1145
+ var _this = this;
1146
+ return (0, exports.PeopleApiFp)(this.configuration).apiPeopleCompanyCompanyIdPost(companyId, addPersonRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
1147
+ };
1148
+ /**
1149
+ *
1150
+ * @param {string} companyId
1151
+ * @param {ResendInvitationRequest} [resendInvitationRequest]
1152
+ * @param {*} [options] Override http request option.
1153
+ * @throws {RequiredError}
1154
+ * @memberof PeopleApi
1155
+ */
1156
+ PeopleApi.prototype.apiPeopleCompanyCompanyIdResendInvitePost = function (companyId, resendInvitationRequest, options) {
1157
+ var _this = this;
1158
+ return (0, exports.PeopleApiFp)(this.configuration).apiPeopleCompanyCompanyIdResendInvitePost(companyId, resendInvitationRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
1159
+ };
1160
+ /**
1161
+ *
1162
+ * @param {string} token
1163
+ * @param {*} [options] Override http request option.
1164
+ * @throws {RequiredError}
1165
+ * @memberof PeopleApi
1166
+ */
1167
+ PeopleApi.prototype.apiPeopleInvitationMetadataTokenGet = function (token, options) {
1168
+ var _this = this;
1169
+ return (0, exports.PeopleApiFp)(this.configuration).apiPeopleInvitationMetadataTokenGet(token, options).then(function (request) { return request(_this.axios, _this.basePath); });
1170
+ };
1171
+ /**
1172
+ *
1173
+ * @param {TestEmailRequest} [testEmailRequest]
1174
+ * @param {*} [options] Override http request option.
1175
+ * @throws {RequiredError}
1176
+ * @memberof PeopleApi
1177
+ */
1178
+ PeopleApi.prototype.apiPeopleTestEmailPost = function (testEmailRequest, options) {
1179
+ var _this = this;
1180
+ return (0, exports.PeopleApiFp)(this.configuration).apiPeopleTestEmailPost(testEmailRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
1181
+ };
1182
+ return PeopleApi;
1183
+ }(base_1.BaseAPI));
1184
+ exports.PeopleApi = PeopleApi;