@unified-api/typescript-sdk 1.0.2 → 1.0.3
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/dist/sdk/models/shared/accountingcontact.d.ts +1 -0
- package/dist/sdk/models/shared/accountingcontact.js +5 -0
- package/dist/sdk/models/shared/accountinginvoice.d.ts +5 -0
- package/dist/sdk/models/shared/accountinginvoice.js +11 -1
- package/dist/sdk/models/shared/index.d.ts +3 -0
- package/dist/sdk/models/shared/index.js +3 -0
- package/dist/sdk/models/shared/integrationsupport.d.ts +1 -7
- package/dist/sdk/models/shared/integrationsupport.js +4 -13
- package/dist/sdk/models/shared/propertyintegrationsupportwebhookevents.d.ts +8 -4
- package/dist/sdk/models/shared/propertyintegrationsupportwebhookevents.js +49 -6
- package/dist/sdk/models/shared/propertypropertyintegrationsupportwebhookeventscreated.d.ts +4 -0
- package/dist/sdk/models/shared/propertypropertyintegrationsupportwebhookeventscreated.js +11 -0
- package/dist/sdk/models/shared/propertypropertyintegrationsupportwebhookeventsdeleted.d.ts +4 -0
- package/dist/sdk/models/shared/propertypropertyintegrationsupportwebhookeventsdeleted.js +11 -0
- package/dist/sdk/models/shared/propertypropertyintegrationsupportwebhookeventsupdated.d.ts +4 -0
- package/dist/sdk/models/shared/propertypropertyintegrationsupportwebhookeventsupdated.js +11 -0
- package/dist/sdk/models/shared/webhook.d.ts +2 -3
- package/dist/sdk/models/shared/webhook.js +6 -7
- package/dist/sdk/sdk.js +3 -3
- package/docs/sdk/models/shared/accountingcontact.md +1 -0
- package/docs/sdk/models/shared/accountinginvoice.md +1 -0
- package/docs/sdk/models/shared/integrationsupport.md +33 -34
- package/docs/sdk/models/shared/paymentcollectionmethod.md +9 -0
- package/docs/sdk/models/shared/propertyintegrationsupportwebhookevents.md +6 -6
- package/docs/sdk/models/shared/{webhookwebhooktype.md → propertypropertyintegrationsupportwebhookeventscreated.md} +1 -2
- package/docs/sdk/models/shared/propertypropertyintegrationsupportwebhookeventsdeleted.md +9 -0
- package/docs/sdk/models/shared/propertypropertyintegrationsupportwebhookeventsupdated.md +9 -0
- package/docs/sdk/models/shared/webhook.md +1 -1
- package/docs/sdk/models/shared/webhooktype.md +0 -1
- package/package.json +1 -1
|
@@ -26,6 +26,7 @@ export declare class AccountingContact extends SpeakeasyBase {
|
|
|
26
26
|
isCustomer?: boolean;
|
|
27
27
|
isSupplier?: boolean;
|
|
28
28
|
name?: string;
|
|
29
|
+
portalUrl?: string;
|
|
29
30
|
raw?: Record<string, any>;
|
|
30
31
|
shippingAddress?: PropertyAccountingContactShippingAddress;
|
|
31
32
|
taxExemption?: TaxExemption;
|
|
@@ -104,6 +104,11 @@ var AccountingContact = /** @class */ (function (_super) {
|
|
|
104
104
|
(0, class_transformer_1.Expose)({ name: "name" }),
|
|
105
105
|
__metadata("design:type", String)
|
|
106
106
|
], AccountingContact.prototype, "name", void 0);
|
|
107
|
+
__decorate([
|
|
108
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
109
|
+
(0, class_transformer_1.Expose)({ name: "portal_url" }),
|
|
110
|
+
__metadata("design:type", String)
|
|
111
|
+
], AccountingContact.prototype, "portalUrl", void 0);
|
|
107
112
|
__decorate([
|
|
108
113
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
109
114
|
(0, class_transformer_1.Expose)({ name: "raw" }),
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { SpeakeasyBase } from "../../../internal/utils";
|
|
2
2
|
import { AccountingLineitem } from "./accountinglineitem";
|
|
3
|
+
export declare enum PaymentCollectionMethod {
|
|
4
|
+
SendInvoice = "send_invoice",
|
|
5
|
+
ChargeAutomatically = "charge_automatically"
|
|
6
|
+
}
|
|
3
7
|
export declare enum AccountingInvoiceStatus {
|
|
4
8
|
Draft = "DRAFT",
|
|
5
9
|
Voided = "VOIDED",
|
|
@@ -19,6 +23,7 @@ export declare class AccountingInvoice extends SpeakeasyBase {
|
|
|
19
23
|
notes?: string;
|
|
20
24
|
paidAmount?: number;
|
|
21
25
|
paidAt?: Date;
|
|
26
|
+
paymentCollectionMethod?: PaymentCollectionMethod;
|
|
22
27
|
raw?: Record<string, any>;
|
|
23
28
|
refundAmount?: number;
|
|
24
29
|
refundReason?: string;
|
|
@@ -27,10 +27,15 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
27
27
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
28
28
|
};
|
|
29
29
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
|
-
exports.AccountingInvoice = exports.AccountingInvoiceStatus = void 0;
|
|
30
|
+
exports.AccountingInvoice = exports.AccountingInvoiceStatus = exports.PaymentCollectionMethod = void 0;
|
|
31
31
|
var utils_1 = require("../../../internal/utils");
|
|
32
32
|
var accountinglineitem_1 = require("./accountinglineitem");
|
|
33
33
|
var class_transformer_1 = require("class-transformer");
|
|
34
|
+
var PaymentCollectionMethod;
|
|
35
|
+
(function (PaymentCollectionMethod) {
|
|
36
|
+
PaymentCollectionMethod["SendInvoice"] = "send_invoice";
|
|
37
|
+
PaymentCollectionMethod["ChargeAutomatically"] = "charge_automatically";
|
|
38
|
+
})(PaymentCollectionMethod = exports.PaymentCollectionMethod || (exports.PaymentCollectionMethod = {}));
|
|
34
39
|
var AccountingInvoiceStatus;
|
|
35
40
|
(function (AccountingInvoiceStatus) {
|
|
36
41
|
AccountingInvoiceStatus["Draft"] = "DRAFT";
|
|
@@ -124,6 +129,11 @@ var AccountingInvoice = /** @class */ (function (_super) {
|
|
|
124
129
|
}, { toClassOnly: true }),
|
|
125
130
|
__metadata("design:type", Date)
|
|
126
131
|
], AccountingInvoice.prototype, "paidAt", void 0);
|
|
132
|
+
__decorate([
|
|
133
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
134
|
+
(0, class_transformer_1.Expose)({ name: "payment_collection_method" }),
|
|
135
|
+
__metadata("design:type", String)
|
|
136
|
+
], AccountingInvoice.prototype, "paymentCollectionMethod", void 0);
|
|
127
137
|
__decorate([
|
|
128
138
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
129
139
|
(0, class_transformer_1.Expose)({ name: "raw" }),
|
|
@@ -84,6 +84,9 @@ export * from "./propertyenrichpersonaddress";
|
|
|
84
84
|
export * from "./propertyhrisemployeeaddress";
|
|
85
85
|
export * from "./propertyintegrationcategories";
|
|
86
86
|
export * from "./propertyintegrationsupportwebhookevents";
|
|
87
|
+
export * from "./propertypropertyintegrationsupportwebhookeventscreated";
|
|
88
|
+
export * from "./propertypropertyintegrationsupportwebhookeventsdeleted";
|
|
89
|
+
export * from "./propertypropertyintegrationsupportwebhookeventsupdated";
|
|
87
90
|
export * from "./propertystoragepermissionroles";
|
|
88
91
|
export * from "./propertyuccalltelephone";
|
|
89
92
|
export * from "./security";
|
|
@@ -103,6 +103,9 @@ __exportStar(require("./propertyenrichpersonaddress"), exports);
|
|
|
103
103
|
__exportStar(require("./propertyhrisemployeeaddress"), exports);
|
|
104
104
|
__exportStar(require("./propertyintegrationcategories"), exports);
|
|
105
105
|
__exportStar(require("./propertyintegrationsupportwebhookevents"), exports);
|
|
106
|
+
__exportStar(require("./propertypropertyintegrationsupportwebhookeventscreated"), exports);
|
|
107
|
+
__exportStar(require("./propertypropertyintegrationsupportwebhookeventsdeleted"), exports);
|
|
108
|
+
__exportStar(require("./propertypropertyintegrationsupportwebhookeventsupdated"), exports);
|
|
106
109
|
__exportStar(require("./propertystoragepermissionroles"), exports);
|
|
107
110
|
__exportStar(require("./propertyuccalltelephone"), exports);
|
|
108
111
|
__exportStar(require("./security"), exports);
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
import { SpeakeasyBase } from "../../../internal/utils";
|
|
2
2
|
import { PropertyIntegrationSupportWebhookEvents } from "./propertyintegrationsupportwebhookevents";
|
|
3
|
-
export declare enum WebhookType {
|
|
4
|
-
Virtual = "virtual",
|
|
5
|
-
None = "none",
|
|
6
|
-
Native = "native"
|
|
7
|
-
}
|
|
8
3
|
export declare class IntegrationSupport extends SpeakeasyBase {
|
|
9
4
|
inboundFields?: Record<string, any>;
|
|
10
5
|
listAccountId?: boolean;
|
|
@@ -36,6 +31,5 @@ export declare class IntegrationSupport extends SpeakeasyBase {
|
|
|
36
31
|
searchLinkedinUrl?: boolean;
|
|
37
32
|
searchName?: boolean;
|
|
38
33
|
searchTwitter?: boolean;
|
|
39
|
-
webhookEvents?: PropertyIntegrationSupportWebhookEvents
|
|
40
|
-
webhookType?: WebhookType;
|
|
34
|
+
webhookEvents?: PropertyIntegrationSupportWebhookEvents;
|
|
41
35
|
}
|
|
@@ -27,15 +27,10 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
27
27
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
28
28
|
};
|
|
29
29
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
|
-
exports.IntegrationSupport =
|
|
30
|
+
exports.IntegrationSupport = void 0;
|
|
31
31
|
var utils_1 = require("../../../internal/utils");
|
|
32
|
+
var propertyintegrationsupportwebhookevents_1 = require("./propertyintegrationsupportwebhookevents");
|
|
32
33
|
var class_transformer_1 = require("class-transformer");
|
|
33
|
-
var WebhookType;
|
|
34
|
-
(function (WebhookType) {
|
|
35
|
-
WebhookType["Virtual"] = "virtual";
|
|
36
|
-
WebhookType["None"] = "none";
|
|
37
|
-
WebhookType["Native"] = "native";
|
|
38
|
-
})(WebhookType = exports.WebhookType || (exports.WebhookType = {}));
|
|
39
34
|
var IntegrationSupport = /** @class */ (function (_super) {
|
|
40
35
|
__extends(IntegrationSupport, _super);
|
|
41
36
|
function IntegrationSupport() {
|
|
@@ -194,13 +189,9 @@ var IntegrationSupport = /** @class */ (function (_super) {
|
|
|
194
189
|
__decorate([
|
|
195
190
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
196
191
|
(0, class_transformer_1.Expose)({ name: "webhook_events" }),
|
|
197
|
-
|
|
192
|
+
(0, class_transformer_1.Type)(function () { return propertyintegrationsupportwebhookevents_1.PropertyIntegrationSupportWebhookEvents; }),
|
|
193
|
+
__metadata("design:type", propertyintegrationsupportwebhookevents_1.PropertyIntegrationSupportWebhookEvents)
|
|
198
194
|
], IntegrationSupport.prototype, "webhookEvents", void 0);
|
|
199
|
-
__decorate([
|
|
200
|
-
(0, utils_1.SpeakeasyMetadata)(),
|
|
201
|
-
(0, class_transformer_1.Expose)({ name: "webhook_type" }),
|
|
202
|
-
__metadata("design:type", String)
|
|
203
|
-
], IntegrationSupport.prototype, "webhookType", void 0);
|
|
204
195
|
return IntegrationSupport;
|
|
205
196
|
}(utils_1.SpeakeasyBase));
|
|
206
197
|
exports.IntegrationSupport = IntegrationSupport;
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { SpeakeasyBase } from "../../../internal/utils";
|
|
2
|
+
import { PropertyPropertyIntegrationSupportWebhookEventsCreated } from "./propertypropertyintegrationsupportwebhookeventscreated";
|
|
3
|
+
import { PropertyPropertyIntegrationSupportWebhookEventsDeleted } from "./propertypropertyintegrationsupportwebhookeventsdeleted";
|
|
4
|
+
import { PropertyPropertyIntegrationSupportWebhookEventsUpdated } from "./propertypropertyintegrationsupportwebhookeventsupdated";
|
|
5
|
+
export declare class PropertyIntegrationSupportWebhookEvents extends SpeakeasyBase {
|
|
6
|
+
created?: PropertyPropertyIntegrationSupportWebhookEventsCreated[];
|
|
7
|
+
deleted?: PropertyPropertyIntegrationSupportWebhookEventsDeleted[];
|
|
8
|
+
updated?: PropertyPropertyIntegrationSupportWebhookEventsUpdated[];
|
|
5
9
|
}
|
|
@@ -2,11 +2,54 @@
|
|
|
2
2
|
/*
|
|
3
3
|
* Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
4
4
|
*/
|
|
5
|
+
var __extends = (this && this.__extends) || (function () {
|
|
6
|
+
var extendStatics = function (d, b) {
|
|
7
|
+
extendStatics = Object.setPrototypeOf ||
|
|
8
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
9
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
10
|
+
return extendStatics(d, b);
|
|
11
|
+
};
|
|
12
|
+
return function (d, b) {
|
|
13
|
+
if (typeof b !== "function" && b !== null)
|
|
14
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
15
|
+
extendStatics(d, b);
|
|
16
|
+
function __() { this.constructor = d; }
|
|
17
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
18
|
+
};
|
|
19
|
+
})();
|
|
20
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
21
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
22
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
23
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
24
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
25
|
+
};
|
|
26
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
27
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
28
|
+
};
|
|
5
29
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
30
|
exports.PropertyIntegrationSupportWebhookEvents = void 0;
|
|
7
|
-
var
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
PropertyIntegrationSupportWebhookEvents
|
|
11
|
-
PropertyIntegrationSupportWebhookEvents
|
|
12
|
-
|
|
31
|
+
var utils_1 = require("../../../internal/utils");
|
|
32
|
+
var class_transformer_1 = require("class-transformer");
|
|
33
|
+
var PropertyIntegrationSupportWebhookEvents = /** @class */ (function (_super) {
|
|
34
|
+
__extends(PropertyIntegrationSupportWebhookEvents, _super);
|
|
35
|
+
function PropertyIntegrationSupportWebhookEvents() {
|
|
36
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
37
|
+
}
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
40
|
+
(0, class_transformer_1.Expose)({ name: "created" }),
|
|
41
|
+
__metadata("design:type", Array)
|
|
42
|
+
], PropertyIntegrationSupportWebhookEvents.prototype, "created", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
45
|
+
(0, class_transformer_1.Expose)({ name: "deleted" }),
|
|
46
|
+
__metadata("design:type", Array)
|
|
47
|
+
], PropertyIntegrationSupportWebhookEvents.prototype, "deleted", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
50
|
+
(0, class_transformer_1.Expose)({ name: "updated" }),
|
|
51
|
+
__metadata("design:type", Array)
|
|
52
|
+
], PropertyIntegrationSupportWebhookEvents.prototype, "updated", void 0);
|
|
53
|
+
return PropertyIntegrationSupportWebhookEvents;
|
|
54
|
+
}(utils_1.SpeakeasyBase));
|
|
55
|
+
exports.PropertyIntegrationSupportWebhookEvents = PropertyIntegrationSupportWebhookEvents;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.PropertyPropertyIntegrationSupportWebhookEventsCreated = void 0;
|
|
7
|
+
var PropertyPropertyIntegrationSupportWebhookEventsCreated;
|
|
8
|
+
(function (PropertyPropertyIntegrationSupportWebhookEventsCreated) {
|
|
9
|
+
PropertyPropertyIntegrationSupportWebhookEventsCreated["Virtual"] = "virtual";
|
|
10
|
+
PropertyPropertyIntegrationSupportWebhookEventsCreated["Native"] = "native";
|
|
11
|
+
})(PropertyPropertyIntegrationSupportWebhookEventsCreated = exports.PropertyPropertyIntegrationSupportWebhookEventsCreated || (exports.PropertyPropertyIntegrationSupportWebhookEventsCreated = {}));
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.PropertyPropertyIntegrationSupportWebhookEventsDeleted = void 0;
|
|
7
|
+
var PropertyPropertyIntegrationSupportWebhookEventsDeleted;
|
|
8
|
+
(function (PropertyPropertyIntegrationSupportWebhookEventsDeleted) {
|
|
9
|
+
PropertyPropertyIntegrationSupportWebhookEventsDeleted["Virtual"] = "virtual";
|
|
10
|
+
PropertyPropertyIntegrationSupportWebhookEventsDeleted["Native"] = "native";
|
|
11
|
+
})(PropertyPropertyIntegrationSupportWebhookEventsDeleted = exports.PropertyPropertyIntegrationSupportWebhookEventsDeleted || (exports.PropertyPropertyIntegrationSupportWebhookEventsDeleted = {}));
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.PropertyPropertyIntegrationSupportWebhookEventsUpdated = void 0;
|
|
7
|
+
var PropertyPropertyIntegrationSupportWebhookEventsUpdated;
|
|
8
|
+
(function (PropertyPropertyIntegrationSupportWebhookEventsUpdated) {
|
|
9
|
+
PropertyPropertyIntegrationSupportWebhookEventsUpdated["Virtual"] = "virtual";
|
|
10
|
+
PropertyPropertyIntegrationSupportWebhookEventsUpdated["Native"] = "native";
|
|
11
|
+
})(PropertyPropertyIntegrationSupportWebhookEventsUpdated = exports.PropertyPropertyIntegrationSupportWebhookEventsUpdated || (exports.PropertyPropertyIntegrationSupportWebhookEventsUpdated = {}));
|
|
@@ -48,9 +48,8 @@ export declare enum ObjectType {
|
|
|
48
48
|
EnrichCompany = "enrich_company",
|
|
49
49
|
StorageFile = "storage_file"
|
|
50
50
|
}
|
|
51
|
-
export declare enum
|
|
51
|
+
export declare enum WebhookType {
|
|
52
52
|
Virtual = "virtual",
|
|
53
|
-
None = "none",
|
|
54
53
|
Native = "native"
|
|
55
54
|
}
|
|
56
55
|
/**
|
|
@@ -76,6 +75,6 @@ export declare class Webhook extends SpeakeasyBase {
|
|
|
76
75
|
*/
|
|
77
76
|
runs?: string[];
|
|
78
77
|
updatedAt?: Date;
|
|
79
|
-
webhookType?:
|
|
78
|
+
webhookType?: WebhookType;
|
|
80
79
|
workspaceId?: string;
|
|
81
80
|
}
|
|
@@ -27,7 +27,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
27
27
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
28
28
|
};
|
|
29
29
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
|
-
exports.Webhook = exports.
|
|
30
|
+
exports.Webhook = exports.WebhookType = exports.ObjectType = exports.Event = void 0;
|
|
31
31
|
var utils_1 = require("../../../internal/utils");
|
|
32
32
|
var class_transformer_1 = require("class-transformer");
|
|
33
33
|
var Event;
|
|
@@ -81,12 +81,11 @@ var ObjectType;
|
|
|
81
81
|
ObjectType["EnrichCompany"] = "enrich_company";
|
|
82
82
|
ObjectType["StorageFile"] = "storage_file";
|
|
83
83
|
})(ObjectType = exports.ObjectType || (exports.ObjectType = {}));
|
|
84
|
-
var
|
|
85
|
-
(function (
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
})(WebhookWebhookType = exports.WebhookWebhookType || (exports.WebhookWebhookType = {}));
|
|
84
|
+
var WebhookType;
|
|
85
|
+
(function (WebhookType) {
|
|
86
|
+
WebhookType["Virtual"] = "virtual";
|
|
87
|
+
WebhookType["Native"] = "native";
|
|
88
|
+
})(WebhookType = exports.WebhookType || (exports.WebhookType = {}));
|
|
90
89
|
/**
|
|
91
90
|
* A webhook is used to POST new/updated information to your server.
|
|
92
91
|
*/
|
package/dist/sdk/sdk.js
CHANGED
|
@@ -81,9 +81,9 @@ var SDKConfiguration = /** @class */ (function () {
|
|
|
81
81
|
function SDKConfiguration(init) {
|
|
82
82
|
this.language = "typescript";
|
|
83
83
|
this.openapiDocVersion = "1.0";
|
|
84
|
-
this.sdkVersion = "1.0.
|
|
85
|
-
this.genVersion = "2.
|
|
86
|
-
this.userAgent = "speakeasy-sdk/typescript 1.0.
|
|
84
|
+
this.sdkVersion = "1.0.3";
|
|
85
|
+
this.genVersion = "2.277.0";
|
|
86
|
+
this.userAgent = "speakeasy-sdk/typescript 1.0.3 2.277.0 1.0 @unified-api/typescript-sdk";
|
|
87
87
|
Object.assign(this, init);
|
|
88
88
|
}
|
|
89
89
|
return SDKConfiguration;
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
| `isCustomer` | *boolean* | :heavy_minus_sign: | N/A |
|
|
15
15
|
| `isSupplier` | *boolean* | :heavy_minus_sign: | N/A |
|
|
16
16
|
| `name` | *string* | :heavy_minus_sign: | N/A |
|
|
17
|
+
| `portalUrl` | *string* | :heavy_minus_sign: | N/A |
|
|
17
18
|
| `raw` | Record<string, *any*> | :heavy_minus_sign: | N/A |
|
|
18
19
|
| `shippingAddress` | [shared.PropertyAccountingContactShippingAddress](../../../sdk/models/shared/propertyaccountingcontactshippingaddress.md) | :heavy_minus_sign: | N/A |
|
|
19
20
|
| `taxExemption` | [shared.TaxExemption](../../../sdk/models/shared/taxexemption.md) | :heavy_minus_sign: | N/A |
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
| `notes` | *string* | :heavy_minus_sign: | N/A |
|
|
19
19
|
| `paidAmount` | *number* | :heavy_minus_sign: | N/A |
|
|
20
20
|
| `paidAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | N/A |
|
|
21
|
+
| `paymentCollectionMethod` | [shared.PaymentCollectionMethod](../../../sdk/models/shared/paymentcollectionmethod.md) | :heavy_minus_sign: | N/A |
|
|
21
22
|
| `raw` | Record<string, *any*> | :heavy_minus_sign: | N/A |
|
|
22
23
|
| `refundAmount` | *number* | :heavy_minus_sign: | N/A |
|
|
23
24
|
| `refundReason` | *string* | :heavy_minus_sign: | N/A |
|
|
@@ -3,37 +3,36 @@
|
|
|
3
3
|
|
|
4
4
|
## Fields
|
|
5
5
|
|
|
6
|
-
| Field
|
|
7
|
-
|
|
|
8
|
-
| `inboundFields`
|
|
9
|
-
| `listAccountId`
|
|
10
|
-
| `listApplicationId`
|
|
11
|
-
| `listCandidateId`
|
|
12
|
-
| `listCompanyId`
|
|
13
|
-
| `listContactId`
|
|
14
|
-
| `listCustomerId`
|
|
15
|
-
| `listDealId`
|
|
16
|
-
| `listInterviewId`
|
|
17
|
-
| `listInvoiceId`
|
|
18
|
-
| `listJobId`
|
|
19
|
-
| `listLimit`
|
|
20
|
-
| `listListId`
|
|
21
|
-
| `listOffset`
|
|
22
|
-
| `listOrder`
|
|
23
|
-
| `listParentId`
|
|
24
|
-
| `listQuery`
|
|
25
|
-
| `listSortByCreatedAt`
|
|
26
|
-
| `listSortByName`
|
|
27
|
-
| `listSortByUpdatedAt`
|
|
28
|
-
| `listTicketId`
|
|
29
|
-
| `listUpdatedGte`
|
|
30
|
-
| `listUserId`
|
|
31
|
-
| `methods`
|
|
32
|
-
| `outboundFields`
|
|
33
|
-
| `searchDomain`
|
|
34
|
-
| `searchEmail`
|
|
35
|
-
| `searchLinkedinUrl`
|
|
36
|
-
| `searchName`
|
|
37
|
-
| `searchTwitter`
|
|
38
|
-
| `webhookEvents`
|
|
39
|
-
| `webhookType` | [shared.WebhookType](../../../sdk/models/shared/webhooktype.md) | :heavy_minus_sign: | N/A |
|
|
6
|
+
| Field | Type | Required | Description |
|
|
7
|
+
| ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- |
|
|
8
|
+
| `inboundFields` | Record<string, *any*> | :heavy_minus_sign: | N/A |
|
|
9
|
+
| `listAccountId` | *boolean* | :heavy_minus_sign: | N/A |
|
|
10
|
+
| `listApplicationId` | *boolean* | :heavy_minus_sign: | N/A |
|
|
11
|
+
| `listCandidateId` | *boolean* | :heavy_minus_sign: | N/A |
|
|
12
|
+
| `listCompanyId` | *boolean* | :heavy_minus_sign: | N/A |
|
|
13
|
+
| `listContactId` | *boolean* | :heavy_minus_sign: | N/A |
|
|
14
|
+
| `listCustomerId` | *boolean* | :heavy_minus_sign: | N/A |
|
|
15
|
+
| `listDealId` | *boolean* | :heavy_minus_sign: | N/A |
|
|
16
|
+
| `listInterviewId` | *boolean* | :heavy_minus_sign: | N/A |
|
|
17
|
+
| `listInvoiceId` | *boolean* | :heavy_minus_sign: | N/A |
|
|
18
|
+
| `listJobId` | *boolean* | :heavy_minus_sign: | N/A |
|
|
19
|
+
| `listLimit` | *boolean* | :heavy_minus_sign: | N/A |
|
|
20
|
+
| `listListId` | *boolean* | :heavy_minus_sign: | N/A |
|
|
21
|
+
| `listOffset` | *boolean* | :heavy_minus_sign: | N/A |
|
|
22
|
+
| `listOrder` | *boolean* | :heavy_minus_sign: | N/A |
|
|
23
|
+
| `listParentId` | *boolean* | :heavy_minus_sign: | N/A |
|
|
24
|
+
| `listQuery` | *boolean* | :heavy_minus_sign: | N/A |
|
|
25
|
+
| `listSortByCreatedAt` | *boolean* | :heavy_minus_sign: | N/A |
|
|
26
|
+
| `listSortByName` | *boolean* | :heavy_minus_sign: | N/A |
|
|
27
|
+
| `listSortByUpdatedAt` | *boolean* | :heavy_minus_sign: | N/A |
|
|
28
|
+
| `listTicketId` | *boolean* | :heavy_minus_sign: | N/A |
|
|
29
|
+
| `listUpdatedGte` | *boolean* | :heavy_minus_sign: | N/A |
|
|
30
|
+
| `listUserId` | *boolean* | :heavy_minus_sign: | N/A |
|
|
31
|
+
| `methods` | Record<string, *boolean*> | :heavy_minus_sign: | N/A |
|
|
32
|
+
| `outboundFields` | Record<string, *any*> | :heavy_minus_sign: | N/A |
|
|
33
|
+
| `searchDomain` | *boolean* | :heavy_minus_sign: | N/A |
|
|
34
|
+
| `searchEmail` | *boolean* | :heavy_minus_sign: | N/A |
|
|
35
|
+
| `searchLinkedinUrl` | *boolean* | :heavy_minus_sign: | N/A |
|
|
36
|
+
| `searchName` | *boolean* | :heavy_minus_sign: | N/A |
|
|
37
|
+
| `searchTwitter` | *boolean* | :heavy_minus_sign: | N/A |
|
|
38
|
+
| `webhookEvents` | [shared.PropertyIntegrationSupportWebhookEvents](../../../sdk/models/shared/propertyintegrationsupportwebhookevents.md) | :heavy_minus_sign: | N/A |
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# PropertyIntegrationSupportWebhookEvents
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
##
|
|
4
|
+
## Fields
|
|
5
5
|
|
|
6
|
-
|
|
|
7
|
-
|
|
|
8
|
-
| `
|
|
9
|
-
| `
|
|
10
|
-
| `
|
|
6
|
+
| Field | Type | Required | Description |
|
|
7
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
8
|
+
| `created` | [shared.PropertyPropertyIntegrationSupportWebhookEventsCreated](../../../sdk/models/shared/propertypropertyintegrationsupportwebhookeventscreated.md)[] | :heavy_minus_sign: | N/A |
|
|
9
|
+
| `deleted` | [shared.PropertyPropertyIntegrationSupportWebhookEventsDeleted](../../../sdk/models/shared/propertypropertyintegrationsupportwebhookeventsdeleted.md)[] | :heavy_minus_sign: | N/A |
|
|
10
|
+
| `updated` | [shared.PropertyPropertyIntegrationSupportWebhookEventsUpdated](../../../sdk/models/shared/propertypropertyintegrationsupportwebhookeventsupdated.md)[] | :heavy_minus_sign: | N/A |
|
|
@@ -23,5 +23,5 @@ A webhook is used to POST new/updated information to your server.
|
|
|
23
23
|
| `pageMaxLimit` | *number* | :heavy_minus_sign: | N/A |
|
|
24
24
|
| `runs` | *string*[] | :heavy_minus_sign: | An array of the most revent virtual webhook runs |
|
|
25
25
|
| `updatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | N/A |
|
|
26
|
-
| `webhookType` | [shared.
|
|
26
|
+
| `webhookType` | [shared.WebhookType](../../../sdk/models/shared/webhooktype.md) | :heavy_minus_sign: | N/A |
|
|
27
27
|
| `workspaceId` | *string* | :heavy_minus_sign: | N/A |
|