rcs-js 0.0.1 → 1.0.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/Client.d.ts +93 -0
- package/Client.js +384 -0
- package/README.md +137 -0
- package/api/client/index.d.ts +1 -0
- package/api/client/index.js +17 -0
- package/api/client/requests/CheckRcsCapabilityRequest.d.ts +21 -0
- package/api/client/requests/CheckRcsCapabilityRequest.js +5 -0
- package/api/client/requests/UpdateSettingsRequest.d.ts +13 -0
- package/api/client/requests/UpdateSettingsRequest.js +5 -0
- package/api/client/requests/index.d.ts +2 -0
- package/api/client/requests/index.js +2 -0
- package/api/errors/BadRequestError.d.ts +8 -0
- package/api/errors/BadRequestError.js +41 -0
- package/api/errors/InternalServerError.d.ts +8 -0
- package/api/errors/InternalServerError.js +41 -0
- package/api/errors/UnauthorizedError.d.ts +8 -0
- package/api/errors/UnauthorizedError.js +41 -0
- package/api/errors/index.d.ts +3 -0
- package/api/errors/index.js +19 -0
- package/api/index.d.ts +3 -0
- package/api/index.js +19 -0
- package/api/types/Action.d.ts +5 -0
- package/api/types/Action.js +5 -0
- package/api/types/BadRequestErrorBody.d.ts +6 -0
- package/api/types/BadRequestErrorBody.js +5 -0
- package/api/types/BasicRcs.d.ts +13 -0
- package/api/types/BasicRcs.js +5 -0
- package/api/types/BasicRcsMessage.d.ts +10 -0
- package/api/types/BasicRcsMessage.js +5 -0
- package/api/types/Call.d.ts +9 -0
- package/api/types/Call.js +5 -0
- package/api/types/Card.d.ts +16 -0
- package/api/types/Card.js +5 -0
- package/api/types/CardRcs.d.ts +12 -0
- package/api/types/CardRcs.js +5 -0
- package/api/types/CardRcsMessage.d.ts +13 -0
- package/api/types/CardRcsMessage.js +5 -0
- package/api/types/CardStyle.d.ts +16 -0
- package/api/types/CardStyle.js +5 -0
- package/api/types/CardStyleImageAlignment.d.ts +11 -0
- package/api/types/CardStyleImageAlignment.js +10 -0
- package/api/types/CardStyleMediaHeight.d.ts +12 -0
- package/api/types/CardStyleMediaHeight.js +11 -0
- package/api/types/CardStyleOrientation.d.ts +11 -0
- package/api/types/CardStyleOrientation.js +10 -0
- package/api/types/CardStyleWidth.d.ts +11 -0
- package/api/types/CardStyleWidth.js +10 -0
- package/api/types/CarouselRcs.d.ts +12 -0
- package/api/types/CarouselRcs.js +5 -0
- package/api/types/CarouselRcsMessage.d.ts +13 -0
- package/api/types/CarouselRcsMessage.js +5 -0
- package/api/types/CheckRcsCapabilityResponse.d.ts +7 -0
- package/api/types/CheckRcsCapabilityResponse.js +5 -0
- package/api/types/Event.d.ts +15 -0
- package/api/types/Event.js +5 -0
- package/api/types/GetAccountNumberResponse.d.ts +7 -0
- package/api/types/GetAccountNumberResponse.js +5 -0
- package/api/types/InternalServerErrorBody.d.ts +6 -0
- package/api/types/InternalServerErrorBody.js +5 -0
- package/api/types/LatLng.d.ts +12 -0
- package/api/types/LatLng.js +5 -0
- package/api/types/MediaRcs.d.ts +12 -0
- package/api/types/MediaRcs.js +5 -0
- package/api/types/MediaRcsMessage.d.ts +14 -0
- package/api/types/MediaRcsMessage.js +5 -0
- package/api/types/MediaType.d.ts +14 -0
- package/api/types/MediaType.js +13 -0
- package/api/types/PhoneNumber.d.ts +7 -0
- package/api/types/PhoneNumber.js +5 -0
- package/api/types/Postback.d.ts +11 -0
- package/api/types/Postback.js +5 -0
- package/api/types/SendRequest.d.ts +5 -0
- package/api/types/SendRequest.js +5 -0
- package/api/types/SendResponse.d.ts +7 -0
- package/api/types/SendResponse.js +5 -0
- package/api/types/ShareLocation.d.ts +7 -0
- package/api/types/ShareLocation.js +5 -0
- package/api/types/Sms.d.ts +12 -0
- package/api/types/Sms.js +5 -0
- package/api/types/SmsMessage.d.ts +12 -0
- package/api/types/SmsMessage.js +5 -0
- package/api/types/UnauthorizedErrorBody.d.ts +6 -0
- package/api/types/UnauthorizedErrorBody.js +5 -0
- package/api/types/UpdateSettingsResponse.d.ts +6 -0
- package/api/types/UpdateSettingsResponse.js +5 -0
- package/api/types/Url.d.ts +9 -0
- package/api/types/Url.js +5 -0
- package/api/types/ViewLocation.d.ts +11 -0
- package/api/types/ViewLocation.js +5 -0
- package/api/types/index.d.ts +34 -0
- package/api/types/index.js +50 -0
- package/core/fetcher/APIResponse.d.ts +10 -0
- package/core/fetcher/APIResponse.js +2 -0
- package/core/fetcher/Fetcher.d.ts +39 -0
- package/core/fetcher/Fetcher.js +99 -0
- package/core/fetcher/Supplier.d.ts +4 -0
- package/core/fetcher/Supplier.js +22 -0
- package/core/fetcher/createRequestUrl.d.ts +1 -0
- package/core/fetcher/createRequestUrl.js +13 -0
- package/core/fetcher/getFetchFn.d.ts +4 -0
- package/core/fetcher/getFetchFn.js +59 -0
- package/core/fetcher/getHeader.d.ts +1 -0
- package/core/fetcher/getHeader.js +12 -0
- package/core/fetcher/getRequestBody.d.ts +7 -0
- package/core/fetcher/getRequestBody.js +23 -0
- package/core/fetcher/getResponseBody.d.ts +1 -0
- package/core/fetcher/getResponseBody.js +52 -0
- package/core/fetcher/index.d.ts +5 -0
- package/core/fetcher/index.js +9 -0
- package/core/fetcher/makeRequest.d.ts +1 -0
- package/core/fetcher/makeRequest.js +42 -0
- package/core/fetcher/requestWithRetries.d.ts +1 -0
- package/core/fetcher/requestWithRetries.js +32 -0
- package/core/fetcher/signals.d.ts +12 -0
- package/core/fetcher/signals.js +37 -0
- package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +30 -0
- package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +247 -0
- package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +22 -0
- package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +124 -0
- package/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +31 -0
- package/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +229 -0
- package/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +18 -0
- package/core/fetcher/stream-wrappers/chooseStreamWrapper.js +50 -0
- package/core/index.d.ts +3 -0
- package/core/index.js +32 -0
- package/core/runtime/index.d.ts +1 -0
- package/core/runtime/index.js +5 -0
- package/core/runtime/runtime.d.ts +9 -0
- package/core/runtime/runtime.js +93 -0
- package/core/schemas/Schema.d.ts +85 -0
- package/core/schemas/Schema.js +22 -0
- package/core/schemas/builders/bigint/bigint.d.ts +2 -0
- package/core/schemas/builders/bigint/bigint.js +50 -0
- package/core/schemas/builders/bigint/index.d.ts +1 -0
- package/core/schemas/builders/bigint/index.js +5 -0
- package/core/schemas/builders/date/date.d.ts +2 -0
- package/core/schemas/builders/date/date.js +63 -0
- package/core/schemas/builders/date/index.d.ts +1 -0
- package/core/schemas/builders/date/index.js +5 -0
- package/core/schemas/builders/enum/enum.d.ts +2 -0
- package/core/schemas/builders/enum/enum.js +39 -0
- package/core/schemas/builders/enum/index.d.ts +1 -0
- package/core/schemas/builders/enum/index.js +5 -0
- package/core/schemas/builders/index.d.ts +14 -0
- package/core/schemas/builders/index.js +30 -0
- package/core/schemas/builders/lazy/index.d.ts +3 -0
- package/core/schemas/builders/lazy/index.js +7 -0
- package/core/schemas/builders/lazy/lazy.d.ts +5 -0
- package/core/schemas/builders/lazy/lazy.js +25 -0
- package/core/schemas/builders/lazy/lazyObject.d.ts +3 -0
- package/core/schemas/builders/lazy/lazyObject.js +12 -0
- package/core/schemas/builders/list/index.d.ts +1 -0
- package/core/schemas/builders/list/index.js +5 -0
- package/core/schemas/builders/list/list.d.ts +2 -0
- package/core/schemas/builders/list/list.js +55 -0
- package/core/schemas/builders/literals/booleanLiteral.d.ts +2 -0
- package/core/schemas/builders/literals/booleanLiteral.js +29 -0
- package/core/schemas/builders/literals/index.d.ts +2 -0
- package/core/schemas/builders/literals/index.js +7 -0
- package/core/schemas/builders/literals/stringLiteral.d.ts +2 -0
- package/core/schemas/builders/literals/stringLiteral.js +29 -0
- package/core/schemas/builders/object/index.d.ts +6 -0
- package/core/schemas/builders/object/index.js +11 -0
- package/core/schemas/builders/object/object.d.ts +3 -0
- package/core/schemas/builders/object/object.js +233 -0
- package/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +6 -0
- package/core/schemas/builders/object/objectWithoutOptionalProperties.js +8 -0
- package/core/schemas/builders/object/property.d.ts +8 -0
- package/core/schemas/builders/object/property.js +16 -0
- package/core/schemas/builders/object/types.d.ts +26 -0
- package/core/schemas/builders/object/types.js +2 -0
- package/core/schemas/builders/object-like/getObjectLikeUtils.d.ts +9 -0
- package/core/schemas/builders/object-like/getObjectLikeUtils.js +54 -0
- package/core/schemas/builders/object-like/index.d.ts +2 -0
- package/core/schemas/builders/object-like/index.js +6 -0
- package/core/schemas/builders/object-like/types.d.ts +7 -0
- package/core/schemas/builders/object-like/types.js +2 -0
- package/core/schemas/builders/primitives/any.d.ts +1 -0
- package/core/schemas/builders/primitives/any.js +6 -0
- package/core/schemas/builders/primitives/boolean.d.ts +1 -0
- package/core/schemas/builders/primitives/boolean.js +25 -0
- package/core/schemas/builders/primitives/index.d.ts +5 -0
- package/core/schemas/builders/primitives/index.js +13 -0
- package/core/schemas/builders/primitives/number.d.ts +1 -0
- package/core/schemas/builders/primitives/number.js +25 -0
- package/core/schemas/builders/primitives/string.d.ts +1 -0
- package/core/schemas/builders/primitives/string.js +25 -0
- package/core/schemas/builders/primitives/unknown.d.ts +1 -0
- package/core/schemas/builders/primitives/unknown.js +6 -0
- package/core/schemas/builders/record/index.d.ts +2 -0
- package/core/schemas/builders/record/index.js +5 -0
- package/core/schemas/builders/record/record.d.ts +3 -0
- package/core/schemas/builders/record/record.js +95 -0
- package/core/schemas/builders/record/types.d.ts +4 -0
- package/core/schemas/builders/record/types.js +2 -0
- package/core/schemas/builders/schema-utils/JsonError.d.ts +5 -0
- package/core/schemas/builders/schema-utils/JsonError.js +12 -0
- package/core/schemas/builders/schema-utils/ParseError.d.ts +5 -0
- package/core/schemas/builders/schema-utils/ParseError.js +12 -0
- package/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +17 -0
- package/core/schemas/builders/schema-utils/getSchemaUtils.js +82 -0
- package/core/schemas/builders/schema-utils/index.d.ts +4 -0
- package/core/schemas/builders/schema-utils/index.js +11 -0
- package/core/schemas/builders/schema-utils/stringifyValidationErrors.d.ts +2 -0
- package/core/schemas/builders/schema-utils/stringifyValidationErrors.js +10 -0
- package/core/schemas/builders/set/index.d.ts +1 -0
- package/core/schemas/builders/set/index.js +5 -0
- package/core/schemas/builders/set/set.d.ts +2 -0
- package/core/schemas/builders/set/set.js +44 -0
- package/core/schemas/builders/undiscriminated-union/index.d.ts +2 -0
- package/core/schemas/builders/undiscriminated-union/index.js +5 -0
- package/core/schemas/builders/undiscriminated-union/types.d.ts +4 -0
- package/core/schemas/builders/undiscriminated-union/types.js +2 -0
- package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.d.ts +3 -0
- package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +40 -0
- package/core/schemas/builders/union/discriminant.d.ts +5 -0
- package/core/schemas/builders/union/discriminant.js +10 -0
- package/core/schemas/builders/union/index.d.ts +4 -0
- package/core/schemas/builders/union/index.js +7 -0
- package/core/schemas/builders/union/types.d.ts +13 -0
- package/core/schemas/builders/union/types.js +2 -0
- package/core/schemas/builders/union/union.d.ts +4 -0
- package/core/schemas/builders/union/union.js +130 -0
- package/core/schemas/index.d.ts +2 -0
- package/core/schemas/index.js +17 -0
- package/core/schemas/utils/MaybePromise.d.ts +1 -0
- package/core/schemas/utils/MaybePromise.js +2 -0
- package/core/schemas/utils/addQuestionMarksToNullableProperties.d.ts +7 -0
- package/core/schemas/utils/addQuestionMarksToNullableProperties.js +2 -0
- package/core/schemas/utils/createIdentitySchemaCreator.d.ts +2 -0
- package/core/schemas/utils/createIdentitySchemaCreator.js +16 -0
- package/core/schemas/utils/entries.d.ts +1 -0
- package/core/schemas/utils/entries.js +7 -0
- package/core/schemas/utils/filterObject.d.ts +1 -0
- package/core/schemas/utils/filterObject.js +14 -0
- package/core/schemas/utils/getErrorMessageForIncorrectType.d.ts +1 -0
- package/core/schemas/utils/getErrorMessageForIncorrectType.js +28 -0
- package/core/schemas/utils/isPlainObject.d.ts +1 -0
- package/core/schemas/utils/isPlainObject.js +18 -0
- package/core/schemas/utils/keys.d.ts +1 -0
- package/core/schemas/utils/keys.js +7 -0
- package/core/schemas/utils/maybeSkipValidation.d.ts +2 -0
- package/core/schemas/utils/maybeSkipValidation.js +28 -0
- package/core/schemas/utils/partition.d.ts +1 -0
- package/core/schemas/utils/partition.js +16 -0
- package/dist/Client.d.ts +93 -0
- package/dist/Client.js +384 -0
- package/dist/api/client/index.d.ts +1 -0
- package/dist/api/client/index.js +17 -0
- package/dist/api/client/requests/CheckRcsCapabilityRequest.d.ts +21 -0
- package/dist/api/client/requests/CheckRcsCapabilityRequest.js +5 -0
- package/dist/api/client/requests/UpdateSettingsRequest.d.ts +13 -0
- package/dist/api/client/requests/UpdateSettingsRequest.js +5 -0
- package/dist/api/client/requests/index.d.ts +2 -0
- package/dist/api/client/requests/index.js +2 -0
- package/dist/api/errors/BadRequestError.d.ts +8 -0
- package/dist/api/errors/BadRequestError.js +41 -0
- package/dist/api/errors/InternalServerError.d.ts +8 -0
- package/dist/api/errors/InternalServerError.js +41 -0
- package/dist/api/errors/UnauthorizedError.d.ts +8 -0
- package/dist/api/errors/UnauthorizedError.js +41 -0
- package/dist/api/errors/index.d.ts +3 -0
- package/dist/api/errors/index.js +19 -0
- package/dist/api/index.d.ts +3 -0
- package/dist/api/index.js +19 -0
- package/dist/api/types/Action.d.ts +5 -0
- package/dist/api/types/Action.js +5 -0
- package/dist/api/types/BadRequestErrorBody.d.ts +6 -0
- package/dist/api/types/BadRequestErrorBody.js +5 -0
- package/dist/api/types/BasicRcs.d.ts +13 -0
- package/dist/api/types/BasicRcs.js +5 -0
- package/dist/api/types/BasicRcsMessage.d.ts +10 -0
- package/dist/api/types/BasicRcsMessage.js +5 -0
- package/dist/api/types/Call.d.ts +9 -0
- package/dist/api/types/Call.js +5 -0
- package/dist/api/types/Card.d.ts +16 -0
- package/dist/api/types/Card.js +5 -0
- package/dist/api/types/CardRcs.d.ts +12 -0
- package/dist/api/types/CardRcs.js +5 -0
- package/dist/api/types/CardRcsMessage.d.ts +13 -0
- package/dist/api/types/CardRcsMessage.js +5 -0
- package/dist/api/types/CardStyle.d.ts +16 -0
- package/dist/api/types/CardStyle.js +5 -0
- package/dist/api/types/CardStyleImageAlignment.d.ts +11 -0
- package/dist/api/types/CardStyleImageAlignment.js +10 -0
- package/dist/api/types/CardStyleMediaHeight.d.ts +12 -0
- package/dist/api/types/CardStyleMediaHeight.js +11 -0
- package/dist/api/types/CardStyleOrientation.d.ts +11 -0
- package/dist/api/types/CardStyleOrientation.js +10 -0
- package/dist/api/types/CardStyleWidth.d.ts +11 -0
- package/dist/api/types/CardStyleWidth.js +10 -0
- package/dist/api/types/CarouselRcs.d.ts +12 -0
- package/dist/api/types/CarouselRcs.js +5 -0
- package/dist/api/types/CarouselRcsMessage.d.ts +13 -0
- package/dist/api/types/CarouselRcsMessage.js +5 -0
- package/dist/api/types/CheckRcsCapabilityResponse.d.ts +7 -0
- package/dist/api/types/CheckRcsCapabilityResponse.js +5 -0
- package/dist/api/types/Event.d.ts +15 -0
- package/dist/api/types/Event.js +5 -0
- package/dist/api/types/GetAccountNumberResponse.d.ts +7 -0
- package/dist/api/types/GetAccountNumberResponse.js +5 -0
- package/dist/api/types/InternalServerErrorBody.d.ts +6 -0
- package/dist/api/types/InternalServerErrorBody.js +5 -0
- package/dist/api/types/LatLng.d.ts +12 -0
- package/dist/api/types/LatLng.js +5 -0
- package/dist/api/types/MediaRcs.d.ts +12 -0
- package/dist/api/types/MediaRcs.js +5 -0
- package/dist/api/types/MediaRcsMessage.d.ts +14 -0
- package/dist/api/types/MediaRcsMessage.js +5 -0
- package/dist/api/types/MediaType.d.ts +14 -0
- package/dist/api/types/MediaType.js +13 -0
- package/dist/api/types/PhoneNumber.d.ts +7 -0
- package/dist/api/types/PhoneNumber.js +5 -0
- package/dist/api/types/Postback.d.ts +11 -0
- package/dist/api/types/Postback.js +5 -0
- package/dist/api/types/SendRequest.d.ts +5 -0
- package/dist/api/types/SendRequest.js +5 -0
- package/dist/api/types/SendResponse.d.ts +7 -0
- package/dist/api/types/SendResponse.js +5 -0
- package/dist/api/types/ShareLocation.d.ts +7 -0
- package/dist/api/types/ShareLocation.js +5 -0
- package/dist/api/types/Sms.d.ts +12 -0
- package/dist/api/types/Sms.js +5 -0
- package/dist/api/types/SmsMessage.d.ts +12 -0
- package/dist/api/types/SmsMessage.js +5 -0
- package/dist/api/types/UnauthorizedErrorBody.d.ts +6 -0
- package/dist/api/types/UnauthorizedErrorBody.js +5 -0
- package/dist/api/types/UpdateSettingsResponse.d.ts +6 -0
- package/dist/api/types/UpdateSettingsResponse.js +5 -0
- package/dist/api/types/Url.d.ts +9 -0
- package/dist/api/types/Url.js +5 -0
- package/dist/api/types/ViewLocation.d.ts +11 -0
- package/dist/api/types/ViewLocation.js +5 -0
- package/dist/api/types/index.d.ts +34 -0
- package/dist/api/types/index.js +50 -0
- package/dist/core/fetcher/APIResponse.d.ts +10 -0
- package/dist/core/fetcher/APIResponse.js +2 -0
- package/dist/core/fetcher/Fetcher.d.ts +39 -0
- package/dist/core/fetcher/Fetcher.js +99 -0
- package/dist/core/fetcher/Supplier.d.ts +4 -0
- package/dist/core/fetcher/Supplier.js +22 -0
- package/dist/core/fetcher/createRequestUrl.d.ts +1 -0
- package/dist/core/fetcher/createRequestUrl.js +13 -0
- package/dist/core/fetcher/getFetchFn.d.ts +4 -0
- package/dist/core/fetcher/getFetchFn.js +59 -0
- package/dist/core/fetcher/getHeader.d.ts +1 -0
- package/dist/core/fetcher/getHeader.js +12 -0
- package/dist/core/fetcher/getRequestBody.d.ts +7 -0
- package/dist/core/fetcher/getRequestBody.js +23 -0
- package/dist/core/fetcher/getResponseBody.d.ts +1 -0
- package/dist/core/fetcher/getResponseBody.js +52 -0
- package/dist/core/fetcher/index.d.ts +5 -0
- package/dist/core/fetcher/index.js +9 -0
- package/dist/core/fetcher/makeRequest.d.ts +1 -0
- package/dist/core/fetcher/makeRequest.js +42 -0
- package/dist/core/fetcher/requestWithRetries.d.ts +1 -0
- package/dist/core/fetcher/requestWithRetries.js +32 -0
- package/dist/core/fetcher/signals.d.ts +12 -0
- package/dist/core/fetcher/signals.js +37 -0
- package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +30 -0
- package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +247 -0
- package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +22 -0
- package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +124 -0
- package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +31 -0
- package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +229 -0
- package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +18 -0
- package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.js +50 -0
- package/dist/core/index.d.ts +3 -0
- package/dist/core/index.js +32 -0
- package/dist/core/runtime/index.d.ts +1 -0
- package/dist/core/runtime/index.js +5 -0
- package/dist/core/runtime/runtime.d.ts +9 -0
- package/dist/core/runtime/runtime.js +93 -0
- package/dist/core/schemas/Schema.d.ts +85 -0
- package/dist/core/schemas/Schema.js +22 -0
- package/dist/core/schemas/builders/bigint/bigint.d.ts +2 -0
- package/dist/core/schemas/builders/bigint/bigint.js +50 -0
- package/dist/core/schemas/builders/bigint/index.d.ts +1 -0
- package/dist/core/schemas/builders/bigint/index.js +5 -0
- package/dist/core/schemas/builders/date/date.d.ts +2 -0
- package/dist/core/schemas/builders/date/date.js +63 -0
- package/dist/core/schemas/builders/date/index.d.ts +1 -0
- package/dist/core/schemas/builders/date/index.js +5 -0
- package/dist/core/schemas/builders/enum/enum.d.ts +2 -0
- package/dist/core/schemas/builders/enum/enum.js +39 -0
- package/dist/core/schemas/builders/enum/index.d.ts +1 -0
- package/dist/core/schemas/builders/enum/index.js +5 -0
- package/dist/core/schemas/builders/index.d.ts +14 -0
- package/dist/core/schemas/builders/index.js +30 -0
- package/dist/core/schemas/builders/lazy/index.d.ts +3 -0
- package/dist/core/schemas/builders/lazy/index.js +7 -0
- package/dist/core/schemas/builders/lazy/lazy.d.ts +5 -0
- package/dist/core/schemas/builders/lazy/lazy.js +25 -0
- package/dist/core/schemas/builders/lazy/lazyObject.d.ts +3 -0
- package/dist/core/schemas/builders/lazy/lazyObject.js +12 -0
- package/dist/core/schemas/builders/list/index.d.ts +1 -0
- package/dist/core/schemas/builders/list/index.js +5 -0
- package/dist/core/schemas/builders/list/list.d.ts +2 -0
- package/dist/core/schemas/builders/list/list.js +55 -0
- package/dist/core/schemas/builders/literals/booleanLiteral.d.ts +2 -0
- package/dist/core/schemas/builders/literals/booleanLiteral.js +29 -0
- package/dist/core/schemas/builders/literals/index.d.ts +2 -0
- package/dist/core/schemas/builders/literals/index.js +7 -0
- package/dist/core/schemas/builders/literals/stringLiteral.d.ts +2 -0
- package/dist/core/schemas/builders/literals/stringLiteral.js +29 -0
- package/dist/core/schemas/builders/object/index.d.ts +6 -0
- package/dist/core/schemas/builders/object/index.js +11 -0
- package/dist/core/schemas/builders/object/object.d.ts +3 -0
- package/dist/core/schemas/builders/object/object.js +233 -0
- package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +6 -0
- package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.js +8 -0
- package/dist/core/schemas/builders/object/property.d.ts +8 -0
- package/dist/core/schemas/builders/object/property.js +16 -0
- package/dist/core/schemas/builders/object/types.d.ts +26 -0
- package/dist/core/schemas/builders/object/types.js +2 -0
- package/dist/core/schemas/builders/object-like/getObjectLikeUtils.d.ts +9 -0
- package/dist/core/schemas/builders/object-like/getObjectLikeUtils.js +54 -0
- package/dist/core/schemas/builders/object-like/index.d.ts +2 -0
- package/dist/core/schemas/builders/object-like/index.js +6 -0
- package/dist/core/schemas/builders/object-like/types.d.ts +7 -0
- package/dist/core/schemas/builders/object-like/types.js +2 -0
- package/dist/core/schemas/builders/primitives/any.d.ts +1 -0
- package/dist/core/schemas/builders/primitives/any.js +6 -0
- package/dist/core/schemas/builders/primitives/boolean.d.ts +1 -0
- package/dist/core/schemas/builders/primitives/boolean.js +25 -0
- package/dist/core/schemas/builders/primitives/index.d.ts +5 -0
- package/dist/core/schemas/builders/primitives/index.js +13 -0
- package/dist/core/schemas/builders/primitives/number.d.ts +1 -0
- package/dist/core/schemas/builders/primitives/number.js +25 -0
- package/dist/core/schemas/builders/primitives/string.d.ts +1 -0
- package/dist/core/schemas/builders/primitives/string.js +25 -0
- package/dist/core/schemas/builders/primitives/unknown.d.ts +1 -0
- package/dist/core/schemas/builders/primitives/unknown.js +6 -0
- package/dist/core/schemas/builders/record/index.d.ts +2 -0
- package/dist/core/schemas/builders/record/index.js +5 -0
- package/dist/core/schemas/builders/record/record.d.ts +3 -0
- package/dist/core/schemas/builders/record/record.js +95 -0
- package/dist/core/schemas/builders/record/types.d.ts +4 -0
- package/dist/core/schemas/builders/record/types.js +2 -0
- package/dist/core/schemas/builders/schema-utils/JsonError.d.ts +5 -0
- package/dist/core/schemas/builders/schema-utils/JsonError.js +12 -0
- package/dist/core/schemas/builders/schema-utils/ParseError.d.ts +5 -0
- package/dist/core/schemas/builders/schema-utils/ParseError.js +12 -0
- package/dist/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +17 -0
- package/dist/core/schemas/builders/schema-utils/getSchemaUtils.js +82 -0
- package/dist/core/schemas/builders/schema-utils/index.d.ts +4 -0
- package/dist/core/schemas/builders/schema-utils/index.js +11 -0
- package/dist/core/schemas/builders/schema-utils/stringifyValidationErrors.d.ts +2 -0
- package/dist/core/schemas/builders/schema-utils/stringifyValidationErrors.js +10 -0
- package/dist/core/schemas/builders/set/index.d.ts +1 -0
- package/dist/core/schemas/builders/set/index.js +5 -0
- package/dist/core/schemas/builders/set/set.d.ts +2 -0
- package/dist/core/schemas/builders/set/set.js +44 -0
- package/dist/core/schemas/builders/undiscriminated-union/index.d.ts +2 -0
- package/dist/core/schemas/builders/undiscriminated-union/index.js +5 -0
- package/dist/core/schemas/builders/undiscriminated-union/types.d.ts +4 -0
- package/dist/core/schemas/builders/undiscriminated-union/types.js +2 -0
- package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.d.ts +3 -0
- package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +40 -0
- package/dist/core/schemas/builders/union/discriminant.d.ts +5 -0
- package/dist/core/schemas/builders/union/discriminant.js +10 -0
- package/dist/core/schemas/builders/union/index.d.ts +4 -0
- package/dist/core/schemas/builders/union/index.js +7 -0
- package/dist/core/schemas/builders/union/types.d.ts +13 -0
- package/dist/core/schemas/builders/union/types.js +2 -0
- package/dist/core/schemas/builders/union/union.d.ts +4 -0
- package/dist/core/schemas/builders/union/union.js +130 -0
- package/dist/core/schemas/index.d.ts +2 -0
- package/dist/core/schemas/index.js +17 -0
- package/dist/core/schemas/utils/MaybePromise.d.ts +1 -0
- package/dist/core/schemas/utils/MaybePromise.js +2 -0
- package/dist/core/schemas/utils/addQuestionMarksToNullableProperties.d.ts +7 -0
- package/dist/core/schemas/utils/addQuestionMarksToNullableProperties.js +2 -0
- package/dist/core/schemas/utils/createIdentitySchemaCreator.d.ts +2 -0
- package/dist/core/schemas/utils/createIdentitySchemaCreator.js +16 -0
- package/dist/core/schemas/utils/entries.d.ts +1 -0
- package/dist/core/schemas/utils/entries.js +7 -0
- package/dist/core/schemas/utils/filterObject.d.ts +1 -0
- package/dist/core/schemas/utils/filterObject.js +14 -0
- package/dist/core/schemas/utils/getErrorMessageForIncorrectType.d.ts +1 -0
- package/dist/core/schemas/utils/getErrorMessageForIncorrectType.js +28 -0
- package/dist/core/schemas/utils/isPlainObject.d.ts +1 -0
- package/dist/core/schemas/utils/isPlainObject.js +18 -0
- package/dist/core/schemas/utils/keys.d.ts +1 -0
- package/dist/core/schemas/utils/keys.js +7 -0
- package/dist/core/schemas/utils/maybeSkipValidation.d.ts +2 -0
- package/dist/core/schemas/utils/maybeSkipValidation.js +28 -0
- package/dist/core/schemas/utils/partition.d.ts +1 -0
- package/dist/core/schemas/utils/partition.js +16 -0
- package/dist/environments.d.ts +7 -0
- package/dist/environments.js +9 -0
- package/dist/errors/PinnacleError.d.ts +12 -0
- package/dist/errors/PinnacleError.js +32 -0
- package/dist/errors/PinnacleTimeoutError.d.ts +6 -0
- package/dist/errors/PinnacleTimeoutError.js +13 -0
- package/dist/errors/index.d.ts +2 -0
- package/dist/errors/index.js +7 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +32 -5
- package/dist/serialization/client/index.d.ts +1 -0
- package/dist/serialization/client/index.js +17 -0
- package/dist/serialization/client/requests/UpdateSettingsRequest.d.ts +12 -0
- package/dist/serialization/client/requests/UpdateSettingsRequest.js +33 -0
- package/dist/serialization/client/requests/index.d.ts +1 -0
- package/dist/serialization/client/requests/index.js +5 -0
- package/dist/serialization/index.d.ts +2 -0
- package/dist/serialization/index.js +18 -0
- package/dist/serialization/types/Action.d.ts +15 -0
- package/dist/serialization/types/Action.js +36 -0
- package/dist/serialization/types/BadRequestErrorBody.d.ts +12 -0
- package/dist/serialization/types/BadRequestErrorBody.js +33 -0
- package/dist/serialization/types/BasicRcs.d.ts +18 -0
- package/dist/serialization/types/BasicRcs.js +39 -0
- package/dist/serialization/types/BasicRcsMessage.d.ts +12 -0
- package/dist/serialization/types/BasicRcsMessage.js +33 -0
- package/dist/serialization/types/Call.d.ts +13 -0
- package/dist/serialization/types/Call.js +34 -0
- package/dist/serialization/types/Card.d.ts +18 -0
- package/dist/serialization/types/Card.js +39 -0
- package/dist/serialization/types/CardRcs.d.ts +16 -0
- package/dist/serialization/types/CardRcs.js +37 -0
- package/dist/serialization/types/CardRcsMessage.d.ts +15 -0
- package/dist/serialization/types/CardRcsMessage.js +36 -0
- package/dist/serialization/types/CardStyle.d.ts +20 -0
- package/dist/serialization/types/CardStyle.js +41 -0
- package/dist/serialization/types/CardStyleImageAlignment.d.ts +10 -0
- package/dist/serialization/types/CardStyleImageAlignment.js +31 -0
- package/dist/serialization/types/CardStyleMediaHeight.d.ts +10 -0
- package/dist/serialization/types/CardStyleMediaHeight.js +31 -0
- package/dist/serialization/types/CardStyleOrientation.d.ts +10 -0
- package/dist/serialization/types/CardStyleOrientation.js +31 -0
- package/dist/serialization/types/CardStyleWidth.d.ts +10 -0
- package/dist/serialization/types/CardStyleWidth.js +31 -0
- package/dist/serialization/types/CarouselRcs.d.ts +16 -0
- package/dist/serialization/types/CarouselRcs.js +37 -0
- package/dist/serialization/types/CarouselRcsMessage.d.ts +15 -0
- package/dist/serialization/types/CarouselRcsMessage.js +36 -0
- package/dist/serialization/types/CheckRcsCapabilityResponse.d.ts +13 -0
- package/dist/serialization/types/CheckRcsCapabilityResponse.js +34 -0
- package/dist/serialization/types/Event.d.ts +16 -0
- package/dist/serialization/types/Event.js +37 -0
- package/dist/serialization/types/GetAccountNumberResponse.d.ts +12 -0
- package/dist/serialization/types/GetAccountNumberResponse.js +33 -0
- package/dist/serialization/types/InternalServerErrorBody.d.ts +12 -0
- package/dist/serialization/types/InternalServerErrorBody.js +33 -0
- package/dist/serialization/types/LatLng.d.ts +13 -0
- package/dist/serialization/types/LatLng.js +34 -0
- package/dist/serialization/types/MediaRcs.d.ts +16 -0
- package/dist/serialization/types/MediaRcs.js +37 -0
- package/dist/serialization/types/MediaRcsMessage.d.ts +16 -0
- package/dist/serialization/types/MediaRcsMessage.js +37 -0
- package/dist/serialization/types/MediaType.d.ts +10 -0
- package/dist/serialization/types/MediaType.js +31 -0
- package/dist/serialization/types/PhoneNumber.d.ts +10 -0
- package/dist/serialization/types/PhoneNumber.js +31 -0
- package/dist/serialization/types/Postback.d.ts +14 -0
- package/dist/serialization/types/Postback.js +35 -0
- package/dist/serialization/types/SendRequest.d.ts +15 -0
- package/dist/serialization/types/SendRequest.js +36 -0
- package/dist/serialization/types/SendResponse.d.ts +12 -0
- package/dist/serialization/types/SendResponse.js +33 -0
- package/dist/serialization/types/ShareLocation.d.ts +12 -0
- package/dist/serialization/types/ShareLocation.js +33 -0
- package/dist/serialization/types/Sms.d.ts +16 -0
- package/dist/serialization/types/Sms.js +37 -0
- package/dist/serialization/types/SmsMessage.d.ts +13 -0
- package/dist/serialization/types/SmsMessage.js +34 -0
- package/dist/serialization/types/UnauthorizedErrorBody.d.ts +12 -0
- package/dist/serialization/types/UnauthorizedErrorBody.js +33 -0
- package/dist/serialization/types/UpdateSettingsResponse.d.ts +12 -0
- package/dist/serialization/types/UpdateSettingsResponse.js +33 -0
- package/dist/serialization/types/Url.d.ts +13 -0
- package/dist/serialization/types/Url.js +34 -0
- package/dist/serialization/types/ViewLocation.d.ts +15 -0
- package/dist/serialization/types/ViewLocation.js +36 -0
- package/dist/serialization/types/index.d.ts +34 -0
- package/dist/serialization/types/index.js +50 -0
- package/dist/version.d.ts +1 -0
- package/dist/version.js +4 -0
- package/environments.d.ts +7 -0
- package/environments.js +9 -0
- package/errors/PinnacleError.d.ts +12 -0
- package/errors/PinnacleError.js +32 -0
- package/errors/PinnacleTimeoutError.d.ts +6 -0
- package/errors/PinnacleTimeoutError.js +13 -0
- package/errors/index.d.ts +2 -0
- package/errors/index.js +7 -0
- package/index.d.ts +4 -0
- package/index.js +34 -0
- package/jest.config.js +5 -0
- package/package.json +42 -24
- package/reference.md +76 -0
- package/serialization/client/index.d.ts +1 -0
- package/serialization/client/index.js +17 -0
- package/serialization/client/requests/UpdateSettingsRequest.d.ts +12 -0
- package/serialization/client/requests/UpdateSettingsRequest.js +33 -0
- package/serialization/client/requests/index.d.ts +1 -0
- package/serialization/client/requests/index.js +5 -0
- package/serialization/index.d.ts +2 -0
- package/serialization/index.js +18 -0
- package/serialization/types/Action.d.ts +15 -0
- package/serialization/types/Action.js +36 -0
- package/serialization/types/BadRequestErrorBody.d.ts +12 -0
- package/serialization/types/BadRequestErrorBody.js +33 -0
- package/serialization/types/BasicRcs.d.ts +18 -0
- package/serialization/types/BasicRcs.js +39 -0
- package/serialization/types/BasicRcsMessage.d.ts +12 -0
- package/serialization/types/BasicRcsMessage.js +33 -0
- package/serialization/types/Call.d.ts +13 -0
- package/serialization/types/Call.js +34 -0
- package/serialization/types/Card.d.ts +18 -0
- package/serialization/types/Card.js +39 -0
- package/serialization/types/CardRcs.d.ts +16 -0
- package/serialization/types/CardRcs.js +37 -0
- package/serialization/types/CardRcsMessage.d.ts +15 -0
- package/serialization/types/CardRcsMessage.js +36 -0
- package/serialization/types/CardStyle.d.ts +20 -0
- package/serialization/types/CardStyle.js +41 -0
- package/serialization/types/CardStyleImageAlignment.d.ts +10 -0
- package/serialization/types/CardStyleImageAlignment.js +31 -0
- package/serialization/types/CardStyleMediaHeight.d.ts +10 -0
- package/serialization/types/CardStyleMediaHeight.js +31 -0
- package/serialization/types/CardStyleOrientation.d.ts +10 -0
- package/serialization/types/CardStyleOrientation.js +31 -0
- package/serialization/types/CardStyleWidth.d.ts +10 -0
- package/serialization/types/CardStyleWidth.js +31 -0
- package/serialization/types/CarouselRcs.d.ts +16 -0
- package/serialization/types/CarouselRcs.js +37 -0
- package/serialization/types/CarouselRcsMessage.d.ts +15 -0
- package/serialization/types/CarouselRcsMessage.js +36 -0
- package/serialization/types/CheckRcsCapabilityResponse.d.ts +13 -0
- package/serialization/types/CheckRcsCapabilityResponse.js +34 -0
- package/serialization/types/Event.d.ts +16 -0
- package/serialization/types/Event.js +37 -0
- package/serialization/types/GetAccountNumberResponse.d.ts +12 -0
- package/serialization/types/GetAccountNumberResponse.js +33 -0
- package/serialization/types/InternalServerErrorBody.d.ts +12 -0
- package/serialization/types/InternalServerErrorBody.js +33 -0
- package/serialization/types/LatLng.d.ts +13 -0
- package/serialization/types/LatLng.js +34 -0
- package/serialization/types/MediaRcs.d.ts +16 -0
- package/serialization/types/MediaRcs.js +37 -0
- package/serialization/types/MediaRcsMessage.d.ts +16 -0
- package/serialization/types/MediaRcsMessage.js +37 -0
- package/serialization/types/MediaType.d.ts +10 -0
- package/serialization/types/MediaType.js +31 -0
- package/serialization/types/PhoneNumber.d.ts +10 -0
- package/serialization/types/PhoneNumber.js +31 -0
- package/serialization/types/Postback.d.ts +14 -0
- package/serialization/types/Postback.js +35 -0
- package/serialization/types/SendRequest.d.ts +15 -0
- package/serialization/types/SendRequest.js +36 -0
- package/serialization/types/SendResponse.d.ts +12 -0
- package/serialization/types/SendResponse.js +33 -0
- package/serialization/types/ShareLocation.d.ts +12 -0
- package/serialization/types/ShareLocation.js +33 -0
- package/serialization/types/Sms.d.ts +16 -0
- package/serialization/types/Sms.js +37 -0
- package/serialization/types/SmsMessage.d.ts +13 -0
- package/serialization/types/SmsMessage.js +34 -0
- package/serialization/types/UnauthorizedErrorBody.d.ts +12 -0
- package/serialization/types/UnauthorizedErrorBody.js +33 -0
- package/serialization/types/UpdateSettingsResponse.d.ts +12 -0
- package/serialization/types/UpdateSettingsResponse.js +33 -0
- package/serialization/types/Url.d.ts +13 -0
- package/serialization/types/Url.js +34 -0
- package/serialization/types/ViewLocation.d.ts +15 -0
- package/serialization/types/ViewLocation.js +36 -0
- package/serialization/types/index.d.ts +34 -0
- package/serialization/types/index.js +50 -0
- package/version.d.ts +1 -0
- package/version.js +4 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.CardStyleImageAlignment = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.CardStyleImageAlignment = core.serialization.enum_(["right", "left"]);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Pinnacle from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const CardStyleMediaHeight: core.serialization.Schema<serializers.CardStyleMediaHeight.Raw, Pinnacle.CardStyleMediaHeight>;
|
|
8
|
+
export declare namespace CardStyleMediaHeight {
|
|
9
|
+
type Raw = "medium" | "small" | "tall";
|
|
10
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.CardStyleMediaHeight = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.CardStyleMediaHeight = core.serialization.enum_(["medium", "small", "tall"]);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Pinnacle from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const CardStyleOrientation: core.serialization.Schema<serializers.CardStyleOrientation.Raw, Pinnacle.CardStyleOrientation>;
|
|
8
|
+
export declare namespace CardStyleOrientation {
|
|
9
|
+
type Raw = "horizontal" | "vertical";
|
|
10
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.CardStyleOrientation = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.CardStyleOrientation = core.serialization.enum_(["horizontal", "vertical"]);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Pinnacle from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const CardStyleWidth: core.serialization.Schema<serializers.CardStyleWidth.Raw, Pinnacle.CardStyleWidth>;
|
|
8
|
+
export declare namespace CardStyleWidth {
|
|
9
|
+
type Raw = "small" | "medium";
|
|
10
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.CardStyleWidth = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.CardStyleWidth = core.serialization.enum_(["small", "medium"]);
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Pinnacle from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { PhoneNumber } from "./PhoneNumber";
|
|
8
|
+
import { CarouselRcsMessage } from "./CarouselRcsMessage";
|
|
9
|
+
export declare const CarouselRcs: core.serialization.ObjectSchema<serializers.CarouselRcs.Raw, Pinnacle.CarouselRcs>;
|
|
10
|
+
export declare namespace CarouselRcs {
|
|
11
|
+
interface Raw {
|
|
12
|
+
phone_number?: PhoneNumber.Raw | null;
|
|
13
|
+
message_type: "carousel";
|
|
14
|
+
message: CarouselRcsMessage.Raw;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.CarouselRcs = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const PhoneNumber_1 = require("./PhoneNumber");
|
|
32
|
+
const CarouselRcsMessage_1 = require("./CarouselRcsMessage");
|
|
33
|
+
exports.CarouselRcs = core.serialization.object({
|
|
34
|
+
phoneNumber: core.serialization.property("phone_number", PhoneNumber_1.PhoneNumber.optional()),
|
|
35
|
+
messageType: core.serialization.property("message_type", core.serialization.stringLiteral("carousel")),
|
|
36
|
+
message: CarouselRcsMessage_1.CarouselRcsMessage,
|
|
37
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Pinnacle from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { Card } from "./Card";
|
|
8
|
+
import { Action } from "./Action";
|
|
9
|
+
export declare const CarouselRcsMessage: core.serialization.ObjectSchema<serializers.CarouselRcsMessage.Raw, Pinnacle.CarouselRcsMessage>;
|
|
10
|
+
export declare namespace CarouselRcsMessage {
|
|
11
|
+
interface Raw {
|
|
12
|
+
cards: Card.Raw[];
|
|
13
|
+
quick_replies?: Action.Raw[] | null;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.CarouselRcsMessage = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const Card_1 = require("./Card");
|
|
32
|
+
const Action_1 = require("./Action");
|
|
33
|
+
exports.CarouselRcsMessage = core.serialization.object({
|
|
34
|
+
cards: core.serialization.list(Card_1.Card),
|
|
35
|
+
quickReplies: core.serialization.property("quick_replies", core.serialization.list(Action_1.Action).optional()),
|
|
36
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Pinnacle from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const CheckRcsCapabilityResponse: core.serialization.ObjectSchema<serializers.CheckRcsCapabilityResponse.Raw, Pinnacle.CheckRcsCapabilityResponse>;
|
|
8
|
+
export declare namespace CheckRcsCapabilityResponse {
|
|
9
|
+
interface Raw {
|
|
10
|
+
success?: boolean | null;
|
|
11
|
+
rcsEnabled?: boolean | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.CheckRcsCapabilityResponse = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.CheckRcsCapabilityResponse = core.serialization.object({
|
|
32
|
+
success: core.serialization.boolean().optional(),
|
|
33
|
+
rcsEnabled: core.serialization.boolean().optional(),
|
|
34
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Pinnacle from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const Event: core.serialization.ObjectSchema<serializers.Event.Raw, Pinnacle.Event>;
|
|
8
|
+
export declare namespace Event {
|
|
9
|
+
interface Raw {
|
|
10
|
+
action_type: "calendar";
|
|
11
|
+
start_time: string;
|
|
12
|
+
end_time: string;
|
|
13
|
+
event_title: string;
|
|
14
|
+
event_description?: string | null;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Event = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.Event = core.serialization.object({
|
|
32
|
+
actionType: core.serialization.property("action_type", core.serialization.stringLiteral("calendar")),
|
|
33
|
+
startTime: core.serialization.property("start_time", core.serialization.date()),
|
|
34
|
+
endTime: core.serialization.property("end_time", core.serialization.date()),
|
|
35
|
+
eventTitle: core.serialization.property("event_title", core.serialization.string()),
|
|
36
|
+
eventDescription: core.serialization.property("event_description", core.serialization.string().optional()),
|
|
37
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Pinnacle from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const GetAccountNumberResponse: core.serialization.ObjectSchema<serializers.GetAccountNumberResponse.Raw, Pinnacle.GetAccountNumberResponse>;
|
|
8
|
+
export declare namespace GetAccountNumberResponse {
|
|
9
|
+
interface Raw {
|
|
10
|
+
accountNumber?: string | null;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.GetAccountNumberResponse = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.GetAccountNumberResponse = core.serialization.object({
|
|
32
|
+
accountNumber: core.serialization.string().optional(),
|
|
33
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Pinnacle from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const InternalServerErrorBody: core.serialization.ObjectSchema<serializers.InternalServerErrorBody.Raw, Pinnacle.InternalServerErrorBody>;
|
|
8
|
+
export declare namespace InternalServerErrorBody {
|
|
9
|
+
interface Raw {
|
|
10
|
+
error?: string | null;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.InternalServerErrorBody = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.InternalServerErrorBody = core.serialization.object({
|
|
32
|
+
error: core.serialization.string().optional(),
|
|
33
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Pinnacle from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const LatLng: core.serialization.ObjectSchema<serializers.LatLng.Raw, Pinnacle.LatLng>;
|
|
8
|
+
export declare namespace LatLng {
|
|
9
|
+
interface Raw {
|
|
10
|
+
lat: number;
|
|
11
|
+
lng: number;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.LatLng = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.LatLng = core.serialization.object({
|
|
32
|
+
lat: core.serialization.number(),
|
|
33
|
+
lng: core.serialization.number(),
|
|
34
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Pinnacle from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { PhoneNumber } from "./PhoneNumber";
|
|
8
|
+
import { MediaRcsMessage } from "./MediaRcsMessage";
|
|
9
|
+
export declare const MediaRcs: core.serialization.ObjectSchema<serializers.MediaRcs.Raw, Pinnacle.MediaRcs>;
|
|
10
|
+
export declare namespace MediaRcs {
|
|
11
|
+
interface Raw {
|
|
12
|
+
phone_number?: PhoneNumber.Raw | null;
|
|
13
|
+
message_type: "media";
|
|
14
|
+
message: MediaRcsMessage.Raw;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.MediaRcs = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const PhoneNumber_1 = require("./PhoneNumber");
|
|
32
|
+
const MediaRcsMessage_1 = require("./MediaRcsMessage");
|
|
33
|
+
exports.MediaRcs = core.serialization.object({
|
|
34
|
+
phoneNumber: core.serialization.property("phone_number", PhoneNumber_1.PhoneNumber.optional()),
|
|
35
|
+
messageType: core.serialization.property("message_type", core.serialization.stringLiteral("media")),
|
|
36
|
+
message: MediaRcsMessage_1.MediaRcsMessage,
|
|
37
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Pinnacle from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { MediaType } from "./MediaType";
|
|
8
|
+
import { Action } from "./Action";
|
|
9
|
+
export declare const MediaRcsMessage: core.serialization.ObjectSchema<serializers.MediaRcsMessage.Raw, Pinnacle.MediaRcsMessage>;
|
|
10
|
+
export declare namespace MediaRcsMessage {
|
|
11
|
+
interface Raw {
|
|
12
|
+
mediaType: MediaType.Raw;
|
|
13
|
+
mediaUrl: string;
|
|
14
|
+
quick_replies?: Action.Raw[] | null;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.MediaRcsMessage = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const MediaType_1 = require("./MediaType");
|
|
32
|
+
const Action_1 = require("./Action");
|
|
33
|
+
exports.MediaRcsMessage = core.serialization.object({
|
|
34
|
+
mediaType: MediaType_1.MediaType,
|
|
35
|
+
mediaUrl: core.serialization.string(),
|
|
36
|
+
quickReplies: core.serialization.property("quick_replies", core.serialization.list(Action_1.Action).optional()),
|
|
37
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Pinnacle from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const MediaType: core.serialization.Schema<serializers.MediaType.Raw, Pinnacle.MediaType>;
|
|
8
|
+
export declare namespace MediaType {
|
|
9
|
+
type Raw = "text" | "image" | "video" | "audio" | "file";
|
|
10
|
+
}
|