@unified-api/typescript-sdk 1.0.28 → 1.0.29

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.
@@ -28,6 +28,9 @@ export declare class AccountingAccount extends SpeakeasyBase {
28
28
  isPayable?: boolean;
29
29
  name?: string;
30
30
  parentAccountId?: string;
31
+ /**
32
+ * The original data from the integration's API
33
+ */
31
34
  raw?: Record<string, any>;
32
35
  status?: Status;
33
36
  type?: TypeT;
@@ -19,10 +19,12 @@ export declare enum TaxExemption {
19
19
  }
20
20
  export declare class AccountingContact extends SpeakeasyBase {
21
21
  billingAddress?: PropertyAccountingContactBillingAddress;
22
+ companyName?: string;
22
23
  createdAt?: Date;
23
24
  currency?: string;
24
25
  emails?: AccountingEmail[];
25
26
  id?: string;
27
+ identification?: string;
26
28
  isActive?: boolean;
27
29
  isCustomer?: boolean;
28
30
  isSupplier?: boolean;
@@ -60,6 +60,11 @@ var AccountingContact = /** @class */ (function (_super) {
60
60
  (0, class_transformer_1.Type)(function () { return propertyaccountingcontactbillingaddress_1.PropertyAccountingContactBillingAddress; }),
61
61
  __metadata("design:type", propertyaccountingcontactbillingaddress_1.PropertyAccountingContactBillingAddress)
62
62
  ], AccountingContact.prototype, "billingAddress", void 0);
63
+ __decorate([
64
+ (0, utils_1.SpeakeasyMetadata)(),
65
+ (0, class_transformer_1.Expose)({ name: "company_name" }),
66
+ __metadata("design:type", String)
67
+ ], AccountingContact.prototype, "companyName", void 0);
63
68
  __decorate([
64
69
  (0, utils_1.SpeakeasyMetadata)(),
65
70
  (0, class_transformer_1.Expose)({ name: "created_at" }),
@@ -85,6 +90,11 @@ var AccountingContact = /** @class */ (function (_super) {
85
90
  (0, class_transformer_1.Expose)({ name: "id" }),
86
91
  __metadata("design:type", String)
87
92
  ], AccountingContact.prototype, "id", void 0);
93
+ __decorate([
94
+ (0, utils_1.SpeakeasyMetadata)(),
95
+ (0, class_transformer_1.Expose)({ name: "identification" }),
96
+ __metadata("design:type", String)
97
+ ], AccountingContact.prototype, "identification", void 0);
88
98
  __decorate([
89
99
  (0, utils_1.SpeakeasyMetadata)(),
90
100
  (0, class_transformer_1.Expose)({ name: "is_active" }),
@@ -21,7 +21,7 @@ export declare class AtsCandidate extends SpeakeasyBase {
21
21
  id?: string;
22
22
  imageUrl?: string;
23
23
  /**
24
- * a list of social media links associated with the candidate. eg. LinkedIn URL
24
+ * URLs for web pages containing additional material about the candidate (LinkedIn, other social media, articles, etc.)
25
25
  */
26
26
  linkUrls?: string[];
27
27
  name?: string;
@@ -35,6 +35,9 @@ export declare class AtsJob extends SpeakeasyBase {
35
35
  languageLocale?: string;
36
36
  name?: string;
37
37
  numberOfOpenings?: number;
38
+ /**
39
+ * URLs for pages containing public listings for the job
40
+ */
38
41
  publicJobUrls?: string[];
39
42
  questions?: AtsJobQuestion[];
40
43
  raw?: Record<string, any>;
@@ -33,6 +33,10 @@ export declare class IntegrationSupport extends SpeakeasyBase {
33
33
  listUserId?: boolean;
34
34
  methods?: Record<string, boolean>;
35
35
  outboundFields?: Record<string, any>;
36
+ /**
37
+ * objects that we map from in the integration
38
+ */
39
+ rawObjects?: string[];
36
40
  searchDomain?: boolean;
37
41
  searchEmail?: boolean;
38
42
  searchLinkedinurl?: boolean;
@@ -196,6 +196,11 @@ var IntegrationSupport = /** @class */ (function (_super) {
196
196
  (0, class_transformer_1.Expose)({ name: "outbound_fields" }),
197
197
  __metadata("design:type", Object)
198
198
  ], IntegrationSupport.prototype, "outboundFields", void 0);
199
+ __decorate([
200
+ (0, utils_1.SpeakeasyMetadata)(),
201
+ (0, class_transformer_1.Expose)({ name: "raw_objects" }),
202
+ __metadata("design:type", Array)
203
+ ], IntegrationSupport.prototype, "rawObjects", void 0);
199
204
  __decorate([
200
205
  (0, utils_1.SpeakeasyMetadata)(),
201
206
  (0, class_transformer_1.Expose)({ name: "search_domain" }),
package/dist/sdk/sdk.js CHANGED
@@ -92,9 +92,9 @@ var SDKConfiguration = /** @class */ (function () {
92
92
  function SDKConfiguration(init) {
93
93
  this.language = "typescript";
94
94
  this.openapiDocVersion = "1.0";
95
- this.sdkVersion = "1.0.28";
96
- this.genVersion = "2.333.3";
97
- this.userAgent = "speakeasy-sdk/typescript 1.0.28 2.333.3 1.0 @unified-api/typescript-sdk";
95
+ this.sdkVersion = "1.0.29";
96
+ this.genVersion = "2.337.1";
97
+ this.userAgent = "speakeasy-sdk/typescript 1.0.29 2.337.1 1.0 @unified-api/typescript-sdk";
98
98
  Object.assign(this, init);
99
99
  }
100
100
  return SDKConfiguration;
@@ -16,7 +16,7 @@ Chart of accounts
16
16
  | `isPayable` | *boolean* | :heavy_minus_sign: | N/A |
17
17
  | `name` | *string* | :heavy_minus_sign: | N/A |
18
18
  | `parentAccountId` | *string* | :heavy_minus_sign: | N/A |
19
- | `raw` | Record<string, *any*> | :heavy_minus_sign: | N/A |
19
+ | `raw` | Record<string, *any*> | :heavy_minus_sign: | The original data from the integration's API |
20
20
  | `status` | [shared.Status](../../../sdk/models/shared/status.md) | :heavy_minus_sign: | N/A |
21
21
  | `type` | [shared.TypeT](../../../sdk/models/shared/typet.md) | :heavy_minus_sign: | N/A |
22
22
  | `updatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | N/A |
@@ -6,10 +6,12 @@
6
6
  | Field | Type | Required | Description |
7
7
  | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- |
8
8
  | `billingAddress` | [shared.PropertyAccountingContactBillingAddress](../../../sdk/models/shared/propertyaccountingcontactbillingaddress.md) | :heavy_minus_sign: | N/A |
9
+ | `companyName` | *string* | :heavy_minus_sign: | N/A |
9
10
  | `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | N/A |
10
11
  | `currency` | *string* | :heavy_minus_sign: | N/A |
11
12
  | `emails` | [shared.AccountingEmail](../../../sdk/models/shared/accountingemail.md)[] | :heavy_minus_sign: | N/A |
12
13
  | `id` | *string* | :heavy_minus_sign: | N/A |
14
+ | `identification` | *string* | :heavy_minus_sign: | N/A |
13
15
  | `isActive` | *boolean* | :heavy_minus_sign: | N/A |
14
16
  | `isCustomer` | *boolean* | :heavy_minus_sign: | N/A |
15
17
  | `isSupplier` | *boolean* | :heavy_minus_sign: | N/A |
@@ -3,24 +3,24 @@
3
3
 
4
4
  ## Fields
5
5
 
6
- | Field | Type | Required | Description |
7
- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- |
8
- | `address` | [shared.PropertyAtsCandidateAddress](../../../sdk/models/shared/propertyatscandidateaddress.md) | :heavy_minus_sign: | N/A |
9
- | `companyId` | *string* | :heavy_minus_sign: | N/A |
10
- | `companyName` | *string* | :heavy_minus_sign: | N/A |
11
- | `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | N/A |
12
- | `dateOfBirth` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | N/A |
13
- | `emails` | [shared.AtsEmail](../../../sdk/models/shared/atsemail.md)[] | :heavy_minus_sign: | N/A |
14
- | `externalIdentifier` | *string* | :heavy_minus_sign: | N/A |
15
- | `id` | *string* | :heavy_minus_sign: | N/A |
16
- | `imageUrl` | *string* | :heavy_minus_sign: | N/A |
17
- | `linkUrls` | *string*[] | :heavy_minus_sign: | a list of social media links associated with the candidate. eg. LinkedIn URL |
18
- | `name` | *string* | :heavy_minus_sign: | N/A |
19
- | `origin` | [shared.Origin](../../../sdk/models/shared/origin.md) | :heavy_minus_sign: | N/A |
20
- | `raw` | Record<string, *any*> | :heavy_minus_sign: | N/A |
21
- | `sources` | *string*[] | :heavy_minus_sign: | N/A |
22
- | `tags` | *string*[] | :heavy_minus_sign: | N/A |
23
- | `telephones` | [shared.AtsTelephone](../../../sdk/models/shared/atstelephone.md)[] | :heavy_minus_sign: | N/A |
24
- | `title` | *string* | :heavy_minus_sign: | N/A |
25
- | `updatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | N/A |
26
- | `userId` | *string* | :heavy_minus_sign: | N/A |
6
+ | Field | Type | Required | Description |
7
+ | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
8
+ | `address` | [shared.PropertyAtsCandidateAddress](../../../sdk/models/shared/propertyatscandidateaddress.md) | :heavy_minus_sign: | N/A |
9
+ | `companyId` | *string* | :heavy_minus_sign: | N/A |
10
+ | `companyName` | *string* | :heavy_minus_sign: | N/A |
11
+ | `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | N/A |
12
+ | `dateOfBirth` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | N/A |
13
+ | `emails` | [shared.AtsEmail](../../../sdk/models/shared/atsemail.md)[] | :heavy_minus_sign: | N/A |
14
+ | `externalIdentifier` | *string* | :heavy_minus_sign: | N/A |
15
+ | `id` | *string* | :heavy_minus_sign: | N/A |
16
+ | `imageUrl` | *string* | :heavy_minus_sign: | N/A |
17
+ | `linkUrls` | *string*[] | :heavy_minus_sign: | URLs for web pages containing additional material about the candidate (LinkedIn, other social media, articles, etc.) |
18
+ | `name` | *string* | :heavy_minus_sign: | N/A |
19
+ | `origin` | [shared.Origin](../../../sdk/models/shared/origin.md) | :heavy_minus_sign: | N/A |
20
+ | `raw` | Record<string, *any*> | :heavy_minus_sign: | N/A |
21
+ | `sources` | *string*[] | :heavy_minus_sign: | N/A |
22
+ | `tags` | *string*[] | :heavy_minus_sign: | N/A |
23
+ | `telephones` | [shared.AtsTelephone](../../../sdk/models/shared/atstelephone.md)[] | :heavy_minus_sign: | N/A |
24
+ | `title` | *string* | :heavy_minus_sign: | N/A |
25
+ | `updatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | N/A |
26
+ | `userId` | *string* | :heavy_minus_sign: | N/A |
@@ -18,7 +18,7 @@
18
18
  | `languageLocale` | *string* | :heavy_minus_sign: | N/A |
19
19
  | `name` | *string* | :heavy_minus_sign: | N/A |
20
20
  | `numberOfOpenings` | *number* | :heavy_minus_sign: | N/A |
21
- | `publicJobUrls` | *string*[] | :heavy_minus_sign: | N/A |
21
+ | `publicJobUrls` | *string*[] | :heavy_minus_sign: | URLs for pages containing public listings for the job |
22
22
  | `questions` | [shared.AtsJobQuestion](../../../sdk/models/shared/atsjobquestion.md)[] | :heavy_minus_sign: | N/A |
23
23
  | `raw` | Record<string, *any*> | :heavy_minus_sign: | N/A |
24
24
  | `recruiterIds` | *string*[] | :heavy_minus_sign: | N/A |
@@ -37,6 +37,7 @@
37
37
  | `listUserId` | *boolean* | :heavy_minus_sign: | N/A |
38
38
  | `methods` | Record<string, *boolean*> | :heavy_minus_sign: | N/A |
39
39
  | `outboundFields` | Record<string, *any*> | :heavy_minus_sign: | N/A |
40
+ | `rawObjects` | *string*[] | :heavy_minus_sign: | objects that we map from in the integration |
40
41
  | `searchDomain` | *boolean* | :heavy_minus_sign: | N/A |
41
42
  | `searchEmail` | *boolean* | :heavy_minus_sign: | N/A |
42
43
  | `searchLinkedinurl` | *boolean* | :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.28",
3
+ "version": "1.0.29",
4
4
  "author": "Unified",
5
5
  "scripts": {
6
6
  "prepare": "tsc --build",