@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,135 @@
1
+ /**
2
+ * biz-entity-api
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v2
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Configuration } from '../configuration';
13
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
+ import { type RequestArgs, BaseAPI } from '../base';
15
+ import type { AuthenticatedUserInUi } from '../models';
16
+ import type { OpenIdClaimResponse } from '../models';
17
+ import type { OpenIdOptionsResult } from '../models';
18
+ import type { SignInWithOpenIdReq } from '../models';
19
+ /**
20
+ * AuthApi - axios parameter creator
21
+ * @export
22
+ */
23
+ export declare const AuthApiAxiosParamCreator: (configuration?: Configuration) => {
24
+ /**
25
+ *
26
+ * @param {string} creds
27
+ * @param {*} [options] Override http request option.
28
+ * @throws {RequiredError}
29
+ */
30
+ apiAuthGenerateTestJWTCredsGet: (creds: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
31
+ /**
32
+ *
33
+ * @param {SignInWithOpenIdReq} [signInWithOpenIdReq]
34
+ * @param {*} [options] Override http request option.
35
+ * @throws {RequiredError}
36
+ */
37
+ apiAuthOpenIdClaimPost: (signInWithOpenIdReq?: SignInWithOpenIdReq, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
38
+ /**
39
+ *
40
+ * @param {string} provider
41
+ * @param {string} [redirectTo]
42
+ * @param {*} [options] Override http request option.
43
+ * @throws {RequiredError}
44
+ */
45
+ apiAuthOptionsProviderGet: (provider: string, redirectTo?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
46
+ };
47
+ /**
48
+ * AuthApi - functional programming interface
49
+ * @export
50
+ */
51
+ export declare const AuthApiFp: (configuration?: Configuration) => {
52
+ /**
53
+ *
54
+ * @param {string} creds
55
+ * @param {*} [options] Override http request option.
56
+ * @throws {RequiredError}
57
+ */
58
+ apiAuthGenerateTestJWTCredsGet(creds: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticatedUserInUi>>;
59
+ /**
60
+ *
61
+ * @param {SignInWithOpenIdReq} [signInWithOpenIdReq]
62
+ * @param {*} [options] Override http request option.
63
+ * @throws {RequiredError}
64
+ */
65
+ apiAuthOpenIdClaimPost(signInWithOpenIdReq?: SignInWithOpenIdReq, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OpenIdClaimResponse>>;
66
+ /**
67
+ *
68
+ * @param {string} provider
69
+ * @param {string} [redirectTo]
70
+ * @param {*} [options] Override http request option.
71
+ * @throws {RequiredError}
72
+ */
73
+ apiAuthOptionsProviderGet(provider: string, redirectTo?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OpenIdOptionsResult>>;
74
+ };
75
+ /**
76
+ * AuthApi - factory interface
77
+ * @export
78
+ */
79
+ export declare const AuthApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
80
+ /**
81
+ *
82
+ * @param {string} creds
83
+ * @param {*} [options] Override http request option.
84
+ * @throws {RequiredError}
85
+ */
86
+ apiAuthGenerateTestJWTCredsGet(creds: string, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticatedUserInUi>;
87
+ /**
88
+ *
89
+ * @param {SignInWithOpenIdReq} [signInWithOpenIdReq]
90
+ * @param {*} [options] Override http request option.
91
+ * @throws {RequiredError}
92
+ */
93
+ apiAuthOpenIdClaimPost(signInWithOpenIdReq?: SignInWithOpenIdReq, options?: RawAxiosRequestConfig): AxiosPromise<OpenIdClaimResponse>;
94
+ /**
95
+ *
96
+ * @param {string} provider
97
+ * @param {string} [redirectTo]
98
+ * @param {*} [options] Override http request option.
99
+ * @throws {RequiredError}
100
+ */
101
+ apiAuthOptionsProviderGet(provider: string, redirectTo?: string, options?: RawAxiosRequestConfig): AxiosPromise<OpenIdOptionsResult>;
102
+ };
103
+ /**
104
+ * AuthApi - object-oriented interface
105
+ * @export
106
+ * @class AuthApi
107
+ * @extends {BaseAPI}
108
+ */
109
+ export declare class AuthApi extends BaseAPI {
110
+ /**
111
+ *
112
+ * @param {string} creds
113
+ * @param {*} [options] Override http request option.
114
+ * @throws {RequiredError}
115
+ * @memberof AuthApi
116
+ */
117
+ apiAuthGenerateTestJWTCredsGet(creds: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticatedUserInUi, any, {}>>;
118
+ /**
119
+ *
120
+ * @param {SignInWithOpenIdReq} [signInWithOpenIdReq]
121
+ * @param {*} [options] Override http request option.
122
+ * @throws {RequiredError}
123
+ * @memberof AuthApi
124
+ */
125
+ apiAuthOpenIdClaimPost(signInWithOpenIdReq?: SignInWithOpenIdReq, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OpenIdClaimResponse, any, {}>>;
126
+ /**
127
+ *
128
+ * @param {string} provider
129
+ * @param {string} [redirectTo]
130
+ * @param {*} [options] Override http request option.
131
+ * @throws {RequiredError}
132
+ * @memberof AuthApi
133
+ */
134
+ apiAuthOptionsProviderGet(provider: string, redirectTo?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OpenIdOptionsResult, any, {}>>;
135
+ }
@@ -0,0 +1,386 @@
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.AuthApi = exports.AuthApiFactory = exports.AuthApiFp = exports.AuthApiAxiosParamCreator = 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
+ * AuthApi - axios parameter creator
87
+ * @export
88
+ */
89
+ var AuthApiAxiosParamCreator = function (configuration) {
90
+ var _this = this;
91
+ return {
92
+ /**
93
+ *
94
+ * @param {string} creds
95
+ * @param {*} [options] Override http request option.
96
+ * @throws {RequiredError}
97
+ */
98
+ apiAuthGenerateTestJWTCredsGet: function (creds, 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
+ // verify required parameter 'creds' is not null or undefined
106
+ (0, common_1.assertParamExists)('apiAuthGenerateTestJWTCredsGet', 'creds', creds);
107
+ localVarPath = "/api/Auth/generateTestJWT/{creds}"
108
+ .replace("{".concat("creds", "}"), encodeURIComponent(String(creds)));
109
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
110
+ if (configuration) {
111
+ baseOptions = configuration.baseOptions;
112
+ }
113
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
114
+ localVarHeaderParameter = {};
115
+ localVarQueryParameter = {};
116
+ // authentication Bearer required
117
+ // http bearer authentication required
118
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
119
+ case 1:
120
+ // authentication Bearer required
121
+ // http bearer authentication required
122
+ _a.sent();
123
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
124
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
125
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
126
+ return [2 /*return*/, {
127
+ url: (0, common_1.toPathString)(localVarUrlObj),
128
+ options: localVarRequestOptions,
129
+ }];
130
+ }
131
+ });
132
+ });
133
+ },
134
+ /**
135
+ *
136
+ * @param {SignInWithOpenIdReq} [signInWithOpenIdReq]
137
+ * @param {*} [options] Override http request option.
138
+ * @throws {RequiredError}
139
+ */
140
+ apiAuthOpenIdClaimPost: function (signInWithOpenIdReq, 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
+ localVarPath = "/api/Auth/openIdClaim";
148
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
149
+ if (configuration) {
150
+ baseOptions = configuration.baseOptions;
151
+ }
152
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
153
+ localVarHeaderParameter = {};
154
+ localVarQueryParameter = {};
155
+ // authentication Bearer required
156
+ // http bearer authentication required
157
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
158
+ case 1:
159
+ // authentication Bearer required
160
+ // http bearer authentication required
161
+ _a.sent();
162
+ localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
163
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
164
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
165
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
166
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(signInWithOpenIdReq, localVarRequestOptions, configuration);
167
+ return [2 /*return*/, {
168
+ url: (0, common_1.toPathString)(localVarUrlObj),
169
+ options: localVarRequestOptions,
170
+ }];
171
+ }
172
+ });
173
+ });
174
+ },
175
+ /**
176
+ *
177
+ * @param {string} provider
178
+ * @param {string} [redirectTo]
179
+ * @param {*} [options] Override http request option.
180
+ * @throws {RequiredError}
181
+ */
182
+ apiAuthOptionsProviderGet: function (provider, redirectTo, options) {
183
+ if (options === void 0) { options = {}; }
184
+ return __awaiter(_this, void 0, void 0, function () {
185
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
186
+ return __generator(this, function (_a) {
187
+ switch (_a.label) {
188
+ case 0:
189
+ // verify required parameter 'provider' is not null or undefined
190
+ (0, common_1.assertParamExists)('apiAuthOptionsProviderGet', 'provider', provider);
191
+ localVarPath = "/api/Auth/options/{provider}"
192
+ .replace("{".concat("provider", "}"), encodeURIComponent(String(provider)));
193
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
194
+ if (configuration) {
195
+ baseOptions = configuration.baseOptions;
196
+ }
197
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
198
+ localVarHeaderParameter = {};
199
+ localVarQueryParameter = {};
200
+ // authentication Bearer required
201
+ // http bearer authentication required
202
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
203
+ case 1:
204
+ // authentication Bearer required
205
+ // http bearer authentication required
206
+ _a.sent();
207
+ if (redirectTo !== undefined) {
208
+ localVarQueryParameter['redirectTo'] = redirectTo;
209
+ }
210
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
211
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
212
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
213
+ return [2 /*return*/, {
214
+ url: (0, common_1.toPathString)(localVarUrlObj),
215
+ options: localVarRequestOptions,
216
+ }];
217
+ }
218
+ });
219
+ });
220
+ },
221
+ };
222
+ };
223
+ exports.AuthApiAxiosParamCreator = AuthApiAxiosParamCreator;
224
+ /**
225
+ * AuthApi - functional programming interface
226
+ * @export
227
+ */
228
+ var AuthApiFp = function (configuration) {
229
+ var localVarAxiosParamCreator = (0, exports.AuthApiAxiosParamCreator)(configuration);
230
+ return {
231
+ /**
232
+ *
233
+ * @param {string} creds
234
+ * @param {*} [options] Override http request option.
235
+ * @throws {RequiredError}
236
+ */
237
+ apiAuthGenerateTestJWTCredsGet: function (creds, options) {
238
+ var _a, _b, _c;
239
+ return __awaiter(this, void 0, void 0, function () {
240
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
241
+ return __generator(this, function (_d) {
242
+ switch (_d.label) {
243
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiAuthGenerateTestJWTCredsGet(creds, options)];
244
+ case 1:
245
+ localVarAxiosArgs = _d.sent();
246
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
247
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AuthApi.apiAuthGenerateTestJWTCredsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
248
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
249
+ }
250
+ });
251
+ });
252
+ },
253
+ /**
254
+ *
255
+ * @param {SignInWithOpenIdReq} [signInWithOpenIdReq]
256
+ * @param {*} [options] Override http request option.
257
+ * @throws {RequiredError}
258
+ */
259
+ apiAuthOpenIdClaimPost: function (signInWithOpenIdReq, options) {
260
+ var _a, _b, _c;
261
+ return __awaiter(this, void 0, void 0, function () {
262
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
263
+ return __generator(this, function (_d) {
264
+ switch (_d.label) {
265
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiAuthOpenIdClaimPost(signInWithOpenIdReq, options)];
266
+ case 1:
267
+ localVarAxiosArgs = _d.sent();
268
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
269
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AuthApi.apiAuthOpenIdClaimPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
270
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
271
+ }
272
+ });
273
+ });
274
+ },
275
+ /**
276
+ *
277
+ * @param {string} provider
278
+ * @param {string} [redirectTo]
279
+ * @param {*} [options] Override http request option.
280
+ * @throws {RequiredError}
281
+ */
282
+ apiAuthOptionsProviderGet: function (provider, redirectTo, options) {
283
+ var _a, _b, _c;
284
+ return __awaiter(this, void 0, void 0, function () {
285
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
286
+ return __generator(this, function (_d) {
287
+ switch (_d.label) {
288
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiAuthOptionsProviderGet(provider, redirectTo, options)];
289
+ case 1:
290
+ localVarAxiosArgs = _d.sent();
291
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
292
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AuthApi.apiAuthOptionsProviderGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
293
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
294
+ }
295
+ });
296
+ });
297
+ },
298
+ };
299
+ };
300
+ exports.AuthApiFp = AuthApiFp;
301
+ /**
302
+ * AuthApi - factory interface
303
+ * @export
304
+ */
305
+ var AuthApiFactory = function (configuration, basePath, axios) {
306
+ var localVarFp = (0, exports.AuthApiFp)(configuration);
307
+ return {
308
+ /**
309
+ *
310
+ * @param {string} creds
311
+ * @param {*} [options] Override http request option.
312
+ * @throws {RequiredError}
313
+ */
314
+ apiAuthGenerateTestJWTCredsGet: function (creds, options) {
315
+ return localVarFp.apiAuthGenerateTestJWTCredsGet(creds, options).then(function (request) { return request(axios, basePath); });
316
+ },
317
+ /**
318
+ *
319
+ * @param {SignInWithOpenIdReq} [signInWithOpenIdReq]
320
+ * @param {*} [options] Override http request option.
321
+ * @throws {RequiredError}
322
+ */
323
+ apiAuthOpenIdClaimPost: function (signInWithOpenIdReq, options) {
324
+ return localVarFp.apiAuthOpenIdClaimPost(signInWithOpenIdReq, options).then(function (request) { return request(axios, basePath); });
325
+ },
326
+ /**
327
+ *
328
+ * @param {string} provider
329
+ * @param {string} [redirectTo]
330
+ * @param {*} [options] Override http request option.
331
+ * @throws {RequiredError}
332
+ */
333
+ apiAuthOptionsProviderGet: function (provider, redirectTo, options) {
334
+ return localVarFp.apiAuthOptionsProviderGet(provider, redirectTo, options).then(function (request) { return request(axios, basePath); });
335
+ },
336
+ };
337
+ };
338
+ exports.AuthApiFactory = AuthApiFactory;
339
+ /**
340
+ * AuthApi - object-oriented interface
341
+ * @export
342
+ * @class AuthApi
343
+ * @extends {BaseAPI}
344
+ */
345
+ var AuthApi = /** @class */ (function (_super) {
346
+ __extends(AuthApi, _super);
347
+ function AuthApi() {
348
+ return _super !== null && _super.apply(this, arguments) || this;
349
+ }
350
+ /**
351
+ *
352
+ * @param {string} creds
353
+ * @param {*} [options] Override http request option.
354
+ * @throws {RequiredError}
355
+ * @memberof AuthApi
356
+ */
357
+ AuthApi.prototype.apiAuthGenerateTestJWTCredsGet = function (creds, options) {
358
+ var _this = this;
359
+ return (0, exports.AuthApiFp)(this.configuration).apiAuthGenerateTestJWTCredsGet(creds, options).then(function (request) { return request(_this.axios, _this.basePath); });
360
+ };
361
+ /**
362
+ *
363
+ * @param {SignInWithOpenIdReq} [signInWithOpenIdReq]
364
+ * @param {*} [options] Override http request option.
365
+ * @throws {RequiredError}
366
+ * @memberof AuthApi
367
+ */
368
+ AuthApi.prototype.apiAuthOpenIdClaimPost = function (signInWithOpenIdReq, options) {
369
+ var _this = this;
370
+ return (0, exports.AuthApiFp)(this.configuration).apiAuthOpenIdClaimPost(signInWithOpenIdReq, options).then(function (request) { return request(_this.axios, _this.basePath); });
371
+ };
372
+ /**
373
+ *
374
+ * @param {string} provider
375
+ * @param {string} [redirectTo]
376
+ * @param {*} [options] Override http request option.
377
+ * @throws {RequiredError}
378
+ * @memberof AuthApi
379
+ */
380
+ AuthApi.prototype.apiAuthOptionsProviderGet = function (provider, redirectTo, options) {
381
+ var _this = this;
382
+ return (0, exports.AuthApiFp)(this.configuration).apiAuthOptionsProviderGet(provider, redirectTo, options).then(function (request) { return request(_this.axios, _this.basePath); });
383
+ };
384
+ return AuthApi;
385
+ }(base_1.BaseAPI));
386
+ exports.AuthApi = AuthApi;
@@ -0,0 +1,70 @@
1
+ /**
2
+ * biz-entity-api
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v2
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Configuration } from '../configuration';
13
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
+ import { type RequestArgs, BaseAPI } from '../base';
15
+ import type { Fill2553IrsFormRequest } from '../models';
16
+ /**
17
+ * Class2553IrsFormEditorApi - axios parameter creator
18
+ * @export
19
+ */
20
+ export declare const Class2553IrsFormEditorApiAxiosParamCreator: (configuration?: Configuration) => {
21
+ /**
22
+ *
23
+ * @param {Fill2553IrsFormRequest} [fill2553IrsFormRequest]
24
+ * @param {*} [options] Override http request option.
25
+ * @throws {RequiredError}
26
+ */
27
+ api2553IrsFormEditorFillPost: (fill2553IrsFormRequest?: Fill2553IrsFormRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
28
+ };
29
+ /**
30
+ * Class2553IrsFormEditorApi - functional programming interface
31
+ * @export
32
+ */
33
+ export declare const Class2553IrsFormEditorApiFp: (configuration?: Configuration) => {
34
+ /**
35
+ *
36
+ * @param {Fill2553IrsFormRequest} [fill2553IrsFormRequest]
37
+ * @param {*} [options] Override http request option.
38
+ * @throws {RequiredError}
39
+ */
40
+ api2553IrsFormEditorFillPost(fill2553IrsFormRequest?: Fill2553IrsFormRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
41
+ };
42
+ /**
43
+ * Class2553IrsFormEditorApi - factory interface
44
+ * @export
45
+ */
46
+ export declare const Class2553IrsFormEditorApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
47
+ /**
48
+ *
49
+ * @param {Fill2553IrsFormRequest} [fill2553IrsFormRequest]
50
+ * @param {*} [options] Override http request option.
51
+ * @throws {RequiredError}
52
+ */
53
+ api2553IrsFormEditorFillPost(fill2553IrsFormRequest?: Fill2553IrsFormRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
54
+ };
55
+ /**
56
+ * Class2553IrsFormEditorApi - object-oriented interface
57
+ * @export
58
+ * @class Class2553IrsFormEditorApi
59
+ * @extends {BaseAPI}
60
+ */
61
+ export declare class Class2553IrsFormEditorApi extends BaseAPI {
62
+ /**
63
+ *
64
+ * @param {Fill2553IrsFormRequest} [fill2553IrsFormRequest]
65
+ * @param {*} [options] Override http request option.
66
+ * @throws {RequiredError}
67
+ * @memberof Class2553IrsFormEditorApi
68
+ */
69
+ api2553IrsFormEditorFillPost(fill2553IrsFormRequest?: Fill2553IrsFormRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
70
+ }