@unified-api/typescript-sdk 2.54.0 → 2.58.0
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/README.md +24 -0
- package/docs/sdks/comment/README.md +512 -0
- package/docs/sdks/connection/README.md +4 -4
- package/docs/sdks/recording/README.md +500 -0
- package/docs/sdks/uc/README.md +1054 -42
- package/docs/sdks/unified/README.md +10 -10
- package/docs/sdks/webhook/README.md +6 -6
- package/funcs/accountingListAccountingReports.js +2 -0
- package/funcs/accountingListAccountingReports.js.map +1 -1
- package/funcs/commentCreateUcComment.d.ts +14 -0
- package/funcs/commentCreateUcComment.d.ts.map +1 -0
- package/funcs/commentCreateUcComment.js +109 -0
- package/funcs/commentCreateUcComment.js.map +1 -0
- package/funcs/commentGetUcComment.d.ts +14 -0
- package/funcs/commentGetUcComment.d.ts.map +1 -0
- package/funcs/commentGetUcComment.js +112 -0
- package/funcs/commentGetUcComment.js.map +1 -0
- package/funcs/commentListUcComments.d.ts +14 -0
- package/funcs/commentListUcComments.d.ts.map +1 -0
- package/funcs/commentListUcComments.js +117 -0
- package/funcs/commentListUcComments.js.map +1 -0
- package/funcs/commentPatchUcComment.d.ts +14 -0
- package/funcs/commentPatchUcComment.d.ts.map +1 -0
- package/funcs/commentPatchUcComment.js +113 -0
- package/funcs/commentPatchUcComment.js.map +1 -0
- package/funcs/commentRemoveUcComment.d.ts +13 -0
- package/funcs/commentRemoveUcComment.d.ts.map +1 -0
- package/funcs/commentRemoveUcComment.js +110 -0
- package/funcs/commentRemoveUcComment.js.map +1 -0
- package/funcs/commentUpdateUcComment.d.ts +14 -0
- package/funcs/commentUpdateUcComment.d.ts.map +1 -0
- package/funcs/commentUpdateUcComment.js +113 -0
- package/funcs/commentUpdateUcComment.js.map +1 -0
- package/funcs/passthroughCreatePassthroughJson.js +4 -0
- package/funcs/passthroughCreatePassthroughJson.js.map +1 -1
- package/funcs/passthroughCreatePassthroughRaw.js +4 -0
- package/funcs/passthroughCreatePassthroughRaw.js.map +1 -1
- package/funcs/passthroughListPassthroughs.js +4 -0
- package/funcs/passthroughListPassthroughs.js.map +1 -1
- package/funcs/passthroughPatchPassthroughJson.js +4 -0
- package/funcs/passthroughPatchPassthroughJson.js.map +1 -1
- package/funcs/passthroughPatchPassthroughRaw.js +4 -0
- package/funcs/passthroughPatchPassthroughRaw.js.map +1 -1
- package/funcs/passthroughRemovePassthrough.js +4 -0
- package/funcs/passthroughRemovePassthrough.js.map +1 -1
- package/funcs/passthroughUpdatePassthroughJson.js +4 -0
- package/funcs/passthroughUpdatePassthroughJson.js.map +1 -1
- package/funcs/passthroughUpdatePassthroughRaw.js +4 -0
- package/funcs/passthroughUpdatePassthroughRaw.js.map +1 -1
- package/funcs/recordingCreateUcRecording.d.ts +14 -0
- package/funcs/recordingCreateUcRecording.d.ts.map +1 -0
- package/funcs/recordingCreateUcRecording.js +109 -0
- package/funcs/recordingCreateUcRecording.js.map +1 -0
- package/funcs/recordingGetUcRecording.d.ts +14 -0
- package/funcs/recordingGetUcRecording.d.ts.map +1 -0
- package/funcs/recordingGetUcRecording.js +112 -0
- package/funcs/recordingGetUcRecording.js.map +1 -0
- package/funcs/recordingListUcRecordings.d.ts +14 -0
- package/funcs/recordingListUcRecordings.d.ts.map +1 -0
- package/funcs/recordingListUcRecordings.js +119 -0
- package/funcs/recordingListUcRecordings.js.map +1 -0
- package/funcs/recordingPatchUcRecording.d.ts +14 -0
- package/funcs/recordingPatchUcRecording.d.ts.map +1 -0
- package/funcs/recordingPatchUcRecording.js +113 -0
- package/funcs/recordingPatchUcRecording.js.map +1 -0
- package/funcs/recordingRemoveUcRecording.d.ts +13 -0
- package/funcs/recordingRemoveUcRecording.d.ts.map +1 -0
- package/funcs/recordingRemoveUcRecording.js +110 -0
- package/funcs/recordingRemoveUcRecording.js.map +1 -0
- package/funcs/recordingUpdateUcRecording.d.ts +14 -0
- package/funcs/recordingUpdateUcRecording.d.ts.map +1 -0
- package/funcs/recordingUpdateUcRecording.js +113 -0
- package/funcs/recordingUpdateUcRecording.js.map +1 -0
- package/funcs/reportListAccountingReports.js +2 -0
- package/funcs/reportListAccountingReports.js.map +1 -1
- package/funcs/ucCreateUcComment.d.ts +14 -0
- package/funcs/ucCreateUcComment.d.ts.map +1 -0
- package/funcs/ucCreateUcComment.js +109 -0
- package/funcs/ucCreateUcComment.js.map +1 -0
- package/funcs/ucCreateUcRecording.d.ts +14 -0
- package/funcs/ucCreateUcRecording.d.ts.map +1 -0
- package/funcs/ucCreateUcRecording.js +109 -0
- package/funcs/ucCreateUcRecording.js.map +1 -0
- package/funcs/ucGetUcComment.d.ts +14 -0
- package/funcs/ucGetUcComment.d.ts.map +1 -0
- package/funcs/ucGetUcComment.js +112 -0
- package/funcs/ucGetUcComment.js.map +1 -0
- package/funcs/ucGetUcRecording.d.ts +14 -0
- package/funcs/ucGetUcRecording.d.ts.map +1 -0
- package/funcs/ucGetUcRecording.js +112 -0
- package/funcs/ucGetUcRecording.js.map +1 -0
- package/funcs/ucListUcComments.d.ts +14 -0
- package/funcs/ucListUcComments.d.ts.map +1 -0
- package/funcs/ucListUcComments.js +117 -0
- package/funcs/ucListUcComments.js.map +1 -0
- package/funcs/ucListUcRecordings.d.ts +14 -0
- package/funcs/ucListUcRecordings.d.ts.map +1 -0
- package/funcs/ucListUcRecordings.js +119 -0
- package/funcs/ucListUcRecordings.js.map +1 -0
- package/funcs/ucPatchUcComment.d.ts +14 -0
- package/funcs/ucPatchUcComment.d.ts.map +1 -0
- package/funcs/ucPatchUcComment.js +113 -0
- package/funcs/ucPatchUcComment.js.map +1 -0
- package/funcs/ucPatchUcRecording.d.ts +14 -0
- package/funcs/ucPatchUcRecording.d.ts.map +1 -0
- package/funcs/ucPatchUcRecording.js +113 -0
- package/funcs/ucPatchUcRecording.js.map +1 -0
- package/funcs/ucRemoveUcComment.d.ts +13 -0
- package/funcs/ucRemoveUcComment.d.ts.map +1 -0
- package/funcs/ucRemoveUcComment.js +110 -0
- package/funcs/ucRemoveUcComment.js.map +1 -0
- package/funcs/ucRemoveUcRecording.d.ts +13 -0
- package/funcs/ucRemoveUcRecording.d.ts.map +1 -0
- package/funcs/ucRemoveUcRecording.js +110 -0
- package/funcs/ucRemoveUcRecording.js.map +1 -0
- package/funcs/ucUpdateUcComment.d.ts +14 -0
- package/funcs/ucUpdateUcComment.d.ts.map +1 -0
- package/funcs/ucUpdateUcComment.js +113 -0
- package/funcs/ucUpdateUcComment.js.map +1 -0
- package/funcs/ucUpdateUcRecording.d.ts +14 -0
- package/funcs/ucUpdateUcRecording.d.ts.map +1 -0
- package/funcs/ucUpdateUcRecording.js +113 -0
- package/funcs/ucUpdateUcRecording.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/package.json +1 -1
- package/sdk/comment.d.ts +24 -0
- package/sdk/comment.d.ts.map +1 -1
- package/sdk/comment.js +42 -0
- package/sdk/comment.js.map +1 -1
- package/sdk/models/operations/createpassthroughjson.d.ts +6 -0
- package/sdk/models/operations/createpassthroughjson.d.ts.map +1 -1
- package/sdk/models/operations/createpassthroughjson.js +2 -0
- package/sdk/models/operations/createpassthroughjson.js.map +1 -1
- package/sdk/models/operations/createpassthroughraw.d.ts +6 -0
- package/sdk/models/operations/createpassthroughraw.d.ts.map +1 -1
- package/sdk/models/operations/createpassthroughraw.js +2 -0
- package/sdk/models/operations/createpassthroughraw.js.map +1 -1
- package/sdk/models/operations/createuccomment.d.ts +40 -0
- package/sdk/models/operations/createuccomment.d.ts.map +1 -0
- package/sdk/models/operations/createuccomment.js +75 -0
- package/sdk/models/operations/createuccomment.js.map +1 -0
- package/sdk/models/operations/createucrecording.d.ts +40 -0
- package/sdk/models/operations/createucrecording.d.ts.map +1 -0
- package/sdk/models/operations/createucrecording.js +75 -0
- package/sdk/models/operations/createucrecording.js.map +1 -0
- package/sdk/models/operations/getuccomment.d.ts +42 -0
- package/sdk/models/operations/getuccomment.d.ts.map +1 -0
- package/sdk/models/operations/getuccomment.js +72 -0
- package/sdk/models/operations/getuccomment.js.map +1 -0
- package/sdk/models/operations/getucrecording.d.ts +42 -0
- package/sdk/models/operations/getucrecording.d.ts.map +1 -0
- package/sdk/models/operations/getucrecording.js +72 -0
- package/sdk/models/operations/getucrecording.js.map +1 -0
- package/sdk/models/operations/index.d.ts +12 -0
- package/sdk/models/operations/index.d.ts.map +1 -1
- package/sdk/models/operations/index.js +12 -0
- package/sdk/models/operations/index.js.map +1 -1
- package/sdk/models/operations/listaccountingreports.d.ts +4 -0
- package/sdk/models/operations/listaccountingreports.d.ts.map +1 -1
- package/sdk/models/operations/listaccountingreports.js +8 -0
- package/sdk/models/operations/listaccountingreports.js.map +1 -1
- package/sdk/models/operations/listpassthroughs.d.ts +6 -0
- package/sdk/models/operations/listpassthroughs.d.ts.map +1 -1
- package/sdk/models/operations/listpassthroughs.js +2 -0
- package/sdk/models/operations/listpassthroughs.js.map +1 -1
- package/sdk/models/operations/listuccomments.d.ts +59 -0
- package/sdk/models/operations/listuccomments.d.ts.map +1 -0
- package/sdk/models/operations/listuccomments.js +93 -0
- package/sdk/models/operations/listuccomments.js.map +1 -0
- package/sdk/models/operations/listucrecordings.d.ts +63 -0
- package/sdk/models/operations/listucrecordings.d.ts.map +1 -0
- package/sdk/models/operations/listucrecordings.js +101 -0
- package/sdk/models/operations/listucrecordings.js.map +1 -0
- package/sdk/models/operations/patchpassthroughjson.d.ts +6 -0
- package/sdk/models/operations/patchpassthroughjson.d.ts.map +1 -1
- package/sdk/models/operations/patchpassthroughjson.js +2 -0
- package/sdk/models/operations/patchpassthroughjson.js.map +1 -1
- package/sdk/models/operations/patchpassthroughraw.d.ts +6 -0
- package/sdk/models/operations/patchpassthroughraw.d.ts.map +1 -1
- package/sdk/models/operations/patchpassthroughraw.js +2 -0
- package/sdk/models/operations/patchpassthroughraw.js.map +1 -1
- package/sdk/models/operations/patchuccomment.d.ts +45 -0
- package/sdk/models/operations/patchuccomment.d.ts.map +1 -0
- package/sdk/models/operations/patchuccomment.js +77 -0
- package/sdk/models/operations/patchuccomment.js.map +1 -0
- package/sdk/models/operations/patchucrecording.d.ts +45 -0
- package/sdk/models/operations/patchucrecording.d.ts.map +1 -0
- package/sdk/models/operations/patchucrecording.js +77 -0
- package/sdk/models/operations/patchucrecording.js.map +1 -0
- package/sdk/models/operations/removepassthrough.d.ts +6 -0
- package/sdk/models/operations/removepassthrough.d.ts.map +1 -1
- package/sdk/models/operations/removepassthrough.js +2 -0
- package/sdk/models/operations/removepassthrough.js.map +1 -1
- package/sdk/models/operations/removeuccomment.d.ts +66 -0
- package/sdk/models/operations/removeuccomment.d.ts.map +1 -0
- package/sdk/models/operations/removeuccomment.js +105 -0
- package/sdk/models/operations/removeuccomment.js.map +1 -0
- package/sdk/models/operations/removeucrecording.d.ts +66 -0
- package/sdk/models/operations/removeucrecording.d.ts.map +1 -0
- package/sdk/models/operations/removeucrecording.js +105 -0
- package/sdk/models/operations/removeucrecording.js.map +1 -0
- package/sdk/models/operations/updatepassthroughjson.d.ts +6 -0
- package/sdk/models/operations/updatepassthroughjson.d.ts.map +1 -1
- package/sdk/models/operations/updatepassthroughjson.js +2 -0
- package/sdk/models/operations/updatepassthroughjson.js.map +1 -1
- package/sdk/models/operations/updatepassthroughraw.d.ts +6 -0
- package/sdk/models/operations/updatepassthroughraw.d.ts.map +1 -1
- package/sdk/models/operations/updatepassthroughraw.js +2 -0
- package/sdk/models/operations/updatepassthroughraw.js.map +1 -1
- package/sdk/models/operations/updateuccomment.d.ts +45 -0
- package/sdk/models/operations/updateuccomment.d.ts.map +1 -0
- package/sdk/models/operations/updateuccomment.js +77 -0
- package/sdk/models/operations/updateuccomment.js.map +1 -0
- package/sdk/models/operations/updateucrecording.d.ts +45 -0
- package/sdk/models/operations/updateucrecording.d.ts.map +1 -0
- package/sdk/models/operations/updateucrecording.js +77 -0
- package/sdk/models/operations/updateucrecording.js.map +1 -0
- package/sdk/models/shared/accountingattachment.d.ts +6 -6
- package/sdk/models/shared/accountingattachment.d.ts.map +1 -1
- package/sdk/models/shared/accountingattachment.js +6 -6
- package/sdk/models/shared/accountingattachment.js.map +1 -1
- package/sdk/models/shared/accountingbalancesheetitem.d.ts +36 -0
- package/sdk/models/shared/accountingbalancesheetitem.d.ts.map +1 -0
- package/sdk/models/shared/accountingbalancesheetitem.js +79 -0
- package/sdk/models/shared/accountingbalancesheetitem.js.map +1 -0
- package/sdk/models/shared/accountingprofitandlosscategory.d.ts +34 -0
- package/sdk/models/shared/accountingprofitandlosscategory.d.ts.map +1 -0
- package/sdk/models/shared/accountingprofitandlosscategory.js +75 -0
- package/sdk/models/shared/accountingprofitandlosscategory.js.map +1 -0
- package/sdk/models/shared/accountingprofitandlosssubcategory.d.ts +33 -0
- package/sdk/models/shared/accountingprofitandlosssubcategory.d.ts.map +1 -0
- package/sdk/models/shared/accountingprofitandlosssubcategory.js +72 -0
- package/sdk/models/shared/accountingprofitandlosssubcategory.js.map +1 -0
- package/sdk/models/shared/accountingreport.d.ts +17 -10
- package/sdk/models/shared/accountingreport.d.ts.map +1 -1
- package/sdk/models/shared/accountingreport.js +31 -14
- package/sdk/models/shared/accountingreport.js.map +1 -1
- package/sdk/models/shared/accountingtrialbalancesubitem.d.ts +33 -0
- package/sdk/models/shared/accountingtrialbalancesubitem.d.ts.map +1 -0
- package/sdk/models/shared/accountingtrialbalancesubitem.js +74 -0
- package/sdk/models/shared/accountingtrialbalancesubitem.js.map +1 -0
- package/sdk/models/shared/index.d.ts +12 -0
- package/sdk/models/shared/index.d.ts.map +1 -1
- package/sdk/models/shared/index.js +12 -0
- package/sdk/models/shared/index.js.map +1 -1
- package/sdk/models/shared/integrationsupport.d.ts +30 -0
- package/sdk/models/shared/integrationsupport.d.ts.map +1 -1
- package/sdk/models/shared/integrationsupport.js +31 -6
- package/sdk/models/shared/integrationsupport.js.map +1 -1
- package/sdk/models/shared/propertyaccountingbalancesheetitemsubitems.d.ts +25 -0
- package/sdk/models/shared/propertyaccountingbalancesheetitemsubitems.d.ts.map +1 -0
- package/sdk/models/shared/propertyaccountingbalancesheetitemsubitems.js +55 -0
- package/sdk/models/shared/propertyaccountingbalancesheetitemsubitems.js.map +1 -0
- package/sdk/models/shared/propertyaccountingreportbalancesheet.d.ts +36 -0
- package/sdk/models/shared/propertyaccountingreportbalancesheet.d.ts.map +1 -0
- package/sdk/models/shared/propertyaccountingreportbalancesheet.js +75 -0
- package/sdk/models/shared/propertyaccountingreportbalancesheet.js.map +1 -0
- package/sdk/models/shared/propertyaccountingreportprofitandloss.d.ts +38 -0
- package/sdk/models/shared/propertyaccountingreportprofitandloss.d.ts.map +1 -0
- package/sdk/models/shared/propertyaccountingreportprofitandloss.js +83 -0
- package/sdk/models/shared/propertyaccountingreportprofitandloss.js.map +1 -0
- package/sdk/models/shared/propertyaccountingreporttrialbalance.d.ts +34 -0
- package/sdk/models/shared/propertyaccountingreporttrialbalance.d.ts.map +1 -0
- package/sdk/models/shared/propertyaccountingreporttrialbalance.js +77 -0
- package/sdk/models/shared/propertyaccountingreporttrialbalance.js.map +1 -0
- package/sdk/models/shared/propertyconnectionpermissions.d.ts +9 -0
- package/sdk/models/shared/propertyconnectionpermissions.d.ts.map +1 -1
- package/sdk/models/shared/propertyconnectionpermissions.js +3 -0
- package/sdk/models/shared/propertyconnectionpermissions.js.map +1 -1
- package/sdk/models/shared/uccall.d.ts +0 -3
- package/sdk/models/shared/uccall.d.ts.map +1 -1
- package/sdk/models/shared/uccall.js.map +1 -1
- package/sdk/models/shared/uccomment.d.ts +43 -0
- package/sdk/models/shared/uccomment.d.ts.map +1 -0
- package/sdk/models/shared/uccomment.js +82 -0
- package/sdk/models/shared/uccomment.js.map +1 -0
- package/sdk/models/shared/uccontact.d.ts +0 -3
- package/sdk/models/shared/uccontact.d.ts.map +1 -1
- package/sdk/models/shared/uccontact.js.map +1 -1
- package/sdk/models/shared/ucrecording.d.ts +60 -0
- package/sdk/models/shared/ucrecording.d.ts.map +1 -0
- package/sdk/models/shared/ucrecording.js +120 -0
- package/sdk/models/shared/ucrecording.js.map +1 -0
- package/sdk/models/shared/ucrecordingmedia.d.ts +40 -0
- package/sdk/models/shared/ucrecordingmedia.d.ts.map +1 -0
- package/sdk/models/shared/ucrecordingmedia.js +87 -0
- package/sdk/models/shared/ucrecordingmedia.js.map +1 -0
- package/sdk/models/shared/ucrecordingtranscript.d.ts +37 -0
- package/sdk/models/shared/ucrecordingtranscript.d.ts.map +1 -0
- package/sdk/models/shared/ucrecordingtranscript.js +84 -0
- package/sdk/models/shared/ucrecordingtranscript.js.map +1 -0
- package/sdk/models/shared/webhook.d.ts +6 -0
- package/sdk/models/shared/webhook.d.ts.map +1 -1
- package/sdk/models/shared/webhook.js +2 -0
- package/sdk/models/shared/webhook.js.map +1 -1
- package/sdk/recording.d.ts +24 -0
- package/sdk/recording.d.ts.map +1 -1
- package/sdk/recording.js +42 -0
- package/sdk/recording.js.map +1 -1
- package/sdk/uc.d.ts +48 -0
- package/sdk/uc.d.ts.map +1 -1
- package/sdk/uc.js +84 -0
- package/sdk/uc.js.map +1 -1
- package/src/funcs/accountingListAccountingReports.ts +2 -0
- package/src/funcs/commentCreateUcComment.ts +163 -0
- package/src/funcs/commentGetUcComment.ts +166 -0
- package/src/funcs/commentListUcComments.ts +171 -0
- package/src/funcs/commentPatchUcComment.ts +167 -0
- package/src/funcs/commentRemoveUcComment.ts +169 -0
- package/src/funcs/commentUpdateUcComment.ts +167 -0
- package/src/funcs/passthroughCreatePassthroughJson.ts +6 -1
- package/src/funcs/passthroughCreatePassthroughRaw.ts +6 -1
- package/src/funcs/passthroughListPassthroughs.ts +6 -1
- package/src/funcs/passthroughPatchPassthroughJson.ts +6 -1
- package/src/funcs/passthroughPatchPassthroughRaw.ts +6 -1
- package/src/funcs/passthroughRemovePassthrough.ts +6 -1
- package/src/funcs/passthroughUpdatePassthroughJson.ts +6 -1
- package/src/funcs/passthroughUpdatePassthroughRaw.ts +6 -1
- package/src/funcs/recordingCreateUcRecording.ts +163 -0
- package/src/funcs/recordingGetUcRecording.ts +166 -0
- package/src/funcs/recordingListUcRecordings.ts +173 -0
- package/src/funcs/recordingPatchUcRecording.ts +167 -0
- package/src/funcs/recordingRemoveUcRecording.ts +169 -0
- package/src/funcs/recordingUpdateUcRecording.ts +167 -0
- package/src/funcs/reportListAccountingReports.ts +2 -0
- package/src/funcs/ucCreateUcComment.ts +163 -0
- package/src/funcs/ucCreateUcRecording.ts +163 -0
- package/src/funcs/ucGetUcComment.ts +166 -0
- package/src/funcs/ucGetUcRecording.ts +166 -0
- package/src/funcs/ucListUcComments.ts +171 -0
- package/src/funcs/ucListUcRecordings.ts +173 -0
- package/src/funcs/ucPatchUcComment.ts +167 -0
- package/src/funcs/ucPatchUcRecording.ts +167 -0
- package/src/funcs/ucRemoveUcComment.ts +169 -0
- package/src/funcs/ucRemoveUcRecording.ts +169 -0
- package/src/funcs/ucUpdateUcComment.ts +167 -0
- package/src/funcs/ucUpdateUcRecording.ts +167 -0
- package/src/lib/config.ts +2 -2
- package/src/sdk/comment.ts +90 -0
- package/src/sdk/models/operations/createpassthroughjson.ts +4 -0
- package/src/sdk/models/operations/createpassthroughraw.ts +4 -0
- package/src/sdk/models/operations/createuccomment.ts +92 -0
- package/src/sdk/models/operations/createucrecording.ts +92 -0
- package/src/sdk/models/operations/getuccomment.ts +92 -0
- package/src/sdk/models/operations/getucrecording.ts +92 -0
- package/src/sdk/models/operations/index.ts +12 -0
- package/src/sdk/models/operations/listaccountingreports.ts +12 -0
- package/src/sdk/models/operations/listpassthroughs.ts +4 -0
- package/src/sdk/models/operations/listuccomments.ts +130 -0
- package/src/sdk/models/operations/listucrecordings.ts +142 -0
- package/src/sdk/models/operations/patchpassthroughjson.ts +4 -0
- package/src/sdk/models/operations/patchpassthroughraw.ts +4 -0
- package/src/sdk/models/operations/patchuccomment.ts +99 -0
- package/src/sdk/models/operations/patchucrecording.ts +99 -0
- package/src/sdk/models/operations/removepassthrough.ts +4 -0
- package/src/sdk/models/operations/removeuccomment.ts +151 -0
- package/src/sdk/models/operations/removeucrecording.ts +151 -0
- package/src/sdk/models/operations/updatepassthroughjson.ts +4 -0
- package/src/sdk/models/operations/updatepassthroughraw.ts +4 -0
- package/src/sdk/models/operations/updateuccomment.ts +99 -0
- package/src/sdk/models/operations/updateucrecording.ts +99 -0
- package/src/sdk/models/shared/accountingattachment.ts +12 -12
- package/src/sdk/models/shared/accountingbalancesheetitem.ts +99 -0
- package/src/sdk/models/shared/accountingprofitandlosscategory.ts +93 -0
- package/src/sdk/models/shared/accountingprofitandlosssubcategory.ts +87 -0
- package/src/sdk/models/shared/accountingreport.ts +60 -24
- package/src/sdk/models/shared/accountingtrialbalancesubitem.ts +87 -0
- package/src/sdk/models/shared/index.ts +12 -0
- package/src/sdk/models/shared/integrationsupport.ts +32 -0
- package/src/sdk/models/shared/propertyaccountingbalancesheetitemsubitems.ts +68 -0
- package/src/sdk/models/shared/propertyaccountingreportbalancesheet.ts +98 -0
- package/src/sdk/models/shared/propertyaccountingreportprofitandloss.ts +110 -0
- package/src/sdk/models/shared/propertyaccountingreporttrialbalance.ts +98 -0
- package/src/sdk/models/shared/propertyconnectionpermissions.ts +3 -0
- package/src/sdk/models/shared/uccall.ts +0 -3
- package/src/sdk/models/shared/uccomment.ts +95 -0
- package/src/sdk/models/shared/uccontact.ts +0 -3
- package/src/sdk/models/shared/ucrecording.ts +154 -0
- package/src/sdk/models/shared/ucrecordingmedia.ts +109 -0
- package/src/sdk/models/shared/ucrecordingtranscript.ts +99 -0
- package/src/sdk/models/shared/webhook.ts +2 -0
- package/src/sdk/recording.ts +90 -0
- package/src/sdk/uc.ts +180 -0
|
@@ -36,8 +36,8 @@ async function run() {
|
|
|
36
36
|
],
|
|
37
37
|
integrationType: "<value>",
|
|
38
38
|
permissions: [
|
|
39
|
-
"
|
|
40
|
-
"
|
|
39
|
+
"repo_organization_write",
|
|
40
|
+
"lms_student_read",
|
|
41
41
|
],
|
|
42
42
|
});
|
|
43
43
|
|
|
@@ -73,8 +73,8 @@ async function run() {
|
|
|
73
73
|
],
|
|
74
74
|
integrationType: "<value>",
|
|
75
75
|
permissions: [
|
|
76
|
-
"
|
|
77
|
-
"
|
|
76
|
+
"repo_organization_write",
|
|
77
|
+
"lms_student_read",
|
|
78
78
|
],
|
|
79
79
|
});
|
|
80
80
|
|
|
@@ -5,8 +5,96 @@
|
|
|
5
5
|
|
|
6
6
|
### Available Operations
|
|
7
7
|
|
|
8
|
+
* [createUcRecording](#createucrecording) - Create a recording
|
|
8
9
|
* [getCalendarRecording](#getcalendarrecording) - Retrieve a recording
|
|
10
|
+
* [getUcRecording](#getucrecording) - Retrieve a recording
|
|
9
11
|
* [listCalendarRecordings](#listcalendarrecordings) - List all recordings
|
|
12
|
+
* [listUcRecordings](#listucrecordings) - List all recordings
|
|
13
|
+
* [patchUcRecording](#patchucrecording) - Update a recording
|
|
14
|
+
* [removeUcRecording](#removeucrecording) - Remove a recording
|
|
15
|
+
* [updateUcRecording](#updateucrecording) - Update a recording
|
|
16
|
+
|
|
17
|
+
## createUcRecording
|
|
18
|
+
|
|
19
|
+
Create a recording
|
|
20
|
+
|
|
21
|
+
### Example Usage
|
|
22
|
+
|
|
23
|
+
```typescript
|
|
24
|
+
import { UnifiedTo } from "@unified-api/typescript-sdk";
|
|
25
|
+
|
|
26
|
+
const unifiedTo = new UnifiedTo({
|
|
27
|
+
security: {
|
|
28
|
+
jwt: "<YOUR_API_KEY_HERE>",
|
|
29
|
+
},
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
async function run() {
|
|
33
|
+
const result = await unifiedTo.recording.createUcRecording({
|
|
34
|
+
ucRecording: {},
|
|
35
|
+
connectionId: "<id>",
|
|
36
|
+
});
|
|
37
|
+
|
|
38
|
+
// Handle the result
|
|
39
|
+
console.log(result);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
run();
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
### Standalone function
|
|
46
|
+
|
|
47
|
+
The standalone function version of this method:
|
|
48
|
+
|
|
49
|
+
```typescript
|
|
50
|
+
import { UnifiedToCore } from "@unified-api/typescript-sdk/core.js";
|
|
51
|
+
import { recordingCreateUcRecording } from "@unified-api/typescript-sdk/funcs/recordingCreateUcRecording.js";
|
|
52
|
+
|
|
53
|
+
// Use `UnifiedToCore` for best tree-shaking performance.
|
|
54
|
+
// You can create one instance of it to use across an application.
|
|
55
|
+
const unifiedTo = new UnifiedToCore({
|
|
56
|
+
security: {
|
|
57
|
+
jwt: "<YOUR_API_KEY_HERE>",
|
|
58
|
+
},
|
|
59
|
+
});
|
|
60
|
+
|
|
61
|
+
async function run() {
|
|
62
|
+
const res = await recordingCreateUcRecording(unifiedTo, {
|
|
63
|
+
ucRecording: {},
|
|
64
|
+
connectionId: "<id>",
|
|
65
|
+
});
|
|
66
|
+
|
|
67
|
+
if (!res.ok) {
|
|
68
|
+
throw res.error;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
const { value: result } = res;
|
|
72
|
+
|
|
73
|
+
// Handle the result
|
|
74
|
+
console.log(result);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
run();
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
### Parameters
|
|
81
|
+
|
|
82
|
+
| Parameter | Type | Required | Description |
|
|
83
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
84
|
+
| `request` | [operations.CreateUcRecordingRequest](../../sdk/models/operations/createucrecordingrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
85
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
86
|
+
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
87
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
88
|
+
|
|
89
|
+
### Response
|
|
90
|
+
|
|
91
|
+
**Promise\<[shared.UcRecording](../../sdk/models/shared/ucrecording.md)\>**
|
|
92
|
+
|
|
93
|
+
### Errors
|
|
94
|
+
|
|
95
|
+
| Error Type | Status Code | Content Type |
|
|
96
|
+
| --------------- | --------------- | --------------- |
|
|
97
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
10
98
|
|
|
11
99
|
## getCalendarRecording
|
|
12
100
|
|
|
@@ -90,6 +178,88 @@ run();
|
|
|
90
178
|
| --------------- | --------------- | --------------- |
|
|
91
179
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
92
180
|
|
|
181
|
+
## getUcRecording
|
|
182
|
+
|
|
183
|
+
Retrieve a recording
|
|
184
|
+
|
|
185
|
+
### Example Usage
|
|
186
|
+
|
|
187
|
+
```typescript
|
|
188
|
+
import { UnifiedTo } from "@unified-api/typescript-sdk";
|
|
189
|
+
|
|
190
|
+
const unifiedTo = new UnifiedTo({
|
|
191
|
+
security: {
|
|
192
|
+
jwt: "<YOUR_API_KEY_HERE>",
|
|
193
|
+
},
|
|
194
|
+
});
|
|
195
|
+
|
|
196
|
+
async function run() {
|
|
197
|
+
const result = await unifiedTo.recording.getUcRecording({
|
|
198
|
+
connectionId: "<id>",
|
|
199
|
+
id: "<id>",
|
|
200
|
+
});
|
|
201
|
+
|
|
202
|
+
// Handle the result
|
|
203
|
+
console.log(result);
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
run();
|
|
207
|
+
```
|
|
208
|
+
|
|
209
|
+
### Standalone function
|
|
210
|
+
|
|
211
|
+
The standalone function version of this method:
|
|
212
|
+
|
|
213
|
+
```typescript
|
|
214
|
+
import { UnifiedToCore } from "@unified-api/typescript-sdk/core.js";
|
|
215
|
+
import { recordingGetUcRecording } from "@unified-api/typescript-sdk/funcs/recordingGetUcRecording.js";
|
|
216
|
+
|
|
217
|
+
// Use `UnifiedToCore` for best tree-shaking performance.
|
|
218
|
+
// You can create one instance of it to use across an application.
|
|
219
|
+
const unifiedTo = new UnifiedToCore({
|
|
220
|
+
security: {
|
|
221
|
+
jwt: "<YOUR_API_KEY_HERE>",
|
|
222
|
+
},
|
|
223
|
+
});
|
|
224
|
+
|
|
225
|
+
async function run() {
|
|
226
|
+
const res = await recordingGetUcRecording(unifiedTo, {
|
|
227
|
+
connectionId: "<id>",
|
|
228
|
+
id: "<id>",
|
|
229
|
+
});
|
|
230
|
+
|
|
231
|
+
if (!res.ok) {
|
|
232
|
+
throw res.error;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
const { value: result } = res;
|
|
236
|
+
|
|
237
|
+
// Handle the result
|
|
238
|
+
console.log(result);
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
run();
|
|
242
|
+
```
|
|
243
|
+
|
|
244
|
+
### Parameters
|
|
245
|
+
|
|
246
|
+
| Parameter | Type | Required | Description |
|
|
247
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
248
|
+
| `request` | [operations.GetUcRecordingRequest](../../sdk/models/operations/getucrecordingrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
249
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
250
|
+
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
251
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
252
|
+
|
|
253
|
+
### Response
|
|
254
|
+
|
|
255
|
+
**Promise\<[shared.UcRecording](../../sdk/models/shared/ucrecording.md)\>**
|
|
256
|
+
|
|
257
|
+
### Errors
|
|
258
|
+
|
|
259
|
+
| Error Type | Status Code | Content Type |
|
|
260
|
+
| --------------- | --------------- | --------------- |
|
|
261
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
262
|
+
|
|
93
263
|
## listCalendarRecordings
|
|
94
264
|
|
|
95
265
|
List all recordings
|
|
@@ -166,6 +336,336 @@ run();
|
|
|
166
336
|
|
|
167
337
|
### Errors
|
|
168
338
|
|
|
339
|
+
| Error Type | Status Code | Content Type |
|
|
340
|
+
| --------------- | --------------- | --------------- |
|
|
341
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
342
|
+
|
|
343
|
+
## listUcRecordings
|
|
344
|
+
|
|
345
|
+
List all recordings
|
|
346
|
+
|
|
347
|
+
### Example Usage
|
|
348
|
+
|
|
349
|
+
```typescript
|
|
350
|
+
import { UnifiedTo } from "@unified-api/typescript-sdk";
|
|
351
|
+
|
|
352
|
+
const unifiedTo = new UnifiedTo({
|
|
353
|
+
security: {
|
|
354
|
+
jwt: "<YOUR_API_KEY_HERE>",
|
|
355
|
+
},
|
|
356
|
+
});
|
|
357
|
+
|
|
358
|
+
async function run() {
|
|
359
|
+
const result = await unifiedTo.recording.listUcRecordings({
|
|
360
|
+
connectionId: "<id>",
|
|
361
|
+
});
|
|
362
|
+
|
|
363
|
+
// Handle the result
|
|
364
|
+
console.log(result);
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
run();
|
|
368
|
+
```
|
|
369
|
+
|
|
370
|
+
### Standalone function
|
|
371
|
+
|
|
372
|
+
The standalone function version of this method:
|
|
373
|
+
|
|
374
|
+
```typescript
|
|
375
|
+
import { UnifiedToCore } from "@unified-api/typescript-sdk/core.js";
|
|
376
|
+
import { recordingListUcRecordings } from "@unified-api/typescript-sdk/funcs/recordingListUcRecordings.js";
|
|
377
|
+
|
|
378
|
+
// Use `UnifiedToCore` for best tree-shaking performance.
|
|
379
|
+
// You can create one instance of it to use across an application.
|
|
380
|
+
const unifiedTo = new UnifiedToCore({
|
|
381
|
+
security: {
|
|
382
|
+
jwt: "<YOUR_API_KEY_HERE>",
|
|
383
|
+
},
|
|
384
|
+
});
|
|
385
|
+
|
|
386
|
+
async function run() {
|
|
387
|
+
const res = await recordingListUcRecordings(unifiedTo, {
|
|
388
|
+
connectionId: "<id>",
|
|
389
|
+
});
|
|
390
|
+
|
|
391
|
+
if (!res.ok) {
|
|
392
|
+
throw res.error;
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
const { value: result } = res;
|
|
396
|
+
|
|
397
|
+
// Handle the result
|
|
398
|
+
console.log(result);
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
run();
|
|
402
|
+
```
|
|
403
|
+
|
|
404
|
+
### Parameters
|
|
405
|
+
|
|
406
|
+
| Parameter | Type | Required | Description |
|
|
407
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
408
|
+
| `request` | [operations.ListUcRecordingsRequest](../../sdk/models/operations/listucrecordingsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
409
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
410
|
+
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
411
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
412
|
+
|
|
413
|
+
### Response
|
|
414
|
+
|
|
415
|
+
**Promise\<[shared.UcRecording[]](../../models/.md)\>**
|
|
416
|
+
|
|
417
|
+
### Errors
|
|
418
|
+
|
|
419
|
+
| Error Type | Status Code | Content Type |
|
|
420
|
+
| --------------- | --------------- | --------------- |
|
|
421
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
422
|
+
|
|
423
|
+
## patchUcRecording
|
|
424
|
+
|
|
425
|
+
Update a recording
|
|
426
|
+
|
|
427
|
+
### Example Usage
|
|
428
|
+
|
|
429
|
+
```typescript
|
|
430
|
+
import { UnifiedTo } from "@unified-api/typescript-sdk";
|
|
431
|
+
|
|
432
|
+
const unifiedTo = new UnifiedTo({
|
|
433
|
+
security: {
|
|
434
|
+
jwt: "<YOUR_API_KEY_HERE>",
|
|
435
|
+
},
|
|
436
|
+
});
|
|
437
|
+
|
|
438
|
+
async function run() {
|
|
439
|
+
const result = await unifiedTo.recording.patchUcRecording({
|
|
440
|
+
ucRecording: {},
|
|
441
|
+
connectionId: "<id>",
|
|
442
|
+
id: "<id>",
|
|
443
|
+
});
|
|
444
|
+
|
|
445
|
+
// Handle the result
|
|
446
|
+
console.log(result);
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
run();
|
|
450
|
+
```
|
|
451
|
+
|
|
452
|
+
### Standalone function
|
|
453
|
+
|
|
454
|
+
The standalone function version of this method:
|
|
455
|
+
|
|
456
|
+
```typescript
|
|
457
|
+
import { UnifiedToCore } from "@unified-api/typescript-sdk/core.js";
|
|
458
|
+
import { recordingPatchUcRecording } from "@unified-api/typescript-sdk/funcs/recordingPatchUcRecording.js";
|
|
459
|
+
|
|
460
|
+
// Use `UnifiedToCore` for best tree-shaking performance.
|
|
461
|
+
// You can create one instance of it to use across an application.
|
|
462
|
+
const unifiedTo = new UnifiedToCore({
|
|
463
|
+
security: {
|
|
464
|
+
jwt: "<YOUR_API_KEY_HERE>",
|
|
465
|
+
},
|
|
466
|
+
});
|
|
467
|
+
|
|
468
|
+
async function run() {
|
|
469
|
+
const res = await recordingPatchUcRecording(unifiedTo, {
|
|
470
|
+
ucRecording: {},
|
|
471
|
+
connectionId: "<id>",
|
|
472
|
+
id: "<id>",
|
|
473
|
+
});
|
|
474
|
+
|
|
475
|
+
if (!res.ok) {
|
|
476
|
+
throw res.error;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
const { value: result } = res;
|
|
480
|
+
|
|
481
|
+
// Handle the result
|
|
482
|
+
console.log(result);
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
run();
|
|
486
|
+
```
|
|
487
|
+
|
|
488
|
+
### Parameters
|
|
489
|
+
|
|
490
|
+
| Parameter | Type | Required | Description |
|
|
491
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
492
|
+
| `request` | [operations.PatchUcRecordingRequest](../../sdk/models/operations/patchucrecordingrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
493
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
494
|
+
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
495
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
496
|
+
|
|
497
|
+
### Response
|
|
498
|
+
|
|
499
|
+
**Promise\<[shared.UcRecording](../../sdk/models/shared/ucrecording.md)\>**
|
|
500
|
+
|
|
501
|
+
### Errors
|
|
502
|
+
|
|
503
|
+
| Error Type | Status Code | Content Type |
|
|
504
|
+
| --------------- | --------------- | --------------- |
|
|
505
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
506
|
+
|
|
507
|
+
## removeUcRecording
|
|
508
|
+
|
|
509
|
+
Remove a recording
|
|
510
|
+
|
|
511
|
+
### Example Usage
|
|
512
|
+
|
|
513
|
+
```typescript
|
|
514
|
+
import { UnifiedTo } from "@unified-api/typescript-sdk";
|
|
515
|
+
|
|
516
|
+
const unifiedTo = new UnifiedTo({
|
|
517
|
+
security: {
|
|
518
|
+
jwt: "<YOUR_API_KEY_HERE>",
|
|
519
|
+
},
|
|
520
|
+
});
|
|
521
|
+
|
|
522
|
+
async function run() {
|
|
523
|
+
const result = await unifiedTo.recording.removeUcRecording({
|
|
524
|
+
connectionId: "<id>",
|
|
525
|
+
id: "<id>",
|
|
526
|
+
});
|
|
527
|
+
|
|
528
|
+
// Handle the result
|
|
529
|
+
console.log(result);
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
run();
|
|
533
|
+
```
|
|
534
|
+
|
|
535
|
+
### Standalone function
|
|
536
|
+
|
|
537
|
+
The standalone function version of this method:
|
|
538
|
+
|
|
539
|
+
```typescript
|
|
540
|
+
import { UnifiedToCore } from "@unified-api/typescript-sdk/core.js";
|
|
541
|
+
import { recordingRemoveUcRecording } from "@unified-api/typescript-sdk/funcs/recordingRemoveUcRecording.js";
|
|
542
|
+
|
|
543
|
+
// Use `UnifiedToCore` for best tree-shaking performance.
|
|
544
|
+
// You can create one instance of it to use across an application.
|
|
545
|
+
const unifiedTo = new UnifiedToCore({
|
|
546
|
+
security: {
|
|
547
|
+
jwt: "<YOUR_API_KEY_HERE>",
|
|
548
|
+
},
|
|
549
|
+
});
|
|
550
|
+
|
|
551
|
+
async function run() {
|
|
552
|
+
const res = await recordingRemoveUcRecording(unifiedTo, {
|
|
553
|
+
connectionId: "<id>",
|
|
554
|
+
id: "<id>",
|
|
555
|
+
});
|
|
556
|
+
|
|
557
|
+
if (!res.ok) {
|
|
558
|
+
throw res.error;
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
const { value: result } = res;
|
|
562
|
+
|
|
563
|
+
// Handle the result
|
|
564
|
+
console.log(result);
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
run();
|
|
568
|
+
```
|
|
569
|
+
|
|
570
|
+
### Parameters
|
|
571
|
+
|
|
572
|
+
| Parameter | Type | Required | Description |
|
|
573
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
574
|
+
| `request` | [operations.RemoveUcRecordingRequest](../../sdk/models/operations/removeucrecordingrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
575
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
576
|
+
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
577
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
578
|
+
|
|
579
|
+
### Response
|
|
580
|
+
|
|
581
|
+
**Promise\<[operations.RemoveUcRecordingResponse](../../sdk/models/operations/removeucrecordingresponse.md)\>**
|
|
582
|
+
|
|
583
|
+
### Errors
|
|
584
|
+
|
|
585
|
+
| Error Type | Status Code | Content Type |
|
|
586
|
+
| --------------- | --------------- | --------------- |
|
|
587
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
588
|
+
|
|
589
|
+
## updateUcRecording
|
|
590
|
+
|
|
591
|
+
Update a recording
|
|
592
|
+
|
|
593
|
+
### Example Usage
|
|
594
|
+
|
|
595
|
+
```typescript
|
|
596
|
+
import { UnifiedTo } from "@unified-api/typescript-sdk";
|
|
597
|
+
|
|
598
|
+
const unifiedTo = new UnifiedTo({
|
|
599
|
+
security: {
|
|
600
|
+
jwt: "<YOUR_API_KEY_HERE>",
|
|
601
|
+
},
|
|
602
|
+
});
|
|
603
|
+
|
|
604
|
+
async function run() {
|
|
605
|
+
const result = await unifiedTo.recording.updateUcRecording({
|
|
606
|
+
ucRecording: {},
|
|
607
|
+
connectionId: "<id>",
|
|
608
|
+
id: "<id>",
|
|
609
|
+
});
|
|
610
|
+
|
|
611
|
+
// Handle the result
|
|
612
|
+
console.log(result);
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
run();
|
|
616
|
+
```
|
|
617
|
+
|
|
618
|
+
### Standalone function
|
|
619
|
+
|
|
620
|
+
The standalone function version of this method:
|
|
621
|
+
|
|
622
|
+
```typescript
|
|
623
|
+
import { UnifiedToCore } from "@unified-api/typescript-sdk/core.js";
|
|
624
|
+
import { recordingUpdateUcRecording } from "@unified-api/typescript-sdk/funcs/recordingUpdateUcRecording.js";
|
|
625
|
+
|
|
626
|
+
// Use `UnifiedToCore` for best tree-shaking performance.
|
|
627
|
+
// You can create one instance of it to use across an application.
|
|
628
|
+
const unifiedTo = new UnifiedToCore({
|
|
629
|
+
security: {
|
|
630
|
+
jwt: "<YOUR_API_KEY_HERE>",
|
|
631
|
+
},
|
|
632
|
+
});
|
|
633
|
+
|
|
634
|
+
async function run() {
|
|
635
|
+
const res = await recordingUpdateUcRecording(unifiedTo, {
|
|
636
|
+
ucRecording: {},
|
|
637
|
+
connectionId: "<id>",
|
|
638
|
+
id: "<id>",
|
|
639
|
+
});
|
|
640
|
+
|
|
641
|
+
if (!res.ok) {
|
|
642
|
+
throw res.error;
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
const { value: result } = res;
|
|
646
|
+
|
|
647
|
+
// Handle the result
|
|
648
|
+
console.log(result);
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
run();
|
|
652
|
+
```
|
|
653
|
+
|
|
654
|
+
### Parameters
|
|
655
|
+
|
|
656
|
+
| Parameter | Type | Required | Description |
|
|
657
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
658
|
+
| `request` | [operations.UpdateUcRecordingRequest](../../sdk/models/operations/updateucrecordingrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
659
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
660
|
+
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
661
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
662
|
+
|
|
663
|
+
### Response
|
|
664
|
+
|
|
665
|
+
**Promise\<[shared.UcRecording](../../sdk/models/shared/ucrecording.md)\>**
|
|
666
|
+
|
|
667
|
+
### Errors
|
|
668
|
+
|
|
169
669
|
| Error Type | Status Code | Content Type |
|
|
170
670
|
| --------------- | --------------- | --------------- |
|
|
171
671
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|