@unified-api/typescript-sdk 1.0.8 → 1.0.10
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 +2 -0
- package/dist/sdk/accounting.js +10 -0
- package/dist/sdk/activity.js +2 -0
- package/dist/sdk/application.js +2 -0
- package/dist/sdk/ats.js +14 -0
- package/dist/sdk/candidate.js +2 -0
- package/dist/sdk/collection.js +2 -0
- package/dist/sdk/commerce.js +8 -0
- package/dist/sdk/company.js +2 -0
- package/dist/sdk/connection.js +2 -0
- package/dist/sdk/contact.js +6 -0
- package/dist/sdk/crm.js +12 -0
- package/dist/sdk/customer.js +2 -0
- package/dist/sdk/deal.js +2 -0
- package/dist/sdk/document.js +2 -0
- package/dist/sdk/employee.js +2 -0
- package/dist/sdk/event.js +2 -0
- package/dist/sdk/file.js +2 -0
- package/dist/sdk/group.js +2 -0
- package/dist/sdk/hris.js +4 -0
- package/dist/sdk/interview.js +2 -0
- package/dist/sdk/inventory.js +2 -0
- package/dist/sdk/invoice.js +2 -0
- package/dist/sdk/item.js +2 -0
- package/dist/sdk/job.js +2 -0
- package/dist/sdk/lead.js +2 -0
- package/dist/sdk/link.js +2 -0
- package/dist/sdk/list.js +2 -0
- package/dist/sdk/location.js +2 -0
- package/dist/sdk/martech.js +4 -0
- package/dist/sdk/member.js +2 -0
- package/dist/sdk/models/operations/listenrichpeople.d.ts +4 -0
- package/dist/sdk/models/operations/listenrichpeople.js +4 -0
- package/dist/sdk/models/shared/index.d.ts +1 -1
- package/dist/sdk/models/shared/index.js +1 -1
- package/dist/sdk/models/shared/paymentlink.d.ts +5 -5
- package/dist/sdk/models/shared/paymentlink.js +3 -3
- package/dist/sdk/models/shared/{paymenntlinklineitem.d.ts → paymentlinklineitem.d.ts} +1 -1
- package/dist/sdk/models/shared/{paymenntlinklineitem.js → paymentlinklineitem.js} +23 -23
- package/dist/sdk/note.js +2 -0
- package/dist/sdk/payment.js +4 -0
- package/dist/sdk/pipeline.js +2 -0
- package/dist/sdk/scorecard.js +2 -0
- package/dist/sdk/sdk.js +3 -3
- package/dist/sdk/storage.js +2 -0
- package/dist/sdk/taxrate.js +2 -0
- package/dist/sdk/ticket.js +2 -0
- package/dist/sdk/ticketing.js +6 -0
- package/dist/sdk/transaction.js +2 -0
- package/dist/sdk/uc.js +2 -0
- package/dist/sdk/unified.js +8 -0
- package/dist/sdk/webhook.js +6 -0
- package/docs/sdk/models/operations/listenrichpeoplerequest.md +8 -7
- package/docs/sdk/models/shared/paymentlink.md +4 -4
- package/docs/sdk/models/shared/{paymenntlinklineitem.md → paymentlinklineitem.md} +1 -1
- package/package.json +1 -1
package/dist/sdk/account.js
CHANGED
|
@@ -410,6 +410,8 @@ var Account = /** @class */ (function () {
|
|
|
410
410
|
});
|
|
411
411
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
412
412
|
switch (true) {
|
|
413
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
414
|
+
break;
|
|
413
415
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
414
416
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
415
417
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/accounting.js
CHANGED
|
@@ -1608,6 +1608,8 @@ var Accounting = /** @class */ (function () {
|
|
|
1608
1608
|
});
|
|
1609
1609
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
1610
1610
|
switch (true) {
|
|
1611
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
1612
|
+
break;
|
|
1611
1613
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
1612
1614
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
1613
1615
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
@@ -1669,6 +1671,8 @@ var Accounting = /** @class */ (function () {
|
|
|
1669
1671
|
});
|
|
1670
1672
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
1671
1673
|
switch (true) {
|
|
1674
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
1675
|
+
break;
|
|
1672
1676
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
1673
1677
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
1674
1678
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
@@ -1730,6 +1734,8 @@ var Accounting = /** @class */ (function () {
|
|
|
1730
1734
|
});
|
|
1731
1735
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
1732
1736
|
switch (true) {
|
|
1737
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
1738
|
+
break;
|
|
1733
1739
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
1734
1740
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
1735
1741
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
@@ -1791,6 +1797,8 @@ var Accounting = /** @class */ (function () {
|
|
|
1791
1797
|
});
|
|
1792
1798
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
1793
1799
|
switch (true) {
|
|
1800
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
1801
|
+
break;
|
|
1794
1802
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
1795
1803
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
1796
1804
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
@@ -1852,6 +1860,8 @@ var Accounting = /** @class */ (function () {
|
|
|
1852
1860
|
});
|
|
1853
1861
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
1854
1862
|
switch (true) {
|
|
1863
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
1864
|
+
break;
|
|
1855
1865
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
1856
1866
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
1857
1867
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/activity.js
CHANGED
|
@@ -410,6 +410,8 @@ var Activity = /** @class */ (function () {
|
|
|
410
410
|
});
|
|
411
411
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
412
412
|
switch (true) {
|
|
413
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
414
|
+
break;
|
|
413
415
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
414
416
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
415
417
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/application.js
CHANGED
|
@@ -410,6 +410,8 @@ var Application = /** @class */ (function () {
|
|
|
410
410
|
});
|
|
411
411
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
412
412
|
switch (true) {
|
|
413
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
414
|
+
break;
|
|
413
415
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
414
416
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
415
417
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/ats.js
CHANGED
|
@@ -2208,6 +2208,8 @@ var Ats = /** @class */ (function () {
|
|
|
2208
2208
|
});
|
|
2209
2209
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
2210
2210
|
switch (true) {
|
|
2211
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
2212
|
+
break;
|
|
2211
2213
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
2212
2214
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
2213
2215
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
@@ -2269,6 +2271,8 @@ var Ats = /** @class */ (function () {
|
|
|
2269
2271
|
});
|
|
2270
2272
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
2271
2273
|
switch (true) {
|
|
2274
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
2275
|
+
break;
|
|
2272
2276
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
2273
2277
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
2274
2278
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
@@ -2330,6 +2334,8 @@ var Ats = /** @class */ (function () {
|
|
|
2330
2334
|
});
|
|
2331
2335
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
2332
2336
|
switch (true) {
|
|
2337
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
2338
|
+
break;
|
|
2333
2339
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
2334
2340
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
2335
2341
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
@@ -2391,6 +2397,8 @@ var Ats = /** @class */ (function () {
|
|
|
2391
2397
|
});
|
|
2392
2398
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
2393
2399
|
switch (true) {
|
|
2400
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
2401
|
+
break;
|
|
2394
2402
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
2395
2403
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
2396
2404
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
@@ -2452,6 +2460,8 @@ var Ats = /** @class */ (function () {
|
|
|
2452
2460
|
});
|
|
2453
2461
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
2454
2462
|
switch (true) {
|
|
2463
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
2464
|
+
break;
|
|
2455
2465
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
2456
2466
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
2457
2467
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
@@ -2513,6 +2523,8 @@ var Ats = /** @class */ (function () {
|
|
|
2513
2523
|
});
|
|
2514
2524
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
2515
2525
|
switch (true) {
|
|
2526
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
2527
|
+
break;
|
|
2516
2528
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
2517
2529
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
2518
2530
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
@@ -2574,6 +2586,8 @@ var Ats = /** @class */ (function () {
|
|
|
2574
2586
|
});
|
|
2575
2587
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
2576
2588
|
switch (true) {
|
|
2589
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
2590
|
+
break;
|
|
2577
2591
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
2578
2592
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
2579
2593
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/candidate.js
CHANGED
|
@@ -410,6 +410,8 @@ var Candidate = /** @class */ (function () {
|
|
|
410
410
|
});
|
|
411
411
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
412
412
|
switch (true) {
|
|
413
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
414
|
+
break;
|
|
413
415
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
414
416
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
415
417
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/collection.js
CHANGED
|
@@ -410,6 +410,8 @@ var Collection = /** @class */ (function () {
|
|
|
410
410
|
});
|
|
411
411
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
412
412
|
switch (true) {
|
|
413
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
414
|
+
break;
|
|
413
415
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
414
416
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
415
417
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/commerce.js
CHANGED
|
@@ -1214,6 +1214,8 @@ var Commerce = /** @class */ (function () {
|
|
|
1214
1214
|
});
|
|
1215
1215
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
1216
1216
|
switch (true) {
|
|
1217
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
1218
|
+
break;
|
|
1217
1219
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
1218
1220
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
1219
1221
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
@@ -1275,6 +1277,8 @@ var Commerce = /** @class */ (function () {
|
|
|
1275
1277
|
});
|
|
1276
1278
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
1277
1279
|
switch (true) {
|
|
1280
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
1281
|
+
break;
|
|
1278
1282
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
1279
1283
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
1280
1284
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
@@ -1336,6 +1340,8 @@ var Commerce = /** @class */ (function () {
|
|
|
1336
1340
|
});
|
|
1337
1341
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
1338
1342
|
switch (true) {
|
|
1343
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
1344
|
+
break;
|
|
1339
1345
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
1340
1346
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
1341
1347
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
@@ -1397,6 +1403,8 @@ var Commerce = /** @class */ (function () {
|
|
|
1397
1403
|
});
|
|
1398
1404
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
1399
1405
|
switch (true) {
|
|
1406
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
1407
|
+
break;
|
|
1400
1408
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
1401
1409
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
1402
1410
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/company.js
CHANGED
|
@@ -598,6 +598,8 @@ var Company = /** @class */ (function () {
|
|
|
598
598
|
});
|
|
599
599
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
600
600
|
switch (true) {
|
|
601
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
602
|
+
break;
|
|
601
603
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
602
604
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
603
605
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/connection.js
CHANGED
|
@@ -409,6 +409,8 @@ var Connection = /** @class */ (function () {
|
|
|
409
409
|
});
|
|
410
410
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
411
411
|
switch (true) {
|
|
412
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
413
|
+
break;
|
|
412
414
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
413
415
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
414
416
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/contact.js
CHANGED
|
@@ -946,6 +946,8 @@ var Contact = /** @class */ (function () {
|
|
|
946
946
|
});
|
|
947
947
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
948
948
|
switch (true) {
|
|
949
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
950
|
+
break;
|
|
949
951
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
950
952
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
951
953
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
@@ -1007,6 +1009,8 @@ var Contact = /** @class */ (function () {
|
|
|
1007
1009
|
});
|
|
1008
1010
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
1009
1011
|
switch (true) {
|
|
1012
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
1013
|
+
break;
|
|
1010
1014
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
1011
1015
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
1012
1016
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
@@ -1068,6 +1072,8 @@ var Contact = /** @class */ (function () {
|
|
|
1068
1072
|
});
|
|
1069
1073
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
1070
1074
|
switch (true) {
|
|
1075
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
1076
|
+
break;
|
|
1071
1077
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
1072
1078
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
1073
1079
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/crm.js
CHANGED
|
@@ -1750,6 +1750,8 @@ var Crm = /** @class */ (function () {
|
|
|
1750
1750
|
});
|
|
1751
1751
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
1752
1752
|
switch (true) {
|
|
1753
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
1754
|
+
break;
|
|
1753
1755
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
1754
1756
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
1755
1757
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
@@ -1811,6 +1813,8 @@ var Crm = /** @class */ (function () {
|
|
|
1811
1813
|
});
|
|
1812
1814
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
1813
1815
|
switch (true) {
|
|
1816
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
1817
|
+
break;
|
|
1814
1818
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
1815
1819
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
1816
1820
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
@@ -1872,6 +1876,8 @@ var Crm = /** @class */ (function () {
|
|
|
1872
1876
|
});
|
|
1873
1877
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
1874
1878
|
switch (true) {
|
|
1879
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
1880
|
+
break;
|
|
1875
1881
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
1876
1882
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
1877
1883
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
@@ -1933,6 +1939,8 @@ var Crm = /** @class */ (function () {
|
|
|
1933
1939
|
});
|
|
1934
1940
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
1935
1941
|
switch (true) {
|
|
1942
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
1943
|
+
break;
|
|
1936
1944
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
1937
1945
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
1938
1946
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
@@ -1994,6 +2002,8 @@ var Crm = /** @class */ (function () {
|
|
|
1994
2002
|
});
|
|
1995
2003
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
1996
2004
|
switch (true) {
|
|
2005
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
2006
|
+
break;
|
|
1997
2007
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
1998
2008
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
1999
2009
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
@@ -2055,6 +2065,8 @@ var Crm = /** @class */ (function () {
|
|
|
2055
2065
|
});
|
|
2056
2066
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
2057
2067
|
switch (true) {
|
|
2068
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
2069
|
+
break;
|
|
2058
2070
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
2059
2071
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
2060
2072
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/customer.js
CHANGED
|
@@ -410,6 +410,8 @@ var Customer = /** @class */ (function () {
|
|
|
410
410
|
});
|
|
411
411
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
412
412
|
switch (true) {
|
|
413
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
414
|
+
break;
|
|
413
415
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
414
416
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
415
417
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/deal.js
CHANGED
|
@@ -410,6 +410,8 @@ var Deal = /** @class */ (function () {
|
|
|
410
410
|
});
|
|
411
411
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
412
412
|
switch (true) {
|
|
413
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
414
|
+
break;
|
|
413
415
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
414
416
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
415
417
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/document.js
CHANGED
|
@@ -410,6 +410,8 @@ var Document = /** @class */ (function () {
|
|
|
410
410
|
});
|
|
411
411
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
412
412
|
switch (true) {
|
|
413
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
414
|
+
break;
|
|
413
415
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
414
416
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
415
417
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/employee.js
CHANGED
|
@@ -410,6 +410,8 @@ var Employee = /** @class */ (function () {
|
|
|
410
410
|
});
|
|
411
411
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
412
412
|
switch (true) {
|
|
413
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
414
|
+
break;
|
|
413
415
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
414
416
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
415
417
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/event.js
CHANGED
|
@@ -410,6 +410,8 @@ var Event = /** @class */ (function () {
|
|
|
410
410
|
});
|
|
411
411
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
412
412
|
switch (true) {
|
|
413
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
414
|
+
break;
|
|
413
415
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
414
416
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
415
417
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/file.js
CHANGED
|
@@ -410,6 +410,8 @@ var File = /** @class */ (function () {
|
|
|
410
410
|
});
|
|
411
411
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
412
412
|
switch (true) {
|
|
413
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
414
|
+
break;
|
|
413
415
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
414
416
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
415
417
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/group.js
CHANGED
|
@@ -410,6 +410,8 @@ var Group = /** @class */ (function () {
|
|
|
410
410
|
});
|
|
411
411
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
412
412
|
switch (true) {
|
|
413
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
414
|
+
break;
|
|
413
415
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
414
416
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
415
417
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/hris.js
CHANGED
|
@@ -678,6 +678,8 @@ var Hris = /** @class */ (function () {
|
|
|
678
678
|
});
|
|
679
679
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
680
680
|
switch (true) {
|
|
681
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
682
|
+
break;
|
|
681
683
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
682
684
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
683
685
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
@@ -739,6 +741,8 @@ var Hris = /** @class */ (function () {
|
|
|
739
741
|
});
|
|
740
742
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
741
743
|
switch (true) {
|
|
744
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
745
|
+
break;
|
|
742
746
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
743
747
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
744
748
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/interview.js
CHANGED
|
@@ -410,6 +410,8 @@ var Interview = /** @class */ (function () {
|
|
|
410
410
|
});
|
|
411
411
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
412
412
|
switch (true) {
|
|
413
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
414
|
+
break;
|
|
413
415
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
414
416
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
415
417
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/inventory.js
CHANGED
|
@@ -410,6 +410,8 @@ var Inventory = /** @class */ (function () {
|
|
|
410
410
|
});
|
|
411
411
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
412
412
|
switch (true) {
|
|
413
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
414
|
+
break;
|
|
413
415
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
414
416
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
415
417
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/invoice.js
CHANGED
|
@@ -410,6 +410,8 @@ var Invoice = /** @class */ (function () {
|
|
|
410
410
|
});
|
|
411
411
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
412
412
|
switch (true) {
|
|
413
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
414
|
+
break;
|
|
413
415
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
414
416
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
415
417
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/item.js
CHANGED
|
@@ -410,6 +410,8 @@ var Item = /** @class */ (function () {
|
|
|
410
410
|
});
|
|
411
411
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
412
412
|
switch (true) {
|
|
413
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
414
|
+
break;
|
|
413
415
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
414
416
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
415
417
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/job.js
CHANGED
|
@@ -410,6 +410,8 @@ var Job = /** @class */ (function () {
|
|
|
410
410
|
});
|
|
411
411
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
412
412
|
switch (true) {
|
|
413
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
414
|
+
break;
|
|
413
415
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
414
416
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
415
417
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/lead.js
CHANGED
|
@@ -410,6 +410,8 @@ var Lead = /** @class */ (function () {
|
|
|
410
410
|
});
|
|
411
411
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
412
412
|
switch (true) {
|
|
413
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
414
|
+
break;
|
|
413
415
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
414
416
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
415
417
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/link.js
CHANGED
|
@@ -410,6 +410,8 @@ var Link = /** @class */ (function () {
|
|
|
410
410
|
});
|
|
411
411
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
412
412
|
switch (true) {
|
|
413
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
414
|
+
break;
|
|
413
415
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
414
416
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
415
417
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/list.js
CHANGED
|
@@ -410,6 +410,8 @@ var List = /** @class */ (function () {
|
|
|
410
410
|
});
|
|
411
411
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
412
412
|
switch (true) {
|
|
413
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
414
|
+
break;
|
|
413
415
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
414
416
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
415
417
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/location.js
CHANGED
|
@@ -410,6 +410,8 @@ var Location = /** @class */ (function () {
|
|
|
410
410
|
});
|
|
411
411
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
412
412
|
switch (true) {
|
|
413
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
414
|
+
break;
|
|
413
415
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
414
416
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
415
417
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/martech.js
CHANGED
|
@@ -678,6 +678,8 @@ var Martech = /** @class */ (function () {
|
|
|
678
678
|
});
|
|
679
679
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
680
680
|
switch (true) {
|
|
681
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
682
|
+
break;
|
|
681
683
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
682
684
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
683
685
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
@@ -739,6 +741,8 @@ var Martech = /** @class */ (function () {
|
|
|
739
741
|
});
|
|
740
742
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
741
743
|
switch (true) {
|
|
744
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
745
|
+
break;
|
|
742
746
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
743
747
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
744
748
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/member.js
CHANGED
|
@@ -410,6 +410,8 @@ var Member = /** @class */ (function () {
|
|
|
410
410
|
});
|
|
411
411
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
412
412
|
switch (true) {
|
|
413
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
414
|
+
break;
|
|
413
415
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
414
416
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
415
417
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
@@ -2,6 +2,10 @@ import { SpeakeasyBase } from "../../../internal/utils";
|
|
|
2
2
|
import * as shared from "../../../sdk/models/shared";
|
|
3
3
|
import { AxiosResponse } from "axios";
|
|
4
4
|
export declare class ListEnrichPeopleRequest extends SpeakeasyBase {
|
|
5
|
+
/**
|
|
6
|
+
* The name of the company the person is associated with. Not valid by itself.
|
|
7
|
+
*/
|
|
8
|
+
companyName?: string;
|
|
5
9
|
/**
|
|
6
10
|
* ID of the connection
|
|
7
11
|
*/
|
|
@@ -58,6 +58,10 @@ var ListEnrichPeopleRequest = /** @class */ (function (_super) {
|
|
|
58
58
|
function ListEnrichPeopleRequest() {
|
|
59
59
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
60
60
|
}
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=company_name" }),
|
|
63
|
+
__metadata("design:type", String)
|
|
64
|
+
], ListEnrichPeopleRequest.prototype, "companyName", void 0);
|
|
61
65
|
__decorate([
|
|
62
66
|
(0, utils_1.SpeakeasyMetadata)({ data: "pathParam, style=simple;explode=false;name=connection_id" }),
|
|
63
67
|
__metadata("design:type", String)
|
|
@@ -58,8 +58,8 @@ export * from "./issue";
|
|
|
58
58
|
export * from "./marketingemail";
|
|
59
59
|
export * from "./marketinglist";
|
|
60
60
|
export * from "./marketingmember";
|
|
61
|
-
export * from "./paymenntlinklineitem";
|
|
62
61
|
export * from "./paymentlink";
|
|
62
|
+
export * from "./paymentlinklineitem";
|
|
63
63
|
export * from "./paymentpayment";
|
|
64
64
|
export * from "./paymentpayout";
|
|
65
65
|
export * from "./paymentrefund";
|
|
@@ -77,8 +77,8 @@ __exportStar(require("./issue"), exports);
|
|
|
77
77
|
__exportStar(require("./marketingemail"), exports);
|
|
78
78
|
__exportStar(require("./marketinglist"), exports);
|
|
79
79
|
__exportStar(require("./marketingmember"), exports);
|
|
80
|
-
__exportStar(require("./paymenntlinklineitem"), exports);
|
|
81
80
|
__exportStar(require("./paymentlink"), exports);
|
|
81
|
+
__exportStar(require("./paymentlinklineitem"), exports);
|
|
82
82
|
__exportStar(require("./paymentpayment"), exports);
|
|
83
83
|
__exportStar(require("./paymentpayout"), exports);
|
|
84
84
|
__exportStar(require("./paymentrefund"), exports);
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { SpeakeasyBase } from "../../../internal/utils";
|
|
2
|
-
import {
|
|
2
|
+
import { PaymentLinkLineitem } from "./paymentlinklineitem";
|
|
3
3
|
export declare class PaymentLink extends SpeakeasyBase {
|
|
4
|
-
amount
|
|
4
|
+
amount: number;
|
|
5
5
|
contactId?: string;
|
|
6
6
|
createdAt?: Date;
|
|
7
7
|
currency?: string;
|
|
8
8
|
id?: string;
|
|
9
|
-
isActive
|
|
10
|
-
lineitems:
|
|
9
|
+
isActive?: boolean;
|
|
10
|
+
lineitems: PaymentLinkLineitem[];
|
|
11
11
|
paymentId?: string;
|
|
12
12
|
raw?: Record<string, any>;
|
|
13
13
|
updatedAt?: Date;
|
|
14
|
-
url
|
|
14
|
+
url?: string;
|
|
15
15
|
}
|
|
@@ -29,7 +29,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
29
29
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
30
|
exports.PaymentLink = void 0;
|
|
31
31
|
var utils_1 = require("../../../internal/utils");
|
|
32
|
-
var
|
|
32
|
+
var paymentlinklineitem_1 = require("./paymentlinklineitem");
|
|
33
33
|
var class_transformer_1 = require("class-transformer");
|
|
34
34
|
var PaymentLink = /** @class */ (function (_super) {
|
|
35
35
|
__extends(PaymentLink, _super);
|
|
@@ -71,9 +71,9 @@ var PaymentLink = /** @class */ (function (_super) {
|
|
|
71
71
|
__metadata("design:type", Boolean)
|
|
72
72
|
], PaymentLink.prototype, "isActive", void 0);
|
|
73
73
|
__decorate([
|
|
74
|
-
(0, utils_1.SpeakeasyMetadata)({ elemType:
|
|
74
|
+
(0, utils_1.SpeakeasyMetadata)({ elemType: paymentlinklineitem_1.PaymentLinkLineitem }),
|
|
75
75
|
(0, class_transformer_1.Expose)({ name: "lineitems" }),
|
|
76
|
-
(0, class_transformer_1.Type)(function () { return
|
|
76
|
+
(0, class_transformer_1.Type)(function () { return paymentlinklineitem_1.PaymentLinkLineitem; }),
|
|
77
77
|
__metadata("design:type", Array)
|
|
78
78
|
], PaymentLink.prototype, "lineitems", void 0);
|
|
79
79
|
__decorate([
|
|
@@ -27,19 +27,19 @@ 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.
|
|
30
|
+
exports.PaymentLinkLineitem = void 0;
|
|
31
31
|
var utils_1 = require("../../../internal/utils");
|
|
32
32
|
var class_transformer_1 = require("class-transformer");
|
|
33
|
-
var
|
|
34
|
-
__extends(
|
|
35
|
-
function
|
|
33
|
+
var PaymentLinkLineitem = /** @class */ (function (_super) {
|
|
34
|
+
__extends(PaymentLinkLineitem, _super);
|
|
35
|
+
function PaymentLinkLineitem() {
|
|
36
36
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
37
37
|
}
|
|
38
38
|
__decorate([
|
|
39
39
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
40
40
|
(0, class_transformer_1.Expose)({ name: "account_id" }),
|
|
41
41
|
__metadata("design:type", String)
|
|
42
|
-
],
|
|
42
|
+
], PaymentLinkLineitem.prototype, "accountId", void 0);
|
|
43
43
|
__decorate([
|
|
44
44
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
45
45
|
(0, class_transformer_1.Expose)({ name: "created_at" }),
|
|
@@ -48,47 +48,47 @@ var PaymenntLinkLineitem = /** @class */ (function (_super) {
|
|
|
48
48
|
return new Date(value);
|
|
49
49
|
}, { toClassOnly: true }),
|
|
50
50
|
__metadata("design:type", Date)
|
|
51
|
-
],
|
|
51
|
+
], PaymentLinkLineitem.prototype, "createdAt", void 0);
|
|
52
52
|
__decorate([
|
|
53
53
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
54
54
|
(0, class_transformer_1.Expose)({ name: "discount_amount" }),
|
|
55
55
|
__metadata("design:type", Number)
|
|
56
|
-
],
|
|
56
|
+
], PaymentLinkLineitem.prototype, "discountAmount", void 0);
|
|
57
57
|
__decorate([
|
|
58
58
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
59
59
|
(0, class_transformer_1.Expose)({ name: "id" }),
|
|
60
60
|
__metadata("design:type", String)
|
|
61
|
-
],
|
|
61
|
+
], PaymentLinkLineitem.prototype, "id", void 0);
|
|
62
62
|
__decorate([
|
|
63
63
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
64
64
|
(0, class_transformer_1.Expose)({ name: "item_description" }),
|
|
65
65
|
__metadata("design:type", String)
|
|
66
|
-
],
|
|
66
|
+
], PaymentLinkLineitem.prototype, "itemDescription", void 0);
|
|
67
67
|
__decorate([
|
|
68
68
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
69
69
|
(0, class_transformer_1.Expose)({ name: "item_id" }),
|
|
70
70
|
__metadata("design:type", String)
|
|
71
|
-
],
|
|
71
|
+
], PaymentLinkLineitem.prototype, "itemId", void 0);
|
|
72
72
|
__decorate([
|
|
73
73
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
74
74
|
(0, class_transformer_1.Expose)({ name: "item_name" }),
|
|
75
75
|
__metadata("design:type", String)
|
|
76
|
-
],
|
|
76
|
+
], PaymentLinkLineitem.prototype, "itemName", void 0);
|
|
77
77
|
__decorate([
|
|
78
78
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
79
79
|
(0, class_transformer_1.Expose)({ name: "item_sku" }),
|
|
80
80
|
__metadata("design:type", String)
|
|
81
|
-
],
|
|
81
|
+
], PaymentLinkLineitem.prototype, "itemSku", void 0);
|
|
82
82
|
__decorate([
|
|
83
83
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
84
84
|
(0, class_transformer_1.Expose)({ name: "notes" }),
|
|
85
85
|
__metadata("design:type", String)
|
|
86
|
-
],
|
|
86
|
+
], PaymentLinkLineitem.prototype, "notes", void 0);
|
|
87
87
|
__decorate([
|
|
88
88
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
89
89
|
(0, class_transformer_1.Expose)({ name: "refund_amount" }),
|
|
90
90
|
__metadata("design:type", Number)
|
|
91
|
-
],
|
|
91
|
+
], PaymentLinkLineitem.prototype, "refundAmount", void 0);
|
|
92
92
|
__decorate([
|
|
93
93
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
94
94
|
(0, class_transformer_1.Expose)({ name: "refunded_at" }),
|
|
@@ -97,32 +97,32 @@ var PaymenntLinkLineitem = /** @class */ (function (_super) {
|
|
|
97
97
|
return new Date(value);
|
|
98
98
|
}, { toClassOnly: true }),
|
|
99
99
|
__metadata("design:type", Date)
|
|
100
|
-
],
|
|
100
|
+
], PaymentLinkLineitem.prototype, "refundedAt", void 0);
|
|
101
101
|
__decorate([
|
|
102
102
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
103
103
|
(0, class_transformer_1.Expose)({ name: "tax_amount" }),
|
|
104
104
|
__metadata("design:type", Number)
|
|
105
|
-
],
|
|
105
|
+
], PaymentLinkLineitem.prototype, "taxAmount", void 0);
|
|
106
106
|
__decorate([
|
|
107
107
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
108
108
|
(0, class_transformer_1.Expose)({ name: "taxrate_id" }),
|
|
109
109
|
__metadata("design:type", String)
|
|
110
|
-
],
|
|
110
|
+
], PaymentLinkLineitem.prototype, "taxrateId", void 0);
|
|
111
111
|
__decorate([
|
|
112
112
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
113
113
|
(0, class_transformer_1.Expose)({ name: "total_amount" }),
|
|
114
114
|
__metadata("design:type", Number)
|
|
115
|
-
],
|
|
115
|
+
], PaymentLinkLineitem.prototype, "totalAmount", void 0);
|
|
116
116
|
__decorate([
|
|
117
117
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
118
118
|
(0, class_transformer_1.Expose)({ name: "unit_amount" }),
|
|
119
119
|
__metadata("design:type", Number)
|
|
120
|
-
],
|
|
120
|
+
], PaymentLinkLineitem.prototype, "unitAmount", void 0);
|
|
121
121
|
__decorate([
|
|
122
122
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
123
123
|
(0, class_transformer_1.Expose)({ name: "unit_quantity" }),
|
|
124
124
|
__metadata("design:type", Number)
|
|
125
|
-
],
|
|
125
|
+
], PaymentLinkLineitem.prototype, "unitQuantity", void 0);
|
|
126
126
|
__decorate([
|
|
127
127
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
128
128
|
(0, class_transformer_1.Expose)({ name: "updated_at" }),
|
|
@@ -131,7 +131,7 @@ var PaymenntLinkLineitem = /** @class */ (function (_super) {
|
|
|
131
131
|
return new Date(value);
|
|
132
132
|
}, { toClassOnly: true }),
|
|
133
133
|
__metadata("design:type", Date)
|
|
134
|
-
],
|
|
135
|
-
return
|
|
134
|
+
], PaymentLinkLineitem.prototype, "updatedAt", void 0);
|
|
135
|
+
return PaymentLinkLineitem;
|
|
136
136
|
}(utils_1.SpeakeasyBase));
|
|
137
|
-
exports.
|
|
137
|
+
exports.PaymentLinkLineitem = PaymentLinkLineitem;
|
package/dist/sdk/note.js
CHANGED
|
@@ -410,6 +410,8 @@ var Note = /** @class */ (function () {
|
|
|
410
410
|
});
|
|
411
411
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
412
412
|
switch (true) {
|
|
413
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
414
|
+
break;
|
|
413
415
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
414
416
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
415
417
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/payment.js
CHANGED
|
@@ -930,6 +930,8 @@ var Payment = /** @class */ (function () {
|
|
|
930
930
|
});
|
|
931
931
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
932
932
|
switch (true) {
|
|
933
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
934
|
+
break;
|
|
933
935
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
934
936
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
935
937
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
@@ -991,6 +993,8 @@ var Payment = /** @class */ (function () {
|
|
|
991
993
|
});
|
|
992
994
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
993
995
|
switch (true) {
|
|
996
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
997
|
+
break;
|
|
994
998
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
995
999
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
996
1000
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/pipeline.js
CHANGED
|
@@ -410,6 +410,8 @@ var Pipeline = /** @class */ (function () {
|
|
|
410
410
|
});
|
|
411
411
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
412
412
|
switch (true) {
|
|
413
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
414
|
+
break;
|
|
413
415
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
414
416
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
415
417
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/scorecard.js
CHANGED
|
@@ -410,6 +410,8 @@ var Scorecard = /** @class */ (function () {
|
|
|
410
410
|
});
|
|
411
411
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
412
412
|
switch (true) {
|
|
413
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
414
|
+
break;
|
|
413
415
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
414
416
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
415
417
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
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.10";
|
|
85
|
+
this.genVersion = "2.292.0";
|
|
86
|
+
this.userAgent = "speakeasy-sdk/typescript 1.0.10 2.292.0 1.0 @unified-api/typescript-sdk";
|
|
87
87
|
Object.assign(this, init);
|
|
88
88
|
}
|
|
89
89
|
return SDKConfiguration;
|
package/dist/sdk/storage.js
CHANGED
|
@@ -410,6 +410,8 @@ var Storage = /** @class */ (function () {
|
|
|
410
410
|
});
|
|
411
411
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
412
412
|
switch (true) {
|
|
413
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
414
|
+
break;
|
|
413
415
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
414
416
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
415
417
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/taxrate.js
CHANGED
|
@@ -410,6 +410,8 @@ var Taxrate = /** @class */ (function () {
|
|
|
410
410
|
});
|
|
411
411
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
412
412
|
switch (true) {
|
|
413
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
414
|
+
break;
|
|
413
415
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
414
416
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
415
417
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/ticket.js
CHANGED
|
@@ -410,6 +410,8 @@ var Ticket = /** @class */ (function () {
|
|
|
410
410
|
});
|
|
411
411
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
412
412
|
switch (true) {
|
|
413
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
414
|
+
break;
|
|
413
415
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
414
416
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
415
417
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/ticketing.js
CHANGED
|
@@ -946,6 +946,8 @@ var Ticketing = /** @class */ (function () {
|
|
|
946
946
|
});
|
|
947
947
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
948
948
|
switch (true) {
|
|
949
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
950
|
+
break;
|
|
949
951
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
950
952
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
951
953
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
@@ -1007,6 +1009,8 @@ var Ticketing = /** @class */ (function () {
|
|
|
1007
1009
|
});
|
|
1008
1010
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
1009
1011
|
switch (true) {
|
|
1012
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
1013
|
+
break;
|
|
1010
1014
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
1011
1015
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
1012
1016
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
@@ -1068,6 +1072,8 @@ var Ticketing = /** @class */ (function () {
|
|
|
1068
1072
|
});
|
|
1069
1073
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
1070
1074
|
switch (true) {
|
|
1075
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
1076
|
+
break;
|
|
1071
1077
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
1072
1078
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
1073
1079
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/transaction.js
CHANGED
|
@@ -410,6 +410,8 @@ var Transaction = /** @class */ (function () {
|
|
|
410
410
|
});
|
|
411
411
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
412
412
|
switch (true) {
|
|
413
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
414
|
+
break;
|
|
413
415
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
414
416
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
415
417
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/uc.js
CHANGED
|
@@ -474,6 +474,8 @@ var Uc = /** @class */ (function () {
|
|
|
474
474
|
});
|
|
475
475
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
476
476
|
switch (true) {
|
|
477
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
478
|
+
break;
|
|
477
479
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
478
480
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
479
481
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/unified.js
CHANGED
|
@@ -994,6 +994,8 @@ var Unified = /** @class */ (function () {
|
|
|
994
994
|
});
|
|
995
995
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
996
996
|
switch (true) {
|
|
997
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
998
|
+
break;
|
|
997
999
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
998
1000
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
999
1001
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
@@ -1055,6 +1057,8 @@ var Unified = /** @class */ (function () {
|
|
|
1055
1057
|
});
|
|
1056
1058
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
1057
1059
|
switch (true) {
|
|
1060
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
1061
|
+
break;
|
|
1058
1062
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
1059
1063
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
1060
1064
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
@@ -1116,6 +1120,8 @@ var Unified = /** @class */ (function () {
|
|
|
1116
1120
|
});
|
|
1117
1121
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
1118
1122
|
switch (true) {
|
|
1123
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
1124
|
+
break;
|
|
1119
1125
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
1120
1126
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
1121
1127
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
@@ -1248,6 +1254,8 @@ var Unified = /** @class */ (function () {
|
|
|
1248
1254
|
});
|
|
1249
1255
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
1250
1256
|
switch (true) {
|
|
1257
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
1258
|
+
break;
|
|
1251
1259
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
1252
1260
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
1253
1261
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/webhook.js
CHANGED
|
@@ -342,6 +342,8 @@ var Webhook = /** @class */ (function () {
|
|
|
342
342
|
});
|
|
343
343
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
344
344
|
switch (true) {
|
|
345
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
346
|
+
break;
|
|
345
347
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
346
348
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
347
349
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
@@ -403,6 +405,8 @@ var Webhook = /** @class */ (function () {
|
|
|
403
405
|
});
|
|
404
406
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
405
407
|
switch (true) {
|
|
408
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
409
|
+
break;
|
|
406
410
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
407
411
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
408
412
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
@@ -464,6 +468,8 @@ var Webhook = /** @class */ (function () {
|
|
|
464
468
|
});
|
|
465
469
|
decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
|
|
466
470
|
switch (true) {
|
|
471
|
+
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 200 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 300:
|
|
472
|
+
break;
|
|
467
473
|
case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
|
|
468
474
|
((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
|
|
469
475
|
throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
|
|
@@ -3,10 +3,11 @@
|
|
|
3
3
|
|
|
4
4
|
## Fields
|
|
5
5
|
|
|
6
|
-
| Field
|
|
7
|
-
|
|
|
8
|
-
| `
|
|
9
|
-
| `
|
|
10
|
-
| `
|
|
11
|
-
| `
|
|
12
|
-
| `
|
|
6
|
+
| Field | Type | Required | Description |
|
|
7
|
+
| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- |
|
|
8
|
+
| `companyName` | *string* | :heavy_minus_sign: | The name of the company the person is associated with. Not valid by itself. |
|
|
9
|
+
| `connectionId` | *string* | :heavy_check_mark: | ID of the connection |
|
|
10
|
+
| `email` | *string* | :heavy_minus_sign: | The email of the person to search |
|
|
11
|
+
| `linkedinUrl` | *string* | :heavy_minus_sign: | The LinkedIn URL of the person to search |
|
|
12
|
+
| `name` | *string* | :heavy_minus_sign: | The name of the person to search |
|
|
13
|
+
| `twitter` | *string* | :heavy_minus_sign: | The twitter handle of the person to search |
|
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
|
|
6
6
|
| Field | Type | Required | Description |
|
|
7
7
|
| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
|
|
8
|
-
| `amount` | *number* | :
|
|
8
|
+
| `amount` | *number* | :heavy_check_mark: | N/A |
|
|
9
9
|
| `contactId` | *string* | :heavy_minus_sign: | N/A |
|
|
10
10
|
| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | N/A |
|
|
11
11
|
| `currency` | *string* | :heavy_minus_sign: | N/A |
|
|
12
12
|
| `id` | *string* | :heavy_minus_sign: | N/A |
|
|
13
|
-
| `isActive` | *boolean* | :
|
|
14
|
-
| `lineitems` | [shared.
|
|
13
|
+
| `isActive` | *boolean* | :heavy_minus_sign: | N/A |
|
|
14
|
+
| `lineitems` | [shared.PaymentLinkLineitem](../../../sdk/models/shared/paymentlinklineitem.md)[] | :heavy_check_mark: | N/A |
|
|
15
15
|
| `paymentId` | *string* | :heavy_minus_sign: | N/A |
|
|
16
16
|
| `raw` | Record<string, *any*> | :heavy_minus_sign: | N/A |
|
|
17
17
|
| `updatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | N/A |
|
|
18
|
-
| `url` | *string* | :
|
|
18
|
+
| `url` | *string* | :heavy_minus_sign: | N/A |
|