@unified-api/typescript-sdk 1.0.27 → 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" }),
@@ -17,5 +17,8 @@ export declare class AtsActivity extends SpeakeasyBase {
17
17
  title: string;
18
18
  type?: AtsActivityType;
19
19
  updatedAt?: Date;
20
+ /**
21
+ * id values of the recruiters associated with the activity.
22
+ */
20
23
  userIds?: string[];
21
24
  }
@@ -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>;
@@ -16,6 +16,7 @@ export declare class IntegrationSupport extends SpeakeasyBase {
16
16
  listItemId?: boolean;
17
17
  listJobId?: boolean;
18
18
  listLimit?: boolean;
19
+ listLinkId?: boolean;
19
20
  listListId?: boolean;
20
21
  listLocationId?: boolean;
21
22
  listOffset?: boolean;
@@ -32,6 +33,10 @@ export declare class IntegrationSupport extends SpeakeasyBase {
32
33
  listUserId?: boolean;
33
34
  methods?: Record<string, boolean>;
34
35
  outboundFields?: Record<string, any>;
36
+ /**
37
+ * objects that we map from in the integration
38
+ */
39
+ rawObjects?: string[];
35
40
  searchDomain?: boolean;
36
41
  searchEmail?: boolean;
37
42
  searchLinkedinurl?: boolean;
@@ -111,6 +111,11 @@ var IntegrationSupport = /** @class */ (function (_super) {
111
111
  (0, class_transformer_1.Expose)({ name: "list_limit" }),
112
112
  __metadata("design:type", Boolean)
113
113
  ], IntegrationSupport.prototype, "listLimit", void 0);
114
+ __decorate([
115
+ (0, utils_1.SpeakeasyMetadata)(),
116
+ (0, class_transformer_1.Expose)({ name: "list_link_id" }),
117
+ __metadata("design:type", Boolean)
118
+ ], IntegrationSupport.prototype, "listLinkId", void 0);
114
119
  __decorate([
115
120
  (0, utils_1.SpeakeasyMetadata)(),
116
121
  (0, class_transformer_1.Expose)({ name: "list_list_id" }),
@@ -191,6 +196,11 @@ var IntegrationSupport = /** @class */ (function (_super) {
191
196
  (0, class_transformer_1.Expose)({ name: "outbound_fields" }),
192
197
  __metadata("design:type", Object)
193
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);
194
204
  __decorate([
195
205
  (0, utils_1.SpeakeasyMetadata)(),
196
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.27";
96
- this.genVersion = "2.333.3";
97
- this.userAgent = "speakeasy-sdk/typescript 1.0.27 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 |
@@ -18,4 +18,4 @@
18
18
  | `title` | *string* | :heavy_check_mark: | N/A |
19
19
  | `type` | [shared.AtsActivityType](../../../sdk/models/shared/atsactivitytype.md) | :heavy_minus_sign: | N/A |
20
20
  | `updatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | N/A |
21
- | `userIds` | *string*[] | :heavy_minus_sign: | N/A |
21
+ | `userIds` | *string*[] | :heavy_minus_sign: | id values of the recruiters associated with the activity. |
@@ -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 |
@@ -20,6 +20,7 @@
20
20
  | `listItemId` | *boolean* | :heavy_minus_sign: | N/A |
21
21
  | `listJobId` | *boolean* | :heavy_minus_sign: | N/A |
22
22
  | `listLimit` | *boolean* | :heavy_minus_sign: | N/A |
23
+ | `listLinkId` | *boolean* | :heavy_minus_sign: | N/A |
23
24
  | `listListId` | *boolean* | :heavy_minus_sign: | N/A |
24
25
  | `listLocationId` | *boolean* | :heavy_minus_sign: | N/A |
25
26
  | `listOffset` | *boolean* | :heavy_minus_sign: | N/A |
@@ -36,6 +37,7 @@
36
37
  | `listUserId` | *boolean* | :heavy_minus_sign: | N/A |
37
38
  | `methods` | Record<string, *boolean*> | :heavy_minus_sign: | N/A |
38
39
  | `outboundFields` | Record<string, *any*> | :heavy_minus_sign: | N/A |
40
+ | `rawObjects` | *string*[] | :heavy_minus_sign: | objects that we map from in the integration |
39
41
  | `searchDomain` | *boolean* | :heavy_minus_sign: | N/A |
40
42
  | `searchEmail` | *boolean* | :heavy_minus_sign: | N/A |
41
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.27",
3
+ "version": "1.0.29",
4
4
  "author": "Unified",
5
5
  "scripts": {
6
6
  "prepare": "tsc --build",