@unified-api/typescript-sdk 1.0.4 → 1.0.6
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/account.js +1 -1
- package/dist/sdk/accounting.js +5 -5
- package/dist/sdk/activity.js +1 -1
- package/dist/sdk/application.js +1 -1
- package/dist/sdk/ats.js +7 -7
- package/dist/sdk/candidate.js +1 -1
- package/dist/sdk/collection.js +1 -1
- package/dist/sdk/commerce.js +4 -4
- package/dist/sdk/company.js +1 -1
- package/dist/sdk/connection.js +1 -1
- package/dist/sdk/contact.js +3 -3
- package/dist/sdk/crm.js +6 -6
- package/dist/sdk/customer.js +1 -1
- package/dist/sdk/deal.js +1 -1
- package/dist/sdk/document.js +1 -1
- package/dist/sdk/employee.js +1 -1
- package/dist/sdk/event.js +1 -1
- package/dist/sdk/file.js +1 -1
- package/dist/sdk/group.js +1 -1
- package/dist/sdk/hris.js +2 -2
- package/dist/sdk/interview.js +1 -1
- package/dist/sdk/inventory.js +1 -1
- package/dist/sdk/invoice.js +1 -1
- package/dist/sdk/item.js +1 -1
- package/dist/sdk/job.js +1 -1
- package/dist/sdk/lead.js +1 -1
- package/dist/sdk/link.js +1 -1
- package/dist/sdk/list.js +1 -1
- package/dist/sdk/location.js +1 -1
- package/dist/sdk/martech.js +2 -2
- package/dist/sdk/member.js +1 -1
- package/dist/sdk/models/operations/patchunifiedwebhooktrigger.d.ts +1 -1
- package/dist/sdk/models/operations/patchunifiedwebhooktrigger.js +1 -1
- package/dist/sdk/models/operations/removeaccountingaccount.d.ts +1 -1
- package/dist/sdk/models/operations/removeaccountingaccount.js +1 -1
- package/dist/sdk/models/operations/removeaccountingcontact.d.ts +1 -1
- package/dist/sdk/models/operations/removeaccountingcontact.js +1 -1
- package/dist/sdk/models/operations/removeaccountinginvoice.d.ts +1 -1
- package/dist/sdk/models/operations/removeaccountinginvoice.js +1 -1
- package/dist/sdk/models/operations/removeaccountingtaxrate.d.ts +1 -1
- package/dist/sdk/models/operations/removeaccountingtaxrate.js +1 -1
- package/dist/sdk/models/operations/removeaccountingtransaction.d.ts +1 -1
- package/dist/sdk/models/operations/removeaccountingtransaction.js +1 -1
- package/dist/sdk/models/operations/removeatsactivity.d.ts +1 -1
- package/dist/sdk/models/operations/removeatsactivity.js +1 -1
- package/dist/sdk/models/operations/removeatsapplication.d.ts +1 -1
- package/dist/sdk/models/operations/removeatsapplication.js +1 -1
- package/dist/sdk/models/operations/removeatscandidate.d.ts +1 -1
- package/dist/sdk/models/operations/removeatscandidate.js +1 -1
- package/dist/sdk/models/operations/removeatsdocument.d.ts +1 -1
- package/dist/sdk/models/operations/removeatsdocument.js +1 -1
- package/dist/sdk/models/operations/removeatsinterview.d.ts +1 -1
- package/dist/sdk/models/operations/removeatsinterview.js +1 -1
- package/dist/sdk/models/operations/removeatsjob.d.ts +1 -1
- package/dist/sdk/models/operations/removeatsjob.js +1 -1
- package/dist/sdk/models/operations/removeatsscorecard.d.ts +1 -1
- package/dist/sdk/models/operations/removeatsscorecard.js +1 -1
- package/dist/sdk/models/operations/removecommercecollection.d.ts +1 -1
- package/dist/sdk/models/operations/removecommercecollection.js +1 -1
- package/dist/sdk/models/operations/removecommerceinventory.d.ts +1 -1
- package/dist/sdk/models/operations/removecommerceinventory.js +1 -1
- package/dist/sdk/models/operations/removecommerceitem.d.ts +1 -1
- package/dist/sdk/models/operations/removecommerceitem.js +1 -1
- package/dist/sdk/models/operations/removecommercelocation.d.ts +1 -1
- package/dist/sdk/models/operations/removecommercelocation.js +1 -1
- package/dist/sdk/models/operations/removecrmcompany.d.ts +1 -1
- package/dist/sdk/models/operations/removecrmcompany.js +1 -1
- package/dist/sdk/models/operations/removecrmcontact.d.ts +1 -1
- package/dist/sdk/models/operations/removecrmcontact.js +1 -1
- package/dist/sdk/models/operations/removecrmdeal.d.ts +1 -1
- package/dist/sdk/models/operations/removecrmdeal.js +1 -1
- package/dist/sdk/models/operations/removecrmevent.d.ts +1 -1
- package/dist/sdk/models/operations/removecrmevent.js +1 -1
- package/dist/sdk/models/operations/removecrmlead.d.ts +1 -1
- package/dist/sdk/models/operations/removecrmlead.js +1 -1
- package/dist/sdk/models/operations/removecrmpipeline.d.ts +1 -1
- package/dist/sdk/models/operations/removecrmpipeline.js +1 -1
- package/dist/sdk/models/operations/removehrisemployee.d.ts +1 -1
- package/dist/sdk/models/operations/removehrisemployee.js +1 -1
- package/dist/sdk/models/operations/removehrisgroup.d.ts +1 -1
- package/dist/sdk/models/operations/removehrisgroup.js +1 -1
- package/dist/sdk/models/operations/removemartechlist.d.ts +1 -1
- package/dist/sdk/models/operations/removemartechlist.js +1 -1
- package/dist/sdk/models/operations/removemartechmember.d.ts +1 -1
- package/dist/sdk/models/operations/removemartechmember.js +1 -1
- package/dist/sdk/models/operations/removepaymentlink.d.ts +1 -1
- package/dist/sdk/models/operations/removepaymentlink.js +1 -1
- package/dist/sdk/models/operations/removepaymentpayment.d.ts +1 -1
- package/dist/sdk/models/operations/removepaymentpayment.js +1 -1
- package/dist/sdk/models/operations/removestoragefile.d.ts +1 -1
- package/dist/sdk/models/operations/removestoragefile.js +1 -1
- package/dist/sdk/models/operations/removeticketingcustomer.d.ts +1 -1
- package/dist/sdk/models/operations/removeticketingcustomer.js +1 -1
- package/dist/sdk/models/operations/removeticketingnote.d.ts +1 -1
- package/dist/sdk/models/operations/removeticketingnote.js +1 -1
- package/dist/sdk/models/operations/removeticketingticket.d.ts +1 -1
- package/dist/sdk/models/operations/removeticketingticket.js +1 -1
- package/dist/sdk/models/operations/removeuccontact.d.ts +1 -1
- package/dist/sdk/models/operations/removeuccontact.js +1 -1
- package/dist/sdk/models/operations/removeunifiedconnection.d.ts +1 -1
- package/dist/sdk/models/operations/removeunifiedconnection.js +1 -1
- package/dist/sdk/models/operations/removeunifiedwebhook.d.ts +1 -1
- package/dist/sdk/models/operations/removeunifiedwebhook.js +1 -1
- package/dist/sdk/models/operations/updateunifiedwebhooktrigger.d.ts +1 -1
- package/dist/sdk/models/operations/updateunifiedwebhooktrigger.js +1 -1
- package/dist/sdk/models/shared/propertycrmeventnote.d.ts +1 -0
- package/dist/sdk/models/shared/propertycrmeventnote.js +5 -0
- package/dist/sdk/note.js +1 -1
- package/dist/sdk/payment.js +2 -2
- package/dist/sdk/pipeline.js +1 -1
- package/dist/sdk/scorecard.js +1 -1
- package/dist/sdk/sdk.js +7 -4
- package/dist/sdk/storage.js +1 -1
- package/dist/sdk/taxrate.js +1 -1
- package/dist/sdk/ticket.js +1 -1
- package/dist/sdk/ticketing.js +3 -3
- package/dist/sdk/transaction.js +1 -1
- package/dist/sdk/uc.js +1 -1
- package/dist/sdk/unified.js +4 -4
- package/dist/sdk/webhook.js +3 -3
- package/docs/sdk/models/operations/patchunifiedwebhooktriggerresponse.md +1 -1
- package/docs/sdk/models/operations/removeaccountingaccountresponse.md +1 -1
- package/docs/sdk/models/operations/removeaccountingcontactresponse.md +1 -1
- package/docs/sdk/models/operations/removeaccountinginvoiceresponse.md +1 -1
- package/docs/sdk/models/operations/removeaccountingtaxrateresponse.md +1 -1
- package/docs/sdk/models/operations/removeaccountingtransactionresponse.md +1 -1
- package/docs/sdk/models/operations/removeatsactivityresponse.md +1 -1
- package/docs/sdk/models/operations/removeatsapplicationresponse.md +1 -1
- package/docs/sdk/models/operations/removeatscandidateresponse.md +1 -1
- package/docs/sdk/models/operations/removeatsdocumentresponse.md +1 -1
- package/docs/sdk/models/operations/removeatsinterviewresponse.md +1 -1
- package/docs/sdk/models/operations/removeatsjobresponse.md +1 -1
- package/docs/sdk/models/operations/removeatsscorecardresponse.md +1 -1
- package/docs/sdk/models/operations/removecommercecollectionresponse.md +1 -1
- package/docs/sdk/models/operations/removecommerceinventoryresponse.md +1 -1
- package/docs/sdk/models/operations/removecommerceitemresponse.md +1 -1
- package/docs/sdk/models/operations/removecommercelocationresponse.md +1 -1
- package/docs/sdk/models/operations/removecrmcompanyresponse.md +1 -1
- package/docs/sdk/models/operations/removecrmcontactresponse.md +1 -1
- package/docs/sdk/models/operations/removecrmdealresponse.md +1 -1
- package/docs/sdk/models/operations/removecrmeventresponse.md +1 -1
- package/docs/sdk/models/operations/removecrmleadresponse.md +1 -1
- package/docs/sdk/models/operations/removecrmpipelineresponse.md +1 -1
- package/docs/sdk/models/operations/removehrisemployeeresponse.md +1 -1
- package/docs/sdk/models/operations/removehrisgroupresponse.md +1 -1
- package/docs/sdk/models/operations/removemartechlistresponse.md +1 -1
- package/docs/sdk/models/operations/removemartechmemberresponse.md +1 -1
- package/docs/sdk/models/operations/removepaymentlinkresponse.md +1 -1
- package/docs/sdk/models/operations/removepaymentpaymentresponse.md +1 -1
- package/docs/sdk/models/operations/removestoragefileresponse.md +1 -1
- package/docs/sdk/models/operations/removeticketingcustomerresponse.md +1 -1
- package/docs/sdk/models/operations/removeticketingnoteresponse.md +1 -1
- package/docs/sdk/models/operations/removeticketingticketresponse.md +1 -1
- package/docs/sdk/models/operations/removeuccontactresponse.md +1 -1
- package/docs/sdk/models/operations/removeunifiedconnectionresponse.md +1 -1
- package/docs/sdk/models/operations/removeunifiedwebhookresponse.md +1 -1
- package/docs/sdk/models/operations/updateunifiedwebhooktriggerresponse.md +1 -1
- package/docs/sdk/models/shared/propertycrmeventnote.md +2 -1
- package/package.json +1 -1
package/dist/sdk/account.js
CHANGED
|
@@ -415,7 +415,7 @@ var Account = /** @class */ (function () {
|
|
|
415
415
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
416
416
|
default:
|
|
417
417
|
if (utils.matchContentType(responseContentType, "application/json")) {
|
|
418
|
-
res.
|
|
418
|
+
res.string = JSON.parse(decodedRes);
|
|
419
419
|
}
|
|
420
420
|
else {
|
|
421
421
|
throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/accounting.js
CHANGED
|
@@ -1613,7 +1613,7 @@ var Accounting = /** @class */ (function () {
|
|
|
1613
1613
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
1614
1614
|
default:
|
|
1615
1615
|
if (utils.matchContentType(responseContentType, "application/json")) {
|
|
1616
|
-
res.
|
|
1616
|
+
res.string = JSON.parse(decodedRes);
|
|
1617
1617
|
}
|
|
1618
1618
|
else {
|
|
1619
1619
|
throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
|
|
@@ -1674,7 +1674,7 @@ var Accounting = /** @class */ (function () {
|
|
|
1674
1674
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
1675
1675
|
default:
|
|
1676
1676
|
if (utils.matchContentType(responseContentType, "application/json")) {
|
|
1677
|
-
res.
|
|
1677
|
+
res.string = JSON.parse(decodedRes);
|
|
1678
1678
|
}
|
|
1679
1679
|
else {
|
|
1680
1680
|
throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
|
|
@@ -1735,7 +1735,7 @@ var Accounting = /** @class */ (function () {
|
|
|
1735
1735
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
1736
1736
|
default:
|
|
1737
1737
|
if (utils.matchContentType(responseContentType, "application/json")) {
|
|
1738
|
-
res.
|
|
1738
|
+
res.string = JSON.parse(decodedRes);
|
|
1739
1739
|
}
|
|
1740
1740
|
else {
|
|
1741
1741
|
throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
|
|
@@ -1796,7 +1796,7 @@ var Accounting = /** @class */ (function () {
|
|
|
1796
1796
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
1797
1797
|
default:
|
|
1798
1798
|
if (utils.matchContentType(responseContentType, "application/json")) {
|
|
1799
|
-
res.
|
|
1799
|
+
res.string = JSON.parse(decodedRes);
|
|
1800
1800
|
}
|
|
1801
1801
|
else {
|
|
1802
1802
|
throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
|
|
@@ -1857,7 +1857,7 @@ var Accounting = /** @class */ (function () {
|
|
|
1857
1857
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
1858
1858
|
default:
|
|
1859
1859
|
if (utils.matchContentType(responseContentType, "application/json")) {
|
|
1860
|
-
res.
|
|
1860
|
+
res.string = JSON.parse(decodedRes);
|
|
1861
1861
|
}
|
|
1862
1862
|
else {
|
|
1863
1863
|
throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/activity.js
CHANGED
|
@@ -415,7 +415,7 @@ var Activity = /** @class */ (function () {
|
|
|
415
415
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
416
416
|
default:
|
|
417
417
|
if (utils.matchContentType(responseContentType, "application/json")) {
|
|
418
|
-
res.
|
|
418
|
+
res.string = JSON.parse(decodedRes);
|
|
419
419
|
}
|
|
420
420
|
else {
|
|
421
421
|
throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/application.js
CHANGED
|
@@ -415,7 +415,7 @@ var Application = /** @class */ (function () {
|
|
|
415
415
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
416
416
|
default:
|
|
417
417
|
if (utils.matchContentType(responseContentType, "application/json")) {
|
|
418
|
-
res.
|
|
418
|
+
res.string = JSON.parse(decodedRes);
|
|
419
419
|
}
|
|
420
420
|
else {
|
|
421
421
|
throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/ats.js
CHANGED
|
@@ -2213,7 +2213,7 @@ var Ats = /** @class */ (function () {
|
|
|
2213
2213
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
2214
2214
|
default:
|
|
2215
2215
|
if (utils.matchContentType(responseContentType, "application/json")) {
|
|
2216
|
-
res.
|
|
2216
|
+
res.string = JSON.parse(decodedRes);
|
|
2217
2217
|
}
|
|
2218
2218
|
else {
|
|
2219
2219
|
throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
|
|
@@ -2274,7 +2274,7 @@ var Ats = /** @class */ (function () {
|
|
|
2274
2274
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
2275
2275
|
default:
|
|
2276
2276
|
if (utils.matchContentType(responseContentType, "application/json")) {
|
|
2277
|
-
res.
|
|
2277
|
+
res.string = JSON.parse(decodedRes);
|
|
2278
2278
|
}
|
|
2279
2279
|
else {
|
|
2280
2280
|
throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
|
|
@@ -2335,7 +2335,7 @@ var Ats = /** @class */ (function () {
|
|
|
2335
2335
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
2336
2336
|
default:
|
|
2337
2337
|
if (utils.matchContentType(responseContentType, "application/json")) {
|
|
2338
|
-
res.
|
|
2338
|
+
res.string = JSON.parse(decodedRes);
|
|
2339
2339
|
}
|
|
2340
2340
|
else {
|
|
2341
2341
|
throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
|
|
@@ -2396,7 +2396,7 @@ var Ats = /** @class */ (function () {
|
|
|
2396
2396
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
2397
2397
|
default:
|
|
2398
2398
|
if (utils.matchContentType(responseContentType, "application/json")) {
|
|
2399
|
-
res.
|
|
2399
|
+
res.string = JSON.parse(decodedRes);
|
|
2400
2400
|
}
|
|
2401
2401
|
else {
|
|
2402
2402
|
throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
|
|
@@ -2457,7 +2457,7 @@ var Ats = /** @class */ (function () {
|
|
|
2457
2457
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
2458
2458
|
default:
|
|
2459
2459
|
if (utils.matchContentType(responseContentType, "application/json")) {
|
|
2460
|
-
res.
|
|
2460
|
+
res.string = JSON.parse(decodedRes);
|
|
2461
2461
|
}
|
|
2462
2462
|
else {
|
|
2463
2463
|
throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
|
|
@@ -2518,7 +2518,7 @@ var Ats = /** @class */ (function () {
|
|
|
2518
2518
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
2519
2519
|
default:
|
|
2520
2520
|
if (utils.matchContentType(responseContentType, "application/json")) {
|
|
2521
|
-
res.
|
|
2521
|
+
res.string = JSON.parse(decodedRes);
|
|
2522
2522
|
}
|
|
2523
2523
|
else {
|
|
2524
2524
|
throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
|
|
@@ -2579,7 +2579,7 @@ var Ats = /** @class */ (function () {
|
|
|
2579
2579
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
2580
2580
|
default:
|
|
2581
2581
|
if (utils.matchContentType(responseContentType, "application/json")) {
|
|
2582
|
-
res.
|
|
2582
|
+
res.string = JSON.parse(decodedRes);
|
|
2583
2583
|
}
|
|
2584
2584
|
else {
|
|
2585
2585
|
throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/candidate.js
CHANGED
|
@@ -415,7 +415,7 @@ var Candidate = /** @class */ (function () {
|
|
|
415
415
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
416
416
|
default:
|
|
417
417
|
if (utils.matchContentType(responseContentType, "application/json")) {
|
|
418
|
-
res.
|
|
418
|
+
res.string = JSON.parse(decodedRes);
|
|
419
419
|
}
|
|
420
420
|
else {
|
|
421
421
|
throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/collection.js
CHANGED
|
@@ -415,7 +415,7 @@ var Collection = /** @class */ (function () {
|
|
|
415
415
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
416
416
|
default:
|
|
417
417
|
if (utils.matchContentType(responseContentType, "application/json")) {
|
|
418
|
-
res.
|
|
418
|
+
res.string = JSON.parse(decodedRes);
|
|
419
419
|
}
|
|
420
420
|
else {
|
|
421
421
|
throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/commerce.js
CHANGED
|
@@ -1219,7 +1219,7 @@ var Commerce = /** @class */ (function () {
|
|
|
1219
1219
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
1220
1220
|
default:
|
|
1221
1221
|
if (utils.matchContentType(responseContentType, "application/json")) {
|
|
1222
|
-
res.
|
|
1222
|
+
res.string = JSON.parse(decodedRes);
|
|
1223
1223
|
}
|
|
1224
1224
|
else {
|
|
1225
1225
|
throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
|
|
@@ -1280,7 +1280,7 @@ var Commerce = /** @class */ (function () {
|
|
|
1280
1280
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
1281
1281
|
default:
|
|
1282
1282
|
if (utils.matchContentType(responseContentType, "application/json")) {
|
|
1283
|
-
res.
|
|
1283
|
+
res.string = JSON.parse(decodedRes);
|
|
1284
1284
|
}
|
|
1285
1285
|
else {
|
|
1286
1286
|
throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
|
|
@@ -1341,7 +1341,7 @@ var Commerce = /** @class */ (function () {
|
|
|
1341
1341
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
1342
1342
|
default:
|
|
1343
1343
|
if (utils.matchContentType(responseContentType, "application/json")) {
|
|
1344
|
-
res.
|
|
1344
|
+
res.string = JSON.parse(decodedRes);
|
|
1345
1345
|
}
|
|
1346
1346
|
else {
|
|
1347
1347
|
throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
|
|
@@ -1402,7 +1402,7 @@ var Commerce = /** @class */ (function () {
|
|
|
1402
1402
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
1403
1403
|
default:
|
|
1404
1404
|
if (utils.matchContentType(responseContentType, "application/json")) {
|
|
1405
|
-
res.
|
|
1405
|
+
res.string = JSON.parse(decodedRes);
|
|
1406
1406
|
}
|
|
1407
1407
|
else {
|
|
1408
1408
|
throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/company.js
CHANGED
|
@@ -603,7 +603,7 @@ var Company = /** @class */ (function () {
|
|
|
603
603
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
604
604
|
default:
|
|
605
605
|
if (utils.matchContentType(responseContentType, "application/json")) {
|
|
606
|
-
res.
|
|
606
|
+
res.string = JSON.parse(decodedRes);
|
|
607
607
|
}
|
|
608
608
|
else {
|
|
609
609
|
throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/connection.js
CHANGED
|
@@ -414,7 +414,7 @@ var Connection = /** @class */ (function () {
|
|
|
414
414
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
415
415
|
default:
|
|
416
416
|
if (utils.matchContentType(responseContentType, "application/json")) {
|
|
417
|
-
res.
|
|
417
|
+
res.string = JSON.parse(decodedRes);
|
|
418
418
|
}
|
|
419
419
|
else {
|
|
420
420
|
throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/contact.js
CHANGED
|
@@ -951,7 +951,7 @@ var Contact = /** @class */ (function () {
|
|
|
951
951
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
952
952
|
default:
|
|
953
953
|
if (utils.matchContentType(responseContentType, "application/json")) {
|
|
954
|
-
res.
|
|
954
|
+
res.string = JSON.parse(decodedRes);
|
|
955
955
|
}
|
|
956
956
|
else {
|
|
957
957
|
throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
|
|
@@ -1012,7 +1012,7 @@ var Contact = /** @class */ (function () {
|
|
|
1012
1012
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
1013
1013
|
default:
|
|
1014
1014
|
if (utils.matchContentType(responseContentType, "application/json")) {
|
|
1015
|
-
res.
|
|
1015
|
+
res.string = JSON.parse(decodedRes);
|
|
1016
1016
|
}
|
|
1017
1017
|
else {
|
|
1018
1018
|
throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
|
|
@@ -1073,7 +1073,7 @@ var Contact = /** @class */ (function () {
|
|
|
1073
1073
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
1074
1074
|
default:
|
|
1075
1075
|
if (utils.matchContentType(responseContentType, "application/json")) {
|
|
1076
|
-
res.
|
|
1076
|
+
res.string = JSON.parse(decodedRes);
|
|
1077
1077
|
}
|
|
1078
1078
|
else {
|
|
1079
1079
|
throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/crm.js
CHANGED
|
@@ -1755,7 +1755,7 @@ var Crm = /** @class */ (function () {
|
|
|
1755
1755
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
1756
1756
|
default:
|
|
1757
1757
|
if (utils.matchContentType(responseContentType, "application/json")) {
|
|
1758
|
-
res.
|
|
1758
|
+
res.string = JSON.parse(decodedRes);
|
|
1759
1759
|
}
|
|
1760
1760
|
else {
|
|
1761
1761
|
throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
|
|
@@ -1816,7 +1816,7 @@ var Crm = /** @class */ (function () {
|
|
|
1816
1816
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
1817
1817
|
default:
|
|
1818
1818
|
if (utils.matchContentType(responseContentType, "application/json")) {
|
|
1819
|
-
res.
|
|
1819
|
+
res.string = JSON.parse(decodedRes);
|
|
1820
1820
|
}
|
|
1821
1821
|
else {
|
|
1822
1822
|
throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
|
|
@@ -1877,7 +1877,7 @@ var Crm = /** @class */ (function () {
|
|
|
1877
1877
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
1878
1878
|
default:
|
|
1879
1879
|
if (utils.matchContentType(responseContentType, "application/json")) {
|
|
1880
|
-
res.
|
|
1880
|
+
res.string = JSON.parse(decodedRes);
|
|
1881
1881
|
}
|
|
1882
1882
|
else {
|
|
1883
1883
|
throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
|
|
@@ -1938,7 +1938,7 @@ var Crm = /** @class */ (function () {
|
|
|
1938
1938
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
1939
1939
|
default:
|
|
1940
1940
|
if (utils.matchContentType(responseContentType, "application/json")) {
|
|
1941
|
-
res.
|
|
1941
|
+
res.string = JSON.parse(decodedRes);
|
|
1942
1942
|
}
|
|
1943
1943
|
else {
|
|
1944
1944
|
throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
|
|
@@ -1999,7 +1999,7 @@ var Crm = /** @class */ (function () {
|
|
|
1999
1999
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
2000
2000
|
default:
|
|
2001
2001
|
if (utils.matchContentType(responseContentType, "application/json")) {
|
|
2002
|
-
res.
|
|
2002
|
+
res.string = JSON.parse(decodedRes);
|
|
2003
2003
|
}
|
|
2004
2004
|
else {
|
|
2005
2005
|
throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
|
|
@@ -2060,7 +2060,7 @@ var Crm = /** @class */ (function () {
|
|
|
2060
2060
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
2061
2061
|
default:
|
|
2062
2062
|
if (utils.matchContentType(responseContentType, "application/json")) {
|
|
2063
|
-
res.
|
|
2063
|
+
res.string = JSON.parse(decodedRes);
|
|
2064
2064
|
}
|
|
2065
2065
|
else {
|
|
2066
2066
|
throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/customer.js
CHANGED
|
@@ -415,7 +415,7 @@ var Customer = /** @class */ (function () {
|
|
|
415
415
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
416
416
|
default:
|
|
417
417
|
if (utils.matchContentType(responseContentType, "application/json")) {
|
|
418
|
-
res.
|
|
418
|
+
res.string = JSON.parse(decodedRes);
|
|
419
419
|
}
|
|
420
420
|
else {
|
|
421
421
|
throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/deal.js
CHANGED
|
@@ -415,7 +415,7 @@ var Deal = /** @class */ (function () {
|
|
|
415
415
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
416
416
|
default:
|
|
417
417
|
if (utils.matchContentType(responseContentType, "application/json")) {
|
|
418
|
-
res.
|
|
418
|
+
res.string = JSON.parse(decodedRes);
|
|
419
419
|
}
|
|
420
420
|
else {
|
|
421
421
|
throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/document.js
CHANGED
|
@@ -415,7 +415,7 @@ var Document = /** @class */ (function () {
|
|
|
415
415
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
416
416
|
default:
|
|
417
417
|
if (utils.matchContentType(responseContentType, "application/json")) {
|
|
418
|
-
res.
|
|
418
|
+
res.string = JSON.parse(decodedRes);
|
|
419
419
|
}
|
|
420
420
|
else {
|
|
421
421
|
throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/employee.js
CHANGED
|
@@ -415,7 +415,7 @@ var Employee = /** @class */ (function () {
|
|
|
415
415
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
416
416
|
default:
|
|
417
417
|
if (utils.matchContentType(responseContentType, "application/json")) {
|
|
418
|
-
res.
|
|
418
|
+
res.string = JSON.parse(decodedRes);
|
|
419
419
|
}
|
|
420
420
|
else {
|
|
421
421
|
throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/event.js
CHANGED
|
@@ -415,7 +415,7 @@ var Event = /** @class */ (function () {
|
|
|
415
415
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
416
416
|
default:
|
|
417
417
|
if (utils.matchContentType(responseContentType, "application/json")) {
|
|
418
|
-
res.
|
|
418
|
+
res.string = JSON.parse(decodedRes);
|
|
419
419
|
}
|
|
420
420
|
else {
|
|
421
421
|
throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/file.js
CHANGED
|
@@ -415,7 +415,7 @@ var File = /** @class */ (function () {
|
|
|
415
415
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
416
416
|
default:
|
|
417
417
|
if (utils.matchContentType(responseContentType, "application/json")) {
|
|
418
|
-
res.
|
|
418
|
+
res.string = JSON.parse(decodedRes);
|
|
419
419
|
}
|
|
420
420
|
else {
|
|
421
421
|
throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/group.js
CHANGED
|
@@ -415,7 +415,7 @@ var Group = /** @class */ (function () {
|
|
|
415
415
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
416
416
|
default:
|
|
417
417
|
if (utils.matchContentType(responseContentType, "application/json")) {
|
|
418
|
-
res.
|
|
418
|
+
res.string = JSON.parse(decodedRes);
|
|
419
419
|
}
|
|
420
420
|
else {
|
|
421
421
|
throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/hris.js
CHANGED
|
@@ -683,7 +683,7 @@ var Hris = /** @class */ (function () {
|
|
|
683
683
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
684
684
|
default:
|
|
685
685
|
if (utils.matchContentType(responseContentType, "application/json")) {
|
|
686
|
-
res.
|
|
686
|
+
res.string = JSON.parse(decodedRes);
|
|
687
687
|
}
|
|
688
688
|
else {
|
|
689
689
|
throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
|
|
@@ -744,7 +744,7 @@ var Hris = /** @class */ (function () {
|
|
|
744
744
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
745
745
|
default:
|
|
746
746
|
if (utils.matchContentType(responseContentType, "application/json")) {
|
|
747
|
-
res.
|
|
747
|
+
res.string = JSON.parse(decodedRes);
|
|
748
748
|
}
|
|
749
749
|
else {
|
|
750
750
|
throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/interview.js
CHANGED
|
@@ -415,7 +415,7 @@ var Interview = /** @class */ (function () {
|
|
|
415
415
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
416
416
|
default:
|
|
417
417
|
if (utils.matchContentType(responseContentType, "application/json")) {
|
|
418
|
-
res.
|
|
418
|
+
res.string = JSON.parse(decodedRes);
|
|
419
419
|
}
|
|
420
420
|
else {
|
|
421
421
|
throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/inventory.js
CHANGED
|
@@ -415,7 +415,7 @@ var Inventory = /** @class */ (function () {
|
|
|
415
415
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
416
416
|
default:
|
|
417
417
|
if (utils.matchContentType(responseContentType, "application/json")) {
|
|
418
|
-
res.
|
|
418
|
+
res.string = JSON.parse(decodedRes);
|
|
419
419
|
}
|
|
420
420
|
else {
|
|
421
421
|
throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/invoice.js
CHANGED
|
@@ -415,7 +415,7 @@ var Invoice = /** @class */ (function () {
|
|
|
415
415
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
416
416
|
default:
|
|
417
417
|
if (utils.matchContentType(responseContentType, "application/json")) {
|
|
418
|
-
res.
|
|
418
|
+
res.string = JSON.parse(decodedRes);
|
|
419
419
|
}
|
|
420
420
|
else {
|
|
421
421
|
throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/item.js
CHANGED
|
@@ -415,7 +415,7 @@ var Item = /** @class */ (function () {
|
|
|
415
415
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
416
416
|
default:
|
|
417
417
|
if (utils.matchContentType(responseContentType, "application/json")) {
|
|
418
|
-
res.
|
|
418
|
+
res.string = JSON.parse(decodedRes);
|
|
419
419
|
}
|
|
420
420
|
else {
|
|
421
421
|
throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/job.js
CHANGED
|
@@ -415,7 +415,7 @@ var Job = /** @class */ (function () {
|
|
|
415
415
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
416
416
|
default:
|
|
417
417
|
if (utils.matchContentType(responseContentType, "application/json")) {
|
|
418
|
-
res.
|
|
418
|
+
res.string = JSON.parse(decodedRes);
|
|
419
419
|
}
|
|
420
420
|
else {
|
|
421
421
|
throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/lead.js
CHANGED
|
@@ -415,7 +415,7 @@ var Lead = /** @class */ (function () {
|
|
|
415
415
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
416
416
|
default:
|
|
417
417
|
if (utils.matchContentType(responseContentType, "application/json")) {
|
|
418
|
-
res.
|
|
418
|
+
res.string = JSON.parse(decodedRes);
|
|
419
419
|
}
|
|
420
420
|
else {
|
|
421
421
|
throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/link.js
CHANGED
|
@@ -415,7 +415,7 @@ var Link = /** @class */ (function () {
|
|
|
415
415
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
416
416
|
default:
|
|
417
417
|
if (utils.matchContentType(responseContentType, "application/json")) {
|
|
418
|
-
res.
|
|
418
|
+
res.string = JSON.parse(decodedRes);
|
|
419
419
|
}
|
|
420
420
|
else {
|
|
421
421
|
throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/list.js
CHANGED
|
@@ -415,7 +415,7 @@ var List = /** @class */ (function () {
|
|
|
415
415
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
416
416
|
default:
|
|
417
417
|
if (utils.matchContentType(responseContentType, "application/json")) {
|
|
418
|
-
res.
|
|
418
|
+
res.string = JSON.parse(decodedRes);
|
|
419
419
|
}
|
|
420
420
|
else {
|
|
421
421
|
throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/location.js
CHANGED
|
@@ -415,7 +415,7 @@ var Location = /** @class */ (function () {
|
|
|
415
415
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
416
416
|
default:
|
|
417
417
|
if (utils.matchContentType(responseContentType, "application/json")) {
|
|
418
|
-
res.
|
|
418
|
+
res.string = JSON.parse(decodedRes);
|
|
419
419
|
}
|
|
420
420
|
else {
|
|
421
421
|
throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/martech.js
CHANGED
|
@@ -683,7 +683,7 @@ var Martech = /** @class */ (function () {
|
|
|
683
683
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
684
684
|
default:
|
|
685
685
|
if (utils.matchContentType(responseContentType, "application/json")) {
|
|
686
|
-
res.
|
|
686
|
+
res.string = JSON.parse(decodedRes);
|
|
687
687
|
}
|
|
688
688
|
else {
|
|
689
689
|
throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
|
|
@@ -744,7 +744,7 @@ var Martech = /** @class */ (function () {
|
|
|
744
744
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
745
745
|
default:
|
|
746
746
|
if (utils.matchContentType(responseContentType, "application/json")) {
|
|
747
|
-
res.
|
|
747
|
+
res.string = JSON.parse(decodedRes);
|
|
748
748
|
}
|
|
749
749
|
else {
|
|
750
750
|
throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/member.js
CHANGED
|
@@ -415,7 +415,7 @@ var Member = /** @class */ (function () {
|
|
|
415
415
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
416
416
|
default:
|
|
417
417
|
if (utils.matchContentType(responseContentType, "application/json")) {
|
|
418
|
-
res.
|
|
418
|
+
res.string = JSON.parse(decodedRes);
|
|
419
419
|
}
|
|
420
420
|
else {
|
|
421
421
|
throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
|
|
@@ -61,7 +61,7 @@ var PatchUnifiedWebhookTriggerResponse = /** @class */ (function (_super) {
|
|
|
61
61
|
__decorate([
|
|
62
62
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
63
63
|
__metadata("design:type", String)
|
|
64
|
-
], PatchUnifiedWebhookTriggerResponse.prototype, "
|
|
64
|
+
], PatchUnifiedWebhookTriggerResponse.prototype, "string", void 0);
|
|
65
65
|
return PatchUnifiedWebhookTriggerResponse;
|
|
66
66
|
}(utils_1.SpeakeasyBase));
|
|
67
67
|
exports.PatchUnifiedWebhookTriggerResponse = PatchUnifiedWebhookTriggerResponse;
|
|
@@ -65,7 +65,7 @@ var RemoveAccountingAccountResponse = /** @class */ (function (_super) {
|
|
|
65
65
|
__decorate([
|
|
66
66
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
67
67
|
__metadata("design:type", String)
|
|
68
|
-
], RemoveAccountingAccountResponse.prototype, "
|
|
68
|
+
], RemoveAccountingAccountResponse.prototype, "string", void 0);
|
|
69
69
|
return RemoveAccountingAccountResponse;
|
|
70
70
|
}(utils_1.SpeakeasyBase));
|
|
71
71
|
exports.RemoveAccountingAccountResponse = RemoveAccountingAccountResponse;
|
|
@@ -65,7 +65,7 @@ var RemoveAccountingContactResponse = /** @class */ (function (_super) {
|
|
|
65
65
|
__decorate([
|
|
66
66
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
67
67
|
__metadata("design:type", String)
|
|
68
|
-
], RemoveAccountingContactResponse.prototype, "
|
|
68
|
+
], RemoveAccountingContactResponse.prototype, "string", void 0);
|
|
69
69
|
return RemoveAccountingContactResponse;
|
|
70
70
|
}(utils_1.SpeakeasyBase));
|
|
71
71
|
exports.RemoveAccountingContactResponse = RemoveAccountingContactResponse;
|
|
@@ -65,7 +65,7 @@ var RemoveAccountingInvoiceResponse = /** @class */ (function (_super) {
|
|
|
65
65
|
__decorate([
|
|
66
66
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
67
67
|
__metadata("design:type", String)
|
|
68
|
-
], RemoveAccountingInvoiceResponse.prototype, "
|
|
68
|
+
], RemoveAccountingInvoiceResponse.prototype, "string", void 0);
|
|
69
69
|
return RemoveAccountingInvoiceResponse;
|
|
70
70
|
}(utils_1.SpeakeasyBase));
|
|
71
71
|
exports.RemoveAccountingInvoiceResponse = RemoveAccountingInvoiceResponse;
|