@distilled.cloud/customerio 1.0.0-rc.12 → 1.0.0-rc.13
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 +34 -0
- package/lib/protocol.d.ts +4 -4
- package/lib/protocol.d.ts.map +1 -1
- package/lib/protocol.js +2 -1
- package/lib/protocol.js.map +1 -1
- package/lib/response-validation.test.d.ts +6 -0
- package/lib/response-validation.test.d.ts.map +1 -0
- package/lib/response-validation.test.js +38 -0
- package/lib/response-validation.test.js.map +1 -0
- package/lib/services/customerio.d.ts +1 -4
- package/lib/services/customerio.d.ts.map +1 -1
- package/lib/services/customerio.js +1 -2
- package/lib/services/customerio.js.map +1 -1
- package/lib/traits.d.ts +1 -1
- package/lib/traits.d.ts.map +1 -1
- package/lib/traits.js +1 -1
- package/lib/traits.js.map +1 -1
- package/package.json +4 -4
- package/src/protocol.ts +6 -4
- package/src/response-validation.test.ts +54 -0
- package/src/services/customerio.ts +2 -10
- package/src/traits.ts +2 -0
|
@@ -8123,14 +8123,13 @@ export const SendPushRequestTransactionalMessageId = S.Unknown;
|
|
|
8123
8123
|
export const SendPushRequestTo = S.String;
|
|
8124
8124
|
export const SendPushRequestSound = S.String;
|
|
8125
8125
|
export const SendPushRequestCustomDevicePlatform = S.String;
|
|
8126
|
-
export const SendPushRequestCustomDeviceAttributesPushEnabled = S.String;
|
|
8127
8126
|
export const SendPushRequestCustomDeviceAttributes = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
8128
8127
|
device_os: S.optional(S.String),
|
|
8129
8128
|
device_model: S.optional(S.String),
|
|
8130
8129
|
app_version: S.optional(S.String),
|
|
8131
8130
|
cio_sdk_version: S.optional(S.String),
|
|
8132
8131
|
device_locale: S.optional(S.String),
|
|
8133
|
-
push_enabled: S.optional(
|
|
8132
|
+
push_enabled: S.optional(S.Boolean.pipe(T.StringEncoded())),
|
|
8134
8133
|
})).annotate({
|
|
8135
8134
|
identifier: "SendPushRequestCustomDeviceAttributes",
|
|
8136
8135
|
});
|