@thera-hr/api-sdk 0.0.1-prerelease2790-dev-3 → 0.0.1-prerelease2792-dev-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 (77) hide show
  1. package/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
  2. package/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
  3. package/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
  4. package/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  5. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +33 -33
  6. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.d.ts +13 -1
  7. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +32 -20
  8. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/BridgeCustomerDocument.d.ts +8 -0
  9. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/BridgeCustomerDocument.js +5 -0
  10. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/BridgeIdentifyingInformation.d.ts +8 -0
  11. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/BridgeIdentifyingInformation.js +5 -0
  12. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateCustomer.d.ts +2 -0
  13. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.d.ts +2 -0
  14. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.js +2 -0
  15. package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  16. package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
  17. package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  18. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  19. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  20. package/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  21. package/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  22. package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  23. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +2 -2
  24. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +6 -6
  25. package/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  26. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +3 -3
  27. package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  28. package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  29. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +10 -10
  30. package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  31. package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
  32. package/dist/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
  33. package/dist/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
  34. package/dist/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  35. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +33 -33
  36. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.d.ts +13 -1
  37. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +32 -20
  38. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/BridgeCustomerDocument.d.ts +8 -0
  39. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/BridgeCustomerDocument.js +5 -0
  40. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/BridgeIdentifyingInformation.d.ts +8 -0
  41. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/BridgeIdentifyingInformation.js +5 -0
  42. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateCustomer.d.ts +2 -0
  43. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.d.ts +2 -0
  44. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.js +2 -0
  45. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  46. package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
  47. package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  48. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  49. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  50. package/dist/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  51. package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  52. package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  53. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +2 -2
  54. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +6 -6
  55. package/dist/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  56. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +3 -3
  57. package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  58. package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  59. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +10 -10
  60. package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  61. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/BridgeCustomerDocument.d.ts +14 -0
  62. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/BridgeCustomerDocument.js +35 -0
  63. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/BridgeIdentifyingInformation.d.ts +14 -0
  64. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/BridgeIdentifyingInformation.js +35 -0
  65. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateCustomer.d.ts +4 -0
  66. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateCustomer.js +4 -0
  67. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.d.ts +2 -0
  68. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.js +2 -0
  69. package/package.json +1 -1
  70. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/BridgeCustomerDocument.d.ts +14 -0
  71. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/BridgeCustomerDocument.js +35 -0
  72. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/BridgeIdentifyingInformation.d.ts +14 -0
  73. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/BridgeIdentifyingInformation.js +35 -0
  74. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateCustomer.d.ts +4 -0
  75. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateCustomer.js +4 -0
  76. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.d.ts +2 -0
  77. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.js +2 -0
@@ -0,0 +1,35 @@
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.BridgeCustomerDocument = void 0;
30
+ const core = __importStar(require("../../../../../../../../../../core"));
31
+ exports.BridgeCustomerDocument = core.serialization.object({
32
+ purposes: core.serialization.string(),
33
+ file: core.serialization.string(),
34
+ description: core.serialization.string().optional(),
35
+ });
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../../../../../index";
5
+ import * as TheraApi from "../../../../../../../../../../api/index";
6
+ import * as core from "../../../../../../../../../../core";
7
+ export declare const BridgeIdentifyingInformation: core.serialization.ObjectSchema<serializers.api.thera.bridge.BridgeIdentifyingInformation.Raw, TheraApi.api.thera.bridge.BridgeIdentifyingInformation>;
8
+ export declare namespace BridgeIdentifyingInformation {
9
+ interface Raw {
10
+ type: string;
11
+ image_front: string;
12
+ issuing_country: string;
13
+ }
14
+ }
@@ -0,0 +1,35 @@
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.BridgeIdentifyingInformation = void 0;
30
+ const core = __importStar(require("../../../../../../../../../../core"));
31
+ exports.BridgeIdentifyingInformation = core.serialization.object({
32
+ type: core.serialization.string(),
33
+ imageFront: core.serialization.property("image_front", core.serialization.string()),
34
+ issuingCountry: core.serialization.property("issuing_country", core.serialization.string()),
35
+ });
@@ -5,6 +5,8 @@ import * as serializers from "../../../../../../../../../index";
5
5
  import * as TheraApi from "../../../../../../../../../../api/index";
6
6
  import * as core from "../../../../../../../../../../core";
7
7
  import { Address } from "./Address";
8
+ import { BridgeCustomerDocument } from "./BridgeCustomerDocument";
9
+ import { BridgeIdentifyingInformation } from "./BridgeIdentifyingInformation";
8
10
  export declare const CreateCustomer: core.serialization.ObjectSchema<serializers.api.thera.bridge.CreateCustomer.Raw, TheraApi.api.thera.bridge.CreateCustomer>;
9
11
  export declare namespace CreateCustomer {
10
12
  interface Raw {
@@ -17,5 +19,7 @@ export declare namespace CreateCustomer {
17
19
  signed_agreement_id: string;
18
20
  birth_date: string;
19
21
  tax_identification_number: string;
22
+ documents?: BridgeCustomerDocument.Raw[] | null;
23
+ identifying_information?: BridgeIdentifyingInformation.Raw[] | null;
20
24
  }
21
25
  }
@@ -29,6 +29,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.CreateCustomer = void 0;
30
30
  const core = __importStar(require("../../../../../../../../../../core"));
31
31
  const Address_1 = require("./Address");
32
+ const BridgeCustomerDocument_1 = require("./BridgeCustomerDocument");
33
+ const BridgeIdentifyingInformation_1 = require("./BridgeIdentifyingInformation");
32
34
  exports.CreateCustomer = core.serialization.object({
33
35
  type: core.serialization.string(),
34
36
  firstName: core.serialization.property("first_name", core.serialization.string()),
@@ -39,4 +41,6 @@ exports.CreateCustomer = core.serialization.object({
39
41
  signedAgreementId: core.serialization.property("signed_agreement_id", core.serialization.string()),
40
42
  birthDate: core.serialization.property("birth_date", core.serialization.string()),
41
43
  taxIdentificationNumber: core.serialization.property("tax_identification_number", core.serialization.string()),
44
+ documents: core.serialization.list(BridgeCustomerDocument_1.BridgeCustomerDocument).optional(),
45
+ identifyingInformation: core.serialization.property("identifying_information", core.serialization.list(BridgeIdentifyingInformation_1.BridgeIdentifyingInformation).optional()),
42
46
  });
@@ -23,3 +23,5 @@ export * from "./BridgeIbanBankAccount";
23
23
  export * from "./BridgeSwiftBankAccount";
24
24
  export * from "./BridgeAccountDetails";
25
25
  export * from "./TransferFundsFlow";
26
+ export * from "./BridgeCustomerDocument";
27
+ export * from "./BridgeIdentifyingInformation";
@@ -39,3 +39,5 @@ __exportStar(require("./BridgeIbanBankAccount"), exports);
39
39
  __exportStar(require("./BridgeSwiftBankAccount"), exports);
40
40
  __exportStar(require("./BridgeAccountDetails"), exports);
41
41
  __exportStar(require("./TransferFundsFlow"), exports);
42
+ __exportStar(require("./BridgeCustomerDocument"), exports);
43
+ __exportStar(require("./BridgeIdentifyingInformation"), exports);