@thera-hr/api-sdk 1.1.1-prerelease2720-dev-2 → 1.1.1-prerelease2737-dev-2

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 (98) 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/external/resources/externalApi/client/Client.js +1 -1
  4. package/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
  5. package/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  6. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +39 -39
  7. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +29 -29
  8. package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  9. package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +6 -6
  10. package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  11. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  12. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  13. package/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  14. package/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  15. package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  16. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
  17. package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.js +3 -3
  18. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +9 -9
  19. package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/Client.js +11 -11
  20. package/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  21. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +5 -5
  22. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +7 -7
  23. package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +15 -15
  24. package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  25. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.d.ts +29 -4
  26. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +88 -18
  27. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/requests/AddCompanyBankingDetailsRequest.d.ts +12 -4
  28. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/requests/UpdateCompanyIncorporationInfoRequest.d.ts +23 -0
  29. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/requests/UpdateCompanyIncorporationInfoRequest.js +5 -0
  30. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/requests/index.d.ts +1 -0
  31. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/UpdateCompanyIncorporationInfoResponse.d.ts +5 -0
  32. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/UpdateCompanyIncorporationInfoResponse.js +5 -0
  33. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +1 -0
  34. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +1 -0
  35. package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  36. package/api/resources/db/resources/company/types/CompanyBankingDetails.d.ts +13 -5
  37. package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
  38. package/dist/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
  39. package/dist/api/resources/api/resources/external/resources/externalApi/client/Client.js +1 -1
  40. package/dist/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
  41. package/dist/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  42. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +39 -39
  43. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +29 -29
  44. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  45. package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +6 -6
  46. package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  47. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  48. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  49. package/dist/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  50. package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  51. package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  52. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
  53. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.js +3 -3
  54. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +9 -9
  55. package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/Client.js +11 -11
  56. package/dist/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  57. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +5 -5
  58. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +7 -7
  59. package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +15 -15
  60. package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  61. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.d.ts +29 -4
  62. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +88 -18
  63. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/requests/AddCompanyBankingDetailsRequest.d.ts +12 -4
  64. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/requests/UpdateCompanyIncorporationInfoRequest.d.ts +23 -0
  65. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/requests/UpdateCompanyIncorporationInfoRequest.js +5 -0
  66. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/requests/index.d.ts +1 -0
  67. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/UpdateCompanyIncorporationInfoResponse.d.ts +5 -0
  68. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/UpdateCompanyIncorporationInfoResponse.js +5 -0
  69. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +1 -0
  70. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +1 -0
  71. package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  72. package/dist/api/resources/db/resources/company/types/CompanyBankingDetails.d.ts +13 -5
  73. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/client/requests/UpdateCompanyIncorporationInfoRequest.d.ts +16 -0
  74. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/client/requests/UpdateCompanyIncorporationInfoRequest.js +47 -0
  75. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/client/requests/index.d.ts +1 -0
  76. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/client/requests/index.js +3 -1
  77. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/UpdateCompanyIncorporationInfoResponse.d.ts +11 -0
  78. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/UpdateCompanyIncorporationInfoResponse.js +41 -0
  79. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +1 -0
  80. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +1 -0
  81. package/dist/serialization/resources/db/resources/company/types/CompanyBankingDetails.d.ts +4 -4
  82. package/dist/serialization/resources/db/resources/company/types/CompanyBankingDetails.js +4 -4
  83. package/dist/version.d.ts +1 -1
  84. package/dist/version.js +1 -1
  85. package/package.json +1 -1
  86. package/reference.md +89 -4
  87. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/client/requests/UpdateCompanyIncorporationInfoRequest.d.ts +16 -0
  88. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/client/requests/UpdateCompanyIncorporationInfoRequest.js +47 -0
  89. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/client/requests/index.d.ts +1 -0
  90. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/client/requests/index.js +3 -1
  91. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/UpdateCompanyIncorporationInfoResponse.d.ts +11 -0
  92. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/UpdateCompanyIncorporationInfoResponse.js +41 -0
  93. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +1 -0
  94. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +1 -0
  95. package/serialization/resources/db/resources/company/types/CompanyBankingDetails.d.ts +4 -4
  96. package/serialization/resources/db/resources/company/types/CompanyBankingDetails.js +4 -4
  97. package/version.d.ts +1 -1
  98. package/version.js +1 -1
package/reference.md CHANGED
@@ -13327,6 +13327,83 @@ await client.api.thera.timetracking.timetrackingApi.getTimeTrackingHistory("stri
13327
13327
 
13328
13328
  ## Treasury Prime
13329
13329
 
13330
+ <details><summary><code>client.api.thera.tp.tpApi.<a href="/src/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.ts">updateCompanyIncorporationInfo</a>(companyId, { ...params }) -> TheraApi.UpdateCompanyIncorporationInfoResponse</code></summary>
13331
+ <dl>
13332
+ <dd>
13333
+
13334
+ #### 📝 Description
13335
+
13336
+ <dl>
13337
+ <dd>
13338
+
13339
+ <dl>
13340
+ <dd>
13341
+
13342
+ Update company incorporation information (NAICS code, establishment date, incorporation state,
13343
+ and legal structure). This should be called before submitting beneficiary details.
13344
+
13345
+ </dd>
13346
+ </dl>
13347
+ </dd>
13348
+ </dl>
13349
+
13350
+ #### 🔌 Usage
13351
+
13352
+ <dl>
13353
+ <dd>
13354
+
13355
+ <dl>
13356
+ <dd>
13357
+
13358
+ ```typescript
13359
+ await client.api.thera.tp.tpApi.updateCompanyIncorporationInfo("string", {
13360
+ naics: "string",
13361
+ establishedOn: "2023-01-15",
13362
+ incorporationState: "string",
13363
+ legalStructure: "ccorp",
13364
+ });
13365
+ ```
13366
+
13367
+ </dd>
13368
+ </dl>
13369
+ </dd>
13370
+ </dl>
13371
+
13372
+ #### ⚙️ Parameters
13373
+
13374
+ <dl>
13375
+ <dd>
13376
+
13377
+ <dl>
13378
+ <dd>
13379
+
13380
+ **companyId:** `string`
13381
+
13382
+ </dd>
13383
+ </dl>
13384
+
13385
+ <dl>
13386
+ <dd>
13387
+
13388
+ **request:** `TheraApi.api.thera.tp.UpdateCompanyIncorporationInfoRequest`
13389
+
13390
+ </dd>
13391
+ </dl>
13392
+
13393
+ <dl>
13394
+ <dd>
13395
+
13396
+ **requestOptions:** `TpApi.RequestOptions`
13397
+
13398
+ </dd>
13399
+ </dl>
13400
+ </dd>
13401
+ </dl>
13402
+
13403
+ </dd>
13404
+ </dl>
13405
+ </details>
13406
+
13330
13407
  <details><summary><code>client.api.thera.tp.tpApi.<a href="/src/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.ts">addCompanyBankingDetails</a>(companyId, { ...params }) -> TheraApi.AddCompanyBankingDetailsResponse</code></summary>
13331
13408
  <dl>
13332
13409
  <dd>
@@ -13357,10 +13434,18 @@ Final step of company onboarding, if the company is using Thera banking.
13357
13434
  ```typescript
13358
13435
  await client.api.thera.tp.tpApi.addCompanyBankingDetails("string", {
13359
13436
  details: {
13360
- establishedOn: "2023-01-15",
13361
- incorporationState: "string",
13362
- legalStructure: "ccorp",
13363
- naics: "string",
13437
+ establishedOn: {
13438
+ key: "value",
13439
+ },
13440
+ incorporationState: {
13441
+ key: "value",
13442
+ },
13443
+ legalStructure: {
13444
+ key: "value",
13445
+ },
13446
+ naics: {
13447
+ key: "value",
13448
+ },
13364
13449
  callerUserBeneficiaryInformation: {
13365
13450
  dateOfBirth: "2023-01-15",
13366
13451
  emailAddress: "string",
@@ -0,0 +1,16 @@
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
+ import { CompanyLegalStructure } from "../../../../../../../../../db/resources/company/types/CompanyLegalStructure";
8
+ export declare const UpdateCompanyIncorporationInfoRequest: core.serialization.Schema<serializers.api.thera.tp.UpdateCompanyIncorporationInfoRequest.Raw, TheraApi.api.thera.tp.UpdateCompanyIncorporationInfoRequest>;
9
+ export declare namespace UpdateCompanyIncorporationInfoRequest {
10
+ interface Raw {
11
+ naics: string;
12
+ establishedOn: string;
13
+ incorporationState: string;
14
+ legalStructure: CompanyLegalStructure.Raw;
15
+ }
16
+ }
@@ -0,0 +1,47 @@
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 () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.UpdateCompanyIncorporationInfoRequest = void 0;
40
+ const core = __importStar(require("../../../../../../../../../../../core"));
41
+ const CompanyLegalStructure_1 = require("../../../../../../../../../db/resources/company/types/CompanyLegalStructure");
42
+ exports.UpdateCompanyIncorporationInfoRequest = core.serialization.object({
43
+ naics: core.serialization.string(),
44
+ establishedOn: core.serialization.string(),
45
+ incorporationState: core.serialization.string(),
46
+ legalStructure: CompanyLegalStructure_1.CompanyLegalStructure,
47
+ });
@@ -1 +1,2 @@
1
+ export { UpdateCompanyIncorporationInfoRequest } from "./UpdateCompanyIncorporationInfoRequest";
1
2
  export { AddCompanyBankingDetailsRequest } from "./AddCompanyBankingDetailsRequest";
@@ -1,5 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AddCompanyBankingDetailsRequest = void 0;
3
+ exports.AddCompanyBankingDetailsRequest = exports.UpdateCompanyIncorporationInfoRequest = void 0;
4
+ var UpdateCompanyIncorporationInfoRequest_1 = require("./UpdateCompanyIncorporationInfoRequest");
5
+ Object.defineProperty(exports, "UpdateCompanyIncorporationInfoRequest", { enumerable: true, get: function () { return UpdateCompanyIncorporationInfoRequest_1.UpdateCompanyIncorporationInfoRequest; } });
4
6
  var AddCompanyBankingDetailsRequest_1 = require("./AddCompanyBankingDetailsRequest");
5
7
  Object.defineProperty(exports, "AddCompanyBankingDetailsRequest", { enumerable: true, get: function () { return AddCompanyBankingDetailsRequest_1.AddCompanyBankingDetailsRequest; } });
@@ -0,0 +1,11 @@
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 UpdateCompanyIncorporationInfoResponse: core.serialization.ObjectSchema<serializers.api.thera.tp.UpdateCompanyIncorporationInfoResponse.Raw, TheraApi.api.thera.tp.UpdateCompanyIncorporationInfoResponse>;
8
+ export declare namespace UpdateCompanyIncorporationInfoResponse {
9
+ interface Raw {
10
+ }
11
+ }
@@ -0,0 +1,41 @@
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 () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.UpdateCompanyIncorporationInfoResponse = void 0;
40
+ const core = __importStar(require("../../../../../../../../../../core"));
41
+ exports.UpdateCompanyIncorporationInfoResponse = core.serialization.object({});
@@ -1,3 +1,4 @@
1
+ export * from "./UpdateCompanyIncorporationInfoResponse";
1
2
  export * from "./AddCompanyBankingDetailsResponse";
2
3
  export * from "./GetIndustryCodesResponse";
3
4
  export * from "./IndustryCodes";
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./UpdateCompanyIncorporationInfoResponse"), exports);
17
18
  __exportStar(require("./AddCompanyBankingDetailsResponse"), exports);
18
19
  __exportStar(require("./GetIndustryCodesResponse"), exports);
19
20
  __exportStar(require("./IndustryCodes"), exports);
@@ -10,10 +10,10 @@ import { AddCompanyBeneficiary } from "./AddCompanyBeneficiary";
10
10
  export declare const CompanyBankingDetails: core.serialization.ObjectSchema<serializers.db.CompanyBankingDetails.Raw, TheraApi.db.CompanyBankingDetails>;
11
11
  export declare namespace CompanyBankingDetails {
12
12
  interface Raw {
13
- establishedOn: string;
14
- incorporationState: string;
15
- legalStructure: CompanyLegalStructure.Raw;
16
- naics: string;
13
+ establishedOn?: string | null;
14
+ incorporationState?: string | null;
15
+ legalStructure?: CompanyLegalStructure.Raw | null;
16
+ naics?: string | null;
17
17
  callerUserBeneficiaryInformation: CompanyBeneficiary.Raw;
18
18
  beneficiaries: AddCompanyBeneficiary.Raw[];
19
19
  }
@@ -42,10 +42,10 @@ const CompanyLegalStructure_1 = require("./CompanyLegalStructure");
42
42
  const CompanyBeneficiary_1 = require("./CompanyBeneficiary");
43
43
  const AddCompanyBeneficiary_1 = require("./AddCompanyBeneficiary");
44
44
  exports.CompanyBankingDetails = core.serialization.object({
45
- establishedOn: core.serialization.string(),
46
- incorporationState: core.serialization.string(),
47
- legalStructure: CompanyLegalStructure_1.CompanyLegalStructure,
48
- naics: core.serialization.string(),
45
+ establishedOn: core.serialization.string().optional(),
46
+ incorporationState: core.serialization.string().optional(),
47
+ legalStructure: CompanyLegalStructure_1.CompanyLegalStructure.optional(),
48
+ naics: core.serialization.string().optional(),
49
49
  callerUserBeneficiaryInformation: CompanyBeneficiary_1.CompanyBeneficiary,
50
50
  beneficiaries: core.serialization.list(AddCompanyBeneficiary_1.AddCompanyBeneficiary),
51
51
  });
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.1.1-prerelease2720-dev-2";
1
+ export declare const SDK_VERSION = "1.1.1-prerelease2737-dev-2";
package/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "1.1.1-prerelease2720-dev-2";
4
+ exports.SDK_VERSION = "1.1.1-prerelease2737-dev-2";