@unified-api/typescript-sdk 1.0.3 → 1.0.5

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.
Files changed (165) hide show
  1. package/dist/sdk/account.js +1 -1
  2. package/dist/sdk/accounting.js +5 -5
  3. package/dist/sdk/activity.js +1 -1
  4. package/dist/sdk/application.js +1 -1
  5. package/dist/sdk/ats.js +7 -7
  6. package/dist/sdk/candidate.js +1 -1
  7. package/dist/sdk/collection.js +1 -1
  8. package/dist/sdk/commerce.js +4 -4
  9. package/dist/sdk/company.js +1 -1
  10. package/dist/sdk/connection.js +1 -1
  11. package/dist/sdk/contact.js +3 -3
  12. package/dist/sdk/crm.js +6 -6
  13. package/dist/sdk/customer.js +1 -1
  14. package/dist/sdk/deal.js +1 -1
  15. package/dist/sdk/document.js +1 -1
  16. package/dist/sdk/employee.js +1 -1
  17. package/dist/sdk/event.js +1 -1
  18. package/dist/sdk/file.js +1 -1
  19. package/dist/sdk/group.js +1 -1
  20. package/dist/sdk/hris.js +2 -2
  21. package/dist/sdk/interview.js +1 -1
  22. package/dist/sdk/inventory.js +1 -1
  23. package/dist/sdk/invoice.js +1 -1
  24. package/dist/sdk/item.js +1 -1
  25. package/dist/sdk/job.js +1 -1
  26. package/dist/sdk/lead.js +1 -1
  27. package/dist/sdk/link.js +1 -1
  28. package/dist/sdk/list.js +1 -1
  29. package/dist/sdk/location.js +1 -1
  30. package/dist/sdk/martech.js +2 -2
  31. package/dist/sdk/member.js +1 -1
  32. package/dist/sdk/models/operations/patchunifiedwebhooktrigger.d.ts +1 -1
  33. package/dist/sdk/models/operations/patchunifiedwebhooktrigger.js +1 -1
  34. package/dist/sdk/models/operations/removeaccountingaccount.d.ts +1 -1
  35. package/dist/sdk/models/operations/removeaccountingaccount.js +1 -1
  36. package/dist/sdk/models/operations/removeaccountingcontact.d.ts +1 -1
  37. package/dist/sdk/models/operations/removeaccountingcontact.js +1 -1
  38. package/dist/sdk/models/operations/removeaccountinginvoice.d.ts +1 -1
  39. package/dist/sdk/models/operations/removeaccountinginvoice.js +1 -1
  40. package/dist/sdk/models/operations/removeaccountingtaxrate.d.ts +1 -1
  41. package/dist/sdk/models/operations/removeaccountingtaxrate.js +1 -1
  42. package/dist/sdk/models/operations/removeaccountingtransaction.d.ts +1 -1
  43. package/dist/sdk/models/operations/removeaccountingtransaction.js +1 -1
  44. package/dist/sdk/models/operations/removeatsactivity.d.ts +1 -1
  45. package/dist/sdk/models/operations/removeatsactivity.js +1 -1
  46. package/dist/sdk/models/operations/removeatsapplication.d.ts +1 -1
  47. package/dist/sdk/models/operations/removeatsapplication.js +1 -1
  48. package/dist/sdk/models/operations/removeatscandidate.d.ts +1 -1
  49. package/dist/sdk/models/operations/removeatscandidate.js +1 -1
  50. package/dist/sdk/models/operations/removeatsdocument.d.ts +1 -1
  51. package/dist/sdk/models/operations/removeatsdocument.js +1 -1
  52. package/dist/sdk/models/operations/removeatsinterview.d.ts +1 -1
  53. package/dist/sdk/models/operations/removeatsinterview.js +1 -1
  54. package/dist/sdk/models/operations/removeatsjob.d.ts +1 -1
  55. package/dist/sdk/models/operations/removeatsjob.js +1 -1
  56. package/dist/sdk/models/operations/removeatsscorecard.d.ts +1 -1
  57. package/dist/sdk/models/operations/removeatsscorecard.js +1 -1
  58. package/dist/sdk/models/operations/removecommercecollection.d.ts +1 -1
  59. package/dist/sdk/models/operations/removecommercecollection.js +1 -1
  60. package/dist/sdk/models/operations/removecommerceinventory.d.ts +1 -1
  61. package/dist/sdk/models/operations/removecommerceinventory.js +1 -1
  62. package/dist/sdk/models/operations/removecommerceitem.d.ts +1 -1
  63. package/dist/sdk/models/operations/removecommerceitem.js +1 -1
  64. package/dist/sdk/models/operations/removecommercelocation.d.ts +1 -1
  65. package/dist/sdk/models/operations/removecommercelocation.js +1 -1
  66. package/dist/sdk/models/operations/removecrmcompany.d.ts +1 -1
  67. package/dist/sdk/models/operations/removecrmcompany.js +1 -1
  68. package/dist/sdk/models/operations/removecrmcontact.d.ts +1 -1
  69. package/dist/sdk/models/operations/removecrmcontact.js +1 -1
  70. package/dist/sdk/models/operations/removecrmdeal.d.ts +1 -1
  71. package/dist/sdk/models/operations/removecrmdeal.js +1 -1
  72. package/dist/sdk/models/operations/removecrmevent.d.ts +1 -1
  73. package/dist/sdk/models/operations/removecrmevent.js +1 -1
  74. package/dist/sdk/models/operations/removecrmlead.d.ts +1 -1
  75. package/dist/sdk/models/operations/removecrmlead.js +1 -1
  76. package/dist/sdk/models/operations/removecrmpipeline.d.ts +1 -1
  77. package/dist/sdk/models/operations/removecrmpipeline.js +1 -1
  78. package/dist/sdk/models/operations/removehrisemployee.d.ts +1 -1
  79. package/dist/sdk/models/operations/removehrisemployee.js +1 -1
  80. package/dist/sdk/models/operations/removehrisgroup.d.ts +1 -1
  81. package/dist/sdk/models/operations/removehrisgroup.js +1 -1
  82. package/dist/sdk/models/operations/removemartechlist.d.ts +1 -1
  83. package/dist/sdk/models/operations/removemartechlist.js +1 -1
  84. package/dist/sdk/models/operations/removemartechmember.d.ts +1 -1
  85. package/dist/sdk/models/operations/removemartechmember.js +1 -1
  86. package/dist/sdk/models/operations/removepaymentlink.d.ts +1 -1
  87. package/dist/sdk/models/operations/removepaymentlink.js +1 -1
  88. package/dist/sdk/models/operations/removepaymentpayment.d.ts +1 -1
  89. package/dist/sdk/models/operations/removepaymentpayment.js +1 -1
  90. package/dist/sdk/models/operations/removestoragefile.d.ts +1 -1
  91. package/dist/sdk/models/operations/removestoragefile.js +1 -1
  92. package/dist/sdk/models/operations/removeticketingcustomer.d.ts +1 -1
  93. package/dist/sdk/models/operations/removeticketingcustomer.js +1 -1
  94. package/dist/sdk/models/operations/removeticketingnote.d.ts +1 -1
  95. package/dist/sdk/models/operations/removeticketingnote.js +1 -1
  96. package/dist/sdk/models/operations/removeticketingticket.d.ts +1 -1
  97. package/dist/sdk/models/operations/removeticketingticket.js +1 -1
  98. package/dist/sdk/models/operations/removeuccontact.d.ts +1 -1
  99. package/dist/sdk/models/operations/removeuccontact.js +1 -1
  100. package/dist/sdk/models/operations/removeunifiedconnection.d.ts +1 -1
  101. package/dist/sdk/models/operations/removeunifiedconnection.js +1 -1
  102. package/dist/sdk/models/operations/removeunifiedwebhook.d.ts +1 -1
  103. package/dist/sdk/models/operations/removeunifiedwebhook.js +1 -1
  104. package/dist/sdk/models/operations/updateunifiedwebhooktrigger.d.ts +1 -1
  105. package/dist/sdk/models/operations/updateunifiedwebhooktrigger.js +1 -1
  106. package/dist/sdk/models/shared/accountingcontact.d.ts +2 -0
  107. package/dist/sdk/models/shared/accountingcontact.js +7 -0
  108. package/dist/sdk/models/shared/accountingcontactpaymentmethod.d.ts +14 -0
  109. package/dist/sdk/models/shared/accountingcontactpaymentmethod.js +60 -0
  110. package/dist/sdk/models/shared/index.d.ts +1 -0
  111. package/dist/sdk/models/shared/index.js +1 -0
  112. package/dist/sdk/note.js +1 -1
  113. package/dist/sdk/payment.js +2 -2
  114. package/dist/sdk/pipeline.js +1 -1
  115. package/dist/sdk/scorecard.js +1 -1
  116. package/dist/sdk/sdk.js +7 -4
  117. package/dist/sdk/storage.js +1 -1
  118. package/dist/sdk/taxrate.js +1 -1
  119. package/dist/sdk/ticket.js +1 -1
  120. package/dist/sdk/ticketing.js +3 -3
  121. package/dist/sdk/transaction.js +1 -1
  122. package/dist/sdk/uc.js +1 -1
  123. package/dist/sdk/unified.js +4 -4
  124. package/dist/sdk/webhook.js +3 -3
  125. package/docs/sdk/models/operations/patchunifiedwebhooktriggerresponse.md +1 -1
  126. package/docs/sdk/models/operations/removeaccountingaccountresponse.md +1 -1
  127. package/docs/sdk/models/operations/removeaccountingcontactresponse.md +1 -1
  128. package/docs/sdk/models/operations/removeaccountinginvoiceresponse.md +1 -1
  129. package/docs/sdk/models/operations/removeaccountingtaxrateresponse.md +1 -1
  130. package/docs/sdk/models/operations/removeaccountingtransactionresponse.md +1 -1
  131. package/docs/sdk/models/operations/removeatsactivityresponse.md +1 -1
  132. package/docs/sdk/models/operations/removeatsapplicationresponse.md +1 -1
  133. package/docs/sdk/models/operations/removeatscandidateresponse.md +1 -1
  134. package/docs/sdk/models/operations/removeatsdocumentresponse.md +1 -1
  135. package/docs/sdk/models/operations/removeatsinterviewresponse.md +1 -1
  136. package/docs/sdk/models/operations/removeatsjobresponse.md +1 -1
  137. package/docs/sdk/models/operations/removeatsscorecardresponse.md +1 -1
  138. package/docs/sdk/models/operations/removecommercecollectionresponse.md +1 -1
  139. package/docs/sdk/models/operations/removecommerceinventoryresponse.md +1 -1
  140. package/docs/sdk/models/operations/removecommerceitemresponse.md +1 -1
  141. package/docs/sdk/models/operations/removecommercelocationresponse.md +1 -1
  142. package/docs/sdk/models/operations/removecrmcompanyresponse.md +1 -1
  143. package/docs/sdk/models/operations/removecrmcontactresponse.md +1 -1
  144. package/docs/sdk/models/operations/removecrmdealresponse.md +1 -1
  145. package/docs/sdk/models/operations/removecrmeventresponse.md +1 -1
  146. package/docs/sdk/models/operations/removecrmleadresponse.md +1 -1
  147. package/docs/sdk/models/operations/removecrmpipelineresponse.md +1 -1
  148. package/docs/sdk/models/operations/removehrisemployeeresponse.md +1 -1
  149. package/docs/sdk/models/operations/removehrisgroupresponse.md +1 -1
  150. package/docs/sdk/models/operations/removemartechlistresponse.md +1 -1
  151. package/docs/sdk/models/operations/removemartechmemberresponse.md +1 -1
  152. package/docs/sdk/models/operations/removepaymentlinkresponse.md +1 -1
  153. package/docs/sdk/models/operations/removepaymentpaymentresponse.md +1 -1
  154. package/docs/sdk/models/operations/removestoragefileresponse.md +1 -1
  155. package/docs/sdk/models/operations/removeticketingcustomerresponse.md +1 -1
  156. package/docs/sdk/models/operations/removeticketingnoteresponse.md +1 -1
  157. package/docs/sdk/models/operations/removeticketingticketresponse.md +1 -1
  158. package/docs/sdk/models/operations/removeuccontactresponse.md +1 -1
  159. package/docs/sdk/models/operations/removeunifiedconnectionresponse.md +1 -1
  160. package/docs/sdk/models/operations/removeunifiedwebhookresponse.md +1 -1
  161. package/docs/sdk/models/operations/updateunifiedwebhooktriggerresponse.md +1 -1
  162. package/docs/sdk/models/shared/accountingcontact.md +1 -0
  163. package/docs/sdk/models/shared/accountingcontactpaymentmethod.md +9 -0
  164. package/docs/sdk/models/shared/accountingcontactpaymentmethodtype.md +14 -0
  165. package/package.json +1 -1
@@ -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.res = decodedRes;
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);
@@ -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.res = decodedRes;
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.res = decodedRes;
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.res = decodedRes;
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.res = decodedRes;
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.res = decodedRes;
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);
@@ -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.res = decodedRes;
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);
@@ -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.res = decodedRes;
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.res = decodedRes;
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.res = decodedRes;
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.res = decodedRes;
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.res = decodedRes;
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.res = decodedRes;
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.res = decodedRes;
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.res = decodedRes;
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);
@@ -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.res = decodedRes;
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);
@@ -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.res = decodedRes;
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);
@@ -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.res = decodedRes;
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.res = decodedRes;
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.res = decodedRes;
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.res = decodedRes;
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);
@@ -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.res = decodedRes;
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);
@@ -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.res = decodedRes;
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);
@@ -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.res = decodedRes;
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.res = decodedRes;
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.res = decodedRes;
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.res = decodedRes;
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.res = decodedRes;
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.res = decodedRes;
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.res = decodedRes;
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.res = decodedRes;
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.res = decodedRes;
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);
@@ -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.res = decodedRes;
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.res = decodedRes;
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);
@@ -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.res = decodedRes;
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);
@@ -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.res = decodedRes;
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.res = decodedRes;
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.res = decodedRes;
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.res = decodedRes;
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.res = decodedRes;
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.res = decodedRes;
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);
@@ -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.res = decodedRes;
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);
@@ -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.res = decodedRes;
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);
@@ -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.res = decodedRes;
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.res = decodedRes;
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.res = decodedRes;
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.res = decodedRes;
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.res = decodedRes;
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.res = decodedRes;
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);
@@ -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.res = decodedRes;
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);
@@ -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.res = decodedRes;
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.res = decodedRes;
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);
@@ -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.res = decodedRes;
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);
@@ -22,5 +22,5 @@ export declare class PatchUnifiedWebhookTriggerResponse extends SpeakeasyBase {
22
22
  /**
23
23
  * Successful
24
24
  */
25
- res?: string;
25
+ string?: string;
26
26
  }
@@ -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, "res", void 0);
64
+ ], PatchUnifiedWebhookTriggerResponse.prototype, "string", void 0);
65
65
  return PatchUnifiedWebhookTriggerResponse;
66
66
  }(utils_1.SpeakeasyBase));
67
67
  exports.PatchUnifiedWebhookTriggerResponse = PatchUnifiedWebhookTriggerResponse;
@@ -26,5 +26,5 @@ export declare class RemoveAccountingAccountResponse extends SpeakeasyBase {
26
26
  /**
27
27
  * Successful
28
28
  */
29
- res?: string;
29
+ string?: string;
30
30
  }
@@ -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, "res", void 0);
68
+ ], RemoveAccountingAccountResponse.prototype, "string", void 0);
69
69
  return RemoveAccountingAccountResponse;
70
70
  }(utils_1.SpeakeasyBase));
71
71
  exports.RemoveAccountingAccountResponse = RemoveAccountingAccountResponse;
@@ -26,5 +26,5 @@ export declare class RemoveAccountingContactResponse extends SpeakeasyBase {
26
26
  /**
27
27
  * Successful
28
28
  */
29
- res?: string;
29
+ string?: string;
30
30
  }
@@ -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, "res", void 0);
68
+ ], RemoveAccountingContactResponse.prototype, "string", void 0);
69
69
  return RemoveAccountingContactResponse;
70
70
  }(utils_1.SpeakeasyBase));
71
71
  exports.RemoveAccountingContactResponse = RemoveAccountingContactResponse;
@@ -26,5 +26,5 @@ export declare class RemoveAccountingInvoiceResponse extends SpeakeasyBase {
26
26
  /**
27
27
  * Successful
28
28
  */
29
- res?: string;
29
+ string?: string;
30
30
  }
@@ -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, "res", void 0);
68
+ ], RemoveAccountingInvoiceResponse.prototype, "string", void 0);
69
69
  return RemoveAccountingInvoiceResponse;
70
70
  }(utils_1.SpeakeasyBase));
71
71
  exports.RemoveAccountingInvoiceResponse = RemoveAccountingInvoiceResponse;
@@ -26,5 +26,5 @@ export declare class RemoveAccountingTaxrateResponse extends SpeakeasyBase {
26
26
  /**
27
27
  * Successful
28
28
  */
29
- res?: string;
29
+ string?: string;
30
30
  }