@unified-api/typescript-sdk 2.83.25 → 2.83.27
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 +14 -0
- package/dist/commonjs/funcs/commerceCreateCommerceReservation.d.ts +15 -0
- package/dist/commonjs/funcs/commerceCreateCommerceReservation.d.ts.map +1 -0
- package/dist/commonjs/funcs/commerceCreateCommerceReservation.js +124 -0
- package/dist/commonjs/funcs/commerceCreateCommerceReservation.js.map +1 -0
- package/dist/commonjs/funcs/commerceGetCommerceReservation.d.ts +15 -0
- package/dist/commonjs/funcs/commerceGetCommerceReservation.d.ts.map +1 -0
- package/dist/commonjs/funcs/commerceGetCommerceReservation.js +125 -0
- package/dist/commonjs/funcs/commerceGetCommerceReservation.js.map +1 -0
- package/dist/commonjs/funcs/commerceListCommerceAvailabilities.d.ts +15 -0
- package/dist/commonjs/funcs/commerceListCommerceAvailabilities.d.ts.map +1 -0
- package/dist/commonjs/funcs/commerceListCommerceAvailabilities.js +134 -0
- package/dist/commonjs/funcs/commerceListCommerceAvailabilities.js.map +1 -0
- package/dist/commonjs/funcs/commerceListCommerceReservations.d.ts +15 -0
- package/dist/commonjs/funcs/commerceListCommerceReservations.d.ts.map +1 -0
- package/dist/commonjs/funcs/commerceListCommerceReservations.js +133 -0
- package/dist/commonjs/funcs/commerceListCommerceReservations.js.map +1 -0
- package/dist/commonjs/funcs/commerceListCommerceReviews.js +1 -0
- package/dist/commonjs/funcs/commerceListCommerceReviews.js.map +1 -1
- package/dist/commonjs/funcs/commercePatchCommerceReservation.d.ts +15 -0
- package/dist/commonjs/funcs/commercePatchCommerceReservation.d.ts.map +1 -0
- package/dist/commonjs/funcs/commercePatchCommerceReservation.js +128 -0
- package/dist/commonjs/funcs/commercePatchCommerceReservation.js.map +1 -0
- package/dist/commonjs/funcs/commerceRemoveCommerceReservation.d.ts +14 -0
- package/dist/commonjs/funcs/commerceRemoveCommerceReservation.d.ts.map +1 -0
- package/dist/commonjs/funcs/commerceRemoveCommerceReservation.js +122 -0
- package/dist/commonjs/funcs/commerceRemoveCommerceReservation.js.map +1 -0
- package/dist/commonjs/funcs/commerceUpdateCommerceReservation.d.ts +15 -0
- package/dist/commonjs/funcs/commerceUpdateCommerceReservation.d.ts.map +1 -0
- package/dist/commonjs/funcs/commerceUpdateCommerceReservation.js +128 -0
- package/dist/commonjs/funcs/commerceUpdateCommerceReservation.js.map +1 -0
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/lib/config.js.map +1 -1
- package/dist/commonjs/lib/encodings.d.ts.map +1 -1
- package/dist/commonjs/lib/encodings.js +20 -5
- package/dist/commonjs/lib/encodings.js.map +1 -1
- package/dist/commonjs/sdk/availability.d.ts +10 -0
- package/dist/commonjs/sdk/availability.d.ts.map +1 -0
- package/dist/commonjs/sdk/availability.js +19 -0
- package/dist/commonjs/sdk/availability.js.map +1 -0
- package/dist/commonjs/sdk/commerce.d.ts +28 -0
- package/dist/commonjs/sdk/commerce.d.ts.map +1 -1
- package/dist/commonjs/sdk/commerce.js +49 -0
- package/dist/commonjs/sdk/commerce.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/createcommerceitem.d.ts +10 -8
- package/dist/commonjs/sdk/models/operations/createcommerceitem.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/createcommerceitem.js +10 -8
- package/dist/commonjs/sdk/models/operations/createcommerceitem.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/createcommercelocation.d.ts +11 -0
- package/dist/commonjs/sdk/models/operations/createcommercelocation.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/createcommercelocation.js +11 -0
- package/dist/commonjs/sdk/models/operations/createcommercelocation.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/createcommercereservation.d.ts +52 -0
- package/dist/commonjs/sdk/models/operations/createcommercereservation.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/createcommercereservation.js +83 -0
- package/dist/commonjs/sdk/models/operations/createcommercereservation.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/createcommercereview.d.ts +2 -0
- package/dist/commonjs/sdk/models/operations/createcommercereview.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/createcommercereview.js +2 -0
- package/dist/commonjs/sdk/models/operations/createcommercereview.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/createucrecording.d.ts +2 -1
- package/dist/commonjs/sdk/models/operations/createucrecording.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/createucrecording.js +2 -1
- package/dist/commonjs/sdk/models/operations/createucrecording.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/getcommerceitem.d.ts +10 -8
- package/dist/commonjs/sdk/models/operations/getcommerceitem.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/getcommerceitem.js +10 -8
- package/dist/commonjs/sdk/models/operations/getcommerceitem.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/getcommercelocation.d.ts +11 -0
- package/dist/commonjs/sdk/models/operations/getcommercelocation.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/getcommercelocation.js +11 -0
- package/dist/commonjs/sdk/models/operations/getcommercelocation.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/getcommercereservation.d.ts +54 -0
- package/dist/commonjs/sdk/models/operations/getcommercereservation.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/getcommercereservation.js +80 -0
- package/dist/commonjs/sdk/models/operations/getcommercereservation.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/getcommercereview.d.ts +2 -0
- package/dist/commonjs/sdk/models/operations/getcommercereview.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/getcommercereview.js +2 -0
- package/dist/commonjs/sdk/models/operations/getcommercereview.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/getuccall.d.ts +2 -1
- package/dist/commonjs/sdk/models/operations/getuccall.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/getuccall.js +2 -1
- package/dist/commonjs/sdk/models/operations/getuccall.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/getucrecording.d.ts +2 -1
- package/dist/commonjs/sdk/models/operations/getucrecording.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/getucrecording.js +2 -1
- package/dist/commonjs/sdk/models/operations/getucrecording.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/index.d.ts +7 -0
- package/dist/commonjs/sdk/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/index.js +7 -0
- package/dist/commonjs/sdk/models/operations/index.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/listcommerceavailabilities.d.ts +86 -0
- package/dist/commonjs/sdk/models/operations/listcommerceavailabilities.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/listcommerceavailabilities.js +87 -0
- package/dist/commonjs/sdk/models/operations/listcommerceavailabilities.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/listcommerceitems.d.ts +10 -8
- package/dist/commonjs/sdk/models/operations/listcommerceitems.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/listcommerceitems.js +10 -8
- package/dist/commonjs/sdk/models/operations/listcommerceitems.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/listcommercelocations.d.ts +11 -0
- package/dist/commonjs/sdk/models/operations/listcommercelocations.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/listcommercelocations.js +11 -0
- package/dist/commonjs/sdk/models/operations/listcommercelocations.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/listcommercereservations.d.ts +92 -0
- package/dist/commonjs/sdk/models/operations/listcommercereservations.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/listcommercereservations.js +97 -0
- package/dist/commonjs/sdk/models/operations/listcommercereservations.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/listcommercereviews.d.ts +7 -0
- package/dist/commonjs/sdk/models/operations/listcommercereviews.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/listcommercereviews.js +4 -0
- package/dist/commonjs/sdk/models/operations/listcommercereviews.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/listuccalls.d.ts +2 -1
- package/dist/commonjs/sdk/models/operations/listuccalls.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/listuccalls.js +2 -1
- package/dist/commonjs/sdk/models/operations/listuccalls.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/listucrecordings.d.ts +2 -1
- package/dist/commonjs/sdk/models/operations/listucrecordings.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/listucrecordings.js +2 -1
- package/dist/commonjs/sdk/models/operations/listucrecordings.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/patchcommerceitem.d.ts +10 -8
- package/dist/commonjs/sdk/models/operations/patchcommerceitem.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/patchcommerceitem.js +10 -8
- package/dist/commonjs/sdk/models/operations/patchcommerceitem.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/patchcommercelocation.d.ts +11 -0
- package/dist/commonjs/sdk/models/operations/patchcommercelocation.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/patchcommercelocation.js +11 -0
- package/dist/commonjs/sdk/models/operations/patchcommercelocation.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/patchcommercereservation.d.ts +57 -0
- package/dist/commonjs/sdk/models/operations/patchcommercereservation.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/patchcommercereservation.js +84 -0
- package/dist/commonjs/sdk/models/operations/patchcommercereservation.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/patchcommercereview.d.ts +2 -0
- package/dist/commonjs/sdk/models/operations/patchcommercereview.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/patchcommercereview.js +2 -0
- package/dist/commonjs/sdk/models/operations/patchcommercereview.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/patchucrecording.d.ts +2 -1
- package/dist/commonjs/sdk/models/operations/patchucrecording.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/patchucrecording.js +2 -1
- package/dist/commonjs/sdk/models/operations/patchucrecording.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/removecommercereservation.d.ts +30 -0
- package/dist/commonjs/sdk/models/operations/removecommercereservation.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/removecommercereservation.js +68 -0
- package/dist/commonjs/sdk/models/operations/removecommercereservation.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/updatecommerceitem.d.ts +10 -8
- package/dist/commonjs/sdk/models/operations/updatecommerceitem.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/updatecommerceitem.js +10 -8
- package/dist/commonjs/sdk/models/operations/updatecommerceitem.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/updatecommercelocation.d.ts +11 -0
- package/dist/commonjs/sdk/models/operations/updatecommercelocation.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/updatecommercelocation.js +11 -0
- package/dist/commonjs/sdk/models/operations/updatecommercelocation.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/updatecommercereservation.d.ts +57 -0
- package/dist/commonjs/sdk/models/operations/updatecommercereservation.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/updatecommercereservation.js +84 -0
- package/dist/commonjs/sdk/models/operations/updatecommercereservation.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/updatecommercereview.d.ts +2 -0
- package/dist/commonjs/sdk/models/operations/updatecommercereview.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/updatecommercereview.js +2 -0
- package/dist/commonjs/sdk/models/operations/updatecommercereview.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/updateucrecording.d.ts +2 -1
- package/dist/commonjs/sdk/models/operations/updateucrecording.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/updateucrecording.js +2 -1
- package/dist/commonjs/sdk/models/operations/updateucrecording.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/commerceavailability.d.ts +18 -0
- package/dist/commonjs/sdk/models/shared/commerceavailability.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/commerceavailability.js +67 -0
- package/dist/commonjs/sdk/models/shared/commerceavailability.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/commerceitem.d.ts +4 -0
- package/dist/commonjs/sdk/models/shared/commerceitem.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/commerceitem.js +6 -0
- package/dist/commonjs/sdk/models/shared/commerceitem.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/commercelocation.d.ts +37 -0
- package/dist/commonjs/sdk/models/shared/commercelocation.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/commercelocation.js +47 -1
- package/dist/commonjs/sdk/models/shared/commercelocation.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/commercereservation.d.ts +68 -0
- package/dist/commonjs/sdk/models/shared/commercereservation.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/commercereservation.js +139 -0
- package/dist/commonjs/sdk/models/shared/commercereservation.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/commercereview.d.ts +4 -0
- package/dist/commonjs/sdk/models/shared/commercereview.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/commercereview.js +6 -0
- package/dist/commonjs/sdk/models/shared/commercereview.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/commercetelephone.d.ts +32 -0
- package/dist/commonjs/sdk/models/shared/commercetelephone.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/commercetelephone.js +72 -0
- package/dist/commonjs/sdk/models/shared/commercetelephone.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/index.d.ts +3 -0
- package/dist/commonjs/sdk/models/shared/index.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/index.js +3 -0
- package/dist/commonjs/sdk/models/shared/index.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/integrationsupport.d.ts +18 -0
- package/dist/commonjs/sdk/models/shared/integrationsupport.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/integrationsupport.js +24 -6
- package/dist/commonjs/sdk/models/shared/integrationsupport.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertyconnectionpermissions.d.ts +4 -0
- package/dist/commonjs/sdk/models/shared/propertyconnectionpermissions.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertyconnectionpermissions.js +4 -0
- package/dist/commonjs/sdk/models/shared/propertyconnectionpermissions.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/uccall.d.ts +9 -0
- package/dist/commonjs/sdk/models/shared/uccall.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/uccall.js +9 -1
- package/dist/commonjs/sdk/models/shared/uccall.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/ucrecording.d.ts +12 -0
- package/dist/commonjs/sdk/models/shared/ucrecording.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/ucrecording.js +12 -1
- package/dist/commonjs/sdk/models/shared/ucrecording.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/webhook.d.ts +2 -0
- package/dist/commonjs/sdk/models/shared/webhook.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/webhook.js +2 -0
- package/dist/commonjs/sdk/models/shared/webhook.js.map +1 -1
- package/dist/commonjs/sdk/reservation.d.ts +30 -0
- package/dist/commonjs/sdk/reservation.d.ts.map +1 -0
- package/dist/commonjs/sdk/reservation.js +54 -0
- package/dist/commonjs/sdk/reservation.js.map +1 -0
- package/dist/commonjs/sdk/sdk.d.ts +6 -0
- package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
- package/dist/commonjs/sdk/sdk.js +8 -0
- package/dist/commonjs/sdk/sdk.js.map +1 -1
- package/dist/esm/funcs/commerceCreateCommerceReservation.d.ts +15 -0
- package/dist/esm/funcs/commerceCreateCommerceReservation.d.ts.map +1 -0
- package/dist/esm/funcs/commerceCreateCommerceReservation.js +88 -0
- package/dist/esm/funcs/commerceCreateCommerceReservation.js.map +1 -0
- package/dist/esm/funcs/commerceGetCommerceReservation.d.ts +15 -0
- package/dist/esm/funcs/commerceGetCommerceReservation.d.ts.map +1 -0
- package/dist/esm/funcs/commerceGetCommerceReservation.js +89 -0
- package/dist/esm/funcs/commerceGetCommerceReservation.js.map +1 -0
- package/dist/esm/funcs/commerceListCommerceAvailabilities.d.ts +15 -0
- package/dist/esm/funcs/commerceListCommerceAvailabilities.d.ts.map +1 -0
- package/dist/esm/funcs/commerceListCommerceAvailabilities.js +98 -0
- package/dist/esm/funcs/commerceListCommerceAvailabilities.js.map +1 -0
- package/dist/esm/funcs/commerceListCommerceReservations.d.ts +15 -0
- package/dist/esm/funcs/commerceListCommerceReservations.d.ts.map +1 -0
- package/dist/esm/funcs/commerceListCommerceReservations.js +97 -0
- package/dist/esm/funcs/commerceListCommerceReservations.js.map +1 -0
- package/dist/esm/funcs/commerceListCommerceReviews.js +1 -0
- package/dist/esm/funcs/commerceListCommerceReviews.js.map +1 -1
- package/dist/esm/funcs/commercePatchCommerceReservation.d.ts +15 -0
- package/dist/esm/funcs/commercePatchCommerceReservation.d.ts.map +1 -0
- package/dist/esm/funcs/commercePatchCommerceReservation.js +92 -0
- package/dist/esm/funcs/commercePatchCommerceReservation.js.map +1 -0
- package/dist/esm/funcs/commerceRemoveCommerceReservation.d.ts +14 -0
- package/dist/esm/funcs/commerceRemoveCommerceReservation.d.ts.map +1 -0
- package/dist/esm/funcs/commerceRemoveCommerceReservation.js +86 -0
- package/dist/esm/funcs/commerceRemoveCommerceReservation.js.map +1 -0
- package/dist/esm/funcs/commerceUpdateCommerceReservation.d.ts +15 -0
- package/dist/esm/funcs/commerceUpdateCommerceReservation.d.ts.map +1 -0
- package/dist/esm/funcs/commerceUpdateCommerceReservation.js +92 -0
- package/dist/esm/funcs/commerceUpdateCommerceReservation.js.map +1 -0
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/lib/config.js.map +1 -1
- package/dist/esm/lib/encodings.d.ts.map +1 -1
- package/dist/esm/lib/encodings.js +20 -5
- package/dist/esm/lib/encodings.js.map +1 -1
- package/dist/esm/sdk/availability.d.ts +10 -0
- package/dist/esm/sdk/availability.d.ts.map +1 -0
- package/dist/esm/sdk/availability.js +15 -0
- package/dist/esm/sdk/availability.js.map +1 -0
- package/dist/esm/sdk/commerce.d.ts +28 -0
- package/dist/esm/sdk/commerce.d.ts.map +1 -1
- package/dist/esm/sdk/commerce.js +49 -0
- package/dist/esm/sdk/commerce.js.map +1 -1
- package/dist/esm/sdk/models/operations/createcommerceitem.d.ts +10 -8
- package/dist/esm/sdk/models/operations/createcommerceitem.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/createcommerceitem.js +10 -8
- package/dist/esm/sdk/models/operations/createcommerceitem.js.map +1 -1
- package/dist/esm/sdk/models/operations/createcommercelocation.d.ts +11 -0
- package/dist/esm/sdk/models/operations/createcommercelocation.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/createcommercelocation.js +11 -0
- package/dist/esm/sdk/models/operations/createcommercelocation.js.map +1 -1
- package/dist/esm/sdk/models/operations/createcommercereservation.d.ts +52 -0
- package/dist/esm/sdk/models/operations/createcommercereservation.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/createcommercereservation.js +46 -0
- package/dist/esm/sdk/models/operations/createcommercereservation.js.map +1 -0
- package/dist/esm/sdk/models/operations/createcommercereview.d.ts +2 -0
- package/dist/esm/sdk/models/operations/createcommercereview.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/createcommercereview.js +2 -0
- package/dist/esm/sdk/models/operations/createcommercereview.js.map +1 -1
- package/dist/esm/sdk/models/operations/createucrecording.d.ts +2 -1
- package/dist/esm/sdk/models/operations/createucrecording.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/createucrecording.js +2 -1
- package/dist/esm/sdk/models/operations/createucrecording.js.map +1 -1
- package/dist/esm/sdk/models/operations/getcommerceitem.d.ts +10 -8
- package/dist/esm/sdk/models/operations/getcommerceitem.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/getcommerceitem.js +10 -8
- package/dist/esm/sdk/models/operations/getcommerceitem.js.map +1 -1
- package/dist/esm/sdk/models/operations/getcommercelocation.d.ts +11 -0
- package/dist/esm/sdk/models/operations/getcommercelocation.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/getcommercelocation.js +11 -0
- package/dist/esm/sdk/models/operations/getcommercelocation.js.map +1 -1
- package/dist/esm/sdk/models/operations/getcommercereservation.d.ts +54 -0
- package/dist/esm/sdk/models/operations/getcommercereservation.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/getcommercereservation.js +43 -0
- package/dist/esm/sdk/models/operations/getcommercereservation.js.map +1 -0
- package/dist/esm/sdk/models/operations/getcommercereview.d.ts +2 -0
- package/dist/esm/sdk/models/operations/getcommercereview.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/getcommercereview.js +2 -0
- package/dist/esm/sdk/models/operations/getcommercereview.js.map +1 -1
- package/dist/esm/sdk/models/operations/getuccall.d.ts +2 -1
- package/dist/esm/sdk/models/operations/getuccall.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/getuccall.js +2 -1
- package/dist/esm/sdk/models/operations/getuccall.js.map +1 -1
- package/dist/esm/sdk/models/operations/getucrecording.d.ts +2 -1
- package/dist/esm/sdk/models/operations/getucrecording.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/getucrecording.js +2 -1
- package/dist/esm/sdk/models/operations/getucrecording.js.map +1 -1
- package/dist/esm/sdk/models/operations/index.d.ts +7 -0
- package/dist/esm/sdk/models/operations/index.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/index.js +7 -0
- package/dist/esm/sdk/models/operations/index.js.map +1 -1
- package/dist/esm/sdk/models/operations/listcommerceavailabilities.d.ts +86 -0
- package/dist/esm/sdk/models/operations/listcommerceavailabilities.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/listcommerceavailabilities.js +50 -0
- package/dist/esm/sdk/models/operations/listcommerceavailabilities.js.map +1 -0
- package/dist/esm/sdk/models/operations/listcommerceitems.d.ts +10 -8
- package/dist/esm/sdk/models/operations/listcommerceitems.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/listcommerceitems.js +10 -8
- package/dist/esm/sdk/models/operations/listcommerceitems.js.map +1 -1
- package/dist/esm/sdk/models/operations/listcommercelocations.d.ts +11 -0
- package/dist/esm/sdk/models/operations/listcommercelocations.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/listcommercelocations.js +11 -0
- package/dist/esm/sdk/models/operations/listcommercelocations.js.map +1 -1
- package/dist/esm/sdk/models/operations/listcommercereservations.d.ts +92 -0
- package/dist/esm/sdk/models/operations/listcommercereservations.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/listcommercereservations.js +60 -0
- package/dist/esm/sdk/models/operations/listcommercereservations.js.map +1 -0
- package/dist/esm/sdk/models/operations/listcommercereviews.d.ts +7 -0
- package/dist/esm/sdk/models/operations/listcommercereviews.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/listcommercereviews.js +4 -0
- package/dist/esm/sdk/models/operations/listcommercereviews.js.map +1 -1
- package/dist/esm/sdk/models/operations/listuccalls.d.ts +2 -1
- package/dist/esm/sdk/models/operations/listuccalls.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/listuccalls.js +2 -1
- package/dist/esm/sdk/models/operations/listuccalls.js.map +1 -1
- package/dist/esm/sdk/models/operations/listucrecordings.d.ts +2 -1
- package/dist/esm/sdk/models/operations/listucrecordings.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/listucrecordings.js +2 -1
- package/dist/esm/sdk/models/operations/listucrecordings.js.map +1 -1
- package/dist/esm/sdk/models/operations/patchcommerceitem.d.ts +10 -8
- package/dist/esm/sdk/models/operations/patchcommerceitem.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/patchcommerceitem.js +10 -8
- package/dist/esm/sdk/models/operations/patchcommerceitem.js.map +1 -1
- package/dist/esm/sdk/models/operations/patchcommercelocation.d.ts +11 -0
- package/dist/esm/sdk/models/operations/patchcommercelocation.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/patchcommercelocation.js +11 -0
- package/dist/esm/sdk/models/operations/patchcommercelocation.js.map +1 -1
- package/dist/esm/sdk/models/operations/patchcommercereservation.d.ts +57 -0
- package/dist/esm/sdk/models/operations/patchcommercereservation.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/patchcommercereservation.js +47 -0
- package/dist/esm/sdk/models/operations/patchcommercereservation.js.map +1 -0
- package/dist/esm/sdk/models/operations/patchcommercereview.d.ts +2 -0
- package/dist/esm/sdk/models/operations/patchcommercereview.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/patchcommercereview.js +2 -0
- package/dist/esm/sdk/models/operations/patchcommercereview.js.map +1 -1
- package/dist/esm/sdk/models/operations/patchucrecording.d.ts +2 -1
- package/dist/esm/sdk/models/operations/patchucrecording.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/patchucrecording.js +2 -1
- package/dist/esm/sdk/models/operations/patchucrecording.js.map +1 -1
- package/dist/esm/sdk/models/operations/removecommercereservation.d.ts +30 -0
- package/dist/esm/sdk/models/operations/removecommercereservation.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/removecommercereservation.js +30 -0
- package/dist/esm/sdk/models/operations/removecommercereservation.js.map +1 -0
- package/dist/esm/sdk/models/operations/updatecommerceitem.d.ts +10 -8
- package/dist/esm/sdk/models/operations/updatecommerceitem.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/updatecommerceitem.js +10 -8
- package/dist/esm/sdk/models/operations/updatecommerceitem.js.map +1 -1
- package/dist/esm/sdk/models/operations/updatecommercelocation.d.ts +11 -0
- package/dist/esm/sdk/models/operations/updatecommercelocation.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/updatecommercelocation.js +11 -0
- package/dist/esm/sdk/models/operations/updatecommercelocation.js.map +1 -1
- package/dist/esm/sdk/models/operations/updatecommercereservation.d.ts +57 -0
- package/dist/esm/sdk/models/operations/updatecommercereservation.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/updatecommercereservation.js +47 -0
- package/dist/esm/sdk/models/operations/updatecommercereservation.js.map +1 -0
- package/dist/esm/sdk/models/operations/updatecommercereview.d.ts +2 -0
- package/dist/esm/sdk/models/operations/updatecommercereview.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/updatecommercereview.js +2 -0
- package/dist/esm/sdk/models/operations/updatecommercereview.js.map +1 -1
- package/dist/esm/sdk/models/operations/updateucrecording.d.ts +2 -1
- package/dist/esm/sdk/models/operations/updateucrecording.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/updateucrecording.js +2 -1
- package/dist/esm/sdk/models/operations/updateucrecording.js.map +1 -1
- package/dist/esm/sdk/models/shared/commerceavailability.d.ts +18 -0
- package/dist/esm/sdk/models/shared/commerceavailability.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/commerceavailability.js +30 -0
- package/dist/esm/sdk/models/shared/commerceavailability.js.map +1 -0
- package/dist/esm/sdk/models/shared/commerceitem.d.ts +4 -0
- package/dist/esm/sdk/models/shared/commerceitem.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/commerceitem.js +6 -0
- package/dist/esm/sdk/models/shared/commerceitem.js.map +1 -1
- package/dist/esm/sdk/models/shared/commercelocation.d.ts +37 -0
- package/dist/esm/sdk/models/shared/commercelocation.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/commercelocation.js +46 -0
- package/dist/esm/sdk/models/shared/commercelocation.js.map +1 -1
- package/dist/esm/sdk/models/shared/commercereservation.d.ts +68 -0
- package/dist/esm/sdk/models/shared/commercereservation.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/commercereservation.js +101 -0
- package/dist/esm/sdk/models/shared/commercereservation.js.map +1 -0
- package/dist/esm/sdk/models/shared/commercereview.d.ts +4 -0
- package/dist/esm/sdk/models/shared/commercereview.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/commercereview.js +6 -0
- package/dist/esm/sdk/models/shared/commercereview.js.map +1 -1
- package/dist/esm/sdk/models/shared/commercetelephone.d.ts +32 -0
- package/dist/esm/sdk/models/shared/commercetelephone.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/commercetelephone.js +34 -0
- package/dist/esm/sdk/models/shared/commercetelephone.js.map +1 -0
- package/dist/esm/sdk/models/shared/index.d.ts +3 -0
- package/dist/esm/sdk/models/shared/index.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/index.js +3 -0
- package/dist/esm/sdk/models/shared/index.js.map +1 -1
- package/dist/esm/sdk/models/shared/integrationsupport.d.ts +18 -0
- package/dist/esm/sdk/models/shared/integrationsupport.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/integrationsupport.js +18 -0
- package/dist/esm/sdk/models/shared/integrationsupport.js.map +1 -1
- package/dist/esm/sdk/models/shared/propertyconnectionpermissions.d.ts +4 -0
- package/dist/esm/sdk/models/shared/propertyconnectionpermissions.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/propertyconnectionpermissions.js +4 -0
- package/dist/esm/sdk/models/shared/propertyconnectionpermissions.js.map +1 -1
- package/dist/esm/sdk/models/shared/uccall.d.ts +9 -0
- package/dist/esm/sdk/models/shared/uccall.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/uccall.js +8 -0
- package/dist/esm/sdk/models/shared/uccall.js.map +1 -1
- package/dist/esm/sdk/models/shared/ucrecording.d.ts +12 -0
- package/dist/esm/sdk/models/shared/ucrecording.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/ucrecording.js +11 -0
- package/dist/esm/sdk/models/shared/ucrecording.js.map +1 -1
- package/dist/esm/sdk/models/shared/webhook.d.ts +2 -0
- package/dist/esm/sdk/models/shared/webhook.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/webhook.js +2 -0
- package/dist/esm/sdk/models/shared/webhook.js.map +1 -1
- package/dist/esm/sdk/reservation.d.ts +30 -0
- package/dist/esm/sdk/reservation.d.ts.map +1 -0
- package/dist/esm/sdk/reservation.js +50 -0
- package/dist/esm/sdk/reservation.js.map +1 -0
- package/dist/esm/sdk/sdk.d.ts +6 -0
- package/dist/esm/sdk/sdk.d.ts.map +1 -1
- package/dist/esm/sdk/sdk.js +8 -0
- package/dist/esm/sdk/sdk.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/commerceCreateCommerceReservation.ts +172 -0
- package/src/funcs/commerceGetCommerceReservation.ts +175 -0
- package/src/funcs/commerceListCommerceAvailabilities.ts +182 -0
- package/src/funcs/commerceListCommerceReservations.ts +181 -0
- package/src/funcs/commerceListCommerceReviews.ts +1 -0
- package/src/funcs/commercePatchCommerceReservation.ts +178 -0
- package/src/funcs/commerceRemoveCommerceReservation.ts +180 -0
- package/src/funcs/commerceUpdateCommerceReservation.ts +178 -0
- package/src/lib/config.ts +3 -3
- package/src/lib/encodings.ts +23 -4
- package/src/sdk/availability.ts +25 -0
- package/src/sdk/commerce.ts +105 -0
- package/src/sdk/models/operations/createcommerceitem.ts +10 -8
- package/src/sdk/models/operations/createcommercelocation.ts +11 -0
- package/src/sdk/models/operations/createcommercereservation.ts +89 -0
- package/src/sdk/models/operations/createcommercereview.ts +2 -0
- package/src/sdk/models/operations/createucrecording.ts +2 -1
- package/src/sdk/models/operations/getcommerceitem.ts +10 -8
- package/src/sdk/models/operations/getcommercelocation.ts +11 -0
- package/src/sdk/models/operations/getcommercereservation.ts +91 -0
- package/src/sdk/models/operations/getcommercereview.ts +2 -0
- package/src/sdk/models/operations/getuccall.ts +2 -1
- package/src/sdk/models/operations/getucrecording.ts +2 -1
- package/src/sdk/models/operations/index.ts +7 -0
- package/src/sdk/models/operations/listcommerceavailabilities.ts +139 -0
- package/src/sdk/models/operations/listcommerceitems.ts +10 -8
- package/src/sdk/models/operations/listcommercelocations.ts +11 -0
- package/src/sdk/models/operations/listcommercereservations.ts +144 -0
- package/src/sdk/models/operations/listcommercereviews.ts +9 -0
- package/src/sdk/models/operations/listuccalls.ts +2 -1
- package/src/sdk/models/operations/listucrecordings.ts +2 -1
- package/src/sdk/models/operations/patchcommerceitem.ts +10 -8
- package/src/sdk/models/operations/patchcommercelocation.ts +11 -0
- package/src/sdk/models/operations/patchcommercereservation.ts +95 -0
- package/src/sdk/models/operations/patchcommercereview.ts +2 -0
- package/src/sdk/models/operations/patchucrecording.ts +2 -1
- package/src/sdk/models/operations/removecommercereservation.ts +77 -0
- package/src/sdk/models/operations/updatecommerceitem.ts +10 -8
- package/src/sdk/models/operations/updatecommercelocation.ts +11 -0
- package/src/sdk/models/operations/updatecommercereservation.ts +95 -0
- package/src/sdk/models/operations/updatecommercereview.ts +2 -0
- package/src/sdk/models/operations/updateucrecording.ts +2 -1
- package/src/sdk/models/shared/commerceavailability.ts +54 -0
- package/src/sdk/models/shared/commerceitem.ts +10 -0
- package/src/sdk/models/shared/commercelocation.ts +90 -0
- package/src/sdk/models/shared/commercereservation.ts +180 -0
- package/src/sdk/models/shared/commercereview.ts +10 -0
- package/src/sdk/models/shared/commercetelephone.ts +79 -0
- package/src/sdk/models/shared/index.ts +3 -0
- package/src/sdk/models/shared/integrationsupport.ts +34 -0
- package/src/sdk/models/shared/propertyconnectionpermissions.ts +4 -0
- package/src/sdk/models/shared/uccall.ts +17 -0
- package/src/sdk/models/shared/ucrecording.ts +25 -0
- package/src/sdk/models/shared/webhook.ts +2 -0
- package/src/sdk/reservation.ts +100 -0
- package/src/sdk/sdk.ts +12 -0
|
@@ -51,6 +51,7 @@ export type CommerceReview = {
|
|
|
51
51
|
isVerified?: boolean | undefined;
|
|
52
52
|
itemId: string;
|
|
53
53
|
itemVariantId?: string | undefined;
|
|
54
|
+
locationId?: string | undefined;
|
|
54
55
|
/**
|
|
55
56
|
* Photosvideos attached to the review
|
|
56
57
|
*/
|
|
@@ -62,6 +63,7 @@ export type CommerceReview = {
|
|
|
62
63
|
title?: string | undefined;
|
|
63
64
|
unhelpfulVotes?: number | undefined;
|
|
64
65
|
updatedAt?: Date | undefined;
|
|
66
|
+
url?: string | undefined;
|
|
65
67
|
verifiedPurchase?: boolean | undefined;
|
|
66
68
|
};
|
|
67
69
|
|
|
@@ -99,6 +101,7 @@ export const CommerceReview$inboundSchema: z.ZodType<
|
|
|
99
101
|
is_verified: z.boolean().optional(),
|
|
100
102
|
item_id: z.string(),
|
|
101
103
|
item_variant_id: z.string().optional(),
|
|
104
|
+
location_id: z.string().optional(),
|
|
102
105
|
media: z.array(CommerceItemMedia$inboundSchema).optional(),
|
|
103
106
|
metadata: z.array(CommerceMetadata$inboundSchema).optional(),
|
|
104
107
|
rating: z.number().optional(),
|
|
@@ -108,6 +111,7 @@ export const CommerceReview$inboundSchema: z.ZodType<
|
|
|
108
111
|
unhelpful_votes: z.number().optional(),
|
|
109
112
|
updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
110
113
|
.optional(),
|
|
114
|
+
url: z.string().optional(),
|
|
111
115
|
verified_purchase: z.boolean().optional(),
|
|
112
116
|
}).transform((v) => {
|
|
113
117
|
return remap$(v, {
|
|
@@ -122,6 +126,7 @@ export const CommerceReview$inboundSchema: z.ZodType<
|
|
|
122
126
|
"is_verified": "isVerified",
|
|
123
127
|
"item_id": "itemId",
|
|
124
128
|
"item_variant_id": "itemVariantId",
|
|
129
|
+
"location_id": "locationId",
|
|
125
130
|
"unhelpful_votes": "unhelpfulVotes",
|
|
126
131
|
"updated_at": "updatedAt",
|
|
127
132
|
"verified_purchase": "verifiedPurchase",
|
|
@@ -143,6 +148,7 @@ export type CommerceReview$Outbound = {
|
|
|
143
148
|
is_verified?: boolean | undefined;
|
|
144
149
|
item_id: string;
|
|
145
150
|
item_variant_id?: string | undefined;
|
|
151
|
+
location_id?: string | undefined;
|
|
146
152
|
media?: Array<CommerceItemMedia$Outbound> | undefined;
|
|
147
153
|
metadata?: Array<CommerceMetadata$Outbound> | undefined;
|
|
148
154
|
rating?: number | undefined;
|
|
@@ -151,6 +157,7 @@ export type CommerceReview$Outbound = {
|
|
|
151
157
|
title?: string | undefined;
|
|
152
158
|
unhelpful_votes?: number | undefined;
|
|
153
159
|
updated_at?: string | undefined;
|
|
160
|
+
url?: string | undefined;
|
|
154
161
|
verified_purchase?: boolean | undefined;
|
|
155
162
|
};
|
|
156
163
|
|
|
@@ -174,6 +181,7 @@ export const CommerceReview$outboundSchema: z.ZodType<
|
|
|
174
181
|
isVerified: z.boolean().optional(),
|
|
175
182
|
itemId: z.string(),
|
|
176
183
|
itemVariantId: z.string().optional(),
|
|
184
|
+
locationId: z.string().optional(),
|
|
177
185
|
media: z.array(CommerceItemMedia$outboundSchema).optional(),
|
|
178
186
|
metadata: z.array(CommerceMetadata$outboundSchema).optional(),
|
|
179
187
|
rating: z.number().optional(),
|
|
@@ -182,6 +190,7 @@ export const CommerceReview$outboundSchema: z.ZodType<
|
|
|
182
190
|
title: z.string().optional(),
|
|
183
191
|
unhelpfulVotes: z.number().optional(),
|
|
184
192
|
updatedAt: z.date().transform(v => v.toISOString()).optional(),
|
|
193
|
+
url: z.string().optional(),
|
|
185
194
|
verifiedPurchase: z.boolean().optional(),
|
|
186
195
|
}).transform((v) => {
|
|
187
196
|
return remap$(v, {
|
|
@@ -196,6 +205,7 @@ export const CommerceReview$outboundSchema: z.ZodType<
|
|
|
196
205
|
isVerified: "is_verified",
|
|
197
206
|
itemId: "item_id",
|
|
198
207
|
itemVariantId: "item_variant_id",
|
|
208
|
+
locationId: "location_id",
|
|
199
209
|
unhelpfulVotes: "unhelpful_votes",
|
|
200
210
|
updatedAt: "updated_at",
|
|
201
211
|
verifiedPurchase: "verified_purchase",
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../../lib/schemas.js";
|
|
7
|
+
import * as openEnums from "../../types/enums.js";
|
|
8
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
9
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
+
|
|
12
|
+
export const CommerceTelephoneType = {
|
|
13
|
+
Work: "WORK",
|
|
14
|
+
Home: "HOME",
|
|
15
|
+
Fax: "FAX",
|
|
16
|
+
Mobile: "MOBILE",
|
|
17
|
+
Other: "OTHER",
|
|
18
|
+
} as const;
|
|
19
|
+
export type CommerceTelephoneType = OpenEnum<typeof CommerceTelephoneType>;
|
|
20
|
+
|
|
21
|
+
export type CommerceTelephone = {
|
|
22
|
+
telephone: string;
|
|
23
|
+
type?: CommerceTelephoneType | undefined;
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
/** @internal */
|
|
27
|
+
export const CommerceTelephoneType$inboundSchema: z.ZodType<
|
|
28
|
+
CommerceTelephoneType,
|
|
29
|
+
z.ZodTypeDef,
|
|
30
|
+
unknown
|
|
31
|
+
> = openEnums.inboundSchema(CommerceTelephoneType);
|
|
32
|
+
/** @internal */
|
|
33
|
+
export const CommerceTelephoneType$outboundSchema: z.ZodType<
|
|
34
|
+
string,
|
|
35
|
+
z.ZodTypeDef,
|
|
36
|
+
CommerceTelephoneType
|
|
37
|
+
> = openEnums.outboundSchema(CommerceTelephoneType);
|
|
38
|
+
|
|
39
|
+
/** @internal */
|
|
40
|
+
export const CommerceTelephone$inboundSchema: z.ZodType<
|
|
41
|
+
CommerceTelephone,
|
|
42
|
+
z.ZodTypeDef,
|
|
43
|
+
unknown
|
|
44
|
+
> = z.object({
|
|
45
|
+
telephone: z.string(),
|
|
46
|
+
type: CommerceTelephoneType$inboundSchema.optional(),
|
|
47
|
+
});
|
|
48
|
+
/** @internal */
|
|
49
|
+
export type CommerceTelephone$Outbound = {
|
|
50
|
+
telephone: string;
|
|
51
|
+
type?: string | undefined;
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
/** @internal */
|
|
55
|
+
export const CommerceTelephone$outboundSchema: z.ZodType<
|
|
56
|
+
CommerceTelephone$Outbound,
|
|
57
|
+
z.ZodTypeDef,
|
|
58
|
+
CommerceTelephone
|
|
59
|
+
> = z.object({
|
|
60
|
+
telephone: z.string(),
|
|
61
|
+
type: CommerceTelephoneType$outboundSchema.optional(),
|
|
62
|
+
});
|
|
63
|
+
|
|
64
|
+
export function commerceTelephoneToJSON(
|
|
65
|
+
commerceTelephone: CommerceTelephone,
|
|
66
|
+
): string {
|
|
67
|
+
return JSON.stringify(
|
|
68
|
+
CommerceTelephone$outboundSchema.parse(commerceTelephone),
|
|
69
|
+
);
|
|
70
|
+
}
|
|
71
|
+
export function commerceTelephoneFromJSON(
|
|
72
|
+
jsonString: string,
|
|
73
|
+
): SafeParseResult<CommerceTelephone, SDKValidationError> {
|
|
74
|
+
return safeParse(
|
|
75
|
+
jsonString,
|
|
76
|
+
(x) => CommerceTelephone$inboundSchema.parse(JSON.parse(x)),
|
|
77
|
+
`Failed to parse 'CommerceTelephone' from JSON`,
|
|
78
|
+
);
|
|
79
|
+
}
|
|
@@ -102,6 +102,7 @@ export * from "./calendarwebinar.js";
|
|
|
102
102
|
export * from "./calendarwebinarpanelist.js";
|
|
103
103
|
export * from "./calendarwebinarregistrant.js";
|
|
104
104
|
export * from "./citytarget.js";
|
|
105
|
+
export * from "./commerceavailability.js";
|
|
105
106
|
export * from "./commercecollection.js";
|
|
106
107
|
export * from "./commerceinventory.js";
|
|
107
108
|
export * from "./commerceitem.js";
|
|
@@ -112,9 +113,11 @@ export * from "./commerceitemvariant.js";
|
|
|
112
113
|
export * from "./commercelocation.js";
|
|
113
114
|
export * from "./commercemetadata.js";
|
|
114
115
|
export * from "./commercereference.js";
|
|
116
|
+
export * from "./commercereservation.js";
|
|
115
117
|
export * from "./commercereview.js";
|
|
116
118
|
export * from "./commercereviewcomment.js";
|
|
117
119
|
export * from "./commercesaleschannel.js";
|
|
120
|
+
export * from "./commercetelephone.js";
|
|
118
121
|
export * from "./connection.js";
|
|
119
122
|
export * from "./crmcompany.js";
|
|
120
123
|
export * from "./crmcontact.js";
|
|
@@ -434,6 +434,13 @@ export const ListShipmentId = {
|
|
|
434
434
|
} as const;
|
|
435
435
|
export type ListShipmentId = OpenEnum<typeof ListShipmentId>;
|
|
436
436
|
|
|
437
|
+
export const ListSize = {
|
|
438
|
+
SupportedRequired: "supported-required",
|
|
439
|
+
Supported: "supported",
|
|
440
|
+
NotSupported: "not-supported",
|
|
441
|
+
} as const;
|
|
442
|
+
export type ListSize = OpenEnum<typeof ListSize>;
|
|
443
|
+
|
|
437
444
|
export const ListSortByCreatedAt = {
|
|
438
445
|
SupportedRequired: "supported-required",
|
|
439
446
|
Supported: "supported",
|
|
@@ -581,6 +588,13 @@ export const NativeWebhookFormId = {
|
|
|
581
588
|
} as const;
|
|
582
589
|
export type NativeWebhookFormId = OpenEnum<typeof NativeWebhookFormId>;
|
|
583
590
|
|
|
591
|
+
export const NativeWebhookIoId = {
|
|
592
|
+
SupportedRequired: "supported-required",
|
|
593
|
+
Supported: "supported",
|
|
594
|
+
NotSupported: "not-supported",
|
|
595
|
+
} as const;
|
|
596
|
+
export type NativeWebhookIoId = OpenEnum<typeof NativeWebhookIoId>;
|
|
597
|
+
|
|
584
598
|
export const NativeWebhookLabelId = {
|
|
585
599
|
SupportedRequired: "supported-required",
|
|
586
600
|
Supported: "supported",
|
|
@@ -1152,6 +1166,7 @@ export type IntegrationSupport = {
|
|
|
1152
1166
|
listRootId?: ListRootId | undefined;
|
|
1153
1167
|
listSaleschannelId?: ListSaleschannelId | undefined;
|
|
1154
1168
|
listShipmentId?: ListShipmentId | undefined;
|
|
1169
|
+
listSize?: ListSize | undefined;
|
|
1155
1170
|
listSortByCreatedAt?: ListSortByCreatedAt | undefined;
|
|
1156
1171
|
listSortByName?: ListSortByName | undefined;
|
|
1157
1172
|
listSortByUpdatedAt?: ListSortByUpdatedAt | undefined;
|
|
@@ -1174,6 +1189,7 @@ export type IntegrationSupport = {
|
|
|
1174
1189
|
nativeWebhookCourseId?: NativeWebhookCourseId | undefined;
|
|
1175
1190
|
nativeWebhookEventId?: NativeWebhookEventId | undefined;
|
|
1176
1191
|
nativeWebhookFormId?: NativeWebhookFormId | undefined;
|
|
1192
|
+
nativeWebhookIoId?: NativeWebhookIoId | undefined;
|
|
1177
1193
|
nativeWebhookLabelId?: NativeWebhookLabelId | undefined;
|
|
1178
1194
|
nativeWebhookMemberId?: NativeWebhookMemberId | undefined;
|
|
1179
1195
|
nativeWebhookOrderId?: NativeWebhookOrderId | undefined;
|
|
@@ -1672,6 +1688,13 @@ export const ListShipmentId$inboundSchema: z.ZodType<
|
|
|
1672
1688
|
unknown
|
|
1673
1689
|
> = openEnums.inboundSchema(ListShipmentId);
|
|
1674
1690
|
|
|
1691
|
+
/** @internal */
|
|
1692
|
+
export const ListSize$inboundSchema: z.ZodType<
|
|
1693
|
+
ListSize,
|
|
1694
|
+
z.ZodTypeDef,
|
|
1695
|
+
unknown
|
|
1696
|
+
> = openEnums.inboundSchema(ListSize);
|
|
1697
|
+
|
|
1675
1698
|
/** @internal */
|
|
1676
1699
|
export const ListSortByCreatedAt$inboundSchema: z.ZodType<
|
|
1677
1700
|
ListSortByCreatedAt,
|
|
@@ -1819,6 +1842,13 @@ export const NativeWebhookFormId$inboundSchema: z.ZodType<
|
|
|
1819
1842
|
unknown
|
|
1820
1843
|
> = openEnums.inboundSchema(NativeWebhookFormId);
|
|
1821
1844
|
|
|
1845
|
+
/** @internal */
|
|
1846
|
+
export const NativeWebhookIoId$inboundSchema: z.ZodType<
|
|
1847
|
+
NativeWebhookIoId,
|
|
1848
|
+
z.ZodTypeDef,
|
|
1849
|
+
unknown
|
|
1850
|
+
> = openEnums.inboundSchema(NativeWebhookIoId);
|
|
1851
|
+
|
|
1822
1852
|
/** @internal */
|
|
1823
1853
|
export const NativeWebhookLabelId$inboundSchema: z.ZodType<
|
|
1824
1854
|
NativeWebhookLabelId,
|
|
@@ -2369,6 +2399,7 @@ export const IntegrationSupport$inboundSchema: z.ZodType<
|
|
|
2369
2399
|
list_root_id: ListRootId$inboundSchema.optional(),
|
|
2370
2400
|
list_saleschannel_id: ListSaleschannelId$inboundSchema.optional(),
|
|
2371
2401
|
list_shipment_id: ListShipmentId$inboundSchema.optional(),
|
|
2402
|
+
list_size: ListSize$inboundSchema.optional(),
|
|
2372
2403
|
list_sort_by_created_at: ListSortByCreatedAt$inboundSchema.optional(),
|
|
2373
2404
|
list_sort_by_name: ListSortByName$inboundSchema.optional(),
|
|
2374
2405
|
list_sort_by_updated_at: ListSortByUpdatedAt$inboundSchema.optional(),
|
|
@@ -2391,6 +2422,7 @@ export const IntegrationSupport$inboundSchema: z.ZodType<
|
|
|
2391
2422
|
native_webhook_course_id: NativeWebhookCourseId$inboundSchema.optional(),
|
|
2392
2423
|
native_webhook_event_id: NativeWebhookEventId$inboundSchema.optional(),
|
|
2393
2424
|
native_webhook_form_id: NativeWebhookFormId$inboundSchema.optional(),
|
|
2425
|
+
native_webhook_io_id: NativeWebhookIoId$inboundSchema.optional(),
|
|
2394
2426
|
native_webhook_label_id: NativeWebhookLabelId$inboundSchema.optional(),
|
|
2395
2427
|
native_webhook_member_id: NativeWebhookMemberId$inboundSchema.optional(),
|
|
2396
2428
|
native_webhook_order_id: NativeWebhookOrderId$inboundSchema.optional(),
|
|
@@ -2541,6 +2573,7 @@ export const IntegrationSupport$inboundSchema: z.ZodType<
|
|
|
2541
2573
|
"list_root_id": "listRootId",
|
|
2542
2574
|
"list_saleschannel_id": "listSaleschannelId",
|
|
2543
2575
|
"list_shipment_id": "listShipmentId",
|
|
2576
|
+
"list_size": "listSize",
|
|
2544
2577
|
"list_sort_by_created_at": "listSortByCreatedAt",
|
|
2545
2578
|
"list_sort_by_name": "listSortByName",
|
|
2546
2579
|
"list_sort_by_updated_at": "listSortByUpdatedAt",
|
|
@@ -2562,6 +2595,7 @@ export const IntegrationSupport$inboundSchema: z.ZodType<
|
|
|
2562
2595
|
"native_webhook_course_id": "nativeWebhookCourseId",
|
|
2563
2596
|
"native_webhook_event_id": "nativeWebhookEventId",
|
|
2564
2597
|
"native_webhook_form_id": "nativeWebhookFormId",
|
|
2598
|
+
"native_webhook_io_id": "nativeWebhookIoId",
|
|
2565
2599
|
"native_webhook_label_id": "nativeWebhookLabelId",
|
|
2566
2600
|
"native_webhook_member_id": "nativeWebhookMemberId",
|
|
2567
2601
|
"native_webhook_order_id": "nativeWebhookOrderId",
|
|
@@ -66,6 +66,10 @@ export const PropertyConnectionPermissions = {
|
|
|
66
66
|
CommerceSaleschannelWrite: "commerce_saleschannel_write",
|
|
67
67
|
CommerceItemvariantRead: "commerce_itemvariant_read",
|
|
68
68
|
CommerceItemvariantWrite: "commerce_itemvariant_write",
|
|
69
|
+
CommerceReservationRead: "commerce_reservation_read",
|
|
70
|
+
CommerceReservationWrite: "commerce_reservation_write",
|
|
71
|
+
CommerceAvailabilityRead: "commerce_availability_read",
|
|
72
|
+
CommerceAvailabilityWrite: "commerce_availability_write",
|
|
69
73
|
VerificationPackageRead: "verification_package_read",
|
|
70
74
|
VerificationRequestRead: "verification_request_read",
|
|
71
75
|
VerificationRequestWrite: "verification_request_write",
|
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
6
|
import { remap as remap$ } from "../../../lib/primitives.js";
|
|
7
7
|
import { safeParse } from "../../../lib/schemas.js";
|
|
8
|
+
import * as openEnums from "../../types/enums.js";
|
|
9
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
8
10
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
11
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
12
|
import {
|
|
@@ -13,6 +15,12 @@ import {
|
|
|
13
15
|
} from "./propertyuccalltelephone.js";
|
|
14
16
|
import { UcContact, UcContact$inboundSchema } from "./uccontact.js";
|
|
15
17
|
|
|
18
|
+
export const UcCallType = {
|
|
19
|
+
Inbound: "INBOUND",
|
|
20
|
+
Outbound: "OUTBOUND",
|
|
21
|
+
} as const;
|
|
22
|
+
export type UcCallType = OpenEnum<typeof UcCallType>;
|
|
23
|
+
|
|
16
24
|
export type UcCall = {
|
|
17
25
|
contactId?: string | undefined;
|
|
18
26
|
contacts?: Array<UcContact> | undefined;
|
|
@@ -26,12 +34,20 @@ export type UcCall = {
|
|
|
26
34
|
* The telephone number called
|
|
27
35
|
*/
|
|
28
36
|
telephone?: PropertyUcCallTelephone | undefined;
|
|
37
|
+
type?: UcCallType | undefined;
|
|
29
38
|
updatedAt?: Date | undefined;
|
|
30
39
|
userId?: string | undefined;
|
|
31
40
|
userName?: string | undefined;
|
|
32
41
|
userPhone?: string | undefined;
|
|
33
42
|
};
|
|
34
43
|
|
|
44
|
+
/** @internal */
|
|
45
|
+
export const UcCallType$inboundSchema: z.ZodType<
|
|
46
|
+
UcCallType,
|
|
47
|
+
z.ZodTypeDef,
|
|
48
|
+
unknown
|
|
49
|
+
> = openEnums.inboundSchema(UcCallType);
|
|
50
|
+
|
|
35
51
|
/** @internal */
|
|
36
52
|
export const UcCall$inboundSchema: z.ZodType<UcCall, z.ZodTypeDef, unknown> = z
|
|
37
53
|
.object({
|
|
@@ -48,6 +64,7 @@ export const UcCall$inboundSchema: z.ZodType<UcCall, z.ZodTypeDef, unknown> = z
|
|
|
48
64
|
start_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
49
65
|
.optional(),
|
|
50
66
|
telephone: PropertyUcCallTelephone$inboundSchema.optional(),
|
|
67
|
+
type: UcCallType$inboundSchema.optional(),
|
|
51
68
|
updated_at: z.string().datetime({ offset: true }).transform(v =>
|
|
52
69
|
new Date(v)
|
|
53
70
|
).optional(),
|
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
6
|
import { remap as remap$ } from "../../../lib/primitives.js";
|
|
7
7
|
import { safeParse } from "../../../lib/schemas.js";
|
|
8
|
+
import * as openEnums from "../../types/enums.js";
|
|
9
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
8
10
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
11
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
12
|
import {
|
|
@@ -14,6 +16,12 @@ import {
|
|
|
14
16
|
UcRecordingMedia$outboundSchema,
|
|
15
17
|
} from "./ucrecordingmedia.js";
|
|
16
18
|
|
|
19
|
+
export const UcRecordingType = {
|
|
20
|
+
Inbound: "INBOUND",
|
|
21
|
+
Outbound: "OUTBOUND",
|
|
22
|
+
} as const;
|
|
23
|
+
export type UcRecordingType = OpenEnum<typeof UcRecordingType>;
|
|
24
|
+
|
|
17
25
|
export type UcRecording = {
|
|
18
26
|
callId?: string | undefined;
|
|
19
27
|
contactId?: string | undefined;
|
|
@@ -26,6 +34,7 @@ export type UcRecording = {
|
|
|
26
34
|
media?: Array<UcRecordingMedia> | undefined;
|
|
27
35
|
raw?: { [k: string]: any } | undefined;
|
|
28
36
|
startAt?: Date | undefined;
|
|
37
|
+
type?: UcRecordingType | undefined;
|
|
29
38
|
updatedAt?: Date | undefined;
|
|
30
39
|
userId?: string | undefined;
|
|
31
40
|
userName?: string | undefined;
|
|
@@ -33,6 +42,19 @@ export type UcRecording = {
|
|
|
33
42
|
webUrl?: string | undefined;
|
|
34
43
|
};
|
|
35
44
|
|
|
45
|
+
/** @internal */
|
|
46
|
+
export const UcRecordingType$inboundSchema: z.ZodType<
|
|
47
|
+
UcRecordingType,
|
|
48
|
+
z.ZodTypeDef,
|
|
49
|
+
unknown
|
|
50
|
+
> = openEnums.inboundSchema(UcRecordingType);
|
|
51
|
+
/** @internal */
|
|
52
|
+
export const UcRecordingType$outboundSchema: z.ZodType<
|
|
53
|
+
string,
|
|
54
|
+
z.ZodTypeDef,
|
|
55
|
+
UcRecordingType
|
|
56
|
+
> = openEnums.outboundSchema(UcRecordingType);
|
|
57
|
+
|
|
36
58
|
/** @internal */
|
|
37
59
|
export const UcRecording$inboundSchema: z.ZodType<
|
|
38
60
|
UcRecording,
|
|
@@ -54,6 +76,7 @@ export const UcRecording$inboundSchema: z.ZodType<
|
|
|
54
76
|
raw: z.record(z.any()).optional(),
|
|
55
77
|
start_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
56
78
|
.optional(),
|
|
79
|
+
type: UcRecordingType$inboundSchema.optional(),
|
|
57
80
|
updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
58
81
|
.optional(),
|
|
59
82
|
user_id: z.string().optional(),
|
|
@@ -90,6 +113,7 @@ export type UcRecording$Outbound = {
|
|
|
90
113
|
media?: Array<UcRecordingMedia$Outbound> | undefined;
|
|
91
114
|
raw?: { [k: string]: any } | undefined;
|
|
92
115
|
start_at?: string | undefined;
|
|
116
|
+
type?: string | undefined;
|
|
93
117
|
updated_at?: string | undefined;
|
|
94
118
|
user_id?: string | undefined;
|
|
95
119
|
user_name?: string | undefined;
|
|
@@ -114,6 +138,7 @@ export const UcRecording$outboundSchema: z.ZodType<
|
|
|
114
138
|
media: z.array(UcRecordingMedia$outboundSchema).optional(),
|
|
115
139
|
raw: z.record(z.any()).optional(),
|
|
116
140
|
startAt: z.date().transform(v => v.toISOString()).optional(),
|
|
141
|
+
type: UcRecordingType$outboundSchema.optional(),
|
|
117
142
|
updatedAt: z.date().transform(v => v.toISOString()).optional(),
|
|
118
143
|
userId: z.string().optional(),
|
|
119
144
|
userName: z.string().optional(),
|
|
@@ -59,6 +59,8 @@ export const ObjectType = {
|
|
|
59
59
|
CommerceReview: "commerce_review",
|
|
60
60
|
CommerceSaleschannel: "commerce_saleschannel",
|
|
61
61
|
CommerceItemvariant: "commerce_itemvariant",
|
|
62
|
+
CommerceReservation: "commerce_reservation",
|
|
63
|
+
CommerceAvailability: "commerce_availability",
|
|
62
64
|
VerificationPackage: "verification_package",
|
|
63
65
|
VerificationRequest: "verification_request",
|
|
64
66
|
AssessmentPackage: "assessment_package",
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { commerceCreateCommerceReservation } from "../funcs/commerceCreateCommerceReservation.js";
|
|
6
|
+
import { commerceGetCommerceReservation } from "../funcs/commerceGetCommerceReservation.js";
|
|
7
|
+
import { commerceListCommerceReservations } from "../funcs/commerceListCommerceReservations.js";
|
|
8
|
+
import { commercePatchCommerceReservation } from "../funcs/commercePatchCommerceReservation.js";
|
|
9
|
+
import { commerceRemoveCommerceReservation } from "../funcs/commerceRemoveCommerceReservation.js";
|
|
10
|
+
import { commerceUpdateCommerceReservation } from "../funcs/commerceUpdateCommerceReservation.js";
|
|
11
|
+
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
12
|
+
import * as operations from "./models/operations/index.js";
|
|
13
|
+
import * as shared from "./models/shared/index.js";
|
|
14
|
+
import { unwrapAsync } from "./types/fp.js";
|
|
15
|
+
|
|
16
|
+
export class Reservation extends ClientSDK {
|
|
17
|
+
/**
|
|
18
|
+
* Create a reservation
|
|
19
|
+
*/
|
|
20
|
+
async createCommerceReservation(
|
|
21
|
+
request: operations.CreateCommerceReservationRequest,
|
|
22
|
+
options?: RequestOptions,
|
|
23
|
+
): Promise<shared.CommerceReservation> {
|
|
24
|
+
return unwrapAsync(commerceCreateCommerceReservation(
|
|
25
|
+
this,
|
|
26
|
+
request,
|
|
27
|
+
options,
|
|
28
|
+
));
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Retrieve a reservation
|
|
33
|
+
*/
|
|
34
|
+
async getCommerceReservation(
|
|
35
|
+
request: operations.GetCommerceReservationRequest,
|
|
36
|
+
options?: RequestOptions,
|
|
37
|
+
): Promise<shared.CommerceReservation> {
|
|
38
|
+
return unwrapAsync(commerceGetCommerceReservation(
|
|
39
|
+
this,
|
|
40
|
+
request,
|
|
41
|
+
options,
|
|
42
|
+
));
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* List all reservations
|
|
47
|
+
*/
|
|
48
|
+
async listCommerceReservations(
|
|
49
|
+
request: operations.ListCommerceReservationsRequest,
|
|
50
|
+
options?: RequestOptions,
|
|
51
|
+
): Promise<Array<shared.CommerceReservation>> {
|
|
52
|
+
return unwrapAsync(commerceListCommerceReservations(
|
|
53
|
+
this,
|
|
54
|
+
request,
|
|
55
|
+
options,
|
|
56
|
+
));
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Update a reservation
|
|
61
|
+
*/
|
|
62
|
+
async patchCommerceReservation(
|
|
63
|
+
request: operations.PatchCommerceReservationRequest,
|
|
64
|
+
options?: RequestOptions,
|
|
65
|
+
): Promise<shared.CommerceReservation> {
|
|
66
|
+
return unwrapAsync(commercePatchCommerceReservation(
|
|
67
|
+
this,
|
|
68
|
+
request,
|
|
69
|
+
options,
|
|
70
|
+
));
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Remove a reservation
|
|
75
|
+
*/
|
|
76
|
+
async removeCommerceReservation(
|
|
77
|
+
request: operations.RemoveCommerceReservationRequest,
|
|
78
|
+
options?: RequestOptions,
|
|
79
|
+
): Promise<operations.RemoveCommerceReservationResponse | undefined> {
|
|
80
|
+
return unwrapAsync(commerceRemoveCommerceReservation(
|
|
81
|
+
this,
|
|
82
|
+
request,
|
|
83
|
+
options,
|
|
84
|
+
));
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* Update a reservation
|
|
89
|
+
*/
|
|
90
|
+
async updateCommerceReservation(
|
|
91
|
+
request: operations.UpdateCommerceReservationRequest,
|
|
92
|
+
options?: RequestOptions,
|
|
93
|
+
): Promise<shared.CommerceReservation> {
|
|
94
|
+
return unwrapAsync(commerceUpdateCommerceReservation(
|
|
95
|
+
this,
|
|
96
|
+
request,
|
|
97
|
+
options,
|
|
98
|
+
));
|
|
99
|
+
}
|
|
100
|
+
}
|
package/src/sdk/sdk.ts
CHANGED
|
@@ -14,6 +14,7 @@ import { Applicationstatus } from "./applicationstatus.js";
|
|
|
14
14
|
import { Assessment } from "./assessment.js";
|
|
15
15
|
import { Ats } from "./ats.js";
|
|
16
16
|
import { Auth } from "./auth.js";
|
|
17
|
+
import { Availability } from "./availability.js";
|
|
17
18
|
import { Balancesheet } from "./balancesheet.js";
|
|
18
19
|
import { Bankaccount } from "./bankaccount.js";
|
|
19
20
|
import { Benefit } from "./benefit.js";
|
|
@@ -108,6 +109,7 @@ import { Repo } from "./repo.js";
|
|
|
108
109
|
import { Report } from "./report.js";
|
|
109
110
|
import { Repository } from "./repository.js";
|
|
110
111
|
import { RequestT } from "./request.js";
|
|
112
|
+
import { Reservation } from "./reservation.js";
|
|
111
113
|
import { Review } from "./review.js";
|
|
112
114
|
import { Saleschannel } from "./saleschannel.js";
|
|
113
115
|
import { Salesorder } from "./salesorder.js";
|
|
@@ -373,6 +375,11 @@ export class UnifiedTo extends ClientSDK {
|
|
|
373
375
|
return (this._commerce ??= new Commerce(this._options));
|
|
374
376
|
}
|
|
375
377
|
|
|
378
|
+
private _availability?: Availability;
|
|
379
|
+
get availability(): Availability {
|
|
380
|
+
return (this._availability ??= new Availability(this._options));
|
|
381
|
+
}
|
|
382
|
+
|
|
376
383
|
private _collection?: Collection;
|
|
377
384
|
get collection(): Collection {
|
|
378
385
|
return (this._collection ??= new Collection(this._options));
|
|
@@ -398,6 +405,11 @@ export class UnifiedTo extends ClientSDK {
|
|
|
398
405
|
return (this._location ??= new Location(this._options));
|
|
399
406
|
}
|
|
400
407
|
|
|
408
|
+
private _reservation?: Reservation;
|
|
409
|
+
get reservation(): Reservation {
|
|
410
|
+
return (this._reservation ??= new Reservation(this._options));
|
|
411
|
+
}
|
|
412
|
+
|
|
401
413
|
private _review?: Review;
|
|
402
414
|
get review(): Review {
|
|
403
415
|
return (this._review ??= new Review(this._options));
|