@unified-api/typescript-sdk 1.0.25 → 1.0.26

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.
@@ -2,6 +2,9 @@ import { SpeakeasyBase } from "../../../internal/utils";
2
2
  import * as shared from "../../../sdk/models/shared";
3
3
  import { AxiosResponse } from "axios";
4
4
  export declare class CreateAccountingAccountRequest extends SpeakeasyBase {
5
+ /**
6
+ * Chart of accounts
7
+ */
5
8
  accountingAccount?: shared.AccountingAccount;
6
9
  /**
7
10
  * ID of the connection
@@ -2,6 +2,9 @@ import { SpeakeasyBase } from "../../../internal/utils";
2
2
  import * as shared from "../../../sdk/models/shared";
3
3
  import { AxiosResponse } from "axios";
4
4
  export declare class PatchAccountingAccountRequest extends SpeakeasyBase {
5
+ /**
6
+ * Chart of accounts
7
+ */
5
8
  accountingAccount?: shared.AccountingAccount;
6
9
  /**
7
10
  * ID of the connection
@@ -2,6 +2,9 @@ import { SpeakeasyBase } from "../../../internal/utils";
2
2
  import * as shared from "../../../sdk/models/shared";
3
3
  import { AxiosResponse } from "axios";
4
4
  export declare class UpdateAccountingAccountRequest extends SpeakeasyBase {
5
+ /**
6
+ * Chart of accounts
7
+ */
5
8
  accountingAccount?: shared.AccountingAccount;
6
9
  /**
7
10
  * ID of the connection
@@ -15,6 +15,9 @@ export declare enum TypeT {
15
15
  Revenue = "REVENUE",
16
16
  Other = "OTHER"
17
17
  }
18
+ /**
19
+ * Chart of accounts
20
+ */
18
21
  export declare class AccountingAccount extends SpeakeasyBase {
19
22
  balance?: number;
20
23
  createdAt?: Date;
@@ -48,6 +48,9 @@ var TypeT;
48
48
  TypeT["Revenue"] = "REVENUE";
49
49
  TypeT["Other"] = "OTHER";
50
50
  })(TypeT = exports.TypeT || (exports.TypeT = {}));
51
+ /**
52
+ * Chart of accounts
53
+ */
51
54
  var AccountingAccount = /** @class */ (function (_super) {
52
55
  __extends(AccountingAccount, _super);
53
56
  function AccountingAccount() {
@@ -6,10 +6,9 @@ export declare enum AccountingContactPaymentMethodType {
6
6
  Giropay = "GIROPAY",
7
7
  Ideal = "IDEAL",
8
8
  Other = "OTHER",
9
- Paypal = "PAYPAL",
10
- Unknown = ""
9
+ Paypal = "PAYPAL"
11
10
  }
12
11
  export declare class AccountingContactPaymentMethod extends SpeakeasyBase {
13
12
  name?: string;
14
- type?: AccountingContactPaymentMethodType;
13
+ type: AccountingContactPaymentMethodType;
15
14
  }
@@ -39,7 +39,6 @@ var AccountingContactPaymentMethodType;
39
39
  AccountingContactPaymentMethodType["Ideal"] = "IDEAL";
40
40
  AccountingContactPaymentMethodType["Other"] = "OTHER";
41
41
  AccountingContactPaymentMethodType["Paypal"] = "PAYPAL";
42
- AccountingContactPaymentMethodType["Unknown"] = "";
43
42
  })(AccountingContactPaymentMethodType = exports.AccountingContactPaymentMethodType || (exports.AccountingContactPaymentMethodType = {}));
44
43
  var AccountingContactPaymentMethod = /** @class */ (function (_super) {
45
44
  __extends(AccountingContactPaymentMethod, _super);
@@ -7,7 +7,7 @@ export declare class AccountingOrganization extends SpeakeasyBase {
7
7
  fiscalYearEndMonth?: number;
8
8
  id?: string;
9
9
  legalName?: string;
10
- name?: string;
10
+ name: string;
11
11
  raw?: Record<string, any>;
12
12
  taxNumber?: string;
13
13
  timezone?: string;
package/dist/sdk/sdk.js CHANGED
@@ -86,9 +86,9 @@ var SDKConfiguration = /** @class */ (function () {
86
86
  function SDKConfiguration(init) {
87
87
  this.language = "typescript";
88
88
  this.openapiDocVersion = "1.0";
89
- this.sdkVersion = "1.0.25";
89
+ this.sdkVersion = "1.0.26";
90
90
  this.genVersion = "2.333.3";
91
- this.userAgent = "speakeasy-sdk/typescript 1.0.25 2.333.3 1.0 @unified-api/typescript-sdk";
91
+ this.userAgent = "speakeasy-sdk/typescript 1.0.26 2.333.3 1.0 @unified-api/typescript-sdk";
92
92
  Object.assign(this, init);
93
93
  }
94
94
  return SDKConfiguration;
@@ -5,5 +5,5 @@
5
5
 
6
6
  | Field | Type | Required | Description |
7
7
  | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
8
- | `accountingAccount` | [shared.AccountingAccount](../../../sdk/models/shared/accountingaccount.md) | :heavy_minus_sign: | N/A |
8
+ | `accountingAccount` | [shared.AccountingAccount](../../../sdk/models/shared/accountingaccount.md) | :heavy_minus_sign: | Chart of accounts |
9
9
  | `connectionId` | *string* | :heavy_check_mark: | ID of the connection |
@@ -5,6 +5,6 @@
5
5
 
6
6
  | Field | Type | Required | Description |
7
7
  | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
8
- | `accountingAccount` | [shared.AccountingAccount](../../../sdk/models/shared/accountingaccount.md) | :heavy_minus_sign: | N/A |
8
+ | `accountingAccount` | [shared.AccountingAccount](../../../sdk/models/shared/accountingaccount.md) | :heavy_minus_sign: | Chart of accounts |
9
9
  | `connectionId` | *string* | :heavy_check_mark: | ID of the connection |
10
10
  | `id` | *string* | :heavy_check_mark: | ID of the Account |
@@ -5,6 +5,6 @@
5
5
 
6
6
  | Field | Type | Required | Description |
7
7
  | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
8
- | `accountingAccount` | [shared.AccountingAccount](../../../sdk/models/shared/accountingaccount.md) | :heavy_minus_sign: | N/A |
8
+ | `accountingAccount` | [shared.AccountingAccount](../../../sdk/models/shared/accountingaccount.md) | :heavy_minus_sign: | Chart of accounts |
9
9
  | `connectionId` | *string* | :heavy_check_mark: | ID of the connection |
10
10
  | `id` | *string* | :heavy_check_mark: | ID of the Account |
@@ -1,5 +1,7 @@
1
1
  # AccountingAccount
2
2
 
3
+ Chart of accounts
4
+
3
5
 
4
6
  ## Fields
5
7
 
@@ -6,4 +6,4 @@
6
6
  | Field | Type | Required | Description |
7
7
  | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- |
8
8
  | `name` | *string* | :heavy_minus_sign: | N/A |
9
- | `type` | [shared.AccountingContactPaymentMethodType](../../../sdk/models/shared/accountingcontactpaymentmethodtype.md) | :heavy_minus_sign: | N/A |
9
+ | `type` | [shared.AccountingContactPaymentMethodType](../../../sdk/models/shared/accountingcontactpaymentmethodtype.md) | :heavy_check_mark: | N/A |
@@ -11,5 +11,4 @@
11
11
  | `Giropay` | GIROPAY |
12
12
  | `Ideal` | IDEAL |
13
13
  | `Other` | OTHER |
14
- | `Paypal` | PAYPAL |
15
- | `Unknown` | |
14
+ | `Paypal` | PAYPAL |
@@ -11,7 +11,7 @@
11
11
  | `fiscalYearEndMonth` | *number* | :heavy_minus_sign: | N/A |
12
12
  | `id` | *string* | :heavy_minus_sign: | N/A |
13
13
  | `legalName` | *string* | :heavy_minus_sign: | N/A |
14
- | `name` | *string* | :heavy_minus_sign: | N/A |
14
+ | `name` | *string* | :heavy_check_mark: | N/A |
15
15
  | `raw` | Record<string, *any*> | :heavy_minus_sign: | N/A |
16
16
  | `taxNumber` | *string* | :heavy_minus_sign: | N/A |
17
17
  | `timezone` | *string* | :heavy_minus_sign: | N/A |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unified-api/typescript-sdk",
3
- "version": "1.0.25",
3
+ "version": "1.0.26",
4
4
  "author": "Unified",
5
5
  "scripts": {
6
6
  "prepare": "tsc --build",