@unified-api/typescript-sdk 2.56.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/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/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/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/index.d.ts +4 -0
- package/sdk/models/shared/index.d.ts.map +1 -1
- package/sdk/models/shared/index.js +4 -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/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/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/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/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/index.ts +4 -0
- package/src/sdk/models/shared/integrationsupport.ts +32 -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
package/README.md
CHANGED
|
@@ -617,16 +617,22 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
|
|
|
617
617
|
- [`collectionUpdateCommerceCollection`](docs/sdks/collection/README.md#updatecommercecollection) - Update a collection
|
|
618
618
|
- [`commentCreateKmsComment`](docs/sdks/comment/README.md#createkmscomment) - Create a comment
|
|
619
619
|
- [`commentCreateTaskComment`](docs/sdks/comment/README.md#createtaskcomment) - Create a comment
|
|
620
|
+
- [`commentCreateUcComment`](docs/sdks/comment/README.md#createuccomment) - Create a comment
|
|
620
621
|
- [`commentGetKmsComment`](docs/sdks/comment/README.md#getkmscomment) - Retrieve a comment
|
|
621
622
|
- [`commentGetTaskComment`](docs/sdks/comment/README.md#gettaskcomment) - Retrieve a comment
|
|
623
|
+
- [`commentGetUcComment`](docs/sdks/comment/README.md#getuccomment) - Retrieve a comment
|
|
622
624
|
- [`commentListKmsComments`](docs/sdks/comment/README.md#listkmscomments) - List all comments
|
|
623
625
|
- [`commentListTaskComments`](docs/sdks/comment/README.md#listtaskcomments) - List all comments
|
|
626
|
+
- [`commentListUcComments`](docs/sdks/comment/README.md#listuccomments) - List all comments
|
|
624
627
|
- [`commentPatchKmsComment`](docs/sdks/comment/README.md#patchkmscomment) - Update a comment
|
|
625
628
|
- [`commentPatchTaskComment`](docs/sdks/comment/README.md#patchtaskcomment) - Update a comment
|
|
629
|
+
- [`commentPatchUcComment`](docs/sdks/comment/README.md#patchuccomment) - Update a comment
|
|
626
630
|
- [`commentRemoveKmsComment`](docs/sdks/comment/README.md#removekmscomment) - Remove a comment
|
|
627
631
|
- [`commentRemoveTaskComment`](docs/sdks/comment/README.md#removetaskcomment) - Remove a comment
|
|
632
|
+
- [`commentRemoveUcComment`](docs/sdks/comment/README.md#removeuccomment) - Remove a comment
|
|
628
633
|
- [`commentUpdateKmsComment`](docs/sdks/comment/README.md#updatekmscomment) - Update a comment
|
|
629
634
|
- [`commentUpdateTaskComment`](docs/sdks/comment/README.md#updatetaskcomment) - Update a comment
|
|
635
|
+
- [`commentUpdateUcComment`](docs/sdks/comment/README.md#updateuccomment) - Update a comment
|
|
630
636
|
- [`commerceCreateCommerceCollection`](docs/sdks/commerce/README.md#createcommercecollection) - Create a collection
|
|
631
637
|
- [`commerceCreateCommerceInventory`](docs/sdks/commerce/README.md#createcommerceinventory) - Create an inventory
|
|
632
638
|
- [`commerceCreateCommerceItem`](docs/sdks/commerce/README.md#createcommerceitem) - Create an item
|
|
@@ -1080,8 +1086,14 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
|
|
|
1080
1086
|
- [`pullrequestPatchRepoPullrequest`](docs/sdks/pullrequest/README.md#patchrepopullrequest) - Update a pullrequest
|
|
1081
1087
|
- [`pullrequestRemoveRepoPullrequest`](docs/sdks/pullrequest/README.md#removerepopullrequest) - Remove a pullrequest
|
|
1082
1088
|
- [`pullrequestUpdateRepoPullrequest`](docs/sdks/pullrequest/README.md#updaterepopullrequest) - Update a pullrequest
|
|
1089
|
+
- [`recordingCreateUcRecording`](docs/sdks/recording/README.md#createucrecording) - Create a recording
|
|
1083
1090
|
- [`recordingGetCalendarRecording`](docs/sdks/recording/README.md#getcalendarrecording) - Retrieve a recording
|
|
1091
|
+
- [`recordingGetUcRecording`](docs/sdks/recording/README.md#getucrecording) - Retrieve a recording
|
|
1084
1092
|
- [`recordingListCalendarRecordings`](docs/sdks/recording/README.md#listcalendarrecordings) - List all recordings
|
|
1093
|
+
- [`recordingListUcRecordings`](docs/sdks/recording/README.md#listucrecordings) - List all recordings
|
|
1094
|
+
- [`recordingPatchUcRecording`](docs/sdks/recording/README.md#patchucrecording) - Update a recording
|
|
1095
|
+
- [`recordingRemoveUcRecording`](docs/sdks/recording/README.md#removeucrecording) - Remove a recording
|
|
1096
|
+
- [`recordingUpdateUcRecording`](docs/sdks/recording/README.md#updateucrecording) - Update a recording
|
|
1085
1097
|
- [`refundGetPaymentRefund`](docs/sdks/refund/README.md#getpaymentrefund) - Retrieve a refund
|
|
1086
1098
|
- [`refundListPaymentRefunds`](docs/sdks/refund/README.md#listpaymentrefunds) - List all refunds
|
|
1087
1099
|
- [`repoCreateRepoBranch`](docs/sdks/repo/README.md#createrepobranch) - Create a branch
|
|
@@ -1220,13 +1232,25 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
|
|
|
1220
1232
|
- [`transactionPatchAccountingTransaction`](docs/sdks/transaction/README.md#patchaccountingtransaction) - Update a transaction
|
|
1221
1233
|
- [`transactionRemoveAccountingTransaction`](docs/sdks/transaction/README.md#removeaccountingtransaction) - Remove a transaction
|
|
1222
1234
|
- [`transactionUpdateAccountingTransaction`](docs/sdks/transaction/README.md#updateaccountingtransaction) - Update a transaction
|
|
1235
|
+
- [`ucCreateUcComment`](docs/sdks/uc/README.md#createuccomment) - Create a comment
|
|
1223
1236
|
- [`ucCreateUcContact`](docs/sdks/uc/README.md#createuccontact) - Create a contact
|
|
1237
|
+
- [`ucCreateUcRecording`](docs/sdks/uc/README.md#createucrecording) - Create a recording
|
|
1238
|
+
- [`ucGetUcComment`](docs/sdks/uc/README.md#getuccomment) - Retrieve a comment
|
|
1224
1239
|
- [`ucGetUcContact`](docs/sdks/uc/README.md#getuccontact) - Retrieve a contact
|
|
1240
|
+
- [`ucGetUcRecording`](docs/sdks/uc/README.md#getucrecording) - Retrieve a recording
|
|
1225
1241
|
- [`ucListUcCalls`](docs/sdks/uc/README.md#listuccalls) - List all calls
|
|
1242
|
+
- [`ucListUcComments`](docs/sdks/uc/README.md#listuccomments) - List all comments
|
|
1226
1243
|
- [`ucListUcContacts`](docs/sdks/uc/README.md#listuccontacts) - List all contacts
|
|
1244
|
+
- [`ucListUcRecordings`](docs/sdks/uc/README.md#listucrecordings) - List all recordings
|
|
1245
|
+
- [`ucPatchUcComment`](docs/sdks/uc/README.md#patchuccomment) - Update a comment
|
|
1227
1246
|
- [`ucPatchUcContact`](docs/sdks/uc/README.md#patchuccontact) - Update a contact
|
|
1247
|
+
- [`ucPatchUcRecording`](docs/sdks/uc/README.md#patchucrecording) - Update a recording
|
|
1248
|
+
- [`ucRemoveUcComment`](docs/sdks/uc/README.md#removeuccomment) - Remove a comment
|
|
1228
1249
|
- [`ucRemoveUcContact`](docs/sdks/uc/README.md#removeuccontact) - Remove a contact
|
|
1250
|
+
- [`ucRemoveUcRecording`](docs/sdks/uc/README.md#removeucrecording) - Remove a recording
|
|
1251
|
+
- [`ucUpdateUcComment`](docs/sdks/uc/README.md#updateuccomment) - Update a comment
|
|
1229
1252
|
- [`ucUpdateUcContact`](docs/sdks/uc/README.md#updateuccontact) - Update a contact
|
|
1253
|
+
- [`ucUpdateUcRecording`](docs/sdks/uc/README.md#updateucrecording) - Update a recording
|
|
1230
1254
|
- [`unifiedCreateUnifiedConnection`](docs/sdks/unified/README.md#createunifiedconnection) - Create connection
|
|
1231
1255
|
- [`unifiedCreateUnifiedWebhook`](docs/sdks/unified/README.md#createunifiedwebhook) - Create webhook subscription
|
|
1232
1256
|
- [`unifiedGetUnifiedApicall`](docs/sdks/unified/README.md#getunifiedapicall) - Retrieve specific API Call by its ID
|
|
@@ -7,16 +7,22 @@
|
|
|
7
7
|
|
|
8
8
|
* [createKmsComment](#createkmscomment) - Create a comment
|
|
9
9
|
* [createTaskComment](#createtaskcomment) - Create a comment
|
|
10
|
+
* [createUcComment](#createuccomment) - Create a comment
|
|
10
11
|
* [getKmsComment](#getkmscomment) - Retrieve a comment
|
|
11
12
|
* [getTaskComment](#gettaskcomment) - Retrieve a comment
|
|
13
|
+
* [getUcComment](#getuccomment) - Retrieve a comment
|
|
12
14
|
* [listKmsComments](#listkmscomments) - List all comments
|
|
13
15
|
* [listTaskComments](#listtaskcomments) - List all comments
|
|
16
|
+
* [listUcComments](#listuccomments) - List all comments
|
|
14
17
|
* [patchKmsComment](#patchkmscomment) - Update a comment
|
|
15
18
|
* [patchTaskComment](#patchtaskcomment) - Update a comment
|
|
19
|
+
* [patchUcComment](#patchuccomment) - Update a comment
|
|
16
20
|
* [removeKmsComment](#removekmscomment) - Remove a comment
|
|
17
21
|
* [removeTaskComment](#removetaskcomment) - Remove a comment
|
|
22
|
+
* [removeUcComment](#removeuccomment) - Remove a comment
|
|
18
23
|
* [updateKmsComment](#updatekmscomment) - Update a comment
|
|
19
24
|
* [updateTaskComment](#updatetaskcomment) - Update a comment
|
|
25
|
+
* [updateUcComment](#updateuccomment) - Update a comment
|
|
20
26
|
|
|
21
27
|
## createKmsComment
|
|
22
28
|
|
|
@@ -192,6 +198,92 @@ run();
|
|
|
192
198
|
| --------------- | --------------- | --------------- |
|
|
193
199
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
194
200
|
|
|
201
|
+
## createUcComment
|
|
202
|
+
|
|
203
|
+
Create a comment
|
|
204
|
+
|
|
205
|
+
### Example Usage
|
|
206
|
+
|
|
207
|
+
```typescript
|
|
208
|
+
import { UnifiedTo } from "@unified-api/typescript-sdk";
|
|
209
|
+
|
|
210
|
+
const unifiedTo = new UnifiedTo({
|
|
211
|
+
security: {
|
|
212
|
+
jwt: "<YOUR_API_KEY_HERE>",
|
|
213
|
+
},
|
|
214
|
+
});
|
|
215
|
+
|
|
216
|
+
async function run() {
|
|
217
|
+
const result = await unifiedTo.comment.createUcComment({
|
|
218
|
+
ucComment: {
|
|
219
|
+
content: "<value>",
|
|
220
|
+
},
|
|
221
|
+
connectionId: "<id>",
|
|
222
|
+
});
|
|
223
|
+
|
|
224
|
+
// Handle the result
|
|
225
|
+
console.log(result);
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
run();
|
|
229
|
+
```
|
|
230
|
+
|
|
231
|
+
### Standalone function
|
|
232
|
+
|
|
233
|
+
The standalone function version of this method:
|
|
234
|
+
|
|
235
|
+
```typescript
|
|
236
|
+
import { UnifiedToCore } from "@unified-api/typescript-sdk/core.js";
|
|
237
|
+
import { commentCreateUcComment } from "@unified-api/typescript-sdk/funcs/commentCreateUcComment.js";
|
|
238
|
+
|
|
239
|
+
// Use `UnifiedToCore` for best tree-shaking performance.
|
|
240
|
+
// You can create one instance of it to use across an application.
|
|
241
|
+
const unifiedTo = new UnifiedToCore({
|
|
242
|
+
security: {
|
|
243
|
+
jwt: "<YOUR_API_KEY_HERE>",
|
|
244
|
+
},
|
|
245
|
+
});
|
|
246
|
+
|
|
247
|
+
async function run() {
|
|
248
|
+
const res = await commentCreateUcComment(unifiedTo, {
|
|
249
|
+
ucComment: {
|
|
250
|
+
content: "<value>",
|
|
251
|
+
},
|
|
252
|
+
connectionId: "<id>",
|
|
253
|
+
});
|
|
254
|
+
|
|
255
|
+
if (!res.ok) {
|
|
256
|
+
throw res.error;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
const { value: result } = res;
|
|
260
|
+
|
|
261
|
+
// Handle the result
|
|
262
|
+
console.log(result);
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
run();
|
|
266
|
+
```
|
|
267
|
+
|
|
268
|
+
### Parameters
|
|
269
|
+
|
|
270
|
+
| Parameter | Type | Required | Description |
|
|
271
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
272
|
+
| `request` | [operations.CreateUcCommentRequest](../../sdk/models/operations/createuccommentrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
273
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
274
|
+
| `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. |
|
|
275
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
276
|
+
|
|
277
|
+
### Response
|
|
278
|
+
|
|
279
|
+
**Promise\<[shared.UcComment](../../sdk/models/shared/uccomment.md)\>**
|
|
280
|
+
|
|
281
|
+
### Errors
|
|
282
|
+
|
|
283
|
+
| Error Type | Status Code | Content Type |
|
|
284
|
+
| --------------- | --------------- | --------------- |
|
|
285
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
286
|
+
|
|
195
287
|
## getKmsComment
|
|
196
288
|
|
|
197
289
|
Retrieve a comment
|
|
@@ -356,6 +448,88 @@ run();
|
|
|
356
448
|
| --------------- | --------------- | --------------- |
|
|
357
449
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
358
450
|
|
|
451
|
+
## getUcComment
|
|
452
|
+
|
|
453
|
+
Retrieve a comment
|
|
454
|
+
|
|
455
|
+
### Example Usage
|
|
456
|
+
|
|
457
|
+
```typescript
|
|
458
|
+
import { UnifiedTo } from "@unified-api/typescript-sdk";
|
|
459
|
+
|
|
460
|
+
const unifiedTo = new UnifiedTo({
|
|
461
|
+
security: {
|
|
462
|
+
jwt: "<YOUR_API_KEY_HERE>",
|
|
463
|
+
},
|
|
464
|
+
});
|
|
465
|
+
|
|
466
|
+
async function run() {
|
|
467
|
+
const result = await unifiedTo.comment.getUcComment({
|
|
468
|
+
connectionId: "<id>",
|
|
469
|
+
id: "<id>",
|
|
470
|
+
});
|
|
471
|
+
|
|
472
|
+
// Handle the result
|
|
473
|
+
console.log(result);
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
run();
|
|
477
|
+
```
|
|
478
|
+
|
|
479
|
+
### Standalone function
|
|
480
|
+
|
|
481
|
+
The standalone function version of this method:
|
|
482
|
+
|
|
483
|
+
```typescript
|
|
484
|
+
import { UnifiedToCore } from "@unified-api/typescript-sdk/core.js";
|
|
485
|
+
import { commentGetUcComment } from "@unified-api/typescript-sdk/funcs/commentGetUcComment.js";
|
|
486
|
+
|
|
487
|
+
// Use `UnifiedToCore` for best tree-shaking performance.
|
|
488
|
+
// You can create one instance of it to use across an application.
|
|
489
|
+
const unifiedTo = new UnifiedToCore({
|
|
490
|
+
security: {
|
|
491
|
+
jwt: "<YOUR_API_KEY_HERE>",
|
|
492
|
+
},
|
|
493
|
+
});
|
|
494
|
+
|
|
495
|
+
async function run() {
|
|
496
|
+
const res = await commentGetUcComment(unifiedTo, {
|
|
497
|
+
connectionId: "<id>",
|
|
498
|
+
id: "<id>",
|
|
499
|
+
});
|
|
500
|
+
|
|
501
|
+
if (!res.ok) {
|
|
502
|
+
throw res.error;
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
const { value: result } = res;
|
|
506
|
+
|
|
507
|
+
// Handle the result
|
|
508
|
+
console.log(result);
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
run();
|
|
512
|
+
```
|
|
513
|
+
|
|
514
|
+
### Parameters
|
|
515
|
+
|
|
516
|
+
| Parameter | Type | Required | Description |
|
|
517
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
518
|
+
| `request` | [operations.GetUcCommentRequest](../../sdk/models/operations/getuccommentrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
519
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
520
|
+
| `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. |
|
|
521
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
522
|
+
|
|
523
|
+
### Response
|
|
524
|
+
|
|
525
|
+
**Promise\<[shared.UcComment](../../sdk/models/shared/uccomment.md)\>**
|
|
526
|
+
|
|
527
|
+
### Errors
|
|
528
|
+
|
|
529
|
+
| Error Type | Status Code | Content Type |
|
|
530
|
+
| --------------- | --------------- | --------------- |
|
|
531
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
532
|
+
|
|
359
533
|
## listKmsComments
|
|
360
534
|
|
|
361
535
|
List all comments
|
|
@@ -516,6 +690,86 @@ run();
|
|
|
516
690
|
| --------------- | --------------- | --------------- |
|
|
517
691
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
518
692
|
|
|
693
|
+
## listUcComments
|
|
694
|
+
|
|
695
|
+
List all comments
|
|
696
|
+
|
|
697
|
+
### Example Usage
|
|
698
|
+
|
|
699
|
+
```typescript
|
|
700
|
+
import { UnifiedTo } from "@unified-api/typescript-sdk";
|
|
701
|
+
|
|
702
|
+
const unifiedTo = new UnifiedTo({
|
|
703
|
+
security: {
|
|
704
|
+
jwt: "<YOUR_API_KEY_HERE>",
|
|
705
|
+
},
|
|
706
|
+
});
|
|
707
|
+
|
|
708
|
+
async function run() {
|
|
709
|
+
const result = await unifiedTo.comment.listUcComments({
|
|
710
|
+
connectionId: "<id>",
|
|
711
|
+
});
|
|
712
|
+
|
|
713
|
+
// Handle the result
|
|
714
|
+
console.log(result);
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
run();
|
|
718
|
+
```
|
|
719
|
+
|
|
720
|
+
### Standalone function
|
|
721
|
+
|
|
722
|
+
The standalone function version of this method:
|
|
723
|
+
|
|
724
|
+
```typescript
|
|
725
|
+
import { UnifiedToCore } from "@unified-api/typescript-sdk/core.js";
|
|
726
|
+
import { commentListUcComments } from "@unified-api/typescript-sdk/funcs/commentListUcComments.js";
|
|
727
|
+
|
|
728
|
+
// Use `UnifiedToCore` for best tree-shaking performance.
|
|
729
|
+
// You can create one instance of it to use across an application.
|
|
730
|
+
const unifiedTo = new UnifiedToCore({
|
|
731
|
+
security: {
|
|
732
|
+
jwt: "<YOUR_API_KEY_HERE>",
|
|
733
|
+
},
|
|
734
|
+
});
|
|
735
|
+
|
|
736
|
+
async function run() {
|
|
737
|
+
const res = await commentListUcComments(unifiedTo, {
|
|
738
|
+
connectionId: "<id>",
|
|
739
|
+
});
|
|
740
|
+
|
|
741
|
+
if (!res.ok) {
|
|
742
|
+
throw res.error;
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
const { value: result } = res;
|
|
746
|
+
|
|
747
|
+
// Handle the result
|
|
748
|
+
console.log(result);
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
run();
|
|
752
|
+
```
|
|
753
|
+
|
|
754
|
+
### Parameters
|
|
755
|
+
|
|
756
|
+
| Parameter | Type | Required | Description |
|
|
757
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
758
|
+
| `request` | [operations.ListUcCommentsRequest](../../sdk/models/operations/listuccommentsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
759
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
760
|
+
| `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. |
|
|
761
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
762
|
+
|
|
763
|
+
### Response
|
|
764
|
+
|
|
765
|
+
**Promise\<[shared.UcComment[]](../../models/.md)\>**
|
|
766
|
+
|
|
767
|
+
### Errors
|
|
768
|
+
|
|
769
|
+
| Error Type | Status Code | Content Type |
|
|
770
|
+
| --------------- | --------------- | --------------- |
|
|
771
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
772
|
+
|
|
519
773
|
## patchKmsComment
|
|
520
774
|
|
|
521
775
|
Update a comment
|
|
@@ -694,6 +948,94 @@ run();
|
|
|
694
948
|
| --------------- | --------------- | --------------- |
|
|
695
949
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
696
950
|
|
|
951
|
+
## patchUcComment
|
|
952
|
+
|
|
953
|
+
Update a comment
|
|
954
|
+
|
|
955
|
+
### Example Usage
|
|
956
|
+
|
|
957
|
+
```typescript
|
|
958
|
+
import { UnifiedTo } from "@unified-api/typescript-sdk";
|
|
959
|
+
|
|
960
|
+
const unifiedTo = new UnifiedTo({
|
|
961
|
+
security: {
|
|
962
|
+
jwt: "<YOUR_API_KEY_HERE>",
|
|
963
|
+
},
|
|
964
|
+
});
|
|
965
|
+
|
|
966
|
+
async function run() {
|
|
967
|
+
const result = await unifiedTo.comment.patchUcComment({
|
|
968
|
+
ucComment: {
|
|
969
|
+
content: "<value>",
|
|
970
|
+
},
|
|
971
|
+
connectionId: "<id>",
|
|
972
|
+
id: "<id>",
|
|
973
|
+
});
|
|
974
|
+
|
|
975
|
+
// Handle the result
|
|
976
|
+
console.log(result);
|
|
977
|
+
}
|
|
978
|
+
|
|
979
|
+
run();
|
|
980
|
+
```
|
|
981
|
+
|
|
982
|
+
### Standalone function
|
|
983
|
+
|
|
984
|
+
The standalone function version of this method:
|
|
985
|
+
|
|
986
|
+
```typescript
|
|
987
|
+
import { UnifiedToCore } from "@unified-api/typescript-sdk/core.js";
|
|
988
|
+
import { commentPatchUcComment } from "@unified-api/typescript-sdk/funcs/commentPatchUcComment.js";
|
|
989
|
+
|
|
990
|
+
// Use `UnifiedToCore` for best tree-shaking performance.
|
|
991
|
+
// You can create one instance of it to use across an application.
|
|
992
|
+
const unifiedTo = new UnifiedToCore({
|
|
993
|
+
security: {
|
|
994
|
+
jwt: "<YOUR_API_KEY_HERE>",
|
|
995
|
+
},
|
|
996
|
+
});
|
|
997
|
+
|
|
998
|
+
async function run() {
|
|
999
|
+
const res = await commentPatchUcComment(unifiedTo, {
|
|
1000
|
+
ucComment: {
|
|
1001
|
+
content: "<value>",
|
|
1002
|
+
},
|
|
1003
|
+
connectionId: "<id>",
|
|
1004
|
+
id: "<id>",
|
|
1005
|
+
});
|
|
1006
|
+
|
|
1007
|
+
if (!res.ok) {
|
|
1008
|
+
throw res.error;
|
|
1009
|
+
}
|
|
1010
|
+
|
|
1011
|
+
const { value: result } = res;
|
|
1012
|
+
|
|
1013
|
+
// Handle the result
|
|
1014
|
+
console.log(result);
|
|
1015
|
+
}
|
|
1016
|
+
|
|
1017
|
+
run();
|
|
1018
|
+
```
|
|
1019
|
+
|
|
1020
|
+
### Parameters
|
|
1021
|
+
|
|
1022
|
+
| Parameter | Type | Required | Description |
|
|
1023
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1024
|
+
| `request` | [operations.PatchUcCommentRequest](../../sdk/models/operations/patchuccommentrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1025
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1026
|
+
| `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. |
|
|
1027
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1028
|
+
|
|
1029
|
+
### Response
|
|
1030
|
+
|
|
1031
|
+
**Promise\<[shared.UcComment](../../sdk/models/shared/uccomment.md)\>**
|
|
1032
|
+
|
|
1033
|
+
### Errors
|
|
1034
|
+
|
|
1035
|
+
| Error Type | Status Code | Content Type |
|
|
1036
|
+
| --------------- | --------------- | --------------- |
|
|
1037
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1038
|
+
|
|
697
1039
|
## removeKmsComment
|
|
698
1040
|
|
|
699
1041
|
Remove a comment
|
|
@@ -858,6 +1200,88 @@ run();
|
|
|
858
1200
|
| --------------- | --------------- | --------------- |
|
|
859
1201
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
860
1202
|
|
|
1203
|
+
## removeUcComment
|
|
1204
|
+
|
|
1205
|
+
Remove a comment
|
|
1206
|
+
|
|
1207
|
+
### Example Usage
|
|
1208
|
+
|
|
1209
|
+
```typescript
|
|
1210
|
+
import { UnifiedTo } from "@unified-api/typescript-sdk";
|
|
1211
|
+
|
|
1212
|
+
const unifiedTo = new UnifiedTo({
|
|
1213
|
+
security: {
|
|
1214
|
+
jwt: "<YOUR_API_KEY_HERE>",
|
|
1215
|
+
},
|
|
1216
|
+
});
|
|
1217
|
+
|
|
1218
|
+
async function run() {
|
|
1219
|
+
const result = await unifiedTo.comment.removeUcComment({
|
|
1220
|
+
connectionId: "<id>",
|
|
1221
|
+
id: "<id>",
|
|
1222
|
+
});
|
|
1223
|
+
|
|
1224
|
+
// Handle the result
|
|
1225
|
+
console.log(result);
|
|
1226
|
+
}
|
|
1227
|
+
|
|
1228
|
+
run();
|
|
1229
|
+
```
|
|
1230
|
+
|
|
1231
|
+
### Standalone function
|
|
1232
|
+
|
|
1233
|
+
The standalone function version of this method:
|
|
1234
|
+
|
|
1235
|
+
```typescript
|
|
1236
|
+
import { UnifiedToCore } from "@unified-api/typescript-sdk/core.js";
|
|
1237
|
+
import { commentRemoveUcComment } from "@unified-api/typescript-sdk/funcs/commentRemoveUcComment.js";
|
|
1238
|
+
|
|
1239
|
+
// Use `UnifiedToCore` for best tree-shaking performance.
|
|
1240
|
+
// You can create one instance of it to use across an application.
|
|
1241
|
+
const unifiedTo = new UnifiedToCore({
|
|
1242
|
+
security: {
|
|
1243
|
+
jwt: "<YOUR_API_KEY_HERE>",
|
|
1244
|
+
},
|
|
1245
|
+
});
|
|
1246
|
+
|
|
1247
|
+
async function run() {
|
|
1248
|
+
const res = await commentRemoveUcComment(unifiedTo, {
|
|
1249
|
+
connectionId: "<id>",
|
|
1250
|
+
id: "<id>",
|
|
1251
|
+
});
|
|
1252
|
+
|
|
1253
|
+
if (!res.ok) {
|
|
1254
|
+
throw res.error;
|
|
1255
|
+
}
|
|
1256
|
+
|
|
1257
|
+
const { value: result } = res;
|
|
1258
|
+
|
|
1259
|
+
// Handle the result
|
|
1260
|
+
console.log(result);
|
|
1261
|
+
}
|
|
1262
|
+
|
|
1263
|
+
run();
|
|
1264
|
+
```
|
|
1265
|
+
|
|
1266
|
+
### Parameters
|
|
1267
|
+
|
|
1268
|
+
| Parameter | Type | Required | Description |
|
|
1269
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1270
|
+
| `request` | [operations.RemoveUcCommentRequest](../../sdk/models/operations/removeuccommentrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1271
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1272
|
+
| `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. |
|
|
1273
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1274
|
+
|
|
1275
|
+
### Response
|
|
1276
|
+
|
|
1277
|
+
**Promise\<[operations.RemoveUcCommentResponse](../../sdk/models/operations/removeuccommentresponse.md)\>**
|
|
1278
|
+
|
|
1279
|
+
### Errors
|
|
1280
|
+
|
|
1281
|
+
| Error Type | Status Code | Content Type |
|
|
1282
|
+
| --------------- | --------------- | --------------- |
|
|
1283
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1284
|
+
|
|
861
1285
|
## updateKmsComment
|
|
862
1286
|
|
|
863
1287
|
Update a comment
|
|
@@ -1032,6 +1456,94 @@ run();
|
|
|
1032
1456
|
|
|
1033
1457
|
### Errors
|
|
1034
1458
|
|
|
1459
|
+
| Error Type | Status Code | Content Type |
|
|
1460
|
+
| --------------- | --------------- | --------------- |
|
|
1461
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1462
|
+
|
|
1463
|
+
## updateUcComment
|
|
1464
|
+
|
|
1465
|
+
Update a comment
|
|
1466
|
+
|
|
1467
|
+
### Example Usage
|
|
1468
|
+
|
|
1469
|
+
```typescript
|
|
1470
|
+
import { UnifiedTo } from "@unified-api/typescript-sdk";
|
|
1471
|
+
|
|
1472
|
+
const unifiedTo = new UnifiedTo({
|
|
1473
|
+
security: {
|
|
1474
|
+
jwt: "<YOUR_API_KEY_HERE>",
|
|
1475
|
+
},
|
|
1476
|
+
});
|
|
1477
|
+
|
|
1478
|
+
async function run() {
|
|
1479
|
+
const result = await unifiedTo.comment.updateUcComment({
|
|
1480
|
+
ucComment: {
|
|
1481
|
+
content: "<value>",
|
|
1482
|
+
},
|
|
1483
|
+
connectionId: "<id>",
|
|
1484
|
+
id: "<id>",
|
|
1485
|
+
});
|
|
1486
|
+
|
|
1487
|
+
// Handle the result
|
|
1488
|
+
console.log(result);
|
|
1489
|
+
}
|
|
1490
|
+
|
|
1491
|
+
run();
|
|
1492
|
+
```
|
|
1493
|
+
|
|
1494
|
+
### Standalone function
|
|
1495
|
+
|
|
1496
|
+
The standalone function version of this method:
|
|
1497
|
+
|
|
1498
|
+
```typescript
|
|
1499
|
+
import { UnifiedToCore } from "@unified-api/typescript-sdk/core.js";
|
|
1500
|
+
import { commentUpdateUcComment } from "@unified-api/typescript-sdk/funcs/commentUpdateUcComment.js";
|
|
1501
|
+
|
|
1502
|
+
// Use `UnifiedToCore` for best tree-shaking performance.
|
|
1503
|
+
// You can create one instance of it to use across an application.
|
|
1504
|
+
const unifiedTo = new UnifiedToCore({
|
|
1505
|
+
security: {
|
|
1506
|
+
jwt: "<YOUR_API_KEY_HERE>",
|
|
1507
|
+
},
|
|
1508
|
+
});
|
|
1509
|
+
|
|
1510
|
+
async function run() {
|
|
1511
|
+
const res = await commentUpdateUcComment(unifiedTo, {
|
|
1512
|
+
ucComment: {
|
|
1513
|
+
content: "<value>",
|
|
1514
|
+
},
|
|
1515
|
+
connectionId: "<id>",
|
|
1516
|
+
id: "<id>",
|
|
1517
|
+
});
|
|
1518
|
+
|
|
1519
|
+
if (!res.ok) {
|
|
1520
|
+
throw res.error;
|
|
1521
|
+
}
|
|
1522
|
+
|
|
1523
|
+
const { value: result } = res;
|
|
1524
|
+
|
|
1525
|
+
// Handle the result
|
|
1526
|
+
console.log(result);
|
|
1527
|
+
}
|
|
1528
|
+
|
|
1529
|
+
run();
|
|
1530
|
+
```
|
|
1531
|
+
|
|
1532
|
+
### Parameters
|
|
1533
|
+
|
|
1534
|
+
| Parameter | Type | Required | Description |
|
|
1535
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1536
|
+
| `request` | [operations.UpdateUcCommentRequest](../../sdk/models/operations/updateuccommentrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1537
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1538
|
+
| `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. |
|
|
1539
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1540
|
+
|
|
1541
|
+
### Response
|
|
1542
|
+
|
|
1543
|
+
**Promise\<[shared.UcComment](../../sdk/models/shared/uccomment.md)\>**
|
|
1544
|
+
|
|
1545
|
+
### Errors
|
|
1546
|
+
|
|
1035
1547
|
| Error Type | Status Code | Content Type |
|
|
1036
1548
|
| --------------- | --------------- | --------------- |
|
|
1037
1549
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|