@soppiya/app-bridge 1.0.5 → 1.0.7
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.
|
@@ -2,8 +2,10 @@ interface IProps {
|
|
|
2
2
|
open?: boolean;
|
|
3
3
|
confirmationOnLeave?: boolean;
|
|
4
4
|
children?: React.ReactNode;
|
|
5
|
+
onDiscard?: () => void;
|
|
6
|
+
onSave?: () => void;
|
|
5
7
|
onShow?: () => void;
|
|
6
8
|
onHide?: () => void;
|
|
7
9
|
}
|
|
8
|
-
declare const SaveBar: ({ open, confirmationOnLeave, children, onHide, onShow, }: IProps) => null;
|
|
10
|
+
declare const SaveBar: ({ open, confirmationOnLeave, children, onDiscard, onSave, onHide, onShow, }: IProps) => null;
|
|
9
11
|
export default SaveBar;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { useEffect } from "react";
|
|
2
|
-
const SaveBar = ({ open, confirmationOnLeave, children, onHide, onShow })=>{
|
|
2
|
+
const SaveBar = ({ open, confirmationOnLeave, children, onDiscard, onSave, onHide, onShow })=>{
|
|
3
3
|
useEffect(()=>{
|
|
4
4
|
window.initSaveBar({
|
|
5
5
|
open,
|
|
6
6
|
children: open ? children : null,
|
|
7
7
|
confirmationOnLeave,
|
|
8
|
+
onDiscard,
|
|
9
|
+
onSave,
|
|
8
10
|
onShow,
|
|
9
11
|
onHide
|
|
10
12
|
});
|
|
@@ -12,6 +14,8 @@ const SaveBar = ({ open, confirmationOnLeave, children, onHide, onShow })=>{
|
|
|
12
14
|
open,
|
|
13
15
|
children,
|
|
14
16
|
confirmationOnLeave,
|
|
17
|
+
onDiscard,
|
|
18
|
+
onSave,
|
|
15
19
|
onShow,
|
|
16
20
|
onHide
|
|
17
21
|
]);
|
|
@@ -61,6 +61,7 @@ const VariantsPicker = ({ title, initialIds = [], onClose, onOk })=>{
|
|
|
61
61
|
className: "lg:cursor-pointer border-b border-b-[#ebebeb]!",
|
|
62
62
|
gapX: 60,
|
|
63
63
|
padding: 60,
|
|
64
|
+
onClick: ()=>handleSelectVariant(String(variant._id)),
|
|
64
65
|
children: [
|
|
65
66
|
/*#__PURE__*/ jsxs(InlineStack, {
|
|
66
67
|
alignItems: "center",
|
|
@@ -69,7 +70,7 @@ const VariantsPicker = ({ title, initialIds = [], onClose, onOk })=>{
|
|
|
69
70
|
/*#__PURE__*/ jsx(Box, {
|
|
70
71
|
children: /*#__PURE__*/ jsx(Checkbox, {
|
|
71
72
|
checked: selectedVariant.includes(String(variant._id)),
|
|
72
|
-
onChange: ()=>
|
|
73
|
+
onChange: ()=>{}
|
|
73
74
|
})
|
|
74
75
|
}),
|
|
75
76
|
/*#__PURE__*/ jsx(Box, {
|
|
@@ -84,17 +84,13 @@ export type AddCollection = {
|
|
|
84
84
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
85
85
|
handle?: InputMaybe<Scalars['String']['input']>;
|
|
86
86
|
image?: InputMaybe<Scalars['ID']['input']>;
|
|
87
|
-
match_type?: InputMaybe<CollectionMatchType>;
|
|
88
87
|
meta_description?: InputMaybe<Scalars['String']['input']>;
|
|
89
88
|
meta_tags?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
90
89
|
meta_title?: InputMaybe<Scalars['String']['input']>;
|
|
91
90
|
metafields?: InputMaybe<Array<InputMaybe<MetafieldInput>>>;
|
|
92
|
-
products
|
|
93
|
-
rules?: InputMaybe<Array<InputMaybe<CollectionRuleInput>>>;
|
|
94
|
-
sort_by?: InputMaybe<CollectionSortBy>;
|
|
91
|
+
products: Array<Scalars['ID']['input']>;
|
|
95
92
|
template?: InputMaybe<Scalars['String']['input']>;
|
|
96
93
|
title?: InputMaybe<Scalars['String']['input']>;
|
|
97
|
-
type: CollectionType;
|
|
98
94
|
};
|
|
99
95
|
export type AddCollectionProduct = {
|
|
100
96
|
collection: Scalars['ID']['input'];
|
|
@@ -186,6 +182,21 @@ export type AddProduct = {
|
|
|
186
182
|
variants?: InputMaybe<Array<VariantInput>>;
|
|
187
183
|
vendor?: InputMaybe<Scalars['String']['input']>;
|
|
188
184
|
};
|
|
185
|
+
export type AddPurchaseInput = {
|
|
186
|
+
adjustments?: InputMaybe<Array<PurchaseAdjustmentInput>>;
|
|
187
|
+
currency: Scalars['ID']['input'];
|
|
188
|
+
destination: Scalars['ID']['input'];
|
|
189
|
+
expected_arrival?: InputMaybe<Scalars['String']['input']>;
|
|
190
|
+
items: Array<PurchaseItemInput>;
|
|
191
|
+
note?: InputMaybe<Scalars['String']['input']>;
|
|
192
|
+
payment_terms?: InputMaybe<Scalars['String']['input']>;
|
|
193
|
+
reference_number?: InputMaybe<Scalars['String']['input']>;
|
|
194
|
+
shipping_carrier?: InputMaybe<Scalars['String']['input']>;
|
|
195
|
+
supplier: Scalars['ID']['input'];
|
|
196
|
+
tags?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
197
|
+
tracking_number?: InputMaybe<Scalars['String']['input']>;
|
|
198
|
+
tracking_url?: InputMaybe<Scalars['String']['input']>;
|
|
199
|
+
};
|
|
189
200
|
export type AddRedirect = {
|
|
190
201
|
from: Scalars['String']['input'];
|
|
191
202
|
to: Scalars['String']['input'];
|
|
@@ -462,17 +473,13 @@ export type Collection = {
|
|
|
462
473
|
description?: Maybe<Scalars['String']['output']>;
|
|
463
474
|
handle?: Maybe<Scalars['String']['output']>;
|
|
464
475
|
image?: Maybe<Media>;
|
|
465
|
-
match_type?: Maybe<CollectionMatchType>;
|
|
466
476
|
meta_description?: Maybe<Scalars['String']['output']>;
|
|
467
477
|
meta_tags?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
468
478
|
meta_title?: Maybe<Scalars['String']['output']>;
|
|
469
479
|
metafields?: Maybe<Array<Maybe<MetafieldData>>>;
|
|
470
|
-
rules?: Maybe<Array<Maybe<CollectionRule>>>;
|
|
471
|
-
sort_by?: Maybe<CollectionSortBy>;
|
|
472
480
|
store?: Maybe<Store>;
|
|
473
481
|
template?: Maybe<Scalars['String']['output']>;
|
|
474
482
|
title?: Maybe<Scalars['String']['output']>;
|
|
475
|
-
type: CollectionType;
|
|
476
483
|
};
|
|
477
484
|
export type CollectionConnection = {
|
|
478
485
|
__typename: 'CollectionConnection';
|
|
@@ -489,12 +496,7 @@ export type CollectionFilterKeys = {
|
|
|
489
496
|
cursors?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
490
497
|
handles?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
491
498
|
templates?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
492
|
-
types?: InputMaybe<Array<CollectionType>>;
|
|
493
499
|
};
|
|
494
|
-
export declare enum CollectionMatchType {
|
|
495
|
-
match_all = "match_all",
|
|
496
|
-
match_any = "match_any"
|
|
497
|
-
}
|
|
498
500
|
export type CollectionProduct = {
|
|
499
501
|
__typename: 'CollectionProduct';
|
|
500
502
|
_id?: Maybe<Scalars['ID']['output']>;
|
|
@@ -527,80 +529,6 @@ export declare enum CollectionProductSortkey {
|
|
|
527
529
|
product = "product",
|
|
528
530
|
updatedAt = "updatedAt"
|
|
529
531
|
}
|
|
530
|
-
export type CollectionRule = {
|
|
531
|
-
__typename: 'CollectionRule';
|
|
532
|
-
data?: Maybe<CollectionRuleField>;
|
|
533
|
-
relation?: Maybe<CollectionRuleRelation>;
|
|
534
|
-
value?: Maybe<Scalars['String']['output']>;
|
|
535
|
-
};
|
|
536
|
-
export declare enum CollectionRuleField {
|
|
537
|
-
available = "available",
|
|
538
|
-
committed = "committed",
|
|
539
|
-
createdAt = "createdAt",
|
|
540
|
-
damaged = "damaged",
|
|
541
|
-
description = "description",
|
|
542
|
-
handle = "handle",
|
|
543
|
-
incoming = "incoming",
|
|
544
|
-
meta_description = "meta_description",
|
|
545
|
-
meta_tag = "meta_tag",
|
|
546
|
-
meta_title = "meta_title",
|
|
547
|
-
on_hand = "on_hand",
|
|
548
|
-
option1 = "option1",
|
|
549
|
-
option2 = "option2",
|
|
550
|
-
option3 = "option3",
|
|
551
|
-
price = "price",
|
|
552
|
-
quality_control = "quality_control",
|
|
553
|
-
reserved = "reserved",
|
|
554
|
-
safety_stock = "safety_stock",
|
|
555
|
-
tag = "tag",
|
|
556
|
-
template = "template",
|
|
557
|
-
title = "title",
|
|
558
|
-
type = "type",
|
|
559
|
-
updatedAt = "updatedAt",
|
|
560
|
-
vendor = "vendor"
|
|
561
|
-
}
|
|
562
|
-
export type CollectionRuleInput = {
|
|
563
|
-
field: CollectionRuleField;
|
|
564
|
-
relation: CollectionRuleRelation;
|
|
565
|
-
value: Scalars['String']['input'];
|
|
566
|
-
};
|
|
567
|
-
export declare enum CollectionRuleRelation {
|
|
568
|
-
contains = "contains",
|
|
569
|
-
does_not_contain = "does_not_contain",
|
|
570
|
-
ends_with = "ends_with",
|
|
571
|
-
is_empty = "is_empty",
|
|
572
|
-
is_equal_to = "is_equal_to",
|
|
573
|
-
is_greater_than = "is_greater_than",
|
|
574
|
-
is_less_than = "is_less_than",
|
|
575
|
-
is_not_empty = "is_not_empty",
|
|
576
|
-
is_not_equal_to = "is_not_equal_to",
|
|
577
|
-
starts_with = "starts_with"
|
|
578
|
-
}
|
|
579
|
-
export declare enum CollectionSortBy {
|
|
580
|
-
_id = "_id",
|
|
581
|
-
available = "available",
|
|
582
|
-
category = "category",
|
|
583
|
-
committed = "committed",
|
|
584
|
-
createdAt = "createdAt",
|
|
585
|
-
damaged = "damaged",
|
|
586
|
-
incoming = "incoming",
|
|
587
|
-
manual = "manual",
|
|
588
|
-
on_hand = "on_hand",
|
|
589
|
-
option1 = "option1",
|
|
590
|
-
option2 = "option2",
|
|
591
|
-
option3 = "option3",
|
|
592
|
-
price_max = "price_max",
|
|
593
|
-
price_min = "price_min",
|
|
594
|
-
quality_control = "quality_control",
|
|
595
|
-
reserved = "reserved",
|
|
596
|
-
safety_stock = "safety_stock",
|
|
597
|
-
status = "status",
|
|
598
|
-
tags = "tags",
|
|
599
|
-
title = "title",
|
|
600
|
-
type = "type",
|
|
601
|
-
updatedAt = "updatedAt",
|
|
602
|
-
vendor = "vendor"
|
|
603
|
-
}
|
|
604
532
|
export declare enum CollectionSortKey {
|
|
605
533
|
_id = "_id",
|
|
606
534
|
createdAt = "createdAt",
|
|
@@ -611,16 +539,17 @@ export declare enum CollectionSortKey {
|
|
|
611
539
|
type = "type",
|
|
612
540
|
updatedAt = "updatedAt"
|
|
613
541
|
}
|
|
614
|
-
export declare enum CollectionType {
|
|
615
|
-
automated = "automated",
|
|
616
|
-
manual = "manual"
|
|
617
|
-
}
|
|
618
542
|
export type CreateThemeFile = {
|
|
619
543
|
content?: InputMaybe<Scalars['String']['input']>;
|
|
620
544
|
cursor: Scalars['ID']['input'];
|
|
621
545
|
dir: Scalars['String']['input'];
|
|
622
546
|
filename: Scalars['String']['input'];
|
|
623
547
|
};
|
|
548
|
+
export type CustomerTokenResponse = {
|
|
549
|
+
__typename: 'CustomerTokenResponse';
|
|
550
|
+
is_new?: Maybe<Scalars['Boolean']['output']>;
|
|
551
|
+
token?: Maybe<Scalars['String']['output']>;
|
|
552
|
+
};
|
|
624
553
|
export type DeleteThemeFile = {
|
|
625
554
|
cursor: Scalars['ID']['input'];
|
|
626
555
|
dir: Scalars['String']['input'];
|
|
@@ -774,13 +703,10 @@ export type EditCollection = {
|
|
|
774
703
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
775
704
|
handle?: InputMaybe<Scalars['String']['input']>;
|
|
776
705
|
image?: InputMaybe<Scalars['ID']['input']>;
|
|
777
|
-
match_type?: InputMaybe<CollectionMatchType>;
|
|
778
706
|
meta_description?: InputMaybe<Scalars['String']['input']>;
|
|
779
707
|
meta_tags?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
780
708
|
meta_title?: InputMaybe<Scalars['String']['input']>;
|
|
781
709
|
metafields?: InputMaybe<Array<InputMaybe<MetafieldInput>>>;
|
|
782
|
-
rules?: InputMaybe<Array<InputMaybe<CollectionRuleInput>>>;
|
|
783
|
-
sort_by?: InputMaybe<CollectionSortBy>;
|
|
784
710
|
template?: InputMaybe<Scalars['String']['input']>;
|
|
785
711
|
title?: InputMaybe<Scalars['String']['input']>;
|
|
786
712
|
};
|
|
@@ -889,6 +815,24 @@ export type EditProduct = {
|
|
|
889
815
|
type?: InputMaybe<Scalars['String']['input']>;
|
|
890
816
|
vendor?: InputMaybe<Scalars['String']['input']>;
|
|
891
817
|
};
|
|
818
|
+
export type EditPurchaseInput = {
|
|
819
|
+
adjustments?: InputMaybe<Array<PurchaseAdjustmentInput>>;
|
|
820
|
+
currency?: InputMaybe<Scalars['ID']['input']>;
|
|
821
|
+
cursor: Scalars['ID']['input'];
|
|
822
|
+
destination?: InputMaybe<Scalars['ID']['input']>;
|
|
823
|
+
expected_arrival?: InputMaybe<Scalars['String']['input']>;
|
|
824
|
+
items?: InputMaybe<Array<PurchaseItemInput>>;
|
|
825
|
+
mark_as_ordered?: InputMaybe<Scalars['Boolean']['input']>;
|
|
826
|
+
note?: InputMaybe<Scalars['String']['input']>;
|
|
827
|
+
payment_terms?: InputMaybe<Scalars['String']['input']>;
|
|
828
|
+
receivings?: InputMaybe<Array<InputMaybe<PurchaseReceivingInput>>>;
|
|
829
|
+
reference_number?: InputMaybe<Scalars['String']['input']>;
|
|
830
|
+
shipping_carrier?: InputMaybe<Scalars['String']['input']>;
|
|
831
|
+
supplier?: InputMaybe<Scalars['ID']['input']>;
|
|
832
|
+
tags?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
833
|
+
tracking_number?: InputMaybe<Scalars['String']['input']>;
|
|
834
|
+
tracking_url?: InputMaybe<Scalars['String']['input']>;
|
|
835
|
+
};
|
|
892
836
|
export type EditRedirect = {
|
|
893
837
|
cursor: Scalars['ID']['input'];
|
|
894
838
|
from?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -1174,11 +1118,68 @@ export declare enum LocationSortKeys {
|
|
|
1174
1118
|
postal_code = "postal_code",
|
|
1175
1119
|
updatedAt = "updatedAt"
|
|
1176
1120
|
}
|
|
1121
|
+
export type Log = {
|
|
1122
|
+
__typename: 'Log';
|
|
1123
|
+
_id?: Maybe<Scalars['ID']['output']>;
|
|
1124
|
+
action?: Maybe<LogActions>;
|
|
1125
|
+
app?: Maybe<App>;
|
|
1126
|
+
comment?: Maybe<Scalars['String']['output']>;
|
|
1127
|
+
createdAt?: Maybe<Scalars['String']['output']>;
|
|
1128
|
+
resource?: Maybe<LogResources>;
|
|
1129
|
+
store?: Maybe<Store>;
|
|
1130
|
+
target?: Maybe<Scalars['ID']['output']>;
|
|
1131
|
+
user?: Maybe<User>;
|
|
1132
|
+
};
|
|
1133
|
+
export declare enum LogActions {
|
|
1134
|
+
create = "create",
|
|
1135
|
+
delete = "delete",
|
|
1136
|
+
update = "update"
|
|
1137
|
+
}
|
|
1138
|
+
export type LogConnection = {
|
|
1139
|
+
__typename: 'LogConnection';
|
|
1140
|
+
edges?: Maybe<Array<Maybe<LogtEdge>>>;
|
|
1141
|
+
pageInfo?: Maybe<PageInfo>;
|
|
1142
|
+
totalCount?: Maybe<Scalars['Int']['output']>;
|
|
1143
|
+
};
|
|
1144
|
+
export type LogFilterKeys = {
|
|
1145
|
+
actions?: InputMaybe<Array<LogActions>>;
|
|
1146
|
+
apps?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
1147
|
+
cursors?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
1148
|
+
resources?: InputMaybe<Array<LogResources>>;
|
|
1149
|
+
targets?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
1150
|
+
users?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
1151
|
+
};
|
|
1152
|
+
export declare enum LogResources {
|
|
1153
|
+
article = "article",
|
|
1154
|
+
blog = "blog",
|
|
1155
|
+
collection = "collection",
|
|
1156
|
+
customer = "customer",
|
|
1157
|
+
location = "location",
|
|
1158
|
+
market = "market",
|
|
1159
|
+
order = "order",
|
|
1160
|
+
page = "page",
|
|
1161
|
+
product = "product",
|
|
1162
|
+
variant = "variant"
|
|
1163
|
+
}
|
|
1164
|
+
export declare enum LogSortKeys {
|
|
1165
|
+
_id = "_id",
|
|
1166
|
+
action = "action",
|
|
1167
|
+
app = "app",
|
|
1168
|
+
createdAt = "createdAt",
|
|
1169
|
+
resource = "resource",
|
|
1170
|
+
target = "target",
|
|
1171
|
+
user = "user"
|
|
1172
|
+
}
|
|
1177
1173
|
export declare enum LoginMethod {
|
|
1178
1174
|
email = "email",
|
|
1179
1175
|
google = "google",
|
|
1180
1176
|
passkey = "passkey"
|
|
1181
1177
|
}
|
|
1178
|
+
export type LogtEdge = {
|
|
1179
|
+
__typename: 'LogtEdge';
|
|
1180
|
+
cursor?: Maybe<Scalars['ID']['output']>;
|
|
1181
|
+
node?: Maybe<Log>;
|
|
1182
|
+
};
|
|
1182
1183
|
export type Market = {
|
|
1183
1184
|
__typename: 'Market';
|
|
1184
1185
|
_id?: Maybe<Scalars['ID']['output']>;
|
|
@@ -1431,9 +1432,9 @@ export declare enum MetafieldType {
|
|
|
1431
1432
|
}
|
|
1432
1433
|
export type Module = {
|
|
1433
1434
|
__typename: 'Module';
|
|
1435
|
+
basename?: Maybe<Scalars['String']['output']>;
|
|
1434
1436
|
entry?: Maybe<Scalars['String']['output']>;
|
|
1435
1437
|
name?: Maybe<Scalars['String']['output']>;
|
|
1436
|
-
remote?: Maybe<Scalars['String']['output']>;
|
|
1437
1438
|
};
|
|
1438
1439
|
export type MultipleDeletes = {
|
|
1439
1440
|
__typename: 'MultipleDeletes';
|
|
@@ -1472,6 +1473,8 @@ export type Mutation = {
|
|
|
1472
1473
|
addPresets?: Maybe<Array<Maybe<Preset>>>;
|
|
1473
1474
|
addProduct?: Maybe<Product>;
|
|
1474
1475
|
addProducts?: Maybe<Array<Maybe<Product>>>;
|
|
1476
|
+
addPurchase?: Maybe<Purchase>;
|
|
1477
|
+
addPurchases?: Maybe<Array<Maybe<Purchase>>>;
|
|
1475
1478
|
addRedirect?: Maybe<Redirect>;
|
|
1476
1479
|
addRedirects?: Maybe<Array<Maybe<Redirect>>>;
|
|
1477
1480
|
addStaff?: Maybe<Staff>;
|
|
@@ -1555,6 +1558,8 @@ export type Mutation = {
|
|
|
1555
1558
|
editPresets?: Maybe<Preset>;
|
|
1556
1559
|
editProduct?: Maybe<Product>;
|
|
1557
1560
|
editProducts?: Maybe<Array<Maybe<Product>>>;
|
|
1561
|
+
editPurchase?: Maybe<Purchase>;
|
|
1562
|
+
editPurchases?: Maybe<Array<Maybe<Purchase>>>;
|
|
1558
1563
|
editRedirect?: Maybe<Redirect>;
|
|
1559
1564
|
editRedirects?: Maybe<Array<Maybe<Redirect>>>;
|
|
1560
1565
|
editShop?: Maybe<Shop>;
|
|
@@ -1698,6 +1703,12 @@ export type MutationAddProductArgs = {
|
|
|
1698
1703
|
export type MutationAddProductsArgs = {
|
|
1699
1704
|
input?: InputMaybe<Array<AddProduct>>;
|
|
1700
1705
|
};
|
|
1706
|
+
export type MutationAddPurchaseArgs = {
|
|
1707
|
+
input: AddPurchaseInput;
|
|
1708
|
+
};
|
|
1709
|
+
export type MutationAddPurchasesArgs = {
|
|
1710
|
+
input: Array<AddPurchaseInput>;
|
|
1711
|
+
};
|
|
1701
1712
|
export type MutationAddRedirectArgs = {
|
|
1702
1713
|
input: AddRedirect;
|
|
1703
1714
|
};
|
|
@@ -1986,6 +1997,12 @@ export type MutationEditProductArgs = {
|
|
|
1986
1997
|
export type MutationEditProductsArgs = {
|
|
1987
1998
|
input?: InputMaybe<Array<EditProduct>>;
|
|
1988
1999
|
};
|
|
2000
|
+
export type MutationEditPurchaseArgs = {
|
|
2001
|
+
input: EditPurchaseInput;
|
|
2002
|
+
};
|
|
2003
|
+
export type MutationEditPurchasesArgs = {
|
|
2004
|
+
input: Array<EditPurchaseInput>;
|
|
2005
|
+
};
|
|
1989
2006
|
export type MutationEditRedirectArgs = {
|
|
1990
2007
|
input: EditRedirect;
|
|
1991
2008
|
};
|
|
@@ -2400,6 +2417,99 @@ export type PublisherThemesArgs = {
|
|
|
2400
2417
|
reverse?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2401
2418
|
sortKey?: InputMaybe<_ThemeSortKeys>;
|
|
2402
2419
|
};
|
|
2420
|
+
export type Purchase = {
|
|
2421
|
+
__typename: 'Purchase';
|
|
2422
|
+
_id?: Maybe<Scalars['ID']['output']>;
|
|
2423
|
+
adjustments?: Maybe<Array<Maybe<PurchaseAdjustment>>>;
|
|
2424
|
+
createdAt?: Maybe<Scalars['String']['output']>;
|
|
2425
|
+
currency?: Maybe<_Currency>;
|
|
2426
|
+
destination?: Maybe<Location>;
|
|
2427
|
+
expected_arrival?: Maybe<Scalars['String']['output']>;
|
|
2428
|
+
items?: Maybe<Array<Maybe<PurchaseItem>>>;
|
|
2429
|
+
note?: Maybe<Scalars['String']['output']>;
|
|
2430
|
+
payment_terms?: Maybe<Scalars['String']['output']>;
|
|
2431
|
+
reference_number?: Maybe<Scalars['String']['output']>;
|
|
2432
|
+
serial_id?: Maybe<Scalars['String']['output']>;
|
|
2433
|
+
shipping_carrier?: Maybe<Scalars['String']['output']>;
|
|
2434
|
+
status?: Maybe<PurchaseStatus>;
|
|
2435
|
+
store?: Maybe<Store>;
|
|
2436
|
+
supplier?: Maybe<Supplier>;
|
|
2437
|
+
tags?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
2438
|
+
tracking_number?: Maybe<Scalars['String']['output']>;
|
|
2439
|
+
tracking_url?: Maybe<Scalars['String']['output']>;
|
|
2440
|
+
updatedAt?: Maybe<Scalars['String']['output']>;
|
|
2441
|
+
};
|
|
2442
|
+
export type PurchaseAdjustment = {
|
|
2443
|
+
__typename: 'PurchaseAdjustment';
|
|
2444
|
+
cost?: Maybe<Scalars['Float']['output']>;
|
|
2445
|
+
name?: Maybe<Scalars['String']['output']>;
|
|
2446
|
+
};
|
|
2447
|
+
export type PurchaseAdjustmentInput = {
|
|
2448
|
+
cost?: Scalars['Float']['input'];
|
|
2449
|
+
name: Scalars['String']['input'];
|
|
2450
|
+
};
|
|
2451
|
+
export type PurchaseConnection = {
|
|
2452
|
+
__typename: 'PurchaseConnection';
|
|
2453
|
+
edges?: Maybe<Array<Maybe<PurchasetEdge>>>;
|
|
2454
|
+
pageInfo?: Maybe<PageInfo>;
|
|
2455
|
+
totalCount?: Maybe<Scalars['Int']['output']>;
|
|
2456
|
+
};
|
|
2457
|
+
export type PurchaseFilterKeys = {
|
|
2458
|
+
currencies?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
2459
|
+
cursors?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
2460
|
+
destinations?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
2461
|
+
serial_ids?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
2462
|
+
statuses?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
2463
|
+
suppliers?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
2464
|
+
tags?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
2465
|
+
};
|
|
2466
|
+
export type PurchaseItem = {
|
|
2467
|
+
__typename: 'PurchaseItem';
|
|
2468
|
+
_id?: Maybe<Scalars['ID']['output']>;
|
|
2469
|
+
approved?: Maybe<Scalars['Int']['output']>;
|
|
2470
|
+
rejected?: Maybe<Scalars['Int']['output']>;
|
|
2471
|
+
requested?: Maybe<Scalars['Int']['output']>;
|
|
2472
|
+
sku?: Maybe<Scalars['String']['output']>;
|
|
2473
|
+
tax?: Maybe<Scalars['Float']['output']>;
|
|
2474
|
+
unit_cost?: Maybe<Scalars['Float']['output']>;
|
|
2475
|
+
variant?: Maybe<Variant>;
|
|
2476
|
+
};
|
|
2477
|
+
export type PurchaseItemInput = {
|
|
2478
|
+
requested: Scalars['Int']['input'];
|
|
2479
|
+
sku?: InputMaybe<Scalars['String']['input']>;
|
|
2480
|
+
tax?: InputMaybe<Scalars['Float']['input']>;
|
|
2481
|
+
unit_cost?: InputMaybe<Scalars['Float']['input']>;
|
|
2482
|
+
variant: Scalars['ID']['input'];
|
|
2483
|
+
};
|
|
2484
|
+
export type PurchaseReceivingInput = {
|
|
2485
|
+
approved?: Scalars['Int']['input'];
|
|
2486
|
+
cursor: Scalars['ID']['input'];
|
|
2487
|
+
rejected?: InputMaybe<Scalars['Int']['input']>;
|
|
2488
|
+
};
|
|
2489
|
+
export declare enum PurchaseSortKeys {
|
|
2490
|
+
_id = "_id",
|
|
2491
|
+
currency = "currency",
|
|
2492
|
+
destination = "destination",
|
|
2493
|
+
reatedAt = "reatedAt",
|
|
2494
|
+
reference_number = "reference_number",
|
|
2495
|
+
serial_id = "serial_id",
|
|
2496
|
+
shipping_carrier = "shipping_carrier",
|
|
2497
|
+
status = "status",
|
|
2498
|
+
supplier = "supplier",
|
|
2499
|
+
tracking_number = "tracking_number",
|
|
2500
|
+
updatedAt = "updatedAt"
|
|
2501
|
+
}
|
|
2502
|
+
export declare enum PurchaseStatus {
|
|
2503
|
+
draft = "draft",
|
|
2504
|
+
ordered = "ordered",
|
|
2505
|
+
partial = "partial",
|
|
2506
|
+
received = "received"
|
|
2507
|
+
}
|
|
2508
|
+
export type PurchasetEdge = {
|
|
2509
|
+
__typename: 'PurchasetEdge';
|
|
2510
|
+
cursor?: Maybe<Scalars['ID']['output']>;
|
|
2511
|
+
node?: Maybe<Purchase>;
|
|
2512
|
+
};
|
|
2403
2513
|
export type QuantityRule = {
|
|
2404
2514
|
__typename: 'QuantityRule';
|
|
2405
2515
|
increment?: Maybe<Scalars['Int']['output']>;
|
|
@@ -2463,6 +2573,7 @@ export type Query = {
|
|
|
2463
2573
|
collectionProduct?: Maybe<CollectionProduct>;
|
|
2464
2574
|
collectionProducts?: Maybe<CollectionProductConnection>;
|
|
2465
2575
|
collections?: Maybe<CollectionConnection>;
|
|
2576
|
+
customerToken?: Maybe<CustomerTokenResponse>;
|
|
2466
2577
|
domain?: Maybe<Domain>;
|
|
2467
2578
|
domains?: Maybe<DomainConnection>;
|
|
2468
2579
|
inventories?: Maybe<InventoryConnection>;
|
|
@@ -2471,6 +2582,8 @@ export type Query = {
|
|
|
2471
2582
|
linklists?: Maybe<LinklistConnection>;
|
|
2472
2583
|
location?: Maybe<Location>;
|
|
2473
2584
|
locations?: Maybe<LocationConnection>;
|
|
2585
|
+
log?: Maybe<Log>;
|
|
2586
|
+
logs?: Maybe<LogConnection>;
|
|
2474
2587
|
market?: Maybe<Market>;
|
|
2475
2588
|
marketCountries?: Maybe<Array<Maybe<MarketCountry>>>;
|
|
2476
2589
|
marketVariant?: Maybe<MarketVariant>;
|
|
@@ -2494,6 +2607,9 @@ export type Query = {
|
|
|
2494
2607
|
productVendors?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
2495
2608
|
products?: Maybe<ProductConnection>;
|
|
2496
2609
|
publisher?: Maybe<Publisher>;
|
|
2610
|
+
purchase?: Maybe<Purchase>;
|
|
2611
|
+
purchaseTags?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
2612
|
+
purchases?: Maybe<PurchaseConnection>;
|
|
2497
2613
|
redirect?: Maybe<Redirect>;
|
|
2498
2614
|
redirects?: Maybe<RedirectConnection>;
|
|
2499
2615
|
shop?: Maybe<Shop>;
|
|
@@ -2797,6 +2913,9 @@ export type QueryCollectionsArgs = {
|
|
|
2797
2913
|
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
2798
2914
|
sortKey?: InputMaybe<CollectionSortKey>;
|
|
2799
2915
|
};
|
|
2916
|
+
export type QueryCustomerTokenArgs = {
|
|
2917
|
+
contact: Scalars['String']['input'];
|
|
2918
|
+
};
|
|
2800
2919
|
export type QueryDomainArgs = {
|
|
2801
2920
|
cursor: Scalars['ID']['input'];
|
|
2802
2921
|
};
|
|
@@ -2849,6 +2968,19 @@ export type QueryLocationsArgs = {
|
|
|
2849
2968
|
reverse?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2850
2969
|
sortKey?: InputMaybe<LocationSortKeys>;
|
|
2851
2970
|
};
|
|
2971
|
+
export type QueryLogArgs = {
|
|
2972
|
+
cursor: Scalars['ID']['input'];
|
|
2973
|
+
};
|
|
2974
|
+
export type QueryLogsArgs = {
|
|
2975
|
+
after?: InputMaybe<Scalars['ID']['input']>;
|
|
2976
|
+
before?: InputMaybe<Scalars['ID']['input']>;
|
|
2977
|
+
filterKeys?: InputMaybe<LogFilterKeys>;
|
|
2978
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
2979
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
2980
|
+
query?: InputMaybe<Scalars['String']['input']>;
|
|
2981
|
+
reverse?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2982
|
+
sortKey?: InputMaybe<LogSortKeys>;
|
|
2983
|
+
};
|
|
2852
2984
|
export type QueryMarketArgs = {
|
|
2853
2985
|
cursor: Scalars['ID']['input'];
|
|
2854
2986
|
};
|
|
@@ -2902,7 +3034,7 @@ export type QueryMetafieldsArgs = {
|
|
|
2902
3034
|
sortKey?: InputMaybe<MetafieldSortKeys>;
|
|
2903
3035
|
};
|
|
2904
3036
|
export type QueryPaymentArgs = {
|
|
2905
|
-
|
|
3037
|
+
cursor: Scalars['ID']['input'];
|
|
2906
3038
|
};
|
|
2907
3039
|
export type QueryPaymentsArgs = {
|
|
2908
3040
|
after?: InputMaybe<Scalars['ID']['input']>;
|
|
@@ -2943,6 +3075,19 @@ export type QueryProductsArgs = {
|
|
|
2943
3075
|
export type QueryPublisherArgs = {
|
|
2944
3076
|
cursor: Scalars['ID']['input'];
|
|
2945
3077
|
};
|
|
3078
|
+
export type QueryPurchaseArgs = {
|
|
3079
|
+
cursor: Scalars['ID']['input'];
|
|
3080
|
+
};
|
|
3081
|
+
export type QueryPurchasesArgs = {
|
|
3082
|
+
after?: InputMaybe<Scalars['ID']['input']>;
|
|
3083
|
+
before?: InputMaybe<Scalars['ID']['input']>;
|
|
3084
|
+
filterKeys?: InputMaybe<PurchaseFilterKeys>;
|
|
3085
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
3086
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
3087
|
+
query?: InputMaybe<Scalars['String']['input']>;
|
|
3088
|
+
reverse?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3089
|
+
sortKey?: InputMaybe<PurchaseSortKeys>;
|
|
3090
|
+
};
|
|
2946
3091
|
export type QueryRedirectArgs = {
|
|
2947
3092
|
cursor: Scalars['ID']['input'];
|
|
2948
3093
|
};
|
|
@@ -2986,7 +3131,7 @@ export type QueryStoresArgs = {
|
|
|
2986
3131
|
sortKey?: InputMaybe<StoreSortkeys>;
|
|
2987
3132
|
};
|
|
2988
3133
|
export type QuerySupplierArgs = {
|
|
2989
|
-
|
|
3134
|
+
cursor: Scalars['ID']['input'];
|
|
2990
3135
|
};
|
|
2991
3136
|
export type QuerySuppliersArgs = {
|
|
2992
3137
|
after?: InputMaybe<Scalars['ID']['input']>;
|
|
@@ -3386,6 +3531,7 @@ export type TransferFilterKeys = {
|
|
|
3386
3531
|
};
|
|
3387
3532
|
export type TransferItem = {
|
|
3388
3533
|
__typename: 'TransferItem';
|
|
3534
|
+
_id?: Maybe<Scalars['ID']['output']>;
|
|
3389
3535
|
approved?: Maybe<Scalars['Int']['output']>;
|
|
3390
3536
|
rejected?: Maybe<Scalars['Int']['output']>;
|
|
3391
3537
|
requested?: Maybe<Scalars['Int']['output']>;
|
|
@@ -4057,7 +4203,7 @@ export type _PaymentProvider = {
|
|
|
4057
4203
|
content?: Maybe<Scalars['String']['output']>;
|
|
4058
4204
|
countries?: Maybe<_CountryConnection>;
|
|
4059
4205
|
excerpt?: Maybe<Scalars['String']['output']>;
|
|
4060
|
-
gateways?: Maybe<
|
|
4206
|
+
gateways?: Maybe<Array<Maybe<_PaymentGateway>>>;
|
|
4061
4207
|
icon?: Maybe<Scalars['String']['output']>;
|
|
4062
4208
|
name?: Maybe<Scalars['String']['output']>;
|
|
4063
4209
|
settings?: Maybe<Array<Maybe<_PaymentProviderSetting>>>;
|
|
@@ -4072,16 +4218,6 @@ export type _PaymentProviderCountriesArgs = {
|
|
|
4072
4218
|
reverse?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4073
4219
|
sortKey?: InputMaybe<_CountrySortKeys>;
|
|
4074
4220
|
};
|
|
4075
|
-
export type _PaymentProviderGatewaysArgs = {
|
|
4076
|
-
after?: InputMaybe<Scalars['ID']['input']>;
|
|
4077
|
-
before?: InputMaybe<Scalars['ID']['input']>;
|
|
4078
|
-
filterKeys?: InputMaybe<_PaymentGatewayFilterKeys>;
|
|
4079
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
4080
|
-
last?: InputMaybe<Scalars['Int']['input']>;
|
|
4081
|
-
query?: InputMaybe<Scalars['String']['input']>;
|
|
4082
|
-
reverse?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4083
|
-
sortKey?: InputMaybe<_PaymentGatewaySortKeys>;
|
|
4084
|
-
};
|
|
4085
4221
|
export type _PaymentProviderConnection = {
|
|
4086
4222
|
__typename: '_PaymentProviderConnection';
|
|
4087
4223
|
edges?: Maybe<Array<Maybe<_PaymentProviderEdge>>>;
|
|
@@ -63,11 +63,6 @@ var graphql_CheckoutNameRequirement = /*#__PURE__*/ function(CheckoutNameRequire
|
|
|
63
63
|
CheckoutNameRequirement["last_name"] = "last_name";
|
|
64
64
|
return CheckoutNameRequirement;
|
|
65
65
|
}({});
|
|
66
|
-
var graphql_CollectionMatchType = /*#__PURE__*/ function(CollectionMatchType) {
|
|
67
|
-
CollectionMatchType["match_all"] = "match_all";
|
|
68
|
-
CollectionMatchType["match_any"] = "match_any";
|
|
69
|
-
return CollectionMatchType;
|
|
70
|
-
}({});
|
|
71
66
|
var graphql_CollectionProductSortkey = /*#__PURE__*/ function(CollectionProductSortkey) {
|
|
72
67
|
CollectionProductSortkey["_id"] = "_id";
|
|
73
68
|
CollectionProductSortkey["collection"] = "collection";
|
|
@@ -77,72 +72,6 @@ var graphql_CollectionProductSortkey = /*#__PURE__*/ function(CollectionProductS
|
|
|
77
72
|
CollectionProductSortkey["updatedAt"] = "updatedAt";
|
|
78
73
|
return CollectionProductSortkey;
|
|
79
74
|
}({});
|
|
80
|
-
var graphql_CollectionRuleField = /*#__PURE__*/ function(CollectionRuleField) {
|
|
81
|
-
CollectionRuleField["available"] = "available";
|
|
82
|
-
CollectionRuleField["committed"] = "committed";
|
|
83
|
-
CollectionRuleField["createdAt"] = "createdAt";
|
|
84
|
-
CollectionRuleField["damaged"] = "damaged";
|
|
85
|
-
CollectionRuleField["description"] = "description";
|
|
86
|
-
CollectionRuleField["handle"] = "handle";
|
|
87
|
-
CollectionRuleField["incoming"] = "incoming";
|
|
88
|
-
CollectionRuleField["meta_description"] = "meta_description";
|
|
89
|
-
CollectionRuleField["meta_tag"] = "meta_tag";
|
|
90
|
-
CollectionRuleField["meta_title"] = "meta_title";
|
|
91
|
-
CollectionRuleField["on_hand"] = "on_hand";
|
|
92
|
-
CollectionRuleField["option1"] = "option1";
|
|
93
|
-
CollectionRuleField["option2"] = "option2";
|
|
94
|
-
CollectionRuleField["option3"] = "option3";
|
|
95
|
-
CollectionRuleField["price"] = "price";
|
|
96
|
-
CollectionRuleField["quality_control"] = "quality_control";
|
|
97
|
-
CollectionRuleField["reserved"] = "reserved";
|
|
98
|
-
CollectionRuleField["safety_stock"] = "safety_stock";
|
|
99
|
-
CollectionRuleField["tag"] = "tag";
|
|
100
|
-
CollectionRuleField["template"] = "template";
|
|
101
|
-
CollectionRuleField["title"] = "title";
|
|
102
|
-
CollectionRuleField["type"] = "type";
|
|
103
|
-
CollectionRuleField["updatedAt"] = "updatedAt";
|
|
104
|
-
CollectionRuleField["vendor"] = "vendor";
|
|
105
|
-
return CollectionRuleField;
|
|
106
|
-
}({});
|
|
107
|
-
var graphql_CollectionRuleRelation = /*#__PURE__*/ function(CollectionRuleRelation) {
|
|
108
|
-
CollectionRuleRelation["contains"] = "contains";
|
|
109
|
-
CollectionRuleRelation["does_not_contain"] = "does_not_contain";
|
|
110
|
-
CollectionRuleRelation["ends_with"] = "ends_with";
|
|
111
|
-
CollectionRuleRelation["is_empty"] = "is_empty";
|
|
112
|
-
CollectionRuleRelation["is_equal_to"] = "is_equal_to";
|
|
113
|
-
CollectionRuleRelation["is_greater_than"] = "is_greater_than";
|
|
114
|
-
CollectionRuleRelation["is_less_than"] = "is_less_than";
|
|
115
|
-
CollectionRuleRelation["is_not_empty"] = "is_not_empty";
|
|
116
|
-
CollectionRuleRelation["is_not_equal_to"] = "is_not_equal_to";
|
|
117
|
-
CollectionRuleRelation["starts_with"] = "starts_with";
|
|
118
|
-
return CollectionRuleRelation;
|
|
119
|
-
}({});
|
|
120
|
-
var graphql_CollectionSortBy = /*#__PURE__*/ function(CollectionSortBy) {
|
|
121
|
-
CollectionSortBy["_id"] = "_id";
|
|
122
|
-
CollectionSortBy["available"] = "available";
|
|
123
|
-
CollectionSortBy["category"] = "category";
|
|
124
|
-
CollectionSortBy["committed"] = "committed";
|
|
125
|
-
CollectionSortBy["createdAt"] = "createdAt";
|
|
126
|
-
CollectionSortBy["damaged"] = "damaged";
|
|
127
|
-
CollectionSortBy["incoming"] = "incoming";
|
|
128
|
-
CollectionSortBy["manual"] = "manual";
|
|
129
|
-
CollectionSortBy["on_hand"] = "on_hand";
|
|
130
|
-
CollectionSortBy["option1"] = "option1";
|
|
131
|
-
CollectionSortBy["option2"] = "option2";
|
|
132
|
-
CollectionSortBy["option3"] = "option3";
|
|
133
|
-
CollectionSortBy["price_max"] = "price_max";
|
|
134
|
-
CollectionSortBy["price_min"] = "price_min";
|
|
135
|
-
CollectionSortBy["quality_control"] = "quality_control";
|
|
136
|
-
CollectionSortBy["reserved"] = "reserved";
|
|
137
|
-
CollectionSortBy["safety_stock"] = "safety_stock";
|
|
138
|
-
CollectionSortBy["status"] = "status";
|
|
139
|
-
CollectionSortBy["tags"] = "tags";
|
|
140
|
-
CollectionSortBy["title"] = "title";
|
|
141
|
-
CollectionSortBy["type"] = "type";
|
|
142
|
-
CollectionSortBy["updatedAt"] = "updatedAt";
|
|
143
|
-
CollectionSortBy["vendor"] = "vendor";
|
|
144
|
-
return CollectionSortBy;
|
|
145
|
-
}({});
|
|
146
75
|
var graphql_CollectionSortKey = /*#__PURE__*/ function(CollectionSortKey) {
|
|
147
76
|
CollectionSortKey["_id"] = "_id";
|
|
148
77
|
CollectionSortKey["createdAt"] = "createdAt";
|
|
@@ -154,11 +83,6 @@ var graphql_CollectionSortKey = /*#__PURE__*/ function(CollectionSortKey) {
|
|
|
154
83
|
CollectionSortKey["updatedAt"] = "updatedAt";
|
|
155
84
|
return CollectionSortKey;
|
|
156
85
|
}({});
|
|
157
|
-
var graphql_CollectionType = /*#__PURE__*/ function(CollectionType) {
|
|
158
|
-
CollectionType["automated"] = "automated";
|
|
159
|
-
CollectionType["manual"] = "manual";
|
|
160
|
-
return CollectionType;
|
|
161
|
-
}({});
|
|
162
86
|
var graphql_DomainRecordType = /*#__PURE__*/ function(DomainRecordType) {
|
|
163
87
|
DomainRecordType["A"] = "A";
|
|
164
88
|
DomainRecordType["AAAA"] = "AAAA";
|
|
@@ -229,6 +153,35 @@ var graphql_LocationSortKeys = /*#__PURE__*/ function(LocationSortKeys) {
|
|
|
229
153
|
LocationSortKeys["updatedAt"] = "updatedAt";
|
|
230
154
|
return LocationSortKeys;
|
|
231
155
|
}({});
|
|
156
|
+
var graphql_LogActions = /*#__PURE__*/ function(LogActions) {
|
|
157
|
+
LogActions["create"] = "create";
|
|
158
|
+
LogActions["delete"] = "delete";
|
|
159
|
+
LogActions["update"] = "update";
|
|
160
|
+
return LogActions;
|
|
161
|
+
}({});
|
|
162
|
+
var graphql_LogResources = /*#__PURE__*/ function(LogResources) {
|
|
163
|
+
LogResources["article"] = "article";
|
|
164
|
+
LogResources["blog"] = "blog";
|
|
165
|
+
LogResources["collection"] = "collection";
|
|
166
|
+
LogResources["customer"] = "customer";
|
|
167
|
+
LogResources["location"] = "location";
|
|
168
|
+
LogResources["market"] = "market";
|
|
169
|
+
LogResources["order"] = "order";
|
|
170
|
+
LogResources["page"] = "page";
|
|
171
|
+
LogResources["product"] = "product";
|
|
172
|
+
LogResources["variant"] = "variant";
|
|
173
|
+
return LogResources;
|
|
174
|
+
}({});
|
|
175
|
+
var graphql_LogSortKeys = /*#__PURE__*/ function(LogSortKeys) {
|
|
176
|
+
LogSortKeys["_id"] = "_id";
|
|
177
|
+
LogSortKeys["action"] = "action";
|
|
178
|
+
LogSortKeys["app"] = "app";
|
|
179
|
+
LogSortKeys["createdAt"] = "createdAt";
|
|
180
|
+
LogSortKeys["resource"] = "resource";
|
|
181
|
+
LogSortKeys["target"] = "target";
|
|
182
|
+
LogSortKeys["user"] = "user";
|
|
183
|
+
return LogSortKeys;
|
|
184
|
+
}({});
|
|
232
185
|
var graphql_LoginMethod = /*#__PURE__*/ function(LoginMethod) {
|
|
233
186
|
LoginMethod["email"] = "email";
|
|
234
187
|
LoginMethod["google"] = "google";
|
|
@@ -388,6 +341,27 @@ var graphql_ProductStatus = /*#__PURE__*/ function(ProductStatus) {
|
|
|
388
341
|
ProductStatus["draft"] = "draft";
|
|
389
342
|
return ProductStatus;
|
|
390
343
|
}({});
|
|
344
|
+
var graphql_PurchaseSortKeys = /*#__PURE__*/ function(PurchaseSortKeys) {
|
|
345
|
+
PurchaseSortKeys["_id"] = "_id";
|
|
346
|
+
PurchaseSortKeys["currency"] = "currency";
|
|
347
|
+
PurchaseSortKeys["destination"] = "destination";
|
|
348
|
+
PurchaseSortKeys["reatedAt"] = "reatedAt";
|
|
349
|
+
PurchaseSortKeys["reference_number"] = "reference_number";
|
|
350
|
+
PurchaseSortKeys["serial_id"] = "serial_id";
|
|
351
|
+
PurchaseSortKeys["shipping_carrier"] = "shipping_carrier";
|
|
352
|
+
PurchaseSortKeys["status"] = "status";
|
|
353
|
+
PurchaseSortKeys["supplier"] = "supplier";
|
|
354
|
+
PurchaseSortKeys["tracking_number"] = "tracking_number";
|
|
355
|
+
PurchaseSortKeys["updatedAt"] = "updatedAt";
|
|
356
|
+
return PurchaseSortKeys;
|
|
357
|
+
}({});
|
|
358
|
+
var graphql_PurchaseStatus = /*#__PURE__*/ function(PurchaseStatus) {
|
|
359
|
+
PurchaseStatus["draft"] = "draft";
|
|
360
|
+
PurchaseStatus["ordered"] = "ordered";
|
|
361
|
+
PurchaseStatus["partial"] = "partial";
|
|
362
|
+
PurchaseStatus["received"] = "received";
|
|
363
|
+
return PurchaseStatus;
|
|
364
|
+
}({});
|
|
391
365
|
var graphql_RedirectSortKeys = /*#__PURE__*/ function(RedirectSortKeys) {
|
|
392
366
|
RedirectSortKeys["_id"] = "_id";
|
|
393
367
|
RedirectSortKeys["createdAt"] = "createdAt";
|
|
@@ -1625,4 +1599,4 @@ const VariantsDocument = {
|
|
|
1625
1599
|
}
|
|
1626
1600
|
]
|
|
1627
1601
|
};
|
|
1628
|
-
export { graphql_AccountEmailIntent as AccountEmailIntent, graphql_AccountEmailUpdateActionIntent as AccountEmailUpdateActionIntent, AddMediasDocument, graphql_graphql_AppSortKeys as AppSortKeys, graphql_ArticleCommentPermission as ArticleCommentPermission, graphql_ArticleSortKeys as ArticleSortKeys, graphql_ArticleStatus as ArticleStatus, graphql_BlogSortKeys as BlogSortKeys, graphql_CheckoutAutoFulfillment as CheckoutAutoFulfillment, graphql_CheckoutContactMethod as CheckoutContactMethod, graphql_CheckoutExcludeRequiredOptional as CheckoutExcludeRequiredOptional, graphql_CheckoutNameRequirement as CheckoutNameRequirement,
|
|
1602
|
+
export { graphql_AccountEmailIntent as AccountEmailIntent, graphql_AccountEmailUpdateActionIntent as AccountEmailUpdateActionIntent, AddMediasDocument, graphql_graphql_AppSortKeys as AppSortKeys, graphql_ArticleCommentPermission as ArticleCommentPermission, graphql_ArticleSortKeys as ArticleSortKeys, graphql_ArticleStatus as ArticleStatus, graphql_BlogSortKeys as BlogSortKeys, graphql_CheckoutAutoFulfillment as CheckoutAutoFulfillment, graphql_CheckoutContactMethod as CheckoutContactMethod, graphql_CheckoutExcludeRequiredOptional as CheckoutExcludeRequiredOptional, graphql_CheckoutNameRequirement as CheckoutNameRequirement, graphql_CollectionProductSortkey as CollectionProductSortkey, graphql_CollectionSortKey as CollectionSortKey, DeleteMediasDocument, graphql_DomainRecordType as DomainRecordType, graphql_DomainSortkeys as DomainSortkeys, graphql_EditThemeTemplateType as EditThemeTemplateType, graphql_InventorySortKeys as InventorySortKeys, graphql_LinklistSortKeys as LinklistSortKeys, graphql_LinklistType as LinklistType, graphql_LocationSortKeys as LocationSortKeys, graphql_LogActions as LogActions, graphql_LogResources as LogResources, graphql_LogSortKeys as LogSortKeys, graphql_LoginMethod as LoginMethod, graphql_MarketSortKeys as MarketSortKeys, graphql_MarketVariantSortKeys as MarketVariantSortKeys, graphql_MediaSortKeys as MediaSortKeys, graphql_MediaType as MediaType, MediaUsageDocument, MediasDocument, graphql_MetafieldEntryType as MetafieldEntryType, graphql_MetafieldScope as MetafieldScope, graphql_MetafieldSortKeys as MetafieldSortKeys, graphql_MetafieldType as MetafieldType, graphql_PaymentChargeType as PaymentChargeType, graphql_PaymentSortKeys as PaymentSortKeys, graphql_PaymentType as PaymentType, graphql_PresetSortKeys as PresetSortKeys, graphql_PresetType as PresetType, graphql_ProductSortKeys as ProductSortKeys, graphql_ProductStatus as ProductStatus, graphql_PurchaseSortKeys as PurchaseSortKeys, graphql_PurchaseStatus as PurchaseStatus, graphql_RedirectSortKeys as RedirectSortKeys, graphql_StaffAppPermission as StaffAppPermission, graphql_StaffSortKeys as StaffSortKeys, StoragePlanDocument, graphql_StoreLengthUnit as StoreLengthUnit, graphql_StoreSortkeys as StoreSortkeys, graphql_StoreWeightUnit as StoreWeightUnit, graphql_SupplierSortKeys as SupplierSortKeys, graphql_graphql_ThemeSortKeys as ThemeSortKeys, graphql_TransferSortKeys as TransferSortKeys, graphql_TransferStatus as TransferStatus, graphql_UserDeviceSortKeys as UserDeviceSortKeys, graphql_UserPasskeySortKeys as UserPasskeySortKeys, graphql_UserSessionSortKeys as UserSessionSortKeys, graphql_VariantSortKeys as VariantSortKeys, graphql_VariantStatus as VariantStatus, VariantsDocument, graphql_WhoamiType as WhoamiType, graphql_AppSortKeys as _AppSortKeys, graphql_CategorySortKeys as _CategorySortKeys, graphql_ContinentSortKeys as _ContinentSortKeys, graphql_CountrySortKeys as _CountrySortKeys, graphql_CurrencySortKeys as _CurrencySortKeys, graphql_HscodeSortKeys as _HscodeSortKeys, graphql_LanguageSortKeys as _LanguageSortKeys, graphql_PackageSortKeys as _PackageSortKeys, graphql_PaymentGatewaySortKeys as _PaymentGatewaySortKeys, graphql_PaymentProviderSortKeys as _PaymentProviderSortKeys, graphql_PhoneSortKeys as _PhoneSortKeys, graphql_RegionSortKeys as _RegionSortKeys, graphql_SoppiyaPaymentSortKeys as _SoppiyaPaymentSortKeys, graphql_ThemeSortKeys as _ThemeSortKeys, graphql_ThemeVersionSortKeys as _ThemeVersionSortKeys, graphql_TimezoneSortKeys as _TimezoneSortKeys };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soppiya/app-bridge",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.7",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
61
|
"@apollo/client": "^4.0.7",
|
|
62
|
-
"@soppiya/elementus": "^1.0.
|
|
62
|
+
"@soppiya/elementus": "^1.0.9",
|
|
63
63
|
"@uidotdev/usehooks": "^2.4.1",
|
|
64
64
|
"classnames": "^2.5.1",
|
|
65
65
|
"lodash": "^4.17.21",
|