retell-sdk 1.15.21 → 2.2.2
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 +3 -629
- package/example.d.ts +2 -0
- package/example.d.ts.map +1 -0
- package/example.js +74 -0
- package/example.js.map +1 -0
- package/index.d.ts +3 -0
- package/index.d.ts.map +1 -0
- package/{dist/index.js → index.js} +2 -0
- package/index.js.map +1 -0
- package/lib/base64.d.ts +10 -0
- package/lib/base64.d.ts.map +1 -0
- package/lib/base64.js +61 -0
- package/lib/base64.js.map +1 -0
- package/lib/config.d.ts +31 -0
- package/lib/config.d.ts.map +1 -0
- package/lib/config.js +36 -0
- package/lib/config.js.map +1 -0
- package/lib/encodings.d.ts +41 -0
- package/lib/encodings.d.ts.map +1 -0
- package/lib/encodings.js +308 -0
- package/lib/encodings.js.map +1 -0
- package/lib/http.d.ts +45 -0
- package/lib/http.d.ts.map +1 -0
- package/lib/http.js +136 -0
- package/lib/http.js.map +1 -0
- package/lib/retries.d.ts +18 -0
- package/lib/retries.d.ts.map +1 -0
- package/lib/retries.js +136 -0
- package/lib/retries.js.map +1 -0
- package/lib/sdks.d.ts +32 -0
- package/lib/sdks.d.ts.map +1 -0
- package/lib/sdks.js +90 -0
- package/lib/sdks.js.map +1 -0
- package/lib/security.d.ts +57 -0
- package/lib/security.d.ts.map +1 -0
- package/lib/security.js +99 -0
- package/lib/security.js.map +1 -0
- package/lib/url.d.ts +4 -0
- package/lib/url.d.ts.map +1 -0
- package/lib/url.js +26 -0
- package/lib/url.js.map +1 -0
- package/models/components/agent.d.ts +180 -0
- package/models/components/agent.d.ts.map +1 -0
- package/models/components/agent.js +182 -0
- package/models/components/agent.js.map +1 -0
- package/models/components/agentnodefaultnorequired.d.ts +61 -0
- package/models/components/agentnodefaultnorequired.d.ts.map +1 -0
- package/models/components/agentnodefaultnorequired.js +66 -0
- package/models/components/agentnodefaultnorequired.js.map +1 -0
- package/models/components/agentpromptparams.d.ts +25 -0
- package/models/components/agentpromptparams.d.ts.map +1 -0
- package/models/components/agentpromptparams.js +34 -0
- package/models/components/agentpromptparams.js.map +1 -0
- package/models/components/calldetail.d.ts +92 -0
- package/models/components/calldetail.d.ts.map +1 -0
- package/models/components/calldetail.js +94 -0
- package/models/components/calldetail.js.map +1 -0
- package/models/components/callphonenumber.d.ts +28 -0
- package/models/components/callphonenumber.d.ts.map +1 -0
- package/models/components/callphonenumber.js +34 -0
- package/models/components/callphonenumber.js.map +1 -0
- package/{dist/models → models}/components/index.d.ts +1 -1
- package/models/components/index.d.ts.map +1 -0
- package/{dist/models → models}/components/index.js +1 -1
- package/models/components/index.js.map +1 -0
- package/{dist/models → models}/components/phonenumber.d.ts +22 -2
- package/models/components/phonenumber.d.ts.map +1 -0
- package/models/components/phonenumber.js +46 -0
- package/models/components/phonenumber.js.map +1 -0
- package/models/components/security.d.ts +4 -0
- package/models/components/security.d.ts.map +1 -0
- package/models/components/security.js +6 -0
- package/models/components/security.js.map +1 -0
- package/models/errors/createagent.d.ts +146 -0
- package/models/errors/createagent.d.ts.map +1 -0
- package/models/errors/createagent.js +236 -0
- package/models/errors/createagent.js.map +1 -0
- package/models/errors/createphonecall.d.ts +218 -0
- package/models/errors/createphonecall.d.ts.map +1 -0
- package/models/errors/createphonecall.js +350 -0
- package/models/errors/createphonecall.js.map +1 -0
- package/models/errors/createphonenumber.d.ts +182 -0
- package/models/errors/createphonenumber.d.ts.map +1 -0
- package/models/errors/createphonenumber.js +295 -0
- package/models/errors/createphonenumber.js.map +1 -0
- package/models/errors/deleteagent.d.ts +146 -0
- package/models/errors/deleteagent.d.ts.map +1 -0
- package/models/errors/deleteagent.js +236 -0
- package/models/errors/deleteagent.js.map +1 -0
- package/models/errors/deletephonenumber.d.ts +146 -0
- package/models/errors/deletephonenumber.d.ts.map +1 -0
- package/models/errors/deletephonenumber.js +238 -0
- package/models/errors/deletephonenumber.js.map +1 -0
- package/models/errors/getagent.d.ts +146 -0
- package/models/errors/getagent.d.ts.map +1 -0
- package/models/errors/getagent.js +236 -0
- package/models/errors/getagent.js.map +1 -0
- package/models/errors/getcall.d.ts +146 -0
- package/models/errors/getcall.d.ts.map +1 -0
- package/models/errors/getcall.js +240 -0
- package/models/errors/getcall.js.map +1 -0
- package/models/errors/getphonenumber.d.ts +146 -0
- package/models/errors/getphonenumber.d.ts.map +1 -0
- package/models/errors/getphonenumber.js +236 -0
- package/models/errors/getphonenumber.js.map +1 -0
- package/{dist/models → models}/errors/index.d.ts +1 -0
- package/models/errors/index.d.ts.map +1 -0
- package/{dist/models → models}/errors/index.js +1 -0
- package/models/errors/index.js.map +1 -0
- package/models/errors/listagents.d.ts +74 -0
- package/models/errors/listagents.d.ts.map +1 -0
- package/models/errors/listagents.js +124 -0
- package/models/errors/listagents.js.map +1 -0
- package/models/errors/listcalls.d.ts +110 -0
- package/models/errors/listcalls.d.ts.map +1 -0
- package/models/errors/listcalls.js +181 -0
- package/models/errors/listcalls.js.map +1 -0
- package/models/errors/listphonenumbers.d.ts +110 -0
- package/models/errors/listphonenumbers.d.ts.map +1 -0
- package/models/errors/listphonenumbers.js +179 -0
- package/models/errors/listphonenumbers.js.map +1 -0
- package/models/errors/sdkerror.d.ts +7 -0
- package/models/errors/sdkerror.d.ts.map +1 -0
- package/models/errors/sdkerror.js +22 -0
- package/models/errors/sdkerror.js.map +1 -0
- package/models/errors/updateagent.d.ts +146 -0
- package/models/errors/updateagent.d.ts.map +1 -0
- package/models/errors/updateagent.js +236 -0
- package/models/errors/updateagent.js.map +1 -0
- package/models/errors/updatephoneagent.d.ts +146 -0
- package/models/errors/updatephoneagent.d.ts.map +1 -0
- package/models/errors/updatephoneagent.js +236 -0
- package/models/errors/updatephoneagent.js.map +1 -0
- package/models/operations/createagent.d.ts +70 -0
- package/models/operations/createagent.d.ts.map +1 -0
- package/models/operations/createagent.js +102 -0
- package/models/operations/createagent.js.map +1 -0
- package/models/operations/createphonecall.d.ts +163 -0
- package/models/operations/createphonecall.d.ts.map +1 -0
- package/models/operations/createphonecall.js +196 -0
- package/models/operations/createphonecall.js.map +1 -0
- package/models/operations/createphonenumber.d.ts +61 -0
- package/models/operations/createphonenumber.d.ts.map +1 -0
- package/models/operations/createphonenumber.js +94 -0
- package/models/operations/createphonenumber.js.map +1 -0
- package/models/operations/createwebcall.d.ts +16 -0
- package/models/operations/createwebcall.d.ts.map +1 -0
- package/models/operations/createwebcall.js +3 -0
- package/models/operations/createwebcall.js.map +1 -0
- package/models/operations/deleteagent.d.ts +48 -0
- package/models/operations/deleteagent.d.ts.map +1 -0
- package/models/operations/deleteagent.js +62 -0
- package/models/operations/deleteagent.js.map +1 -0
- package/models/operations/deletephonenumber.d.ts +48 -0
- package/models/operations/deletephonenumber.d.ts.map +1 -0
- package/models/operations/deletephonenumber.js +62 -0
- package/models/operations/deletephonenumber.js.map +1 -0
- package/models/operations/getagent.d.ts +55 -0
- package/models/operations/getagent.d.ts.map +1 -0
- package/models/operations/getagent.js +90 -0
- package/models/operations/getagent.js.map +1 -0
- package/models/operations/getcall.d.ts +55 -0
- package/models/operations/getcall.d.ts.map +1 -0
- package/models/operations/getcall.js +90 -0
- package/models/operations/getcall.js.map +1 -0
- package/models/operations/getphonenumber.d.ts +55 -0
- package/models/operations/getphonenumber.d.ts.map +1 -0
- package/models/operations/getphonenumber.js +90 -0
- package/models/operations/getphonenumber.js.map +1 -0
- package/{dist/models → models}/operations/index.d.ts +2 -0
- package/models/operations/index.d.ts.map +1 -0
- package/{dist/models → models}/operations/index.js +2 -0
- package/models/operations/index.js.map +1 -0
- package/models/operations/listagents.d.ts +38 -0
- package/models/operations/listagents.d.ts.map +1 -0
- package/models/operations/listagents.js +68 -0
- package/models/operations/listagents.js.map +1 -0
- package/models/operations/listcalls.d.ts +127 -0
- package/models/operations/listcalls.d.ts.map +1 -0
- package/models/operations/listcalls.js +174 -0
- package/models/operations/listcalls.js.map +1 -0
- package/models/operations/listphonenumbers.d.ts +38 -0
- package/models/operations/listphonenumbers.d.ts.map +1 -0
- package/models/operations/listphonenumbers.js +68 -0
- package/models/operations/listphonenumbers.js.map +1 -0
- package/models/operations/updateagent.d.ts +90 -0
- package/models/operations/updateagent.d.ts.map +1 -0
- package/models/operations/updateagent.js +128 -0
- package/models/operations/updateagent.js.map +1 -0
- package/models/operations/updatephoneagent.d.ts +75 -0
- package/models/operations/updatephoneagent.d.ts.map +1 -0
- package/models/operations/updatephoneagent.js +116 -0
- package/models/operations/updatephoneagent.js.map +1 -0
- package/package.json +27 -30
- package/sdk/index.d.ts +3 -0
- package/sdk/index.d.ts.map +1 -0
- package/{dist/sdk → sdk}/index.js +2 -0
- package/sdk/index.js.map +1 -0
- package/sdk/liveClient.d.ts +14 -0
- package/sdk/liveClient.d.ts.map +1 -0
- package/sdk/liveClient.js +98 -0
- package/sdk/liveClient.js.map +1 -0
- package/sdk/sdk.d.ts +62 -0
- package/sdk/sdk.d.ts.map +1 -0
- package/sdk/sdk.js +1137 -0
- package/sdk/sdk.js.map +1 -0
- package/src/example.ts +79 -0
- package/src/index.ts +6 -0
- package/src/lib/base64.ts +37 -0
- package/src/lib/config.ts +57 -0
- package/src/lib/encodings.ts +379 -0
- package/src/lib/http.ts +203 -0
- package/src/lib/retries.ts +207 -0
- package/src/lib/sdks.ts +107 -0
- package/src/lib/security.ts +164 -0
- package/src/lib/url.ts +31 -0
- package/src/models/components/agent.ts +356 -0
- package/src/models/components/agentpromptparams.ts +53 -0
- package/src/models/components/calldetail.ts +160 -0
- package/src/models/components/callphonenumber.ts +56 -0
- package/src/models/components/index.ts +10 -0
- package/src/models/components/phonenumber.ts +83 -0
- package/src/models/components/security.ts +7 -0
- package/src/models/errors/createagent.ts +394 -0
- package/src/models/errors/createphonecall.ts +597 -0
- package/src/models/errors/createphonenumber.ts +500 -0
- package/src/models/errors/deleteagent.ts +394 -0
- package/src/models/errors/deletephonenumber.ts +400 -0
- package/src/models/errors/getagent.ts +383 -0
- package/src/models/errors/getcall.ts +379 -0
- package/src/models/errors/getphonenumber.ts +397 -0
- package/src/models/errors/index.ts +18 -0
- package/src/models/errors/listagents.ts +192 -0
- package/src/models/errors/listcalls.ts +289 -0
- package/src/models/errors/listphonenumbers.ts +297 -0
- package/src/models/errors/sdkerror.ts +24 -0
- package/src/models/errors/updateagent.ts +394 -0
- package/src/models/errors/updatephoneagent.ts +397 -0
- package/src/models/operations/createagent.ts +145 -0
- package/src/models/operations/createphonecall.ts +308 -0
- package/src/models/operations/createphonenumber.ts +124 -0
- package/src/models/operations/createwebcall.ts +16 -0
- package/src/models/operations/deleteagent.ts +103 -0
- package/src/models/operations/deletephonenumber.ts +103 -0
- package/src/models/operations/getagent.ts +114 -0
- package/src/models/operations/getcall.ts +114 -0
- package/src/models/operations/getphonenumber.ts +114 -0
- package/src/models/operations/index.ts +18 -0
- package/src/models/operations/listagents.ts +76 -0
- package/src/models/operations/listcalls.ts +255 -0
- package/src/models/operations/listphonenumbers.ts +76 -0
- package/src/models/operations/updateagent.ts +190 -0
- package/src/models/operations/updatephoneagent.ts +159 -0
- package/src/sdk/index.ts +6 -0
- package/src/sdk/liveClient.ts +109 -0
- package/src/sdk/sdk.ts +1191 -0
- package/src/types/blobs.ts +30 -0
- package/src/types/decimal.ts +5 -0
- package/src/types/index.ts +8 -0
- package/src/types/operations.ts +6 -0
- package/src/types/rfcdate.ts +54 -0
- package/types/blobs.d.ts +4 -0
- package/types/blobs.d.ts.map +1 -0
- package/types/blobs.js +52 -0
- package/types/blobs.js.map +1 -0
- package/types/decimal.d.ts +2 -0
- package/types/decimal.d.ts.map +1 -0
- package/{dist/types/index.js → types/decimal.js} +2 -1
- package/types/decimal.js.map +1 -0
- package/types/index.d.ts +5 -0
- package/types/index.d.ts.map +1 -0
- package/types/index.js +14 -0
- package/types/index.js.map +1 -0
- package/types/operations.d.ts +5 -0
- package/types/operations.d.ts.map +1 -0
- package/types/operations.js +6 -0
- package/types/operations.js.map +1 -0
- package/types/rfcdate.d.ts +21 -0
- package/types/rfcdate.d.ts.map +1 -0
- package/types/rfcdate.js +46 -0
- package/types/rfcdate.js.map +1 -0
- package/dist/index.d.ts +0 -1
- package/dist/internal/utils/contenttype.d.ts +0 -1
- package/dist/internal/utils/contenttype.js +0 -33
- package/dist/internal/utils/headers.d.ts +0 -4
- package/dist/internal/utils/headers.js +0 -92
- package/dist/internal/utils/index.d.ts +0 -8
- package/dist/internal/utils/index.js +0 -27
- package/dist/internal/utils/pathparams.d.ts +0 -2
- package/dist/internal/utils/pathparams.js +0 -53
- package/dist/internal/utils/queryparams.d.ts +0 -2
- package/dist/internal/utils/queryparams.js +0 -182
- package/dist/internal/utils/requestbody.d.ts +0 -2
- package/dist/internal/utils/requestbody.js +0 -328
- package/dist/internal/utils/retries.d.ts +0 -20
- package/dist/internal/utils/retries.js +0 -250
- package/dist/internal/utils/security.d.ts +0 -5
- package/dist/internal/utils/security.js +0 -196
- package/dist/internal/utils/utils.d.ts +0 -37
- package/dist/internal/utils/utils.js +0 -368
- package/dist/models/components/agent.d.ts +0 -43
- package/dist/models/components/agent.js +0 -90
- package/dist/models/components/agentnodefaultnorequired.d.ts +0 -35
- package/dist/models/components/agentnodefaultnorequired.js +0 -80
- package/dist/models/components/agentpromptparams.d.ts +0 -11
- package/dist/models/components/agentpromptparams.js +0 -50
- package/dist/models/components/calldetail.d.ts +0 -58
- package/dist/models/components/calldetail.js +0 -112
- package/dist/models/components/callphonenumber.d.ts +0 -14
- package/dist/models/components/callphonenumber.js +0 -53
- package/dist/models/components/phonenumber.js +0 -65
- package/dist/models/components/security.d.ts +0 -4
- package/dist/models/components/security.js +0 -45
- package/dist/models/errors/createagent.d.ts +0 -45
- package/dist/models/errors/createagent.js +0 -144
- package/dist/models/errors/createphonecall.d.ts +0 -67
- package/dist/models/errors/createphonecall.js +0 -200
- package/dist/models/errors/createphonenumber.d.ts +0 -56
- package/dist/models/errors/createphonenumber.js +0 -172
- package/dist/models/errors/deleteagent.d.ts +0 -45
- package/dist/models/errors/deleteagent.js +0 -144
- package/dist/models/errors/deletephonenumber.d.ts +0 -45
- package/dist/models/errors/deletephonenumber.js +0 -144
- package/dist/models/errors/getagent.d.ts +0 -45
- package/dist/models/errors/getagent.js +0 -144
- package/dist/models/errors/getcall.d.ts +0 -45
- package/dist/models/errors/getcall.js +0 -144
- package/dist/models/errors/getphonenumber.d.ts +0 -45
- package/dist/models/errors/getphonenumber.js +0 -144
- package/dist/models/errors/listagents.d.ts +0 -23
- package/dist/models/errors/listagents.js +0 -88
- package/dist/models/errors/listcalls.d.ts +0 -34
- package/dist/models/errors/listcalls.js +0 -116
- package/dist/models/errors/listphonenumbers.d.ts +0 -34
- package/dist/models/errors/listphonenumbers.js +0 -116
- package/dist/models/errors/sdkerror.d.ts +0 -7
- package/dist/models/errors/sdkerror.js +0 -40
- package/dist/models/errors/updateagent.d.ts +0 -45
- package/dist/models/errors/updateagent.js +0 -144
- package/dist/models/errors/updatephoneagent.d.ts +0 -45
- package/dist/models/errors/updatephoneagent.js +0 -144
- package/dist/models/operations/createagent.d.ts +0 -55
- package/dist/models/operations/createagent.js +0 -128
- package/dist/models/operations/createphonecall.d.ts +0 -87
- package/dist/models/operations/createphonecall.js +0 -187
- package/dist/models/operations/createphonenumber.d.ts +0 -31
- package/dist/models/operations/createphonenumber.js +0 -98
- package/dist/models/operations/deleteagent.d.ts +0 -22
- package/dist/models/operations/deleteagent.js +0 -63
- package/dist/models/operations/deletephonenumber.d.ts +0 -22
- package/dist/models/operations/deletephonenumber.js +0 -63
- package/dist/models/operations/getagent.d.ts +0 -27
- package/dist/models/operations/getagent.js +0 -91
- package/dist/models/operations/getcall.d.ts +0 -27
- package/dist/models/operations/getcall.js +0 -91
- package/dist/models/operations/getphonenumber.d.ts +0 -27
- package/dist/models/operations/getphonenumber.js +0 -91
- package/dist/models/operations/listagents.d.ts +0 -21
- package/dist/models/operations/listagents.js +0 -79
- package/dist/models/operations/listcalls.d.ts +0 -70
- package/dist/models/operations/listcalls.js +0 -145
- package/dist/models/operations/listphonenumbers.d.ts +0 -21
- package/dist/models/operations/listphonenumbers.js +0 -79
- package/dist/models/operations/updateagent.d.ts +0 -28
- package/dist/models/operations/updateagent.js +0 -95
- package/dist/models/operations/updatephoneagent.d.ts +0 -34
- package/dist/models/operations/updatephoneagent.js +0 -109
- package/dist/sdk/index.d.ts +0 -1
- package/dist/sdk/sdk.d.ts +0 -115
- package/dist/sdk/sdk.js +0 -1625
- package/dist/types/index.d.ts +0 -1
- package/dist/types/rfcdate.d.ts +0 -9
- package/dist/types/rfcdate.js +0 -59
- package/docs/models/components/agent.md +0 -17
- package/docs/models/components/agentnodefaultnorequired.md +0 -15
- package/docs/models/components/agentpromptparams.md +0 -9
- package/docs/models/components/calldetail.md +0 -17
- package/docs/models/components/callphonenumber.md +0 -11
- package/docs/models/components/callstatus.md +0 -12
- package/docs/models/components/calltype.md +0 -12
- package/docs/models/components/phonenumber.md +0 -12
- package/docs/models/components/security.md +0 -8
- package/docs/models/errors/createagentresponse422responsebody.md +0 -11
- package/docs/models/errors/createagentresponse500responsebody.md +0 -11
- package/docs/models/errors/createagentresponsebody.md +0 -11
- package/docs/models/errors/createagentresponseresponsebody.md +0 -11
- package/docs/models/errors/createphonecallresponse402responsebody.md +0 -11
- package/docs/models/errors/createphonecallresponse422responsebody.md +0 -11
- package/docs/models/errors/createphonecallresponse429responsebody.md +0 -11
- package/docs/models/errors/createphonecallresponse500responsebody.md +0 -11
- package/docs/models/errors/createphonecallresponsebody.md +0 -11
- package/docs/models/errors/createphonecallresponseresponsebody.md +0 -11
- package/docs/models/errors/createphonenumberresponse402responsebody.md +0 -11
- package/docs/models/errors/createphonenumberresponse422responsebody.md +0 -11
- package/docs/models/errors/createphonenumberresponse500responsebody.md +0 -11
- package/docs/models/errors/createphonenumberresponsebody.md +0 -11
- package/docs/models/errors/createphonenumberresponseresponsebody.md +0 -11
- package/docs/models/errors/deleteagentresponse422responsebody.md +0 -11
- package/docs/models/errors/deleteagentresponse500responsebody.md +0 -11
- package/docs/models/errors/deleteagentresponsebody.md +0 -11
- package/docs/models/errors/deleteagentresponseresponsebody.md +0 -11
- package/docs/models/errors/deletephonenumberresponse422responsebody.md +0 -11
- package/docs/models/errors/deletephonenumberresponse500responsebody.md +0 -11
- package/docs/models/errors/deletephonenumberresponsebody.md +0 -11
- package/docs/models/errors/deletephonenumberresponseresponsebody.md +0 -11
- package/docs/models/errors/getagentresponse422responsebody.md +0 -11
- package/docs/models/errors/getagentresponse500responsebody.md +0 -11
- package/docs/models/errors/getagentresponsebody.md +0 -11
- package/docs/models/errors/getagentresponseresponsebody.md +0 -11
- package/docs/models/errors/getcallresponse422responsebody.md +0 -11
- package/docs/models/errors/getcallresponse500responsebody.md +0 -11
- package/docs/models/errors/getcallresponsebody.md +0 -11
- package/docs/models/errors/getcallresponseresponsebody.md +0 -11
- package/docs/models/errors/getphonenumberresponse422responsebody.md +0 -11
- package/docs/models/errors/getphonenumberresponse500responsebody.md +0 -11
- package/docs/models/errors/getphonenumberresponsebody.md +0 -11
- package/docs/models/errors/getphonenumberresponseresponsebody.md +0 -11
- package/docs/models/errors/listagentsresponsebody.md +0 -11
- package/docs/models/errors/listagentsresponseresponsebody.md +0 -11
- package/docs/models/errors/listcallsresponse500responsebody.md +0 -11
- package/docs/models/errors/listcallsresponsebody.md +0 -11
- package/docs/models/errors/listcallsresponseresponsebody.md +0 -11
- package/docs/models/errors/listphonenumbersresponse500responsebody.md +0 -11
- package/docs/models/errors/listphonenumbersresponsebody.md +0 -11
- package/docs/models/errors/listphonenumbersresponseresponsebody.md +0 -11
- package/docs/models/errors/updateagentresponse422responsebody.md +0 -11
- package/docs/models/errors/updateagentresponse500responsebody.md +0 -11
- package/docs/models/errors/updateagentresponsebody.md +0 -11
- package/docs/models/errors/updateagentresponseresponsebody.md +0 -11
- package/docs/models/errors/updatephoneagentresponse422responsebody.md +0 -11
- package/docs/models/errors/updatephoneagentresponse500responsebody.md +0 -11
- package/docs/models/errors/updatephoneagentresponsebody.md +0 -11
- package/docs/models/errors/updatephoneagentresponseresponsebody.md +0 -11
- package/docs/models/operations/callstatus.md +0 -12
- package/docs/models/operations/calltype.md +0 -10
- package/docs/models/operations/createagentrequestbody.md +0 -15
- package/docs/models/operations/createagentresponse.md +0 -11
- package/docs/models/operations/createphonecallcalltype.md +0 -12
- package/docs/models/operations/createphonecallrequestbody.md +0 -9
- package/docs/models/operations/createphonecallresponse.md +0 -11
- package/docs/models/operations/createphonecallresponsebody.md +0 -16
- package/docs/models/operations/createphonenumberrequestbody.md +0 -9
- package/docs/models/operations/createphonenumberresponse.md +0 -11
- package/docs/models/operations/deleteagentrequest.md +0 -8
- package/docs/models/operations/deleteagentresponse.md +0 -10
- package/docs/models/operations/deletephonenumberrequest.md +0 -8
- package/docs/models/operations/deletephonenumberresponse.md +0 -10
- package/docs/models/operations/filtercriteria.md +0 -13
- package/docs/models/operations/getagentrequest.md +0 -8
- package/docs/models/operations/getagentresponse.md +0 -11
- package/docs/models/operations/getcallrequest.md +0 -8
- package/docs/models/operations/getcallresponse.md +0 -11
- package/docs/models/operations/getphonenumberrequest.md +0 -8
- package/docs/models/operations/getphonenumberresponse.md +0 -11
- package/docs/models/operations/listagentsresponse.md +0 -11
- package/docs/models/operations/listcallsrequest.md +0 -10
- package/docs/models/operations/listcallsresponse.md +0 -11
- package/docs/models/operations/listphonenumbersresponse.md +0 -11
- package/docs/models/operations/phonenumber.md +0 -11
- package/docs/models/operations/sortorder.md +0 -11
- package/docs/models/operations/updateagentrequest.md +0 -9
- package/docs/models/operations/updateagentresponse.md +0 -11
- package/docs/models/operations/updatephoneagentrequest.md +0 -9
- package/docs/models/operations/updatephoneagentrequestbody.md +0 -8
- package/docs/models/operations/updatephoneagentresponse.md +0 -11
- package/docs/sdks/retellclient/README.md +0 -673
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.GetCallResponseBody$ = exports.GetCallResponseResponseBody$ = exports.GetCallResponse422ResponseBody$ = exports.GetCallResponse500ResponseBody$ = exports.GetCallResponseBody = exports.GetCallResponseResponseBody = exports.GetCallResponse422ResponseBody = exports.GetCallResponse500ResponseBody = void 0;
|
|
7
|
+
const zod_1 = require("zod");
|
|
8
|
+
/**
|
|
9
|
+
* Internal Server Error
|
|
10
|
+
*/
|
|
11
|
+
class GetCallResponse500ResponseBody extends Error {
|
|
12
|
+
constructor(err, options) {
|
|
13
|
+
super("", options);
|
|
14
|
+
this.data$ = err;
|
|
15
|
+
if (err.rawResponse != null) {
|
|
16
|
+
this.rawResponse = err.rawResponse;
|
|
17
|
+
}
|
|
18
|
+
if (err.errorMessage != null) {
|
|
19
|
+
this.errorMessage = err.errorMessage;
|
|
20
|
+
}
|
|
21
|
+
const msg = "message" in err && typeof err.message === "string" ? err.message : "";
|
|
22
|
+
const { rawResponse, ...data } = err;
|
|
23
|
+
const content = JSON.stringify(data);
|
|
24
|
+
this.message = [msg, content].filter(Boolean).join("\n");
|
|
25
|
+
this.name = "GetCallResponse500ResponseBody";
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
exports.GetCallResponse500ResponseBody = GetCallResponse500ResponseBody;
|
|
29
|
+
/**
|
|
30
|
+
* Unprocessable Content
|
|
31
|
+
*/
|
|
32
|
+
class GetCallResponse422ResponseBody extends Error {
|
|
33
|
+
constructor(err, options) {
|
|
34
|
+
super("", options);
|
|
35
|
+
this.data$ = err;
|
|
36
|
+
if (err.rawResponse != null) {
|
|
37
|
+
this.rawResponse = err.rawResponse;
|
|
38
|
+
}
|
|
39
|
+
if (err.errorMessage != null) {
|
|
40
|
+
this.errorMessage = err.errorMessage;
|
|
41
|
+
}
|
|
42
|
+
const msg = "message" in err && typeof err.message === "string" ? err.message : "";
|
|
43
|
+
const { rawResponse, ...data } = err;
|
|
44
|
+
const content = JSON.stringify(data);
|
|
45
|
+
this.message = [msg, content].filter(Boolean).join("\n");
|
|
46
|
+
this.name = "GetCallResponse422ResponseBody";
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
exports.GetCallResponse422ResponseBody = GetCallResponse422ResponseBody;
|
|
50
|
+
/**
|
|
51
|
+
* Unauthorized
|
|
52
|
+
*/
|
|
53
|
+
class GetCallResponseResponseBody extends Error {
|
|
54
|
+
constructor(err, options) {
|
|
55
|
+
super("", options);
|
|
56
|
+
this.data$ = err;
|
|
57
|
+
if (err.rawResponse != null) {
|
|
58
|
+
this.rawResponse = err.rawResponse;
|
|
59
|
+
}
|
|
60
|
+
if (err.errorMessage != null) {
|
|
61
|
+
this.errorMessage = err.errorMessage;
|
|
62
|
+
}
|
|
63
|
+
const msg = "message" in err && typeof err.message === "string" ? err.message : "";
|
|
64
|
+
const { rawResponse, ...data } = err;
|
|
65
|
+
const content = JSON.stringify(data);
|
|
66
|
+
this.message = [msg, content].filter(Boolean).join("\n");
|
|
67
|
+
this.name = "GetCallResponseResponseBody";
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
exports.GetCallResponseResponseBody = GetCallResponseResponseBody;
|
|
71
|
+
/**
|
|
72
|
+
* Bad Request
|
|
73
|
+
*/
|
|
74
|
+
class GetCallResponseBody extends Error {
|
|
75
|
+
constructor(err, options) {
|
|
76
|
+
super("", options);
|
|
77
|
+
this.data$ = err;
|
|
78
|
+
if (err.rawResponse != null) {
|
|
79
|
+
this.rawResponse = err.rawResponse;
|
|
80
|
+
}
|
|
81
|
+
if (err.errorMessage != null) {
|
|
82
|
+
this.errorMessage = err.errorMessage;
|
|
83
|
+
}
|
|
84
|
+
const msg = "message" in err && typeof err.message === "string" ? err.message : "";
|
|
85
|
+
const { rawResponse, ...data } = err;
|
|
86
|
+
const content = JSON.stringify(data);
|
|
87
|
+
this.message = [msg, content].filter(Boolean).join("\n");
|
|
88
|
+
this.name = "GetCallResponseBody";
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
exports.GetCallResponseBody = GetCallResponseBody;
|
|
92
|
+
/** @internal */
|
|
93
|
+
var GetCallResponse500ResponseBody$;
|
|
94
|
+
(function (GetCallResponse500ResponseBody$) {
|
|
95
|
+
GetCallResponse500ResponseBody$.inboundSchema = zod_1.z
|
|
96
|
+
.object({
|
|
97
|
+
RawResponse: zod_1.z.instanceof(Response).optional(),
|
|
98
|
+
error_message: zod_1.z.string().optional(),
|
|
99
|
+
})
|
|
100
|
+
.transform((v) => {
|
|
101
|
+
return new GetCallResponse500ResponseBody({
|
|
102
|
+
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
|
|
103
|
+
...(v.error_message === undefined ? null : { errorMessage: v.error_message }),
|
|
104
|
+
});
|
|
105
|
+
});
|
|
106
|
+
GetCallResponse500ResponseBody$.outboundSchema = zod_1.z
|
|
107
|
+
.instanceof(GetCallResponse500ResponseBody)
|
|
108
|
+
.transform((v) => v.data$)
|
|
109
|
+
.pipe(zod_1.z
|
|
110
|
+
.object({
|
|
111
|
+
rawResponse: zod_1.z
|
|
112
|
+
.instanceof(Response)
|
|
113
|
+
.transform(() => {
|
|
114
|
+
throw new Error("Response cannot be serialized");
|
|
115
|
+
})
|
|
116
|
+
.optional(),
|
|
117
|
+
errorMessage: zod_1.z.string().optional(),
|
|
118
|
+
})
|
|
119
|
+
.transform((v) => {
|
|
120
|
+
return {
|
|
121
|
+
...(v.rawResponse === undefined
|
|
122
|
+
? null
|
|
123
|
+
: { RawResponse: v.rawResponse }),
|
|
124
|
+
...(v.errorMessage === undefined
|
|
125
|
+
? null
|
|
126
|
+
: { error_message: v.errorMessage }),
|
|
127
|
+
};
|
|
128
|
+
}));
|
|
129
|
+
})(GetCallResponse500ResponseBody$ || (exports.GetCallResponse500ResponseBody$ = GetCallResponse500ResponseBody$ = {}));
|
|
130
|
+
/** @internal */
|
|
131
|
+
var GetCallResponse422ResponseBody$;
|
|
132
|
+
(function (GetCallResponse422ResponseBody$) {
|
|
133
|
+
GetCallResponse422ResponseBody$.inboundSchema = zod_1.z
|
|
134
|
+
.object({
|
|
135
|
+
RawResponse: zod_1.z.instanceof(Response).optional(),
|
|
136
|
+
error_message: zod_1.z.string().optional(),
|
|
137
|
+
})
|
|
138
|
+
.transform((v) => {
|
|
139
|
+
return new GetCallResponse422ResponseBody({
|
|
140
|
+
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
|
|
141
|
+
...(v.error_message === undefined ? null : { errorMessage: v.error_message }),
|
|
142
|
+
});
|
|
143
|
+
});
|
|
144
|
+
GetCallResponse422ResponseBody$.outboundSchema = zod_1.z
|
|
145
|
+
.instanceof(GetCallResponse422ResponseBody)
|
|
146
|
+
.transform((v) => v.data$)
|
|
147
|
+
.pipe(zod_1.z
|
|
148
|
+
.object({
|
|
149
|
+
rawResponse: zod_1.z
|
|
150
|
+
.instanceof(Response)
|
|
151
|
+
.transform(() => {
|
|
152
|
+
throw new Error("Response cannot be serialized");
|
|
153
|
+
})
|
|
154
|
+
.optional(),
|
|
155
|
+
errorMessage: zod_1.z.string().optional(),
|
|
156
|
+
})
|
|
157
|
+
.transform((v) => {
|
|
158
|
+
return {
|
|
159
|
+
...(v.rawResponse === undefined
|
|
160
|
+
? null
|
|
161
|
+
: { RawResponse: v.rawResponse }),
|
|
162
|
+
...(v.errorMessage === undefined
|
|
163
|
+
? null
|
|
164
|
+
: { error_message: v.errorMessage }),
|
|
165
|
+
};
|
|
166
|
+
}));
|
|
167
|
+
})(GetCallResponse422ResponseBody$ || (exports.GetCallResponse422ResponseBody$ = GetCallResponse422ResponseBody$ = {}));
|
|
168
|
+
/** @internal */
|
|
169
|
+
var GetCallResponseResponseBody$;
|
|
170
|
+
(function (GetCallResponseResponseBody$) {
|
|
171
|
+
GetCallResponseResponseBody$.inboundSchema = zod_1.z
|
|
172
|
+
.object({
|
|
173
|
+
RawResponse: zod_1.z.instanceof(Response).optional(),
|
|
174
|
+
error_message: zod_1.z.string().optional(),
|
|
175
|
+
})
|
|
176
|
+
.transform((v) => {
|
|
177
|
+
return new GetCallResponseResponseBody({
|
|
178
|
+
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
|
|
179
|
+
...(v.error_message === undefined ? null : { errorMessage: v.error_message }),
|
|
180
|
+
});
|
|
181
|
+
});
|
|
182
|
+
GetCallResponseResponseBody$.outboundSchema = zod_1.z
|
|
183
|
+
.instanceof(GetCallResponseResponseBody)
|
|
184
|
+
.transform((v) => v.data$)
|
|
185
|
+
.pipe(zod_1.z
|
|
186
|
+
.object({
|
|
187
|
+
rawResponse: zod_1.z
|
|
188
|
+
.instanceof(Response)
|
|
189
|
+
.transform(() => {
|
|
190
|
+
throw new Error("Response cannot be serialized");
|
|
191
|
+
})
|
|
192
|
+
.optional(),
|
|
193
|
+
errorMessage: zod_1.z.string().optional(),
|
|
194
|
+
})
|
|
195
|
+
.transform((v) => {
|
|
196
|
+
return {
|
|
197
|
+
...(v.rawResponse === undefined ? null : { RawResponse: v.rawResponse }),
|
|
198
|
+
...(v.errorMessage === undefined
|
|
199
|
+
? null
|
|
200
|
+
: { error_message: v.errorMessage }),
|
|
201
|
+
};
|
|
202
|
+
}));
|
|
203
|
+
})(GetCallResponseResponseBody$ || (exports.GetCallResponseResponseBody$ = GetCallResponseResponseBody$ = {}));
|
|
204
|
+
/** @internal */
|
|
205
|
+
var GetCallResponseBody$;
|
|
206
|
+
(function (GetCallResponseBody$) {
|
|
207
|
+
GetCallResponseBody$.inboundSchema = zod_1.z
|
|
208
|
+
.object({
|
|
209
|
+
RawResponse: zod_1.z.instanceof(Response).optional(),
|
|
210
|
+
error_message: zod_1.z.string().optional(),
|
|
211
|
+
})
|
|
212
|
+
.transform((v) => {
|
|
213
|
+
return new GetCallResponseBody({
|
|
214
|
+
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
|
|
215
|
+
...(v.error_message === undefined ? null : { errorMessage: v.error_message }),
|
|
216
|
+
});
|
|
217
|
+
});
|
|
218
|
+
GetCallResponseBody$.outboundSchema = zod_1.z
|
|
219
|
+
.instanceof(GetCallResponseBody)
|
|
220
|
+
.transform((v) => v.data$)
|
|
221
|
+
.pipe(zod_1.z
|
|
222
|
+
.object({
|
|
223
|
+
rawResponse: zod_1.z
|
|
224
|
+
.instanceof(Response)
|
|
225
|
+
.transform(() => {
|
|
226
|
+
throw new Error("Response cannot be serialized");
|
|
227
|
+
})
|
|
228
|
+
.optional(),
|
|
229
|
+
errorMessage: zod_1.z.string().optional(),
|
|
230
|
+
})
|
|
231
|
+
.transform((v) => {
|
|
232
|
+
return {
|
|
233
|
+
...(v.rawResponse === undefined ? null : { RawResponse: v.rawResponse }),
|
|
234
|
+
...(v.errorMessage === undefined
|
|
235
|
+
? null
|
|
236
|
+
: { error_message: v.errorMessage }),
|
|
237
|
+
};
|
|
238
|
+
}));
|
|
239
|
+
})(GetCallResponseBody$ || (exports.GetCallResponseBody$ = GetCallResponseBody$ = {}));
|
|
240
|
+
//# sourceMappingURL=getcall.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getcall.js","sourceRoot":"","sources":["../../src/models/errors/getcall.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,6BAAwB;AAaxB;;GAEG;AACH,MAAa,8BAA+B,SAAQ,KAAK;IAUrD,YAAY,GAAuC,EAAE,OAAsB;QACvE,KAAK,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC;QACnB,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC;QAEjB,IAAI,GAAG,CAAC,WAAW,IAAI,IAAI,EAAE,CAAC;YAC1B,IAAI,CAAC,WAAW,GAAG,GAAG,CAAC,WAAW,CAAC;QACvC,CAAC;QACD,IAAI,GAAG,CAAC,YAAY,IAAI,IAAI,EAAE,CAAC;YAC3B,IAAI,CAAC,YAAY,GAAG,GAAG,CAAC,YAAY,CAAC;QACzC,CAAC;QAED,MAAM,GAAG,GAAG,SAAS,IAAI,GAAG,IAAI,OAAO,GAAG,CAAC,OAAO,KAAK,QAAQ,C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AQ,EAAE;KACtC,CAAC;SACD,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;QACb,OAAO;YACH,GAAG,CAAC,CAAC,CAAC,WAAW,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,WAAW,EAAE,CAAC,CAAC,WAAW,EAAE,CAAC;YACxE,GAAG,CAAC,CAAC,CAAC,YAAY,KAAK,SAAS;gBAC5B,CAAC,CAAC,IAAI;gBACN,CAAC,CAAC,EAAE,aAAa,EAAE,CAAC,CAAC,YAAY,EAAE,CAAC;SAC3C,CAAC;IACN,CAAC,CAAC,CACT,CAAC;AACV,CAAC,EA7CgB,oBAAoB,oCAApB,oBAAoB,QA6CpC"}
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/**
|
|
3
|
+
* Internal Server Error
|
|
4
|
+
*/
|
|
5
|
+
export type GetPhoneNumberResponse500ResponseBodyData = {
|
|
6
|
+
/**
|
|
7
|
+
* Raw HTTP response; suitable for custom response parsing
|
|
8
|
+
*/
|
|
9
|
+
rawResponse?: Response | undefined;
|
|
10
|
+
errorMessage?: string | undefined;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* Internal Server Error
|
|
14
|
+
*/
|
|
15
|
+
export declare class GetPhoneNumberResponse500ResponseBody extends Error {
|
|
16
|
+
/**
|
|
17
|
+
* Raw HTTP response; suitable for custom response parsing
|
|
18
|
+
*/
|
|
19
|
+
rawResponse?: Response | undefined;
|
|
20
|
+
errorMessage?: string | undefined;
|
|
21
|
+
/** The original data that was passed to this error instance. */
|
|
22
|
+
data$: GetPhoneNumberResponse500ResponseBodyData;
|
|
23
|
+
constructor(err: GetPhoneNumberResponse500ResponseBodyData, options?: ErrorOptions);
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Unprocessable Content
|
|
27
|
+
*/
|
|
28
|
+
export type GetPhoneNumberResponse422ResponseBodyData = {
|
|
29
|
+
/**
|
|
30
|
+
* Raw HTTP response; suitable for custom response parsing
|
|
31
|
+
*/
|
|
32
|
+
rawResponse?: Response | undefined;
|
|
33
|
+
errorMessage?: string | undefined;
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* Unprocessable Content
|
|
37
|
+
*/
|
|
38
|
+
export declare class GetPhoneNumberResponse422ResponseBody extends Error {
|
|
39
|
+
/**
|
|
40
|
+
* Raw HTTP response; suitable for custom response parsing
|
|
41
|
+
*/
|
|
42
|
+
rawResponse?: Response | undefined;
|
|
43
|
+
errorMessage?: string | undefined;
|
|
44
|
+
/** The original data that was passed to this error instance. */
|
|
45
|
+
data$: GetPhoneNumberResponse422ResponseBodyData;
|
|
46
|
+
constructor(err: GetPhoneNumberResponse422ResponseBodyData, options?: ErrorOptions);
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Unauthorized
|
|
50
|
+
*/
|
|
51
|
+
export type GetPhoneNumberResponseResponseBodyData = {
|
|
52
|
+
/**
|
|
53
|
+
* Raw HTTP response; suitable for custom response parsing
|
|
54
|
+
*/
|
|
55
|
+
rawResponse?: Response | undefined;
|
|
56
|
+
errorMessage?: string | undefined;
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* Unauthorized
|
|
60
|
+
*/
|
|
61
|
+
export declare class GetPhoneNumberResponseResponseBody extends Error {
|
|
62
|
+
/**
|
|
63
|
+
* Raw HTTP response; suitable for custom response parsing
|
|
64
|
+
*/
|
|
65
|
+
rawResponse?: Response | undefined;
|
|
66
|
+
errorMessage?: string | undefined;
|
|
67
|
+
/** The original data that was passed to this error instance. */
|
|
68
|
+
data$: GetPhoneNumberResponseResponseBodyData;
|
|
69
|
+
constructor(err: GetPhoneNumberResponseResponseBodyData, options?: ErrorOptions);
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Bad Request
|
|
73
|
+
*/
|
|
74
|
+
export type GetPhoneNumberResponseBodyData = {
|
|
75
|
+
/**
|
|
76
|
+
* Raw HTTP response; suitable for custom response parsing
|
|
77
|
+
*/
|
|
78
|
+
rawResponse?: Response | undefined;
|
|
79
|
+
errorMessage?: string | undefined;
|
|
80
|
+
};
|
|
81
|
+
/**
|
|
82
|
+
* Bad Request
|
|
83
|
+
*/
|
|
84
|
+
export declare class GetPhoneNumberResponseBody extends Error {
|
|
85
|
+
/**
|
|
86
|
+
* Raw HTTP response; suitable for custom response parsing
|
|
87
|
+
*/
|
|
88
|
+
rawResponse?: Response | undefined;
|
|
89
|
+
errorMessage?: string | undefined;
|
|
90
|
+
/** The original data that was passed to this error instance. */
|
|
91
|
+
data$: GetPhoneNumberResponseBodyData;
|
|
92
|
+
constructor(err: GetPhoneNumberResponseBodyData, options?: ErrorOptions);
|
|
93
|
+
}
|
|
94
|
+
/** @internal */
|
|
95
|
+
export declare namespace GetPhoneNumberResponse500ResponseBody$ {
|
|
96
|
+
type Inbound = {
|
|
97
|
+
RawResponse?: Response | undefined;
|
|
98
|
+
error_message?: string | undefined;
|
|
99
|
+
};
|
|
100
|
+
const inboundSchema: z.ZodType<GetPhoneNumberResponse500ResponseBody, z.ZodTypeDef, Inbound>;
|
|
101
|
+
type Outbound = {
|
|
102
|
+
RawResponse?: never | undefined;
|
|
103
|
+
error_message?: string | undefined;
|
|
104
|
+
};
|
|
105
|
+
const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef, GetPhoneNumberResponse500ResponseBody>;
|
|
106
|
+
}
|
|
107
|
+
/** @internal */
|
|
108
|
+
export declare namespace GetPhoneNumberResponse422ResponseBody$ {
|
|
109
|
+
type Inbound = {
|
|
110
|
+
RawResponse?: Response | undefined;
|
|
111
|
+
error_message?: string | undefined;
|
|
112
|
+
};
|
|
113
|
+
const inboundSchema: z.ZodType<GetPhoneNumberResponse422ResponseBody, z.ZodTypeDef, Inbound>;
|
|
114
|
+
type Outbound = {
|
|
115
|
+
RawResponse?: never | undefined;
|
|
116
|
+
error_message?: string | undefined;
|
|
117
|
+
};
|
|
118
|
+
const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef, GetPhoneNumberResponse422ResponseBody>;
|
|
119
|
+
}
|
|
120
|
+
/** @internal */
|
|
121
|
+
export declare namespace GetPhoneNumberResponseResponseBody$ {
|
|
122
|
+
type Inbound = {
|
|
123
|
+
RawResponse?: Response | undefined;
|
|
124
|
+
error_message?: string | undefined;
|
|
125
|
+
};
|
|
126
|
+
const inboundSchema: z.ZodType<GetPhoneNumberResponseResponseBody, z.ZodTypeDef, Inbound>;
|
|
127
|
+
type Outbound = {
|
|
128
|
+
RawResponse?: never | undefined;
|
|
129
|
+
error_message?: string | undefined;
|
|
130
|
+
};
|
|
131
|
+
const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef, GetPhoneNumberResponseResponseBody>;
|
|
132
|
+
}
|
|
133
|
+
/** @internal */
|
|
134
|
+
export declare namespace GetPhoneNumberResponseBody$ {
|
|
135
|
+
type Inbound = {
|
|
136
|
+
RawResponse?: Response | undefined;
|
|
137
|
+
error_message?: string | undefined;
|
|
138
|
+
};
|
|
139
|
+
const inboundSchema: z.ZodType<GetPhoneNumberResponseBody, z.ZodTypeDef, Inbound>;
|
|
140
|
+
type Outbound = {
|
|
141
|
+
RawResponse?: never | undefined;
|
|
142
|
+
error_message?: string | undefined;
|
|
143
|
+
};
|
|
144
|
+
const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef, GetPhoneNumberResponseBody>;
|
|
145
|
+
}
|
|
146
|
+
//# sourceMappingURL=getphonenumber.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getphonenumber.d.ts","sourceRoot":"","sources":["../../src/models/errors/getphonenumber.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;GAEG;AACH,MAAM,MAAM,yCAAyC,GAAG;IACpD;;OAEG;IACH,WAAW,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;IACnC,YAAY,CAAC,EAAE,MAAM,GAAG,SA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T"}
|
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.GetPhoneNumberResponseBody$ = exports.GetPhoneNumberResponseResponseBody$ = exports.GetPhoneNumberResponse422ResponseBody$ = exports.GetPhoneNumberResponse500ResponseBody$ = exports.GetPhoneNumberResponseBody = exports.GetPhoneNumberResponseResponseBody = exports.GetPhoneNumberResponse422ResponseBody = exports.GetPhoneNumberResponse500ResponseBody = void 0;
|
|
7
|
+
const zod_1 = require("zod");
|
|
8
|
+
/**
|
|
9
|
+
* Internal Server Error
|
|
10
|
+
*/
|
|
11
|
+
class GetPhoneNumberResponse500ResponseBody extends Error {
|
|
12
|
+
constructor(err, options) {
|
|
13
|
+
super("", options);
|
|
14
|
+
this.data$ = err;
|
|
15
|
+
if (err.rawResponse != null) {
|
|
16
|
+
this.rawResponse = err.rawResponse;
|
|
17
|
+
}
|
|
18
|
+
if (err.errorMessage != null) {
|
|
19
|
+
this.errorMessage = err.errorMessage;
|
|
20
|
+
}
|
|
21
|
+
const msg = "message" in err && typeof err.message === "string" ? err.message : "";
|
|
22
|
+
const { rawResponse, ...data } = err;
|
|
23
|
+
const content = JSON.stringify(data);
|
|
24
|
+
this.message = [msg, content].filter(Boolean).join("\n");
|
|
25
|
+
this.name = "GetPhoneNumberResponse500ResponseBody";
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
exports.GetPhoneNumberResponse500ResponseBody = GetPhoneNumberResponse500ResponseBody;
|
|
29
|
+
/**
|
|
30
|
+
* Unprocessable Content
|
|
31
|
+
*/
|
|
32
|
+
class GetPhoneNumberResponse422ResponseBody extends Error {
|
|
33
|
+
constructor(err, options) {
|
|
34
|
+
super("", options);
|
|
35
|
+
this.data$ = err;
|
|
36
|
+
if (err.rawResponse != null) {
|
|
37
|
+
this.rawResponse = err.rawResponse;
|
|
38
|
+
}
|
|
39
|
+
if (err.errorMessage != null) {
|
|
40
|
+
this.errorMessage = err.errorMessage;
|
|
41
|
+
}
|
|
42
|
+
const msg = "message" in err && typeof err.message === "string" ? err.message : "";
|
|
43
|
+
const { rawResponse, ...data } = err;
|
|
44
|
+
const content = JSON.stringify(data);
|
|
45
|
+
this.message = [msg, content].filter(Boolean).join("\n");
|
|
46
|
+
this.name = "GetPhoneNumberResponse422ResponseBody";
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
exports.GetPhoneNumberResponse422ResponseBody = GetPhoneNumberResponse422ResponseBody;
|
|
50
|
+
/**
|
|
51
|
+
* Unauthorized
|
|
52
|
+
*/
|
|
53
|
+
class GetPhoneNumberResponseResponseBody extends Error {
|
|
54
|
+
constructor(err, options) {
|
|
55
|
+
super("", options);
|
|
56
|
+
this.data$ = err;
|
|
57
|
+
if (err.rawResponse != null) {
|
|
58
|
+
this.rawResponse = err.rawResponse;
|
|
59
|
+
}
|
|
60
|
+
if (err.errorMessage != null) {
|
|
61
|
+
this.errorMessage = err.errorMessage;
|
|
62
|
+
}
|
|
63
|
+
const msg = "message" in err && typeof err.message === "string" ? err.message : "";
|
|
64
|
+
const { rawResponse, ...data } = err;
|
|
65
|
+
const content = JSON.stringify(data);
|
|
66
|
+
this.message = [msg, content].filter(Boolean).join("\n");
|
|
67
|
+
this.name = "GetPhoneNumberResponseResponseBody";
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
exports.GetPhoneNumberResponseResponseBody = GetPhoneNumberResponseResponseBody;
|
|
71
|
+
/**
|
|
72
|
+
* Bad Request
|
|
73
|
+
*/
|
|
74
|
+
class GetPhoneNumberResponseBody extends Error {
|
|
75
|
+
constructor(err, options) {
|
|
76
|
+
super("", options);
|
|
77
|
+
this.data$ = err;
|
|
78
|
+
if (err.rawResponse != null) {
|
|
79
|
+
this.rawResponse = err.rawResponse;
|
|
80
|
+
}
|
|
81
|
+
if (err.errorMessage != null) {
|
|
82
|
+
this.errorMessage = err.errorMessage;
|
|
83
|
+
}
|
|
84
|
+
const msg = "message" in err && typeof err.message === "string" ? err.message : "";
|
|
85
|
+
const { rawResponse, ...data } = err;
|
|
86
|
+
const content = JSON.stringify(data);
|
|
87
|
+
this.message = [msg, content].filter(Boolean).join("\n");
|
|
88
|
+
this.name = "GetPhoneNumberResponseBody";
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
exports.GetPhoneNumberResponseBody = GetPhoneNumberResponseBody;
|
|
92
|
+
/** @internal */
|
|
93
|
+
var GetPhoneNumberResponse500ResponseBody$;
|
|
94
|
+
(function (GetPhoneNumberResponse500ResponseBody$) {
|
|
95
|
+
GetPhoneNumberResponse500ResponseBody$.inboundSchema = zod_1.z
|
|
96
|
+
.object({
|
|
97
|
+
RawResponse: zod_1.z.instanceof(Response).optional(),
|
|
98
|
+
error_message: zod_1.z.string().optional(),
|
|
99
|
+
})
|
|
100
|
+
.transform((v) => {
|
|
101
|
+
return new GetPhoneNumberResponse500ResponseBody({
|
|
102
|
+
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
|
|
103
|
+
...(v.error_message === undefined ? null : { errorMessage: v.error_message }),
|
|
104
|
+
});
|
|
105
|
+
});
|
|
106
|
+
GetPhoneNumberResponse500ResponseBody$.outboundSchema = zod_1.z
|
|
107
|
+
.instanceof(GetPhoneNumberResponse500ResponseBody)
|
|
108
|
+
.transform((v) => v.data$)
|
|
109
|
+
.pipe(zod_1.z
|
|
110
|
+
.object({
|
|
111
|
+
rawResponse: zod_1.z
|
|
112
|
+
.instanceof(Response)
|
|
113
|
+
.transform(() => {
|
|
114
|
+
throw new Error("Response cannot be serialized");
|
|
115
|
+
})
|
|
116
|
+
.optional(),
|
|
117
|
+
errorMessage: zod_1.z.string().optional(),
|
|
118
|
+
})
|
|
119
|
+
.transform((v) => {
|
|
120
|
+
return {
|
|
121
|
+
...(v.rawResponse === undefined ? null : { RawResponse: v.rawResponse }),
|
|
122
|
+
...(v.errorMessage === undefined
|
|
123
|
+
? null
|
|
124
|
+
: { error_message: v.errorMessage }),
|
|
125
|
+
};
|
|
126
|
+
}));
|
|
127
|
+
})(GetPhoneNumberResponse500ResponseBody$ || (exports.GetPhoneNumberResponse500ResponseBody$ = GetPhoneNumberResponse500ResponseBody$ = {}));
|
|
128
|
+
/** @internal */
|
|
129
|
+
var GetPhoneNumberResponse422ResponseBody$;
|
|
130
|
+
(function (GetPhoneNumberResponse422ResponseBody$) {
|
|
131
|
+
GetPhoneNumberResponse422ResponseBody$.inboundSchema = zod_1.z
|
|
132
|
+
.object({
|
|
133
|
+
RawResponse: zod_1.z.instanceof(Response).optional(),
|
|
134
|
+
error_message: zod_1.z.string().optional(),
|
|
135
|
+
})
|
|
136
|
+
.transform((v) => {
|
|
137
|
+
return new GetPhoneNumberResponse422ResponseBody({
|
|
138
|
+
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
|
|
139
|
+
...(v.error_message === undefined ? null : { errorMessage: v.error_message }),
|
|
140
|
+
});
|
|
141
|
+
});
|
|
142
|
+
GetPhoneNumberResponse422ResponseBody$.outboundSchema = zod_1.z
|
|
143
|
+
.instanceof(GetPhoneNumberResponse422ResponseBody)
|
|
144
|
+
.transform((v) => v.data$)
|
|
145
|
+
.pipe(zod_1.z
|
|
146
|
+
.object({
|
|
147
|
+
rawResponse: zod_1.z
|
|
148
|
+
.instanceof(Response)
|
|
149
|
+
.transform(() => {
|
|
150
|
+
throw new Error("Response cannot be serialized");
|
|
151
|
+
})
|
|
152
|
+
.optional(),
|
|
153
|
+
errorMessage: zod_1.z.string().optional(),
|
|
154
|
+
})
|
|
155
|
+
.transform((v) => {
|
|
156
|
+
return {
|
|
157
|
+
...(v.rawResponse === undefined ? null : { RawResponse: v.rawResponse }),
|
|
158
|
+
...(v.errorMessage === undefined
|
|
159
|
+
? null
|
|
160
|
+
: { error_message: v.errorMessage }),
|
|
161
|
+
};
|
|
162
|
+
}));
|
|
163
|
+
})(GetPhoneNumberResponse422ResponseBody$ || (exports.GetPhoneNumberResponse422ResponseBody$ = GetPhoneNumberResponse422ResponseBody$ = {}));
|
|
164
|
+
/** @internal */
|
|
165
|
+
var GetPhoneNumberResponseResponseBody$;
|
|
166
|
+
(function (GetPhoneNumberResponseResponseBody$) {
|
|
167
|
+
GetPhoneNumberResponseResponseBody$.inboundSchema = zod_1.z
|
|
168
|
+
.object({
|
|
169
|
+
RawResponse: zod_1.z.instanceof(Response).optional(),
|
|
170
|
+
error_message: zod_1.z.string().optional(),
|
|
171
|
+
})
|
|
172
|
+
.transform((v) => {
|
|
173
|
+
return new GetPhoneNumberResponseResponseBody({
|
|
174
|
+
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
|
|
175
|
+
...(v.error_message === undefined ? null : { errorMessage: v.error_message }),
|
|
176
|
+
});
|
|
177
|
+
});
|
|
178
|
+
GetPhoneNumberResponseResponseBody$.outboundSchema = zod_1.z
|
|
179
|
+
.instanceof(GetPhoneNumberResponseResponseBody)
|
|
180
|
+
.transform((v) => v.data$)
|
|
181
|
+
.pipe(zod_1.z
|
|
182
|
+
.object({
|
|
183
|
+
rawResponse: zod_1.z
|
|
184
|
+
.instanceof(Response)
|
|
185
|
+
.transform(() => {
|
|
186
|
+
throw new Error("Response cannot be serialized");
|
|
187
|
+
})
|
|
188
|
+
.optional(),
|
|
189
|
+
errorMessage: zod_1.z.string().optional(),
|
|
190
|
+
})
|
|
191
|
+
.transform((v) => {
|
|
192
|
+
return {
|
|
193
|
+
...(v.rawResponse === undefined ? null : { RawResponse: v.rawResponse }),
|
|
194
|
+
...(v.errorMessage === undefined
|
|
195
|
+
? null
|
|
196
|
+
: { error_message: v.errorMessage }),
|
|
197
|
+
};
|
|
198
|
+
}));
|
|
199
|
+
})(GetPhoneNumberResponseResponseBody$ || (exports.GetPhoneNumberResponseResponseBody$ = GetPhoneNumberResponseResponseBody$ = {}));
|
|
200
|
+
/** @internal */
|
|
201
|
+
var GetPhoneNumberResponseBody$;
|
|
202
|
+
(function (GetPhoneNumberResponseBody$) {
|
|
203
|
+
GetPhoneNumberResponseBody$.inboundSchema = zod_1.z
|
|
204
|
+
.object({
|
|
205
|
+
RawResponse: zod_1.z.instanceof(Response).optional(),
|
|
206
|
+
error_message: zod_1.z.string().optional(),
|
|
207
|
+
})
|
|
208
|
+
.transform((v) => {
|
|
209
|
+
return new GetPhoneNumberResponseBody({
|
|
210
|
+
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
|
|
211
|
+
...(v.error_message === undefined ? null : { errorMessage: v.error_message }),
|
|
212
|
+
});
|
|
213
|
+
});
|
|
214
|
+
GetPhoneNumberResponseBody$.outboundSchema = zod_1.z
|
|
215
|
+
.instanceof(GetPhoneNumberResponseBody)
|
|
216
|
+
.transform((v) => v.data$)
|
|
217
|
+
.pipe(zod_1.z
|
|
218
|
+
.object({
|
|
219
|
+
rawResponse: zod_1.z
|
|
220
|
+
.instanceof(Response)
|
|
221
|
+
.transform(() => {
|
|
222
|
+
throw new Error("Response cannot be serialized");
|
|
223
|
+
})
|
|
224
|
+
.optional(),
|
|
225
|
+
errorMessage: zod_1.z.string().optional(),
|
|
226
|
+
})
|
|
227
|
+
.transform((v) => {
|
|
228
|
+
return {
|
|
229
|
+
...(v.rawResponse === undefined ? null : { RawResponse: v.rawResponse }),
|
|
230
|
+
...(v.errorMessage === undefined
|
|
231
|
+
? null
|
|
232
|
+
: { error_message: v.errorMessage }),
|
|
233
|
+
};
|
|
234
|
+
}));
|
|
235
|
+
})(GetPhoneNumberResponseBody$ || (exports.GetPhoneNumberResponseBody$ = GetPhoneNumberResponseBody$ = {}));
|
|
236
|
+
//# sourceMappingURL=getphonenumber.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getphonenumber.js","sourceRoot":"","sources":["../../src/models/errors/getphonenumber.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,6BAAwB;AAaxB;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