@cmssy/react 0.2.3 → 0.2.5
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/client.d.cts +2 -2
- package/dist/client.d.ts +2 -2
- package/dist/{commerce-queries-Uev-JCAB.d.cts → commerce-queries-BYx7uUnE.d.cts} +17 -0
- package/dist/{commerce-queries-Uev-JCAB.d.ts → commerce-queries-BYx7uUnE.d.ts} +17 -0
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/package.json +1 -1
package/dist/client.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { B as BlockSchema, a as BlockMeta, C as CmssyPageData, b as BlockDefinition, c as CmssyFormDefinition, d as CmssyLayoutGroup, e as CmssyCart, f as CmssyOrder, g as CmssyProduct } from './commerce-queries-
|
|
3
|
-
export { h as CmssyCartDiscount, i as CmssyCartItem, j as CmssyCartItemSnapshot, k as CmssyOrderItem, l as CmssyProductVariant } from './commerce-queries-
|
|
2
|
+
import { B as BlockSchema, a as BlockMeta, C as CmssyPageData, b as BlockDefinition, c as CmssyFormDefinition, d as CmssyLayoutGroup, e as CmssyCart, f as CmssyOrder, g as CmssyProduct } from './commerce-queries-BYx7uUnE.cjs';
|
|
3
|
+
export { h as CmssyCartDiscount, i as CmssyCartItem, j as CmssyCartItemSnapshot, k as CmssyOrderItem, l as CmssyProductVariant } from './commerce-queries-BYx7uUnE.cjs';
|
|
4
4
|
import { ReactNode } from 'react';
|
|
5
5
|
|
|
6
6
|
interface EditBridgeConfig {
|
package/dist/client.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { B as BlockSchema, a as BlockMeta, C as CmssyPageData, b as BlockDefinition, c as CmssyFormDefinition, d as CmssyLayoutGroup, e as CmssyCart, f as CmssyOrder, g as CmssyProduct } from './commerce-queries-
|
|
3
|
-
export { h as CmssyCartDiscount, i as CmssyCartItem, j as CmssyCartItemSnapshot, k as CmssyOrderItem, l as CmssyProductVariant } from './commerce-queries-
|
|
2
|
+
import { B as BlockSchema, a as BlockMeta, C as CmssyPageData, b as BlockDefinition, c as CmssyFormDefinition, d as CmssyLayoutGroup, e as CmssyCart, f as CmssyOrder, g as CmssyProduct } from './commerce-queries-BYx7uUnE.js';
|
|
3
|
+
export { h as CmssyCartDiscount, i as CmssyCartItem, j as CmssyCartItemSnapshot, k as CmssyOrderItem, l as CmssyProductVariant } from './commerce-queries-BYx7uUnE.js';
|
|
4
4
|
import { ReactNode } from 'react';
|
|
5
5
|
|
|
6
6
|
interface EditBridgeConfig {
|
|
@@ -366,6 +366,12 @@ interface CmssyOrderItem {
|
|
|
366
366
|
quantity: number;
|
|
367
367
|
sku: string | null;
|
|
368
368
|
}
|
|
369
|
+
interface CmssyOrderPayment {
|
|
370
|
+
amount: number;
|
|
371
|
+
reference: string;
|
|
372
|
+
provider: string | null;
|
|
373
|
+
at: string;
|
|
374
|
+
}
|
|
369
375
|
interface CmssyOrder {
|
|
370
376
|
id: string;
|
|
371
377
|
status: string;
|
|
@@ -377,6 +383,17 @@ interface CmssyOrder {
|
|
|
377
383
|
refundedAmount?: number;
|
|
378
384
|
items?: CmssyOrderItem[];
|
|
379
385
|
paymentProvider?: string | null;
|
|
386
|
+
paymentStatus?: string;
|
|
387
|
+
fulfillmentStatus?: string;
|
|
388
|
+
amountPaid?: number;
|
|
389
|
+
balanceDue?: number;
|
|
390
|
+
paymentReference?: string | null;
|
|
391
|
+
trackingNumber?: string | null;
|
|
392
|
+
trackingCarrier?: string | null;
|
|
393
|
+
invoiceNumber?: string | null;
|
|
394
|
+
invoiceUrl?: string | null;
|
|
395
|
+
invoiceProvider?: string | null;
|
|
396
|
+
payments?: CmssyOrderPayment[];
|
|
380
397
|
paidAt?: string | null;
|
|
381
398
|
fulfilledAt?: string | null;
|
|
382
399
|
createdAt?: string;
|
|
@@ -366,6 +366,12 @@ interface CmssyOrderItem {
|
|
|
366
366
|
quantity: number;
|
|
367
367
|
sku: string | null;
|
|
368
368
|
}
|
|
369
|
+
interface CmssyOrderPayment {
|
|
370
|
+
amount: number;
|
|
371
|
+
reference: string;
|
|
372
|
+
provider: string | null;
|
|
373
|
+
at: string;
|
|
374
|
+
}
|
|
369
375
|
interface CmssyOrder {
|
|
370
376
|
id: string;
|
|
371
377
|
status: string;
|
|
@@ -377,6 +383,17 @@ interface CmssyOrder {
|
|
|
377
383
|
refundedAmount?: number;
|
|
378
384
|
items?: CmssyOrderItem[];
|
|
379
385
|
paymentProvider?: string | null;
|
|
386
|
+
paymentStatus?: string;
|
|
387
|
+
fulfillmentStatus?: string;
|
|
388
|
+
amountPaid?: number;
|
|
389
|
+
balanceDue?: number;
|
|
390
|
+
paymentReference?: string | null;
|
|
391
|
+
trackingNumber?: string | null;
|
|
392
|
+
trackingCarrier?: string | null;
|
|
393
|
+
invoiceNumber?: string | null;
|
|
394
|
+
invoiceUrl?: string | null;
|
|
395
|
+
invoiceProvider?: string | null;
|
|
396
|
+
payments?: CmssyOrderPayment[];
|
|
380
397
|
paidAt?: string | null;
|
|
381
398
|
fulfilledAt?: string | null;
|
|
382
399
|
createdAt?: string;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { F as FieldDefinition, C as CmssyPageData, b as BlockDefinition, c as CmssyFormDefinition, d as CmssyLayoutGroup, E as EditorToAppMessage, A as AppToEditorMessage, m as FetchLike, n as CmssyClientConfig, R as RawBlock, o as BlockMap, p as CmssyBlockContext } from './commerce-queries-
|
|
2
|
-
export { a as BlockMeta, q as BlockRect, B as BlockSchema, r as BoundsMessage, s as ClickMessage, t as CmssyBranding, e as CmssyCart, h as CmssyCartDiscount, i as CmssyCartItem, j as CmssyCartItemSnapshot, u as CmssyFormField, v as CmssyFormSettings, w as CmssyFormSubmitResponse, x as CmssyLocaleContext, y as CmssyModelDefinition, z as CmssyModelRecord, f as CmssyOrder, g as CmssyProduct, l as CmssyProductVariant, D as CmssyRecordList, G as CmssySiteConfig, H as FORM_QUERY, I as FetchLikeResponse, J as FetchPageOptions, K as FieldType, M as MODEL_DEFINITIONS_QUERY, L as MODEL_RECORDS_QUERY, P as PROTOCOL_VERSION, N as ParentReadyMessage, O as PatchMessage, Q as RawLayoutBlock, S as ReadyMessage, T as SITE_CONFIG_QUERY, U as SUBMIT_FORM_MUTATION, V as SelectMessage, W as SubmitFormInput, X as blocksToMeta, Y as blocksToSchemas, Z as buildBlockContext, _ as buildBlockMap, $ as defineBlock, a0 as fetchLayouts, a1 as fetchPage, a2 as isProtocolCompatible, a3 as normalizeSlug } from './commerce-queries-
|
|
1
|
+
import { F as FieldDefinition, C as CmssyPageData, b as BlockDefinition, c as CmssyFormDefinition, d as CmssyLayoutGroup, E as EditorToAppMessage, A as AppToEditorMessage, m as FetchLike, n as CmssyClientConfig, R as RawBlock, o as BlockMap, p as CmssyBlockContext } from './commerce-queries-BYx7uUnE.cjs';
|
|
2
|
+
export { a as BlockMeta, q as BlockRect, B as BlockSchema, r as BoundsMessage, s as ClickMessage, t as CmssyBranding, e as CmssyCart, h as CmssyCartDiscount, i as CmssyCartItem, j as CmssyCartItemSnapshot, u as CmssyFormField, v as CmssyFormSettings, w as CmssyFormSubmitResponse, x as CmssyLocaleContext, y as CmssyModelDefinition, z as CmssyModelRecord, f as CmssyOrder, g as CmssyProduct, l as CmssyProductVariant, D as CmssyRecordList, G as CmssySiteConfig, H as FORM_QUERY, I as FetchLikeResponse, J as FetchPageOptions, K as FieldType, M as MODEL_DEFINITIONS_QUERY, L as MODEL_RECORDS_QUERY, P as PROTOCOL_VERSION, N as ParentReadyMessage, O as PatchMessage, Q as RawLayoutBlock, S as ReadyMessage, T as SITE_CONFIG_QUERY, U as SUBMIT_FORM_MUTATION, V as SelectMessage, W as SubmitFormInput, X as blocksToMeta, Y as blocksToSchemas, Z as buildBlockContext, _ as buildBlockMap, $ as defineBlock, a0 as fetchLayouts, a1 as fetchPage, a2 as isProtocolCompatible, a3 as normalizeSlug } from './commerce-queries-BYx7uUnE.cjs';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
5
5
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { F as FieldDefinition, C as CmssyPageData, b as BlockDefinition, c as CmssyFormDefinition, d as CmssyLayoutGroup, E as EditorToAppMessage, A as AppToEditorMessage, m as FetchLike, n as CmssyClientConfig, R as RawBlock, o as BlockMap, p as CmssyBlockContext } from './commerce-queries-
|
|
2
|
-
export { a as BlockMeta, q as BlockRect, B as BlockSchema, r as BoundsMessage, s as ClickMessage, t as CmssyBranding, e as CmssyCart, h as CmssyCartDiscount, i as CmssyCartItem, j as CmssyCartItemSnapshot, u as CmssyFormField, v as CmssyFormSettings, w as CmssyFormSubmitResponse, x as CmssyLocaleContext, y as CmssyModelDefinition, z as CmssyModelRecord, f as CmssyOrder, g as CmssyProduct, l as CmssyProductVariant, D as CmssyRecordList, G as CmssySiteConfig, H as FORM_QUERY, I as FetchLikeResponse, J as FetchPageOptions, K as FieldType, M as MODEL_DEFINITIONS_QUERY, L as MODEL_RECORDS_QUERY, P as PROTOCOL_VERSION, N as ParentReadyMessage, O as PatchMessage, Q as RawLayoutBlock, S as ReadyMessage, T as SITE_CONFIG_QUERY, U as SUBMIT_FORM_MUTATION, V as SelectMessage, W as SubmitFormInput, X as blocksToMeta, Y as blocksToSchemas, Z as buildBlockContext, _ as buildBlockMap, $ as defineBlock, a0 as fetchLayouts, a1 as fetchPage, a2 as isProtocolCompatible, a3 as normalizeSlug } from './commerce-queries-
|
|
1
|
+
import { F as FieldDefinition, C as CmssyPageData, b as BlockDefinition, c as CmssyFormDefinition, d as CmssyLayoutGroup, E as EditorToAppMessage, A as AppToEditorMessage, m as FetchLike, n as CmssyClientConfig, R as RawBlock, o as BlockMap, p as CmssyBlockContext } from './commerce-queries-BYx7uUnE.js';
|
|
2
|
+
export { a as BlockMeta, q as BlockRect, B as BlockSchema, r as BoundsMessage, s as ClickMessage, t as CmssyBranding, e as CmssyCart, h as CmssyCartDiscount, i as CmssyCartItem, j as CmssyCartItemSnapshot, u as CmssyFormField, v as CmssyFormSettings, w as CmssyFormSubmitResponse, x as CmssyLocaleContext, y as CmssyModelDefinition, z as CmssyModelRecord, f as CmssyOrder, g as CmssyProduct, l as CmssyProductVariant, D as CmssyRecordList, G as CmssySiteConfig, H as FORM_QUERY, I as FetchLikeResponse, J as FetchPageOptions, K as FieldType, M as MODEL_DEFINITIONS_QUERY, L as MODEL_RECORDS_QUERY, P as PROTOCOL_VERSION, N as ParentReadyMessage, O as PatchMessage, Q as RawLayoutBlock, S as ReadyMessage, T as SITE_CONFIG_QUERY, U as SUBMIT_FORM_MUTATION, V as SelectMessage, W as SubmitFormInput, X as blocksToMeta, Y as blocksToSchemas, Z as buildBlockContext, _ as buildBlockMap, $ as defineBlock, a0 as fetchLayouts, a1 as fetchPage, a2 as isProtocolCompatible, a3 as normalizeSlug } from './commerce-queries-BYx7uUnE.js';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
5
5
|
|