@everfur/sdk 1.5.1 → 1.5.3
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/dist/{bookingCopy.d-BL2-URcv.d.ts → bookingCopy.d-Bn8bdo89.d.ts} +4 -4
- package/dist/{bookingCopy.d-Dfew1pjY.d.cts → bookingCopy.d-Dg7bPM-U.d.cts} +4 -4
- package/dist/care/index.cjs +2 -2
- package/dist/care/index.js +2 -2
- package/dist/chat/index.cjs +235 -234
- package/dist/chat/index.js +311 -310
- package/dist/chat/lite/index.cjs +339 -338
- package/dist/chat/lite/index.js +314 -313
- package/dist/{chunk-ZYHPCQVM.js → chunk-CFEHTNKX.js} +1 -1
- package/dist/{chunk-NBAOR5TJ.js → chunk-OU5RMGKD.js} +21 -21
- package/dist/{chunk-RD6ZGYEJ.js → chunk-XGF2HYNN.js} +16 -16
- package/dist/{chunk-IO4CGYHT.js → chunk-ZGL2GEEI.js} +1 -1
- package/dist/client/index.cjs +1 -1
- package/dist/client/index.d.cts +1 -1
- package/dist/client/index.d.ts +1 -1
- package/dist/client/index.js +1 -1
- package/dist/core/index.cjs +31 -31
- package/dist/core/index.js +31 -31
- package/dist/health-plan/index.cjs +266 -266
- package/dist/health-plan/index.js +443 -443
- package/dist/{idempotency.d-dOFfV91-.d.ts → idempotency.d-CbB07p64.d.ts} +10 -8
- package/dist/{idempotency.d-CFVMhWcv.d.cts → idempotency.d-DrxKLPPe.d.cts} +10 -8
- package/dist/{inbox.d-DJ9xgU1Z.d.ts → inbox.d-B2JXK0uI.d.ts} +1 -1
- package/dist/{inbox.d-CPcMMz-Y.d.cts → inbox.d-CwA1ogzV.d.cts} +1 -1
- package/dist/index.cjs +257 -256
- package/dist/index.js +364 -363
- package/dist/notifications/inbox/index.cjs +28 -28
- package/dist/notifications/inbox/index.d.cts +5 -5
- package/dist/notifications/inbox/index.d.ts +5 -5
- package/dist/notifications/inbox/index.js +53 -53
- package/dist/notifications/index.cjs +1 -1
- package/dist/notifications/index.d.cts +3 -3
- package/dist/notifications/index.d.ts +3 -3
- package/dist/notifications/index.js +1 -1
- package/dist/{optInView.d-ByDJMrMv.d.cts → optInView.d-ChJyJMBA.d.cts} +4 -1
- package/dist/{optInView.d-DVshLxbD.d.ts → optInView.d-Cps7aLQN.d.ts} +4 -1
- package/dist/{parse.d-Cj3fURer.d.ts → parse.d-QjB2LJCd.d.ts} +19 -10
- package/dist/{parse.d-cH7ZmMeo.d.cts → parse.d-_Ttu2h5g.d.cts} +19 -10
- package/dist/records/depth/index.cjs +80 -80
- package/dist/records/depth/index.js +115 -115
- package/dist/records/index.cjs +653 -653
- package/dist/records/index.js +1074 -1074
- package/dist/{route.d-DSYEd2MR.d.ts → route.d-DtuKY5dM.d.ts} +1 -1
- package/dist/{route.d-DCzQh4ix.d.cts → route.d-Nt-r-7IO.d.cts} +1 -1
- package/dist/server/events/index.cjs +1 -1
- package/dist/server/events/index.js +1 -1
- package/dist/server/index.cjs +1 -1
- package/dist/server/index.js +1 -1
- package/dist/shop/index.cjs +188 -188
- package/dist/shop/index.d.cts +2 -2
- package/dist/shop/index.d.ts +2 -2
- package/dist/shop/index.js +386 -386
- package/dist/shop/orders-v2/index.cjs +72 -72
- package/dist/shop/orders-v2/index.js +126 -126
- package/dist/tabs/index.cjs +114 -111
- package/dist/tabs/index.d.cts +18 -5
- package/dist/tabs/index.d.ts +18 -5
- package/dist/tabs/index.js +191 -188
- package/dist/televet/booking/index.cjs +214 -211
- package/dist/televet/booking/index.d.cts +2 -2
- package/dist/televet/booking/index.d.ts +2 -2
- package/dist/televet/booking/index.js +344 -341
- package/dist/televet/call/index.cjs +53 -53
- package/dist/televet/call/index.js +67 -67
- package/dist/texting/index.cjs +8 -8
- package/dist/texting/index.d.cts +2 -2
- package/dist/texting/index.d.ts +2 -2
- package/dist/texting/index.js +8 -8
- package/dist/{useInboxUnread.d-CXiaR3BZ.d.ts → useInboxUnread.d-0DrQPn7J.d.ts} +1 -1
- package/dist/{useInboxUnread.d-DERpMelw.d.cts → useInboxUnread.d-CRcOTkmu.d.cts} +1 -1
- package/dist/web/health-plan/index.cjs +1 -1
- package/dist/web/health-plan/index.js +1 -1
- package/dist/web/inbox/index.cjs +1 -1
- package/dist/web/inbox/index.d.cts +6 -6
- package/dist/web/inbox/index.d.ts +6 -6
- package/dist/web/inbox/index.js +1 -1
- package/dist/web/index.cjs +184 -184
- package/dist/web/index.js +181 -181
- package/dist/web/notifications/index.cjs +1 -1
- package/dist/web/notifications/index.d.cts +2 -2
- package/dist/web/notifications/index.d.ts +2 -2
- package/dist/web/notifications/index.js +1 -1
- package/dist/web/records-sheet/index.cjs +1 -1
- package/dist/web/records-sheet/index.js +1 -1
- package/dist/web/shop/index.cjs +2 -2
- package/dist/web/shop/index.d.cts +2 -2
- package/dist/web/shop/index.d.ts +2 -2
- package/dist/web/shop/index.js +3 -3
- package/dist/web/televet/booking/index.cjs +185 -185
- package/dist/web/televet/booking/index.d.cts +2 -2
- package/dist/web/televet/booking/index.d.ts +2 -2
- package/dist/web/televet/booking/index.js +185 -185
- package/dist/web/televet/call/index.cjs +1 -1
- package/dist/web/televet/call/index.js +1 -1
- package/dist/web/texting/index.cjs +3 -4
- package/dist/web/texting/index.d.cts +2 -2
- package/dist/web/texting/index.d.ts +2 -2
- package/dist/web/texting/index.js +3 -4
- package/dist/web/ui/index.cjs +1 -1
- package/dist/web/ui/index.js +33 -33
- package/package.json +1 -1
|
@@ -152,7 +152,8 @@ type ShopPaymentStepResult = {
|
|
|
152
152
|
readonly ok: true;
|
|
153
153
|
}
|
|
154
154
|
/**
|
|
155
|
-
* The step did not finish. `message` is Stripe's own line
|
|
155
|
+
* The step did not finish. `message` is Stripe's own customer line (a card or a form error), shown as is; any other
|
|
156
|
+
* Stripe error (an API, request or setup error) is written for developers and is never carried here. `closed` is true when the customer left the
|
|
156
157
|
* step themselves (closed the in-app browser or cancelled the hosted page): not a failure, nothing was refused, and
|
|
157
158
|
* the shop says so with its own line (`cardStepClosed`) instead of `cardStepFailed`.
|
|
158
159
|
*/
|
|
@@ -175,14 +176,17 @@ interface ShopPaymentsPort {
|
|
|
175
176
|
*/
|
|
176
177
|
handleNextAction(clientSecret: string, context?: ShopPayerActionContext): Promise<ShopPaymentStepResult>;
|
|
177
178
|
}
|
|
179
|
+
/** A Stripe.js error, as Stripe.js declares it (structural). `type` says who its `message` is written for. */
|
|
180
|
+
interface StripeJsErrorLike {
|
|
181
|
+
readonly type?: string;
|
|
182
|
+
readonly message?: string;
|
|
183
|
+
}
|
|
178
184
|
/** The two Stripe.js calls the shop uses, as Stripe.js declares them (structural; no Stripe import). */
|
|
179
185
|
interface StripeJsLike {
|
|
180
186
|
handleNextAction(options: {
|
|
181
187
|
clientSecret: string;
|
|
182
188
|
}): Promise<{
|
|
183
|
-
error?:
|
|
184
|
-
message?: string;
|
|
185
|
-
};
|
|
189
|
+
error?: StripeJsErrorLike;
|
|
186
190
|
}>;
|
|
187
191
|
confirmSetup(options: {
|
|
188
192
|
clientSecret: string;
|
|
@@ -190,9 +194,7 @@ interface StripeJsLike {
|
|
|
190
194
|
confirmParams?: Record<string, unknown>;
|
|
191
195
|
redirect?: 'if_required' | 'always';
|
|
192
196
|
}): Promise<{
|
|
193
|
-
error?:
|
|
194
|
-
message?: string;
|
|
195
|
-
};
|
|
197
|
+
error?: StripeJsErrorLike;
|
|
196
198
|
}>;
|
|
197
199
|
}
|
|
198
200
|
interface StripeJsPaymentsOptions {
|
|
@@ -773,4 +775,4 @@ type ShopCardHandoff = () => Promise<ShopPaymentStepResult>;
|
|
|
773
775
|
|
|
774
776
|
declare function newIdempotencyKey(): string;
|
|
775
777
|
|
|
776
|
-
export {
|
|
778
|
+
export { createStripeJsPayments as A, newIdempotencyKey as B, shopCopy as C, shopOrdersV2Copy as D, shopV3Copy as E, type ShopPayerActionContext as F, type OmsClient as O, type ShopPet as S, UNAVAILABLE_PACKAGE_SOURCE as U, type ShopPaymentsPort as a, type ShopPackageSource as b, type ShopCopy as c, type ShopV3Copy as d, type ShopRoute as e, type ShopCardHandoff as f, type ShopCardReturn as g, type ShopProfileName as h, type ShopOrdersV2Copy as i, type OmsClientConfig as j, type OmsConsumerAuth as k, type OmsGetToken as l, SHOP_COPY as m, SHOP_COPY_PLACEHOLDERS as n, SHOP_ORDERS_V2_COPY as o, SHOP_V3_COPY as p, SHOP_V3_COPY_PLACEHOLDERS as q, type ShopPackage as r, type ShopPackageLine as s, type ShopPaymentStepResult as t, type ShopTabName as u, type StripeJsErrorLike as v, type StripeJsLike as w, type StripeJsPaymentsOptions as x, createOmsClient as y, createOmsPackageSource as z };
|
|
@@ -152,7 +152,8 @@ type ShopPaymentStepResult = {
|
|
|
152
152
|
readonly ok: true;
|
|
153
153
|
}
|
|
154
154
|
/**
|
|
155
|
-
* The step did not finish. `message` is Stripe's own line
|
|
155
|
+
* The step did not finish. `message` is Stripe's own customer line (a card or a form error), shown as is; any other
|
|
156
|
+
* Stripe error (an API, request or setup error) is written for developers and is never carried here. `closed` is true when the customer left the
|
|
156
157
|
* step themselves (closed the in-app browser or cancelled the hosted page): not a failure, nothing was refused, and
|
|
157
158
|
* the shop says so with its own line (`cardStepClosed`) instead of `cardStepFailed`.
|
|
158
159
|
*/
|
|
@@ -175,14 +176,17 @@ interface ShopPaymentsPort {
|
|
|
175
176
|
*/
|
|
176
177
|
handleNextAction(clientSecret: string, context?: ShopPayerActionContext): Promise<ShopPaymentStepResult>;
|
|
177
178
|
}
|
|
179
|
+
/** A Stripe.js error, as Stripe.js declares it (structural). `type` says who its `message` is written for. */
|
|
180
|
+
interface StripeJsErrorLike {
|
|
181
|
+
readonly type?: string;
|
|
182
|
+
readonly message?: string;
|
|
183
|
+
}
|
|
178
184
|
/** The two Stripe.js calls the shop uses, as Stripe.js declares them (structural; no Stripe import). */
|
|
179
185
|
interface StripeJsLike {
|
|
180
186
|
handleNextAction(options: {
|
|
181
187
|
clientSecret: string;
|
|
182
188
|
}): Promise<{
|
|
183
|
-
error?:
|
|
184
|
-
message?: string;
|
|
185
|
-
};
|
|
189
|
+
error?: StripeJsErrorLike;
|
|
186
190
|
}>;
|
|
187
191
|
confirmSetup(options: {
|
|
188
192
|
clientSecret: string;
|
|
@@ -190,9 +194,7 @@ interface StripeJsLike {
|
|
|
190
194
|
confirmParams?: Record<string, unknown>;
|
|
191
195
|
redirect?: 'if_required' | 'always';
|
|
192
196
|
}): Promise<{
|
|
193
|
-
error?:
|
|
194
|
-
message?: string;
|
|
195
|
-
};
|
|
197
|
+
error?: StripeJsErrorLike;
|
|
196
198
|
}>;
|
|
197
199
|
}
|
|
198
200
|
interface StripeJsPaymentsOptions {
|
|
@@ -773,4 +775,4 @@ type ShopCardHandoff = () => Promise<ShopPaymentStepResult>;
|
|
|
773
775
|
|
|
774
776
|
declare function newIdempotencyKey(): string;
|
|
775
777
|
|
|
776
|
-
export {
|
|
778
|
+
export { createStripeJsPayments as A, newIdempotencyKey as B, shopCopy as C, shopOrdersV2Copy as D, shopV3Copy as E, type ShopPayerActionContext as F, type OmsClient as O, type ShopPet as S, UNAVAILABLE_PACKAGE_SOURCE as U, type ShopPaymentsPort as a, type ShopPackageSource as b, type ShopCopy as c, type ShopV3Copy as d, type ShopRoute as e, type ShopCardHandoff as f, type ShopCardReturn as g, type ShopProfileName as h, type ShopOrdersV2Copy as i, type OmsClientConfig as j, type OmsConsumerAuth as k, type OmsGetToken as l, SHOP_COPY as m, SHOP_COPY_PLACEHOLDERS as n, SHOP_ORDERS_V2_COPY as o, SHOP_V3_COPY as p, SHOP_V3_COPY_PLACEHOLDERS as q, type ShopPackage as r, type ShopPackageLine as s, type ShopPaymentStepResult as t, type ShopTabName as u, type StripeJsErrorLike as v, type StripeJsLike as w, type StripeJsPaymentsOptions as x, createOmsClient as y, createOmsPackageSource as z };
|
|
@@ -3,7 +3,7 @@ import { E as EverfurResult } from './EverfurResult.d-D_-254ZY.js';
|
|
|
3
3
|
import { E as ErrorPolicyPort } from './ErrorPolicyPort.d-BnI5qWg4.js';
|
|
4
4
|
import { A as AuthContext } from './identity.d-D4VtpqRr.js';
|
|
5
5
|
import { P as PetRef, U as UserRef } from './ids.d-B2GAAifq.js';
|
|
6
|
-
import { d as EverfurNotification } from './parse.d-
|
|
6
|
+
import { d as EverfurNotification } from './parse.d-QjB2LJCd.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* What an inbox item is about, as the wire names it: `kind`, then the item's references under their wire keys
|
|
@@ -3,7 +3,7 @@ import { E as EverfurResult } from './EverfurResult.d-BFH-3s6E.cjs';
|
|
|
3
3
|
import { E as ErrorPolicyPort } from './ErrorPolicyPort.d-BIdmYQnk.cjs';
|
|
4
4
|
import { A as AuthContext } from './identity.d-DDpXOtas.cjs';
|
|
5
5
|
import { P as PetRef, U as UserRef } from './ids.d-B2GAAifq.cjs';
|
|
6
|
-
import { d as EverfurNotification } from './parse.d-
|
|
6
|
+
import { d as EverfurNotification } from './parse.d-_Ttu2h5g.cjs';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* What an inbox item is about, as the wire names it: `kind`, then the item's references under their wire keys
|