@thera-hr/api-sdk 0.0.3283728 → 1.1.1-THERA-2281-deployment-improvement.4

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 (147) hide show
  1. package/Client.d.ts +3 -0
  2. package/api/resources/api/client/Client.d.ts +3 -0
  3. package/api/resources/api/resources/aiprise/client/Client.d.ts +3 -0
  4. package/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.d.ts +4 -1
  5. package/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +3 -3
  6. package/api/resources/api/resources/services/client/Client.d.ts +3 -0
  7. package/api/resources/api/resources/services/resources/file/client/Client.d.ts +7 -4
  8. package/api/resources/api/resources/services/resources/file/client/Client.js +12 -12
  9. package/api/resources/api/resources/thera/client/Client.d.ts +3 -0
  10. package/api/resources/api/resources/thera/resources/bank/client/Client.d.ts +3 -0
  11. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.d.ts +24 -21
  12. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +67 -64
  13. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetWithdrawalMethodCurrenciesRequest.d.ts +1 -0
  14. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/SingleWithdrawalMethodResponse.d.ts +1 -0
  15. package/api/resources/api/resources/thera/resources/company/client/Client.d.ts +3 -0
  16. package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.d.ts +16 -13
  17. package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +41 -47
  18. package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/index.d.ts +0 -1
  19. package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/ContractorAndContracts.d.ts +10 -0
  20. package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateCompanyRequest.d.ts +1 -1
  21. package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/index.d.ts +1 -0
  22. package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/index.js +1 -0
  23. package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.d.ts +4 -1
  24. package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
  25. package/api/resources/api/resources/thera/resources/contractor/client/Client.d.ts +3 -0
  26. package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.d.ts +4 -1
  27. package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  28. package/api/resources/api/resources/thera/resources/disbursement/client/Client.d.ts +3 -0
  29. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.d.ts +6 -3
  30. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +9 -9
  31. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.d.ts +4 -1
  32. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +3 -3
  33. package/api/resources/api/resources/thera/resources/email/client/Client.d.ts +3 -0
  34. package/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.d.ts +4 -1
  35. package/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +3 -3
  36. package/api/resources/api/resources/thera/resources/employment/client/Client.d.ts +3 -0
  37. package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.d.ts +6 -3
  38. package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +9 -9
  39. package/api/resources/api/resources/thera/resources/misc/client/Client.d.ts +3 -0
  40. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.d.ts +4 -1
  41. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +3 -3
  42. package/api/resources/api/resources/thera/resources/payroll/client/Client.d.ts +3 -0
  43. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.d.ts +4 -1
  44. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +3 -3
  45. package/api/resources/api/resources/thera/resources/user/client/Client.d.ts +3 -0
  46. package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.d.ts +4 -1
  47. package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  48. package/api/resources/db/resources/user/types/AiPriseVerificationResult.d.ts +2 -1
  49. package/api/resources/db/resources/user/types/BankTransfer.d.ts +1 -0
  50. package/api/resources/db/resources/user/types/PoweredBy.d.ts +8 -0
  51. package/api/resources/db/resources/user/types/PoweredBy.js +10 -0
  52. package/api/resources/db/resources/user/types/index.d.ts +1 -0
  53. package/api/resources/db/resources/user/types/index.js +1 -0
  54. package/core/fetcher/Fetcher.d.ts +2 -2
  55. package/core/index.d.ts +1 -1
  56. package/core/index.js +4 -4
  57. package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +5 -5
  58. package/dist/Client.d.ts +3 -0
  59. package/dist/api/resources/api/client/Client.d.ts +3 -0
  60. package/dist/api/resources/api/resources/aiprise/client/Client.d.ts +3 -0
  61. package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.d.ts +4 -1
  62. package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +3 -3
  63. package/dist/api/resources/api/resources/services/client/Client.d.ts +3 -0
  64. package/dist/api/resources/api/resources/services/resources/file/client/Client.d.ts +7 -4
  65. package/dist/api/resources/api/resources/services/resources/file/client/Client.js +12 -12
  66. package/dist/api/resources/api/resources/thera/client/Client.d.ts +3 -0
  67. package/dist/api/resources/api/resources/thera/resources/bank/client/Client.d.ts +3 -0
  68. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.d.ts +24 -21
  69. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +67 -64
  70. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetWithdrawalMethodCurrenciesRequest.d.ts +1 -0
  71. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/SingleWithdrawalMethodResponse.d.ts +1 -0
  72. package/dist/api/resources/api/resources/thera/resources/company/client/Client.d.ts +3 -0
  73. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.d.ts +16 -13
  74. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +41 -47
  75. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/index.d.ts +0 -1
  76. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/ContractorAndContracts.d.ts +10 -0
  77. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateCompanyRequest.d.ts +1 -1
  78. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/index.d.ts +1 -0
  79. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/index.js +1 -0
  80. package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.d.ts +4 -1
  81. package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
  82. package/dist/api/resources/api/resources/thera/resources/contractor/client/Client.d.ts +3 -0
  83. package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.d.ts +4 -1
  84. package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  85. package/dist/api/resources/api/resources/thera/resources/disbursement/client/Client.d.ts +3 -0
  86. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.d.ts +6 -3
  87. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +9 -9
  88. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.d.ts +4 -1
  89. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +3 -3
  90. package/dist/api/resources/api/resources/thera/resources/email/client/Client.d.ts +3 -0
  91. package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.d.ts +4 -1
  92. package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +3 -3
  93. package/dist/api/resources/api/resources/thera/resources/employment/client/Client.d.ts +3 -0
  94. package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.d.ts +6 -3
  95. package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +9 -9
  96. package/dist/api/resources/api/resources/thera/resources/misc/client/Client.d.ts +3 -0
  97. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.d.ts +4 -1
  98. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +3 -3
  99. package/dist/api/resources/api/resources/thera/resources/payroll/client/Client.d.ts +3 -0
  100. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.d.ts +4 -1
  101. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +3 -3
  102. package/dist/api/resources/api/resources/thera/resources/user/client/Client.d.ts +3 -0
  103. package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.d.ts +4 -1
  104. package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  105. package/dist/api/resources/db/resources/user/types/AiPriseVerificationResult.d.ts +2 -1
  106. package/dist/api/resources/db/resources/user/types/BankTransfer.d.ts +1 -0
  107. package/dist/api/resources/db/resources/user/types/PoweredBy.d.ts +8 -0
  108. package/dist/api/resources/db/resources/user/types/PoweredBy.js +10 -0
  109. package/dist/api/resources/db/resources/user/types/index.d.ts +1 -0
  110. package/dist/api/resources/db/resources/user/types/index.js +1 -0
  111. package/dist/core/fetcher/Fetcher.d.ts +2 -2
  112. package/dist/core/index.d.ts +1 -1
  113. package/dist/core/index.js +4 -4
  114. package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +5 -5
  115. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SingleWithdrawalMethodResponse.d.ts +1 -0
  116. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SingleWithdrawalMethodResponse.js +3 -0
  117. package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/ContractorAndContracts.d.ts +14 -0
  118. package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/ContractorAndContracts.js +44 -0
  119. package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/index.d.ts +1 -0
  120. package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/index.js +1 -0
  121. package/dist/serialization/resources/db/resources/user/types/AiPriseVerificationResult.d.ts +1 -1
  122. package/dist/serialization/resources/db/resources/user/types/AiPriseVerificationResult.js +1 -1
  123. package/dist/serialization/resources/db/resources/user/types/BankTransfer.d.ts +1 -0
  124. package/dist/serialization/resources/db/resources/user/types/BankTransfer.js +1 -0
  125. package/dist/serialization/resources/db/resources/user/types/PoweredBy.d.ts +10 -0
  126. package/dist/serialization/resources/db/resources/user/types/PoweredBy.js +31 -0
  127. package/dist/serialization/resources/db/resources/user/types/index.d.ts +1 -0
  128. package/dist/serialization/resources/db/resources/user/types/index.js +1 -0
  129. package/package.json +2 -2
  130. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SingleWithdrawalMethodResponse.d.ts +1 -0
  131. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SingleWithdrawalMethodResponse.js +3 -0
  132. package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/ContractorAndContracts.d.ts +14 -0
  133. package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/ContractorAndContracts.js +44 -0
  134. package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/index.d.ts +1 -0
  135. package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/index.js +1 -0
  136. package/serialization/resources/db/resources/user/types/AiPriseVerificationResult.d.ts +1 -1
  137. package/serialization/resources/db/resources/user/types/AiPriseVerificationResult.js +1 -1
  138. package/serialization/resources/db/resources/user/types/BankTransfer.d.ts +1 -0
  139. package/serialization/resources/db/resources/user/types/BankTransfer.js +1 -0
  140. package/serialization/resources/db/resources/user/types/PoweredBy.d.ts +10 -0
  141. package/serialization/resources/db/resources/user/types/PoweredBy.js +31 -0
  142. package/serialization/resources/db/resources/user/types/index.d.ts +1 -0
  143. package/serialization/resources/db/resources/user/types/index.js +1 -0
  144. package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/InviteContractorReq.d.ts +0 -8
  145. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/InviteContractorReq.d.ts +0 -8
  146. /package/api/resources/api/resources/thera/resources/company/resources/companyApi/{client/requests/InviteContractorReq.js → types/ContractorAndContracts.js} +0 -0
  147. /package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/{client/requests/InviteContractorReq.js → types/ContractorAndContracts.js} +0 -0
@@ -27,6 +27,7 @@ __exportStar(require("./AiPriseVerificationStatus"), exports);
27
27
  __exportStar(require("./UserCompanySettings"), exports);
28
28
  __exportStar(require("./WithdrawalMethod"), exports);
29
29
  __exportStar(require("./BankTransfer"), exports);
30
+ __exportStar(require("./PoweredBy"), exports);
30
31
  __exportStar(require("./BankAddress"), exports);
31
32
  __exportStar(require("./WithdrawalMethodAccountType"), exports);
32
33
  __exportStar(require("./User"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thera-hr/api-sdk",
3
- "version": "0.0.3283728",
3
+ "version": "1.1.1-THERA-2281-deployment-improvement.4",
4
4
  "private": false,
5
5
  "repository": "https://github.com/CarbonNYC/thera-typescript-sdk",
6
6
  "main": "./index.js",
@@ -14,7 +14,7 @@
14
14
  "url-join": "4.0.1",
15
15
  "@types/url-join": "4.0.1",
16
16
  "@ungap/url-search-params": "0.2.2",
17
- "axios": "1.4.0",
17
+ "axios": "0.27.2",
18
18
  "js-base64": "3.7.2"
19
19
  },
20
20
  "devDependencies": {
@@ -10,5 +10,6 @@ export declare namespace SingleWithdrawalMethodResponse {
10
10
  type: string;
11
11
  title: string;
12
12
  fields: serializers.api.thera.bank.WithdrawalMethodField.Raw[];
13
+ poweredBy?: serializers.db.PoweredBy.Raw | null;
13
14
  }
14
15
  }
@@ -41,4 +41,7 @@ exports.SingleWithdrawalMethodResponse = core.serialization.object({
41
41
  type: core.serialization.string(),
42
42
  title: core.serialization.string(),
43
43
  fields: core.serialization.list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../../../../../../..")))).api.thera.bank.WithdrawalMethodField; }))),
44
+ poweredBy: core.serialization
45
+ .lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../../../../../../..")))).db.PoweredBy; }))
46
+ .optional(),
44
47
  });
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../../../../..";
5
+ import * as TheraApi from "../../../../../../../../../../api";
6
+ import * as core from "../../../../../../../../../../core";
7
+ export declare const ContractorAndContracts: core.serialization.ObjectSchema<serializers.api.thera.company.ContractorAndContracts.Raw, TheraApi.api.thera.company.ContractorAndContracts>;
8
+ export declare namespace ContractorAndContracts {
9
+ interface Raw {
10
+ user: serializers.db.UserApiResponse.Raw;
11
+ employments: serializers.db.ContractApiResponse.Raw[];
12
+ employment: serializers.db.ContractApiResponse.Raw;
13
+ }
14
+ }
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
29
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30
+ return new (P || (P = Promise))(function (resolve, reject) {
31
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
32
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
33
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
34
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
35
+ });
36
+ };
37
+ Object.defineProperty(exports, "__esModule", { value: true });
38
+ exports.ContractorAndContracts = void 0;
39
+ const core = __importStar(require("../../../../../../../../../../core"));
40
+ exports.ContractorAndContracts = core.serialization.object({
41
+ user: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../../../../../../..")))).db.UserApiResponse; })),
42
+ employments: core.serialization.list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../../../../../../..")))).db.ContractApiResponse; }))),
43
+ employment: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../../../../../../..")))).db.ContractApiResponse; })),
44
+ });
@@ -6,6 +6,7 @@ export * from "./CreateMilestoneDetails";
6
6
  export * from "./CreateMilestone";
7
7
  export * from "./CheckCanCreateAccountResponse";
8
8
  export * from "./InviteContractorResponse";
9
+ export * from "./ContractorAndContracts";
9
10
  export * from "./InviteManagerResponse";
10
11
  export * from "./EditManagerRolesResponse";
11
12
  export * from "./EditOrgAdminsResponse";
@@ -22,6 +22,7 @@ __exportStar(require("./CreateMilestoneDetails"), exports);
22
22
  __exportStar(require("./CreateMilestone"), exports);
23
23
  __exportStar(require("./CheckCanCreateAccountResponse"), exports);
24
24
  __exportStar(require("./InviteContractorResponse"), exports);
25
+ __exportStar(require("./ContractorAndContracts"), exports);
25
26
  __exportStar(require("./InviteManagerResponse"), exports);
26
27
  __exportStar(require("./EditManagerRolesResponse"), exports);
27
28
  __exportStar(require("./EditOrgAdminsResponse"), exports);
@@ -8,6 +8,6 @@ export declare const AiPriseVerificationResult: core.serialization.ObjectSchema<
8
8
  export declare namespace AiPriseVerificationResult {
9
9
  interface Raw {
10
10
  status: serializers.db.AiPriseVerificationStatus.Raw;
11
- sessionId: string;
11
+ sessionId?: string | null;
12
12
  }
13
13
  }
@@ -39,5 +39,5 @@ exports.AiPriseVerificationResult = void 0;
39
39
  const core = __importStar(require("../../../../../../core"));
40
40
  exports.AiPriseVerificationResult = core.serialization.object({
41
41
  status: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../../..")))).db.AiPriseVerificationStatus; })),
42
- sessionId: core.serialization.string(),
42
+ sessionId: core.serialization.string().optional(),
43
43
  });
@@ -15,5 +15,6 @@ export declare namespace BankTransfer {
15
15
  details: Record<string, string>;
16
16
  wiseRecipientAccountId?: number | null;
17
17
  accountType: serializers.db.WithdrawalMethodAccountType.Raw;
18
+ poweredBy?: serializers.db.PoweredBy.Raw | null;
18
19
  }
19
20
  }
@@ -46,4 +46,5 @@ exports.BankTransfer = core.serialization.object({
46
46
  details: core.serialization.record(core.serialization.string(), core.serialization.string()),
47
47
  wiseRecipientAccountId: core.serialization.number().optional(),
48
48
  accountType: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../../..")))).db.WithdrawalMethodAccountType; })),
49
+ poweredBy: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../../..")))).db.PoweredBy; })).optional(),
49
50
  });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../..";
5
+ import * as TheraApi from "../../../../../../api";
6
+ import * as core from "../../../../../../core";
7
+ export declare const PoweredBy: core.serialization.Schema<serializers.db.PoweredBy.Raw, TheraApi.db.PoweredBy>;
8
+ export declare namespace PoweredBy {
9
+ type Raw = "dlocal" | "wise";
10
+ }
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.PoweredBy = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ exports.PoweredBy = core.serialization.enum_(["dlocal", "wise"]);
@@ -11,6 +11,7 @@ export * from "./AiPriseVerificationStatus";
11
11
  export * from "./UserCompanySettings";
12
12
  export * from "./WithdrawalMethod";
13
13
  export * from "./BankTransfer";
14
+ export * from "./PoweredBy";
14
15
  export * from "./BankAddress";
15
16
  export * from "./WithdrawalMethodAccountType";
16
17
  export * from "./User";
@@ -27,6 +27,7 @@ __exportStar(require("./AiPriseVerificationStatus"), exports);
27
27
  __exportStar(require("./UserCompanySettings"), exports);
28
28
  __exportStar(require("./WithdrawalMethod"), exports);
29
29
  __exportStar(require("./BankTransfer"), exports);
30
+ __exportStar(require("./PoweredBy"), exports);
30
31
  __exportStar(require("./BankAddress"), exports);
31
32
  __exportStar(require("./WithdrawalMethodAccountType"), exports);
32
33
  __exportStar(require("./User"), exports);
@@ -1,8 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as TheraApi from "../../../../../../../../../..";
5
- export interface InviteContractorReq {
6
- skipEmail?: boolean;
7
- body: TheraApi.api.thera.company.InviteContractorRequest;
8
- }
@@ -1,8 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as TheraApi from "../../../../../../../../../..";
5
- export interface InviteContractorReq {
6
- skipEmail?: boolean;
7
- body: TheraApi.api.thera.company.InviteContractorRequest;
8
- }