@thera-hr/api-sdk 0.0.1-prerelease3032-dev-3 → 0.0.1-prerelease3032-staging
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.
- package/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
- package/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
- package/api/resources/api/resources/external/resources/externalApi/client/Client.js +1 -1
- package/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
- package/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +33 -33
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +24 -24
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateCompanyRequest.d.ts +2 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
- package/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
- package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
- package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.d.ts +41 -0
- package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.js +129 -1
- package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionRequest.d.ts +11 -0
- package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionRequest.js +5 -0
- package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionResponse.d.ts +7 -0
- package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionResponse.js +5 -0
- package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.d.ts +6 -0
- package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/PaymentItemResponse.d.ts +7 -0
- package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/PaymentItemResponse.js +5 -0
- package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/PaymentStatusResponse.d.ts +15 -0
- package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/PaymentStatusResponse.js +5 -0
- package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/index.d.ts +4 -0
- package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/index.js +4 -0
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +7 -7
- package/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
- package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
- package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.d.ts +40 -0
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +89 -10
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.d.ts +8 -0
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.js +5 -0
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.d.ts +10 -0
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.js +5 -0
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.d.ts +11 -0
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.js +5 -0
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.d.ts +11 -0
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.js +5 -0
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +4 -0
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +4 -0
- package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
- package/api/resources/db/resources/company/types/IncorporationDetails.d.ts +6 -0
- package/api/resources/db/resources/company/types/TpCompanyInformation.d.ts +1 -0
- package/api/resources/db/resources/company/types/WithdrawalTpBankInfo.d.ts +10 -0
- package/api/resources/db/resources/company/types/WithdrawalTpBankInfo.js +5 -0
- package/api/resources/db/resources/company/types/index.d.ts +1 -0
- package/api/resources/db/resources/company/types/index.js +1 -0
- package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
- package/dist/api/resources/api/resources/external/resources/externalApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
- package/dist/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +33 -33
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +24 -24
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateCompanyRequest.d.ts +2 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
- package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
- package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.d.ts +41 -0
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.js +129 -1
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionRequest.d.ts +11 -0
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionRequest.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionResponse.d.ts +7 -0
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionResponse.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.d.ts +6 -0
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/PaymentItemResponse.d.ts +7 -0
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/PaymentItemResponse.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/PaymentStatusResponse.d.ts +15 -0
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/PaymentStatusResponse.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/index.d.ts +4 -0
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/index.js +4 -0
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +7 -7
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
- package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.d.ts +40 -0
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +89 -10
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.d.ts +8 -0
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.d.ts +10 -0
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.d.ts +11 -0
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.d.ts +11 -0
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +4 -0
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +4 -0
- package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
- package/dist/api/resources/db/resources/company/types/IncorporationDetails.d.ts +6 -0
- package/dist/api/resources/db/resources/company/types/TpCompanyInformation.d.ts +1 -0
- package/dist/api/resources/db/resources/company/types/WithdrawalTpBankInfo.d.ts +10 -0
- package/dist/api/resources/db/resources/company/types/WithdrawalTpBankInfo.js +5 -0
- package/dist/api/resources/db/resources/company/types/index.d.ts +1 -0
- package/dist/api/resources/db/resources/company/types/index.js +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateCompanyRequest.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateCompanyRequest.js +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionRequest.d.ts +17 -0
- package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionRequest.js +48 -0
- package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionResponse.d.ts +13 -0
- package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionResponse.js +44 -0
- package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.d.ts +6 -0
- package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.js +6 -0
- package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/PaymentItemResponse.d.ts +13 -0
- package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/PaymentItemResponse.js +44 -0
- package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/PaymentStatusResponse.d.ts +21 -0
- package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/PaymentStatusResponse.js +52 -0
- package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/index.d.ts +4 -0
- package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/index.js +4 -0
- package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.d.ts +14 -0
- package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.js +45 -0
- package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.d.ts +17 -0
- package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.js +48 -0
- package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.d.ts +17 -0
- package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.js +48 -0
- package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.d.ts +17 -0
- package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.js +48 -0
- package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +4 -0
- package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +4 -0
- package/dist/serialization/resources/db/resources/company/types/IncorporationDetails.d.ts +7 -0
- package/dist/serialization/resources/db/resources/company/types/IncorporationDetails.js +7 -0
- package/dist/serialization/resources/db/resources/company/types/TpCompanyInformation.d.ts +2 -0
- package/dist/serialization/resources/db/resources/company/types/TpCompanyInformation.js +2 -0
- package/dist/serialization/resources/db/resources/company/types/WithdrawalTpBankInfo.d.ts +16 -0
- package/dist/serialization/resources/db/resources/company/types/WithdrawalTpBankInfo.js +47 -0
- package/dist/serialization/resources/db/resources/company/types/index.d.ts +1 -0
- package/dist/serialization/resources/db/resources/company/types/index.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +247 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateCompanyRequest.d.ts +1 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateCompanyRequest.js +1 -0
- package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionRequest.d.ts +17 -0
- package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionRequest.js +48 -0
- package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionResponse.d.ts +13 -0
- package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionResponse.js +44 -0
- package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.d.ts +6 -0
- package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.js +6 -0
- package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/PaymentItemResponse.d.ts +13 -0
- package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/PaymentItemResponse.js +44 -0
- package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/PaymentStatusResponse.d.ts +21 -0
- package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/PaymentStatusResponse.js +52 -0
- package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/index.d.ts +4 -0
- package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/index.js +4 -0
- package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.d.ts +14 -0
- package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.js +45 -0
- package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.d.ts +17 -0
- package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.js +48 -0
- package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.d.ts +17 -0
- package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.js +48 -0
- package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.d.ts +17 -0
- package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.js +48 -0
- package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +4 -0
- package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +4 -0
- package/serialization/resources/db/resources/company/types/IncorporationDetails.d.ts +7 -0
- package/serialization/resources/db/resources/company/types/IncorporationDetails.js +7 -0
- package/serialization/resources/db/resources/company/types/TpCompanyInformation.d.ts +2 -0
- package/serialization/resources/db/resources/company/types/TpCompanyInformation.js +2 -0
- package/serialization/resources/db/resources/company/types/WithdrawalTpBankInfo.d.ts +16 -0
- package/serialization/resources/db/resources/company/types/WithdrawalTpBankInfo.js +47 -0
- package/serialization/resources/db/resources/company/types/index.d.ts +1 -0
- package/serialization/resources/db/resources/company/types/index.js +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/reference.md
CHANGED
|
@@ -7931,9 +7931,21 @@ await client.api.thera.incorporation.incorporationApi.incorporationSignup({
|
|
|
7931
7931
|
industry: "string",
|
|
7932
7932
|
agent: "string",
|
|
7933
7933
|
packageType: "string",
|
|
7934
|
+
dbaService: true,
|
|
7935
|
+
worryFreeCompliance: true,
|
|
7936
|
+
einDocuments: ["string"],
|
|
7937
|
+
tradeMarkCompany: true,
|
|
7934
7938
|
appointedAgent: true,
|
|
7935
7939
|
registrationDate: "string",
|
|
7936
7940
|
status: "string",
|
|
7941
|
+
userPersonalAddress: {
|
|
7942
|
+
city: "string",
|
|
7943
|
+
country: "string",
|
|
7944
|
+
line1: "string",
|
|
7945
|
+
line2: "string",
|
|
7946
|
+
postalCode: "string",
|
|
7947
|
+
state: "string",
|
|
7948
|
+
},
|
|
7937
7949
|
password: "string",
|
|
7938
7950
|
});
|
|
7939
7951
|
```
|
|
@@ -7970,6 +7982,141 @@ await client.api.thera.incorporation.incorporationApi.incorporationSignup({
|
|
|
7970
7982
|
</dl>
|
|
7971
7983
|
</details>
|
|
7972
7984
|
|
|
7985
|
+
<details><summary><code>client.api.thera.incorporation.incorporationApi.<a href="/src/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.ts">createCheckoutSession</a>({ ...params }) -> TheraApi.CheckoutSessionResponse</code></summary>
|
|
7986
|
+
<dl>
|
|
7987
|
+
<dd>
|
|
7988
|
+
|
|
7989
|
+
#### 📝 Description
|
|
7990
|
+
|
|
7991
|
+
<dl>
|
|
7992
|
+
<dd>
|
|
7993
|
+
|
|
7994
|
+
<dl>
|
|
7995
|
+
<dd>
|
|
7996
|
+
|
|
7997
|
+
Create a Stripe checkout session for payment
|
|
7998
|
+
|
|
7999
|
+
</dd>
|
|
8000
|
+
</dl>
|
|
8001
|
+
</dd>
|
|
8002
|
+
</dl>
|
|
8003
|
+
|
|
8004
|
+
#### 🔌 Usage
|
|
8005
|
+
|
|
8006
|
+
<dl>
|
|
8007
|
+
<dd>
|
|
8008
|
+
|
|
8009
|
+
<dl>
|
|
8010
|
+
<dd>
|
|
8011
|
+
|
|
8012
|
+
```typescript
|
|
8013
|
+
await client.api.thera.incorporation.incorporationApi.createCheckoutSession({
|
|
8014
|
+
amount: 1.1,
|
|
8015
|
+
productName: "string",
|
|
8016
|
+
currency: "string",
|
|
8017
|
+
successUrl: "string",
|
|
8018
|
+
cancelUrl: "string",
|
|
8019
|
+
metadata: {
|
|
8020
|
+
string: "string",
|
|
8021
|
+
},
|
|
8022
|
+
});
|
|
8023
|
+
```
|
|
8024
|
+
|
|
8025
|
+
</dd>
|
|
8026
|
+
</dl>
|
|
8027
|
+
</dd>
|
|
8028
|
+
</dl>
|
|
8029
|
+
|
|
8030
|
+
#### ⚙️ Parameters
|
|
8031
|
+
|
|
8032
|
+
<dl>
|
|
8033
|
+
<dd>
|
|
8034
|
+
|
|
8035
|
+
<dl>
|
|
8036
|
+
<dd>
|
|
8037
|
+
|
|
8038
|
+
**request:** `TheraApi.CheckoutSessionRequest`
|
|
8039
|
+
|
|
8040
|
+
</dd>
|
|
8041
|
+
</dl>
|
|
8042
|
+
|
|
8043
|
+
<dl>
|
|
8044
|
+
<dd>
|
|
8045
|
+
|
|
8046
|
+
**requestOptions:** `IncorporationApi.RequestOptions`
|
|
8047
|
+
|
|
8048
|
+
</dd>
|
|
8049
|
+
</dl>
|
|
8050
|
+
</dd>
|
|
8051
|
+
</dl>
|
|
8052
|
+
|
|
8053
|
+
</dd>
|
|
8054
|
+
</dl>
|
|
8055
|
+
</details>
|
|
8056
|
+
|
|
8057
|
+
<details><summary><code>client.api.thera.incorporation.incorporationApi.<a href="/src/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.ts">checkPaymentStatus</a>(sessionId) -> TheraApi.PaymentStatusResponse</code></summary>
|
|
8058
|
+
<dl>
|
|
8059
|
+
<dd>
|
|
8060
|
+
|
|
8061
|
+
#### 📝 Description
|
|
8062
|
+
|
|
8063
|
+
<dl>
|
|
8064
|
+
<dd>
|
|
8065
|
+
|
|
8066
|
+
<dl>
|
|
8067
|
+
<dd>
|
|
8068
|
+
|
|
8069
|
+
Check the status of a Stripe payment session
|
|
8070
|
+
|
|
8071
|
+
</dd>
|
|
8072
|
+
</dl>
|
|
8073
|
+
</dd>
|
|
8074
|
+
</dl>
|
|
8075
|
+
|
|
8076
|
+
#### 🔌 Usage
|
|
8077
|
+
|
|
8078
|
+
<dl>
|
|
8079
|
+
<dd>
|
|
8080
|
+
|
|
8081
|
+
<dl>
|
|
8082
|
+
<dd>
|
|
8083
|
+
|
|
8084
|
+
```typescript
|
|
8085
|
+
await client.api.thera.incorporation.incorporationApi.checkPaymentStatus("string");
|
|
8086
|
+
```
|
|
8087
|
+
|
|
8088
|
+
</dd>
|
|
8089
|
+
</dl>
|
|
8090
|
+
</dd>
|
|
8091
|
+
</dl>
|
|
8092
|
+
|
|
8093
|
+
#### ⚙️ Parameters
|
|
8094
|
+
|
|
8095
|
+
<dl>
|
|
8096
|
+
<dd>
|
|
8097
|
+
|
|
8098
|
+
<dl>
|
|
8099
|
+
<dd>
|
|
8100
|
+
|
|
8101
|
+
**sessionId:** `string`
|
|
8102
|
+
|
|
8103
|
+
</dd>
|
|
8104
|
+
</dl>
|
|
8105
|
+
|
|
8106
|
+
<dl>
|
|
8107
|
+
<dd>
|
|
8108
|
+
|
|
8109
|
+
**requestOptions:** `IncorporationApi.RequestOptions`
|
|
8110
|
+
|
|
8111
|
+
</dd>
|
|
8112
|
+
</dl>
|
|
8113
|
+
</dd>
|
|
8114
|
+
</dl>
|
|
8115
|
+
|
|
8116
|
+
</dd>
|
|
8117
|
+
</dl>
|
|
8118
|
+
</details>
|
|
8119
|
+
|
|
7973
8120
|
## Miscellaneous API
|
|
7974
8121
|
|
|
7975
8122
|
<details><summary><code>client.api.thera.misc.misc.<a href="/src/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.ts">regularCron</a>({ ...params }) -> TheraApi.DailyCronResponse</code></summary>
|
|
@@ -11335,6 +11482,106 @@ await client.api.thera.tp.tpApi.externalTransferFund({
|
|
|
11335
11482
|
</dl>
|
|
11336
11483
|
</details>
|
|
11337
11484
|
|
|
11485
|
+
<details><summary><code>client.api.thera.tp.tpApi.<a href="/src/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.ts">withdrawalTheraCash</a>(companyId, { ...params }) -> unknown</code></summary>
|
|
11486
|
+
<dl>
|
|
11487
|
+
<dd>
|
|
11488
|
+
|
|
11489
|
+
#### 📝 Description
|
|
11490
|
+
|
|
11491
|
+
<dl>
|
|
11492
|
+
<dd>
|
|
11493
|
+
|
|
11494
|
+
<dl>
|
|
11495
|
+
<dd>
|
|
11496
|
+
|
|
11497
|
+
Withdrawal funds from thera cash to user's personal account via ach or wire
|
|
11498
|
+
|
|
11499
|
+
</dd>
|
|
11500
|
+
</dl>
|
|
11501
|
+
</dd>
|
|
11502
|
+
</dl>
|
|
11503
|
+
|
|
11504
|
+
#### 🔌 Usage
|
|
11505
|
+
|
|
11506
|
+
<dl>
|
|
11507
|
+
<dd>
|
|
11508
|
+
|
|
11509
|
+
<dl>
|
|
11510
|
+
<dd>
|
|
11511
|
+
|
|
11512
|
+
```typescript
|
|
11513
|
+
await client.api.thera.tp.tpApi.withdrawalTheraCash("string", {
|
|
11514
|
+
nameOnAccount: "string",
|
|
11515
|
+
amount: "string",
|
|
11516
|
+
ach: {
|
|
11517
|
+
accountNumber: "string",
|
|
11518
|
+
accountType: "string",
|
|
11519
|
+
routingNumber: "string",
|
|
11520
|
+
},
|
|
11521
|
+
wire: {
|
|
11522
|
+
accountNumber: "string",
|
|
11523
|
+
routingNumber: "string",
|
|
11524
|
+
addressOnAccount: {
|
|
11525
|
+
streetLine1: "string",
|
|
11526
|
+
streetLine2: "string",
|
|
11527
|
+
city: "string",
|
|
11528
|
+
state: "string",
|
|
11529
|
+
postalCode: "string",
|
|
11530
|
+
country: "string",
|
|
11531
|
+
},
|
|
11532
|
+
bankName: "string",
|
|
11533
|
+
bankAddress: {
|
|
11534
|
+
streetLine1: "string",
|
|
11535
|
+
streetLine2: "string",
|
|
11536
|
+
city: "string",
|
|
11537
|
+
state: "string",
|
|
11538
|
+
postalCode: "string",
|
|
11539
|
+
country: "string",
|
|
11540
|
+
},
|
|
11541
|
+
},
|
|
11542
|
+
});
|
|
11543
|
+
```
|
|
11544
|
+
|
|
11545
|
+
</dd>
|
|
11546
|
+
</dl>
|
|
11547
|
+
</dd>
|
|
11548
|
+
</dl>
|
|
11549
|
+
|
|
11550
|
+
#### ⚙️ Parameters
|
|
11551
|
+
|
|
11552
|
+
<dl>
|
|
11553
|
+
<dd>
|
|
11554
|
+
|
|
11555
|
+
<dl>
|
|
11556
|
+
<dd>
|
|
11557
|
+
|
|
11558
|
+
**companyId:** `string`
|
|
11559
|
+
|
|
11560
|
+
</dd>
|
|
11561
|
+
</dl>
|
|
11562
|
+
|
|
11563
|
+
<dl>
|
|
11564
|
+
<dd>
|
|
11565
|
+
|
|
11566
|
+
**request:** `TheraApi.WithdrawalTheraCash`
|
|
11567
|
+
|
|
11568
|
+
</dd>
|
|
11569
|
+
</dl>
|
|
11570
|
+
|
|
11571
|
+
<dl>
|
|
11572
|
+
<dd>
|
|
11573
|
+
|
|
11574
|
+
**requestOptions:** `TpApi.RequestOptions`
|
|
11575
|
+
|
|
11576
|
+
</dd>
|
|
11577
|
+
</dl>
|
|
11578
|
+
</dd>
|
|
11579
|
+
</dl>
|
|
11580
|
+
|
|
11581
|
+
</dd>
|
|
11582
|
+
</dl>
|
|
11583
|
+
</details>
|
|
11584
|
+
|
|
11338
11585
|
## User API
|
|
11339
11586
|
|
|
11340
11587
|
<details><summary><code>client.api.thera.user.userApi.<a href="/src/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.ts">setUserComplianceSetting</a>(userId, companyId, { ...params }) -> void</code></summary>
|
|
@@ -57,4 +57,5 @@ exports.CreateCompanyRequest = core.serialization.object({
|
|
|
57
57
|
live: core.serialization.boolean().optional(),
|
|
58
58
|
test: core.serialization.boolean().optional(),
|
|
59
59
|
isBankingCompany: core.serialization.boolean().optional(),
|
|
60
|
+
isIncorporationCompany: core.serialization.boolean().optional(),
|
|
60
61
|
});
|
|
@@ -0,0 +1,17 @@
|
|
|
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 CheckoutSessionRequest: core.serialization.ObjectSchema<serializers.api.thera.incorporation.CheckoutSessionRequest.Raw, TheraApi.api.thera.incorporation.CheckoutSessionRequest>;
|
|
8
|
+
export declare namespace CheckoutSessionRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
amount: number;
|
|
11
|
+
productName: string;
|
|
12
|
+
currency: string;
|
|
13
|
+
successUrl: string;
|
|
14
|
+
cancelUrl: string;
|
|
15
|
+
metadata: Record<string, string>;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
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.CheckoutSessionRequest = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
|
+
exports.CheckoutSessionRequest = core.serialization.object({
|
|
42
|
+
amount: core.serialization.number(),
|
|
43
|
+
productName: core.serialization.string(),
|
|
44
|
+
currency: core.serialization.string(),
|
|
45
|
+
successUrl: core.serialization.string(),
|
|
46
|
+
cancelUrl: core.serialization.string(),
|
|
47
|
+
metadata: core.serialization.record(core.serialization.string(), core.serialization.string()),
|
|
48
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
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 CheckoutSessionResponse: core.serialization.ObjectSchema<serializers.api.thera.incorporation.CheckoutSessionResponse.Raw, TheraApi.api.thera.incorporation.CheckoutSessionResponse>;
|
|
8
|
+
export declare namespace CheckoutSessionResponse {
|
|
9
|
+
interface Raw {
|
|
10
|
+
sessionId: string;
|
|
11
|
+
checkoutUrl: string;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -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 () {
|
|
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.CheckoutSessionResponse = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
|
+
exports.CheckoutSessionResponse = core.serialization.object({
|
|
42
|
+
sessionId: core.serialization.string(),
|
|
43
|
+
checkoutUrl: core.serialization.string(),
|
|
44
|
+
});
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
import * as serializers from "../../../../../../../../../index";
|
|
5
5
|
import * as TheraApi from "../../../../../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../../../../../core";
|
|
7
|
+
import { Address } from "../../../../common/resources/common/types/Address";
|
|
7
8
|
export declare const IncorporationSignupRequest: core.serialization.ObjectSchema<serializers.api.thera.incorporation.IncorporationSignupRequest.Raw, TheraApi.api.thera.incorporation.IncorporationSignupRequest>;
|
|
8
9
|
export declare namespace IncorporationSignupRequest {
|
|
9
10
|
interface Raw {
|
|
@@ -18,9 +19,14 @@ export declare namespace IncorporationSignupRequest {
|
|
|
18
19
|
industry?: string | null;
|
|
19
20
|
agent?: string | null;
|
|
20
21
|
packageType?: string | null;
|
|
22
|
+
dbaService?: boolean | null;
|
|
23
|
+
worryFreeCompliance?: boolean | null;
|
|
24
|
+
einDocuments?: string[] | null;
|
|
25
|
+
tradeMarkCompany?: boolean | null;
|
|
21
26
|
appointedAgent?: boolean | null;
|
|
22
27
|
registrationDate?: string | null;
|
|
23
28
|
status?: string | null;
|
|
29
|
+
userPersonalAddress?: Address.Raw | null;
|
|
24
30
|
password: string;
|
|
25
31
|
}
|
|
26
32
|
}
|
|
@@ -38,6 +38,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.IncorporationSignupRequest = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
|
+
const Address_1 = require("../../../../common/resources/common/types/Address");
|
|
41
42
|
exports.IncorporationSignupRequest = core.serialization.object({
|
|
42
43
|
businessName: core.serialization.string().optional(),
|
|
43
44
|
state: core.serialization.string().optional(),
|
|
@@ -50,8 +51,13 @@ exports.IncorporationSignupRequest = core.serialization.object({
|
|
|
50
51
|
industry: core.serialization.string().optional(),
|
|
51
52
|
agent: core.serialization.string().optional(),
|
|
52
53
|
packageType: core.serialization.string().optional(),
|
|
54
|
+
dbaService: core.serialization.boolean().optional(),
|
|
55
|
+
worryFreeCompliance: core.serialization.boolean().optional(),
|
|
56
|
+
einDocuments: core.serialization.list(core.serialization.string()).optional(),
|
|
57
|
+
tradeMarkCompany: core.serialization.boolean().optional(),
|
|
53
58
|
appointedAgent: core.serialization.boolean().optional(),
|
|
54
59
|
registrationDate: core.serialization.string().optional(),
|
|
55
60
|
status: core.serialization.string().optional(),
|
|
61
|
+
userPersonalAddress: Address_1.Address.optional(),
|
|
56
62
|
password: core.serialization.string(),
|
|
57
63
|
});
|
|
@@ -0,0 +1,13 @@
|
|
|
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 PaymentItemResponse: core.serialization.ObjectSchema<serializers.api.thera.incorporation.PaymentItemResponse.Raw, TheraApi.api.thera.incorporation.PaymentItemResponse>;
|
|
8
|
+
export declare namespace PaymentItemResponse {
|
|
9
|
+
interface Raw {
|
|
10
|
+
name: string;
|
|
11
|
+
value: number;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -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 () {
|
|
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.PaymentItemResponse = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
|
+
exports.PaymentItemResponse = core.serialization.object({
|
|
42
|
+
name: core.serialization.string(),
|
|
43
|
+
value: core.serialization.number(),
|
|
44
|
+
});
|
|
@@ -0,0 +1,21 @@
|
|
|
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 { PaymentItemResponse } from "./PaymentItemResponse";
|
|
8
|
+
export declare const PaymentStatusResponse: core.serialization.ObjectSchema<serializers.api.thera.incorporation.PaymentStatusResponse.Raw, TheraApi.api.thera.incorporation.PaymentStatusResponse>;
|
|
9
|
+
export declare namespace PaymentStatusResponse {
|
|
10
|
+
interface Raw {
|
|
11
|
+
sessionId: string;
|
|
12
|
+
paymentSuccessful: boolean;
|
|
13
|
+
paymentStatus: string;
|
|
14
|
+
sessionStatus: string;
|
|
15
|
+
amountTotal?: number | null;
|
|
16
|
+
currency?: string | null;
|
|
17
|
+
paymentIntentId?: string | null;
|
|
18
|
+
customerEmail?: string | null;
|
|
19
|
+
items?: PaymentItemResponse.Raw[] | null;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
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.PaymentStatusResponse = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
|
+
const PaymentItemResponse_1 = require("./PaymentItemResponse");
|
|
42
|
+
exports.PaymentStatusResponse = core.serialization.object({
|
|
43
|
+
sessionId: core.serialization.string(),
|
|
44
|
+
paymentSuccessful: core.serialization.boolean(),
|
|
45
|
+
paymentStatus: core.serialization.string(),
|
|
46
|
+
sessionStatus: core.serialization.string(),
|
|
47
|
+
amountTotal: core.serialization.number().optional(),
|
|
48
|
+
currency: core.serialization.string().optional(),
|
|
49
|
+
paymentIntentId: core.serialization.string().optional(),
|
|
50
|
+
customerEmail: core.serialization.string().optional(),
|
|
51
|
+
items: core.serialization.list(PaymentItemResponse_1.PaymentItemResponse).optional(),
|
|
52
|
+
});
|
|
@@ -16,3 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./IncorporationSignupRequest"), exports);
|
|
18
18
|
__exportStar(require("./IncorporationSignupResponse"), exports);
|
|
19
|
+
__exportStar(require("./CheckoutSessionRequest"), exports);
|
|
20
|
+
__exportStar(require("./CheckoutSessionResponse"), exports);
|
|
21
|
+
__exportStar(require("./PaymentItemResponse"), exports);
|
|
22
|
+
__exportStar(require("./PaymentStatusResponse"), exports);
|
|
@@ -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 WithdrawalAch: core.serialization.ObjectSchema<serializers.api.thera.tp.WithdrawalAch.Raw, TheraApi.api.thera.tp.WithdrawalAch>;
|
|
8
|
+
export declare namespace WithdrawalAch {
|
|
9
|
+
interface Raw {
|
|
10
|
+
account_number: string;
|
|
11
|
+
account_type: string;
|
|
12
|
+
routing_number: string;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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.WithdrawalAch = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
|
+
exports.WithdrawalAch = core.serialization.object({
|
|
42
|
+
accountNumber: core.serialization.property("account_number", core.serialization.string()),
|
|
43
|
+
accountType: core.serialization.property("account_type", core.serialization.string()),
|
|
44
|
+
routingNumber: core.serialization.property("routing_number", core.serialization.string()),
|
|
45
|
+
});
|