@burdenoff/microfe-store 2026.805.1 → 2026.819.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/dist/StoreAdminRoutes.js +27 -27
- package/dist/StoreRoot.js +78 -45
- package/dist/StoreRoot.js.map +1 -1
- package/dist/StoreRoutes.js +163 -85
- package/dist/StoreRoutes.js.map +1 -1
- package/dist/components/sourcing/SourcingConfirmationDialog.d.ts +15 -0
- package/dist/components/sourcing/SourcingConfirmationDialog.js +61 -0
- package/dist/components/sourcing/SourcingConfirmationDialog.js.map +1 -0
- package/dist/components/sourcing/SourcingUi.d.ts +51 -0
- package/dist/components/sourcing/SourcingUi.js +176 -0
- package/dist/components/sourcing/SourcingUi.js.map +1 -0
- package/dist/generated/global-operations.d.ts +713 -0
- package/dist/generated/global-operations.js +557 -175
- package/dist/generated/global-operations.js.map +1 -1
- package/dist/generated/global-types.d.ts +2152 -2159
- package/dist/generated/global-types.js +8 -2
- package/dist/generated/global-types.js.map +1 -1
- package/dist/hooks/useBackendCart.js +17 -17
- package/dist/hooks/useInstallations.js +32 -32
- package/dist/hooks/useOrders.js +7 -7
- package/dist/hooks/useSourcing.d.ts +319 -0
- package/dist/hooks/useSourcing.js +87 -0
- package/dist/hooks/useSourcing.js.map +1 -0
- package/dist/hooks/useStoreGraphQL.js +163 -163
- package/dist/index.js +12 -12
- package/dist/pages/AdminDashboardPage.js +132 -132
- package/dist/pages/AdminReviewModerationPage.js +55 -55
- package/dist/pages/AdminStoresPage.js +95 -95
- package/dist/pages/AdminSubmissionsQueuePage.js +297 -297
- package/dist/pages/AdminSubmissionsQueuePage.js.map +1 -1
- package/dist/pages/AppDetailPage.js +65 -65
- package/dist/pages/AppSettingsPage.js +32 -32
- package/dist/pages/CartPage.js +66 -66
- package/dist/pages/CreateSourcingRequestPage.d.ts +3 -0
- package/dist/pages/CreateSourcingRequestPage.js +439 -0
- package/dist/pages/CreateSourcingRequestPage.js.map +1 -0
- package/dist/pages/InstalledAppsPage.js +15 -15
- package/dist/pages/InstalledAppsPage.js.map +1 -1
- package/dist/pages/MarketplaceHomePage.js +384 -384
- package/dist/pages/MarketplaceHomePage.js.map +1 -1
- package/dist/pages/MyLicensesPage.js +39 -39
- package/dist/pages/OrderConfirmationPage.js +57 -57
- package/dist/pages/OrdersPage.js +3 -3
- package/dist/pages/OrdersPage.js.map +1 -1
- package/dist/pages/ProductDetailPage.js +6 -6
- package/dist/pages/SellerSourcingOffersPage.d.ts +3 -0
- package/dist/pages/SellerSourcingOffersPage.js +284 -0
- package/dist/pages/SellerSourcingOffersPage.js.map +1 -0
- package/dist/pages/SellerSourcingOpportunitiesPage.d.ts +3 -0
- package/dist/pages/SellerSourcingOpportunitiesPage.js +272 -0
- package/dist/pages/SellerSourcingOpportunitiesPage.js.map +1 -0
- package/dist/pages/SellerSourcingOpportunityDetailPage.d.ts +3 -0
- package/dist/pages/SellerSourcingOpportunityDetailPage.js +465 -0
- package/dist/pages/SellerSourcingOpportunityDetailPage.js.map +1 -0
- package/dist/pages/SourcingRequestDetailPage.d.ts +3 -0
- package/dist/pages/SourcingRequestDetailPage.js +447 -0
- package/dist/pages/SourcingRequestDetailPage.js.map +1 -0
- package/dist/pages/SourcingRequestsPage.d.ts +3 -0
- package/dist/pages/SourcingRequestsPage.js +272 -0
- package/dist/pages/SourcingRequestsPage.js.map +1 -0
- package/dist/providers/SourcingAccessProvider.d.ts +21 -0
- package/dist/providers/SourcingAccessProvider.js +95 -0
- package/dist/providers/SourcingAccessProvider.js.map +1 -0
- package/dist/translations/en.d.ts +3 -0
- package/dist/translations/en.js +3 -0
- package/dist/translations/en.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,104 @@
|
|
|
1
1
|
import * as Types from './global-types';
|
|
2
2
|
import * as Apollo from '@apollo/client';
|
|
3
3
|
import * as ApolloReactHooks from '@apollo/client/react';
|
|
4
|
+
export type SellerSourcingOfferFieldsFragment = {
|
|
5
|
+
__typename?: 'SourcingOffer';
|
|
6
|
+
id: string;
|
|
7
|
+
requestId: string;
|
|
8
|
+
storeProductId?: string | null;
|
|
9
|
+
status: Types.SourcingOfferStatus;
|
|
10
|
+
quantity: number;
|
|
11
|
+
unit: Types.SourcingUnit;
|
|
12
|
+
unitPrice: string;
|
|
13
|
+
currency: string;
|
|
14
|
+
deliveryDate: string;
|
|
15
|
+
message?: string | null;
|
|
16
|
+
updatedAt: string;
|
|
17
|
+
request?: {
|
|
18
|
+
__typename?: 'SourcingOpportunity';
|
|
19
|
+
id: string;
|
|
20
|
+
productName: string;
|
|
21
|
+
category: string;
|
|
22
|
+
summary?: string | null;
|
|
23
|
+
quantity: number;
|
|
24
|
+
unit: Types.SourcingUnit;
|
|
25
|
+
deliveryWindowStart: string;
|
|
26
|
+
deliveryWindowEnd: string;
|
|
27
|
+
deliveryCountry: string;
|
|
28
|
+
deliveryRegion?: string | null;
|
|
29
|
+
deliveryCity?: string | null;
|
|
30
|
+
targetUnitPrice?: string | null;
|
|
31
|
+
targetCurrency?: string | null;
|
|
32
|
+
} | null;
|
|
33
|
+
order?: {
|
|
34
|
+
__typename?: 'SourcingOrderSummary';
|
|
35
|
+
id: string;
|
|
36
|
+
status: Types.OrderStatus;
|
|
37
|
+
total: string;
|
|
38
|
+
currency: string;
|
|
39
|
+
fulfillment?: {
|
|
40
|
+
__typename?: 'OrderFulfillment';
|
|
41
|
+
status: Types.FulfillmentStatus;
|
|
42
|
+
} | null;
|
|
43
|
+
} | null;
|
|
44
|
+
};
|
|
45
|
+
export type SourcingOpportunityFieldsFragment = {
|
|
46
|
+
__typename?: 'SourcingOpportunity';
|
|
47
|
+
id: string;
|
|
48
|
+
productName: string;
|
|
49
|
+
category: string;
|
|
50
|
+
summary?: string | null;
|
|
51
|
+
quantity: number;
|
|
52
|
+
unit: Types.SourcingUnit;
|
|
53
|
+
deliveryWindowStart: string;
|
|
54
|
+
deliveryWindowEnd: string;
|
|
55
|
+
deliveryCountry: string;
|
|
56
|
+
deliveryRegion?: string | null;
|
|
57
|
+
deliveryCity?: string | null;
|
|
58
|
+
targetUnitPrice?: string | null;
|
|
59
|
+
targetCurrency?: string | null;
|
|
60
|
+
};
|
|
61
|
+
export type SourcingOrderSummaryFieldsFragment = {
|
|
62
|
+
__typename?: 'SourcingOrderSummary';
|
|
63
|
+
id: string;
|
|
64
|
+
status: Types.OrderStatus;
|
|
65
|
+
total: string;
|
|
66
|
+
currency: string;
|
|
67
|
+
fulfillment?: {
|
|
68
|
+
__typename?: 'OrderFulfillment';
|
|
69
|
+
status: Types.FulfillmentStatus;
|
|
70
|
+
} | null;
|
|
71
|
+
};
|
|
72
|
+
export type AcceptSourcingOfferMutationVariables = Types.Exact<{
|
|
73
|
+
offerId: Types.Scalars['ID']['input'];
|
|
74
|
+
}>;
|
|
75
|
+
export type AcceptSourcingOfferMutation = {
|
|
76
|
+
__typename?: 'Mutation';
|
|
77
|
+
acceptSourcingOffer: {
|
|
78
|
+
__typename?: 'SourcingOrderSummary';
|
|
79
|
+
id: string;
|
|
80
|
+
status: Types.OrderStatus;
|
|
81
|
+
total: string;
|
|
82
|
+
currency: string;
|
|
83
|
+
fulfillment?: {
|
|
84
|
+
__typename?: 'OrderFulfillment';
|
|
85
|
+
status: Types.FulfillmentStatus;
|
|
86
|
+
} | null;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
export type CancelSourcingRequestMutationVariables = Types.Exact<{
|
|
90
|
+
id: Types.Scalars['ID']['input'];
|
|
91
|
+
}>;
|
|
92
|
+
export type CancelSourcingRequestMutation = {
|
|
93
|
+
__typename?: 'Mutation';
|
|
94
|
+
cancelSourcingRequest: {
|
|
95
|
+
__typename?: 'SourcingRequest';
|
|
96
|
+
id: string;
|
|
97
|
+
status: Types.SourcingRequestStatus;
|
|
98
|
+
canceledAt?: string | null;
|
|
99
|
+
updatedAt: string;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
4
102
|
export type CreateReviewMutationVariables = Types.Exact<{
|
|
5
103
|
input: Types.CreateReviewInput;
|
|
6
104
|
}>;
|
|
@@ -12,6 +110,30 @@ export type CreateReviewMutation = {
|
|
|
12
110
|
rating: number;
|
|
13
111
|
};
|
|
14
112
|
};
|
|
113
|
+
export type CreateSourcingRequestMutationVariables = Types.Exact<{
|
|
114
|
+
input: Types.CreateSourcingRequestInput;
|
|
115
|
+
}>;
|
|
116
|
+
export type CreateSourcingRequestMutation = {
|
|
117
|
+
__typename?: 'Mutation';
|
|
118
|
+
createSourcingRequest: {
|
|
119
|
+
__typename?: 'SourcingRequest';
|
|
120
|
+
id: string;
|
|
121
|
+
status: Types.SourcingRequestStatus;
|
|
122
|
+
productName: string;
|
|
123
|
+
category: string;
|
|
124
|
+
quantity: number;
|
|
125
|
+
unit: Types.SourcingUnit;
|
|
126
|
+
deliveryWindowStart: string;
|
|
127
|
+
deliveryWindowEnd: string;
|
|
128
|
+
deliveryCountry: string;
|
|
129
|
+
deliveryRegion?: string | null;
|
|
130
|
+
deliveryCity?: string | null;
|
|
131
|
+
targetUnitPrice?: string | null;
|
|
132
|
+
targetCurrency?: string | null;
|
|
133
|
+
createdAt: string;
|
|
134
|
+
updatedAt: string;
|
|
135
|
+
};
|
|
136
|
+
};
|
|
15
137
|
export type DeleteReviewMutationVariables = Types.Exact<{
|
|
16
138
|
id: Types.Scalars['ID']['input'];
|
|
17
139
|
}>;
|
|
@@ -42,6 +164,53 @@ export type UpdateReviewMutation = {
|
|
|
42
164
|
rating: number;
|
|
43
165
|
};
|
|
44
166
|
};
|
|
167
|
+
export type UpsertSourcingOfferMutationVariables = Types.Exact<{
|
|
168
|
+
input: Types.UpsertSourcingOfferInput;
|
|
169
|
+
}>;
|
|
170
|
+
export type UpsertSourcingOfferMutation = {
|
|
171
|
+
__typename?: 'Mutation';
|
|
172
|
+
upsertSourcingOffer: {
|
|
173
|
+
__typename?: 'SourcingOffer';
|
|
174
|
+
id: string;
|
|
175
|
+
requestId: string;
|
|
176
|
+
storeProductId?: string | null;
|
|
177
|
+
status: Types.SourcingOfferStatus;
|
|
178
|
+
quantity: number;
|
|
179
|
+
unit: Types.SourcingUnit;
|
|
180
|
+
unitPrice: string;
|
|
181
|
+
currency: string;
|
|
182
|
+
deliveryDate: string;
|
|
183
|
+
message?: string | null;
|
|
184
|
+
updatedAt: string;
|
|
185
|
+
request?: {
|
|
186
|
+
__typename?: 'SourcingOpportunity';
|
|
187
|
+
id: string;
|
|
188
|
+
productName: string;
|
|
189
|
+
category: string;
|
|
190
|
+
summary?: string | null;
|
|
191
|
+
quantity: number;
|
|
192
|
+
unit: Types.SourcingUnit;
|
|
193
|
+
deliveryWindowStart: string;
|
|
194
|
+
deliveryWindowEnd: string;
|
|
195
|
+
deliveryCountry: string;
|
|
196
|
+
deliveryRegion?: string | null;
|
|
197
|
+
deliveryCity?: string | null;
|
|
198
|
+
targetUnitPrice?: string | null;
|
|
199
|
+
targetCurrency?: string | null;
|
|
200
|
+
} | null;
|
|
201
|
+
order?: {
|
|
202
|
+
__typename?: 'SourcingOrderSummary';
|
|
203
|
+
id: string;
|
|
204
|
+
status: Types.OrderStatus;
|
|
205
|
+
total: string;
|
|
206
|
+
currency: string;
|
|
207
|
+
fulfillment?: {
|
|
208
|
+
__typename?: 'OrderFulfillment';
|
|
209
|
+
status: Types.FulfillmentStatus;
|
|
210
|
+
} | null;
|
|
211
|
+
} | null;
|
|
212
|
+
};
|
|
213
|
+
};
|
|
45
214
|
export type AddToCartMutationVariables = Types.Exact<{
|
|
46
215
|
input: Types.AddToCartInput;
|
|
47
216
|
}>;
|
|
@@ -253,6 +422,101 @@ export type UpdateCartItemMutation = {
|
|
|
253
422
|
}> | null;
|
|
254
423
|
};
|
|
255
424
|
};
|
|
425
|
+
export type BuyerSourcingRequestQueryVariables = Types.Exact<{
|
|
426
|
+
id: Types.Scalars['ID']['input'];
|
|
427
|
+
}>;
|
|
428
|
+
export type BuyerSourcingRequestQuery = {
|
|
429
|
+
__typename?: 'Query';
|
|
430
|
+
mySourcingRequest?: {
|
|
431
|
+
__typename?: 'SourcingRequest';
|
|
432
|
+
id: string;
|
|
433
|
+
status: Types.SourcingRequestStatus;
|
|
434
|
+
productName: string;
|
|
435
|
+
category: string;
|
|
436
|
+
summary?: string | null;
|
|
437
|
+
quantity: number;
|
|
438
|
+
unit: Types.SourcingUnit;
|
|
439
|
+
deliveryWindowStart: string;
|
|
440
|
+
deliveryWindowEnd: string;
|
|
441
|
+
deliveryCountry: string;
|
|
442
|
+
deliveryRegion?: string | null;
|
|
443
|
+
deliveryCity?: string | null;
|
|
444
|
+
targetUnitPrice?: string | null;
|
|
445
|
+
targetCurrency?: string | null;
|
|
446
|
+
matchedAt?: string | null;
|
|
447
|
+
canceledAt?: string | null;
|
|
448
|
+
createdAt: string;
|
|
449
|
+
updatedAt: string;
|
|
450
|
+
offers: Array<{
|
|
451
|
+
__typename?: 'SourcingOffer';
|
|
452
|
+
id: string;
|
|
453
|
+
status: Types.SourcingOfferStatus;
|
|
454
|
+
quantity: number;
|
|
455
|
+
unit: Types.SourcingUnit;
|
|
456
|
+
unitPrice: string;
|
|
457
|
+
currency: string;
|
|
458
|
+
deliveryDate: string;
|
|
459
|
+
message?: string | null;
|
|
460
|
+
createdAt: string;
|
|
461
|
+
publisher?: {
|
|
462
|
+
__typename?: 'SourcingPublisherSummary';
|
|
463
|
+
name: string;
|
|
464
|
+
logoUrl?: string | null;
|
|
465
|
+
isVerified: boolean;
|
|
466
|
+
} | null;
|
|
467
|
+
order?: {
|
|
468
|
+
__typename?: 'SourcingOrderSummary';
|
|
469
|
+
id: string;
|
|
470
|
+
status: Types.OrderStatus;
|
|
471
|
+
total: string;
|
|
472
|
+
currency: string;
|
|
473
|
+
fulfillment?: {
|
|
474
|
+
__typename?: 'OrderFulfillment';
|
|
475
|
+
status: Types.FulfillmentStatus;
|
|
476
|
+
} | null;
|
|
477
|
+
} | null;
|
|
478
|
+
}>;
|
|
479
|
+
acceptedOrder?: {
|
|
480
|
+
__typename?: 'SourcingOrderSummary';
|
|
481
|
+
id: string;
|
|
482
|
+
status: Types.OrderStatus;
|
|
483
|
+
total: string;
|
|
484
|
+
currency: string;
|
|
485
|
+
fulfillment?: {
|
|
486
|
+
__typename?: 'OrderFulfillment';
|
|
487
|
+
status: Types.FulfillmentStatus;
|
|
488
|
+
} | null;
|
|
489
|
+
} | null;
|
|
490
|
+
} | null;
|
|
491
|
+
};
|
|
492
|
+
export type BuyerSourcingRequestsQueryVariables = Types.Exact<{
|
|
493
|
+
status?: Types.InputMaybe<Types.SourcingRequestStatus>;
|
|
494
|
+
limit?: Types.InputMaybe<Types.Scalars['Int']['input']>;
|
|
495
|
+
offset?: Types.InputMaybe<Types.Scalars['Int']['input']>;
|
|
496
|
+
}>;
|
|
497
|
+
export type BuyerSourcingRequestsQuery = {
|
|
498
|
+
__typename?: 'Query';
|
|
499
|
+
mySourcingRequests: Array<{
|
|
500
|
+
__typename?: 'SourcingRequest';
|
|
501
|
+
id: string;
|
|
502
|
+
status: Types.SourcingRequestStatus;
|
|
503
|
+
productName: string;
|
|
504
|
+
category: string;
|
|
505
|
+
quantity: number;
|
|
506
|
+
unit: Types.SourcingUnit;
|
|
507
|
+
deliveryWindowStart: string;
|
|
508
|
+
deliveryWindowEnd: string;
|
|
509
|
+
deliveryCountry: string;
|
|
510
|
+
deliveryRegion?: string | null;
|
|
511
|
+
deliveryCity?: string | null;
|
|
512
|
+
targetUnitPrice?: string | null;
|
|
513
|
+
targetCurrency?: string | null;
|
|
514
|
+
offers: Array<{
|
|
515
|
+
__typename?: 'SourcingOffer';
|
|
516
|
+
status: Types.SourcingOfferStatus;
|
|
517
|
+
}>;
|
|
518
|
+
}>;
|
|
519
|
+
};
|
|
256
520
|
export type CategoriesQueryVariables = Types.Exact<{
|
|
257
521
|
[key: string]: never;
|
|
258
522
|
}>;
|
|
@@ -385,6 +649,35 @@ export type ProductReviewsQuery = {
|
|
|
385
649
|
createdAt: string;
|
|
386
650
|
}>;
|
|
387
651
|
};
|
|
652
|
+
export type PublisherSourcingAccessQueryVariables = Types.Exact<{
|
|
653
|
+
[key: string]: never;
|
|
654
|
+
}>;
|
|
655
|
+
export type PublisherSourcingAccessQuery = {
|
|
656
|
+
__typename?: 'Query';
|
|
657
|
+
myPublisher?: {
|
|
658
|
+
__typename?: 'Publisher';
|
|
659
|
+
id: string;
|
|
660
|
+
name: string;
|
|
661
|
+
isVerified: boolean;
|
|
662
|
+
verificationStatus: Types.PublisherVerificationStatus;
|
|
663
|
+
} | null;
|
|
664
|
+
};
|
|
665
|
+
export type PublisherSourcingProductsQueryVariables = Types.Exact<{
|
|
666
|
+
[key: string]: never;
|
|
667
|
+
}>;
|
|
668
|
+
export type PublisherSourcingProductsQuery = {
|
|
669
|
+
__typename?: 'Query';
|
|
670
|
+
myPublisher?: {
|
|
671
|
+
__typename?: 'Publisher';
|
|
672
|
+
id: string;
|
|
673
|
+
products: Array<{
|
|
674
|
+
__typename?: 'StoreProduct';
|
|
675
|
+
id: string;
|
|
676
|
+
name: string;
|
|
677
|
+
status: Types.ProductStatus;
|
|
678
|
+
}>;
|
|
679
|
+
} | null;
|
|
680
|
+
};
|
|
388
681
|
export type SearchSuggestionsQueryVariables = Types.Exact<{
|
|
389
682
|
query: Types.Scalars['String']['input'];
|
|
390
683
|
limit?: Types.InputMaybe<Types.Scalars['Int']['input']>;
|
|
@@ -398,6 +691,142 @@ export type SearchSuggestionsQuery = {
|
|
|
398
691
|
count: number;
|
|
399
692
|
}>;
|
|
400
693
|
};
|
|
694
|
+
export type SellerSourcingOffersQueryVariables = Types.Exact<{
|
|
695
|
+
status?: Types.InputMaybe<Types.SourcingOfferStatus>;
|
|
696
|
+
limit?: Types.InputMaybe<Types.Scalars['Int']['input']>;
|
|
697
|
+
offset?: Types.InputMaybe<Types.Scalars['Int']['input']>;
|
|
698
|
+
}>;
|
|
699
|
+
export type SellerSourcingOffersQuery = {
|
|
700
|
+
__typename?: 'Query';
|
|
701
|
+
mySourcingOffers: Array<{
|
|
702
|
+
__typename?: 'SourcingOffer';
|
|
703
|
+
id: string;
|
|
704
|
+
requestId: string;
|
|
705
|
+
storeProductId?: string | null;
|
|
706
|
+
status: Types.SourcingOfferStatus;
|
|
707
|
+
quantity: number;
|
|
708
|
+
unit: Types.SourcingUnit;
|
|
709
|
+
unitPrice: string;
|
|
710
|
+
currency: string;
|
|
711
|
+
deliveryDate: string;
|
|
712
|
+
message?: string | null;
|
|
713
|
+
updatedAt: string;
|
|
714
|
+
request?: {
|
|
715
|
+
__typename?: 'SourcingOpportunity';
|
|
716
|
+
id: string;
|
|
717
|
+
productName: string;
|
|
718
|
+
category: string;
|
|
719
|
+
summary?: string | null;
|
|
720
|
+
quantity: number;
|
|
721
|
+
unit: Types.SourcingUnit;
|
|
722
|
+
deliveryWindowStart: string;
|
|
723
|
+
deliveryWindowEnd: string;
|
|
724
|
+
deliveryCountry: string;
|
|
725
|
+
deliveryRegion?: string | null;
|
|
726
|
+
deliveryCity?: string | null;
|
|
727
|
+
targetUnitPrice?: string | null;
|
|
728
|
+
targetCurrency?: string | null;
|
|
729
|
+
} | null;
|
|
730
|
+
order?: {
|
|
731
|
+
__typename?: 'SourcingOrderSummary';
|
|
732
|
+
id: string;
|
|
733
|
+
status: Types.OrderStatus;
|
|
734
|
+
total: string;
|
|
735
|
+
currency: string;
|
|
736
|
+
fulfillment?: {
|
|
737
|
+
__typename?: 'OrderFulfillment';
|
|
738
|
+
status: Types.FulfillmentStatus;
|
|
739
|
+
} | null;
|
|
740
|
+
} | null;
|
|
741
|
+
}>;
|
|
742
|
+
};
|
|
743
|
+
export type SellerSourcingOpportunitiesQueryVariables = Types.Exact<{
|
|
744
|
+
category?: Types.InputMaybe<Types.Scalars['String']['input']>;
|
|
745
|
+
limit?: Types.InputMaybe<Types.Scalars['Int']['input']>;
|
|
746
|
+
offset?: Types.InputMaybe<Types.Scalars['Int']['input']>;
|
|
747
|
+
}>;
|
|
748
|
+
export type SellerSourcingOpportunitiesQuery = {
|
|
749
|
+
__typename?: 'Query';
|
|
750
|
+
openSourcingRequests: Array<{
|
|
751
|
+
__typename?: 'SourcingOpportunity';
|
|
752
|
+
id: string;
|
|
753
|
+
productName: string;
|
|
754
|
+
category: string;
|
|
755
|
+
summary?: string | null;
|
|
756
|
+
quantity: number;
|
|
757
|
+
unit: Types.SourcingUnit;
|
|
758
|
+
deliveryWindowStart: string;
|
|
759
|
+
deliveryWindowEnd: string;
|
|
760
|
+
deliveryCountry: string;
|
|
761
|
+
deliveryRegion?: string | null;
|
|
762
|
+
deliveryCity?: string | null;
|
|
763
|
+
targetUnitPrice?: string | null;
|
|
764
|
+
targetCurrency?: string | null;
|
|
765
|
+
}>;
|
|
766
|
+
};
|
|
767
|
+
export type SellerSourcingOpportunityQueryVariables = Types.Exact<{
|
|
768
|
+
id: Types.Scalars['ID']['input'];
|
|
769
|
+
}>;
|
|
770
|
+
export type SellerSourcingOpportunityQuery = {
|
|
771
|
+
__typename?: 'Query';
|
|
772
|
+
sourcingOpportunity?: {
|
|
773
|
+
__typename?: 'SourcingOpportunity';
|
|
774
|
+
id: string;
|
|
775
|
+
productName: string;
|
|
776
|
+
category: string;
|
|
777
|
+
summary?: string | null;
|
|
778
|
+
quantity: number;
|
|
779
|
+
unit: Types.SourcingUnit;
|
|
780
|
+
deliveryWindowStart: string;
|
|
781
|
+
deliveryWindowEnd: string;
|
|
782
|
+
deliveryCountry: string;
|
|
783
|
+
deliveryRegion?: string | null;
|
|
784
|
+
deliveryCity?: string | null;
|
|
785
|
+
targetUnitPrice?: string | null;
|
|
786
|
+
targetCurrency?: string | null;
|
|
787
|
+
} | null;
|
|
788
|
+
mySourcingOffer?: {
|
|
789
|
+
__typename?: 'SourcingOffer';
|
|
790
|
+
id: string;
|
|
791
|
+
requestId: string;
|
|
792
|
+
storeProductId?: string | null;
|
|
793
|
+
status: Types.SourcingOfferStatus;
|
|
794
|
+
quantity: number;
|
|
795
|
+
unit: Types.SourcingUnit;
|
|
796
|
+
unitPrice: string;
|
|
797
|
+
currency: string;
|
|
798
|
+
deliveryDate: string;
|
|
799
|
+
message?: string | null;
|
|
800
|
+
updatedAt: string;
|
|
801
|
+
request?: {
|
|
802
|
+
__typename?: 'SourcingOpportunity';
|
|
803
|
+
id: string;
|
|
804
|
+
productName: string;
|
|
805
|
+
category: string;
|
|
806
|
+
summary?: string | null;
|
|
807
|
+
quantity: number;
|
|
808
|
+
unit: Types.SourcingUnit;
|
|
809
|
+
deliveryWindowStart: string;
|
|
810
|
+
deliveryWindowEnd: string;
|
|
811
|
+
deliveryCountry: string;
|
|
812
|
+
deliveryRegion?: string | null;
|
|
813
|
+
deliveryCity?: string | null;
|
|
814
|
+
targetUnitPrice?: string | null;
|
|
815
|
+
targetCurrency?: string | null;
|
|
816
|
+
} | null;
|
|
817
|
+
order?: {
|
|
818
|
+
__typename?: 'SourcingOrderSummary';
|
|
819
|
+
id: string;
|
|
820
|
+
status: Types.OrderStatus;
|
|
821
|
+
total: string;
|
|
822
|
+
currency: string;
|
|
823
|
+
fulfillment?: {
|
|
824
|
+
__typename?: 'OrderFulfillment';
|
|
825
|
+
status: Types.FulfillmentStatus;
|
|
826
|
+
} | null;
|
|
827
|
+
} | null;
|
|
828
|
+
} | null;
|
|
829
|
+
};
|
|
401
830
|
export type TrendingSearchesQueryVariables = Types.Exact<{
|
|
402
831
|
limit?: Types.InputMaybe<Types.Scalars['Int']['input']>;
|
|
403
832
|
}>;
|
|
@@ -1098,6 +1527,55 @@ export type SubmissionStatusUpdatedSubscription = {
|
|
|
1098
1527
|
updatedAt: string;
|
|
1099
1528
|
} | null;
|
|
1100
1529
|
};
|
|
1530
|
+
export declare const SourcingOpportunityFieldsFragmentDoc: Apollo.DocumentNode;
|
|
1531
|
+
export declare const SourcingOrderSummaryFieldsFragmentDoc: Apollo.DocumentNode;
|
|
1532
|
+
export declare const SellerSourcingOfferFieldsFragmentDoc: Apollo.DocumentNode;
|
|
1533
|
+
export declare const AcceptSourcingOfferDocument: Apollo.DocumentNode;
|
|
1534
|
+
export type AcceptSourcingOfferMutationFn = Apollo.MutationFunction<Types.AcceptSourcingOfferMutation, Types.AcceptSourcingOfferMutationVariables>;
|
|
1535
|
+
/**
|
|
1536
|
+
* __useAcceptSourcingOfferMutation__
|
|
1537
|
+
*
|
|
1538
|
+
* To run a mutation, you first call `useAcceptSourcingOfferMutation` within a React component and pass it any options that fit your needs.
|
|
1539
|
+
* When your component renders, `useAcceptSourcingOfferMutation` returns a tuple that includes:
|
|
1540
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1541
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1542
|
+
*
|
|
1543
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
1544
|
+
*
|
|
1545
|
+
* @example
|
|
1546
|
+
* const [acceptSourcingOfferMutation, { data, loading, error }] = useAcceptSourcingOfferMutation({
|
|
1547
|
+
* variables: {
|
|
1548
|
+
* offerId: // value for 'offerId'
|
|
1549
|
+
* },
|
|
1550
|
+
* });
|
|
1551
|
+
*/
|
|
1552
|
+
export declare function useAcceptSourcingOfferMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.AcceptSourcingOfferMutation, Types.AcceptSourcingOfferMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.AcceptSourcingOfferMutation, any, Apollo.ApolloCache, undefined>;
|
|
1553
|
+
export type AcceptSourcingOfferMutationHookResult = ReturnType<typeof useAcceptSourcingOfferMutation>;
|
|
1554
|
+
export type AcceptSourcingOfferMutationResult = Apollo.MutationResult<Types.AcceptSourcingOfferMutation>;
|
|
1555
|
+
export type AcceptSourcingOfferMutationOptions = Apollo.BaseMutationOptions<Types.AcceptSourcingOfferMutation, Types.AcceptSourcingOfferMutationVariables>;
|
|
1556
|
+
export declare const CancelSourcingRequestDocument: Apollo.DocumentNode;
|
|
1557
|
+
export type CancelSourcingRequestMutationFn = Apollo.MutationFunction<Types.CancelSourcingRequestMutation, Types.CancelSourcingRequestMutationVariables>;
|
|
1558
|
+
/**
|
|
1559
|
+
* __useCancelSourcingRequestMutation__
|
|
1560
|
+
*
|
|
1561
|
+
* To run a mutation, you first call `useCancelSourcingRequestMutation` within a React component and pass it any options that fit your needs.
|
|
1562
|
+
* When your component renders, `useCancelSourcingRequestMutation` returns a tuple that includes:
|
|
1563
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1564
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1565
|
+
*
|
|
1566
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
1567
|
+
*
|
|
1568
|
+
* @example
|
|
1569
|
+
* const [cancelSourcingRequestMutation, { data, loading, error }] = useCancelSourcingRequestMutation({
|
|
1570
|
+
* variables: {
|
|
1571
|
+
* id: // value for 'id'
|
|
1572
|
+
* },
|
|
1573
|
+
* });
|
|
1574
|
+
*/
|
|
1575
|
+
export declare function useCancelSourcingRequestMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.CancelSourcingRequestMutation, Types.CancelSourcingRequestMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.CancelSourcingRequestMutation, any, Apollo.ApolloCache, undefined>;
|
|
1576
|
+
export type CancelSourcingRequestMutationHookResult = ReturnType<typeof useCancelSourcingRequestMutation>;
|
|
1577
|
+
export type CancelSourcingRequestMutationResult = Apollo.MutationResult<Types.CancelSourcingRequestMutation>;
|
|
1578
|
+
export type CancelSourcingRequestMutationOptions = Apollo.BaseMutationOptions<Types.CancelSourcingRequestMutation, Types.CancelSourcingRequestMutationVariables>;
|
|
1101
1579
|
export declare const CreateReviewDocument: Apollo.DocumentNode;
|
|
1102
1580
|
export type CreateReviewMutationFn = Apollo.MutationFunction<Types.CreateReviewMutation, Types.CreateReviewMutationVariables>;
|
|
1103
1581
|
/**
|
|
@@ -1121,6 +1599,29 @@ export declare function useCreateReviewMutation(baseOptions?: ApolloReactHooks.M
|
|
|
1121
1599
|
export type CreateReviewMutationHookResult = ReturnType<typeof useCreateReviewMutation>;
|
|
1122
1600
|
export type CreateReviewMutationResult = Apollo.MutationResult<Types.CreateReviewMutation>;
|
|
1123
1601
|
export type CreateReviewMutationOptions = Apollo.BaseMutationOptions<Types.CreateReviewMutation, Types.CreateReviewMutationVariables>;
|
|
1602
|
+
export declare const CreateSourcingRequestDocument: Apollo.DocumentNode;
|
|
1603
|
+
export type CreateSourcingRequestMutationFn = Apollo.MutationFunction<Types.CreateSourcingRequestMutation, Types.CreateSourcingRequestMutationVariables>;
|
|
1604
|
+
/**
|
|
1605
|
+
* __useCreateSourcingRequestMutation__
|
|
1606
|
+
*
|
|
1607
|
+
* To run a mutation, you first call `useCreateSourcingRequestMutation` within a React component and pass it any options that fit your needs.
|
|
1608
|
+
* When your component renders, `useCreateSourcingRequestMutation` returns a tuple that includes:
|
|
1609
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1610
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1611
|
+
*
|
|
1612
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
1613
|
+
*
|
|
1614
|
+
* @example
|
|
1615
|
+
* const [createSourcingRequestMutation, { data, loading, error }] = useCreateSourcingRequestMutation({
|
|
1616
|
+
* variables: {
|
|
1617
|
+
* input: // value for 'input'
|
|
1618
|
+
* },
|
|
1619
|
+
* });
|
|
1620
|
+
*/
|
|
1621
|
+
export declare function useCreateSourcingRequestMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.CreateSourcingRequestMutation, Types.CreateSourcingRequestMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.CreateSourcingRequestMutation, any, Apollo.ApolloCache, undefined>;
|
|
1622
|
+
export type CreateSourcingRequestMutationHookResult = ReturnType<typeof useCreateSourcingRequestMutation>;
|
|
1623
|
+
export type CreateSourcingRequestMutationResult = Apollo.MutationResult<Types.CreateSourcingRequestMutation>;
|
|
1624
|
+
export type CreateSourcingRequestMutationOptions = Apollo.BaseMutationOptions<Types.CreateSourcingRequestMutation, Types.CreateSourcingRequestMutationVariables>;
|
|
1124
1625
|
export declare const DeleteReviewDocument: Apollo.DocumentNode;
|
|
1125
1626
|
export type DeleteReviewMutationFn = Apollo.MutationFunction<Types.DeleteReviewMutation, Types.DeleteReviewMutationVariables>;
|
|
1126
1627
|
/**
|
|
@@ -1191,6 +1692,29 @@ export declare function useUpdateReviewMutation(baseOptions?: ApolloReactHooks.M
|
|
|
1191
1692
|
export type UpdateReviewMutationHookResult = ReturnType<typeof useUpdateReviewMutation>;
|
|
1192
1693
|
export type UpdateReviewMutationResult = Apollo.MutationResult<Types.UpdateReviewMutation>;
|
|
1193
1694
|
export type UpdateReviewMutationOptions = Apollo.BaseMutationOptions<Types.UpdateReviewMutation, Types.UpdateReviewMutationVariables>;
|
|
1695
|
+
export declare const UpsertSourcingOfferDocument: Apollo.DocumentNode;
|
|
1696
|
+
export type UpsertSourcingOfferMutationFn = Apollo.MutationFunction<Types.UpsertSourcingOfferMutation, Types.UpsertSourcingOfferMutationVariables>;
|
|
1697
|
+
/**
|
|
1698
|
+
* __useUpsertSourcingOfferMutation__
|
|
1699
|
+
*
|
|
1700
|
+
* To run a mutation, you first call `useUpsertSourcingOfferMutation` within a React component and pass it any options that fit your needs.
|
|
1701
|
+
* When your component renders, `useUpsertSourcingOfferMutation` returns a tuple that includes:
|
|
1702
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1703
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1704
|
+
*
|
|
1705
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
1706
|
+
*
|
|
1707
|
+
* @example
|
|
1708
|
+
* const [upsertSourcingOfferMutation, { data, loading, error }] = useUpsertSourcingOfferMutation({
|
|
1709
|
+
* variables: {
|
|
1710
|
+
* input: // value for 'input'
|
|
1711
|
+
* },
|
|
1712
|
+
* });
|
|
1713
|
+
*/
|
|
1714
|
+
export declare function useUpsertSourcingOfferMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpsertSourcingOfferMutation, Types.UpsertSourcingOfferMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.UpsertSourcingOfferMutation, any, Apollo.ApolloCache, undefined>;
|
|
1715
|
+
export type UpsertSourcingOfferMutationHookResult = ReturnType<typeof useUpsertSourcingOfferMutation>;
|
|
1716
|
+
export type UpsertSourcingOfferMutationResult = Apollo.MutationResult<Types.UpsertSourcingOfferMutation>;
|
|
1717
|
+
export type UpsertSourcingOfferMutationOptions = Apollo.BaseMutationOptions<Types.UpsertSourcingOfferMutation, Types.UpsertSourcingOfferMutationVariables>;
|
|
1194
1718
|
export declare const AddToCartDocument: Apollo.DocumentNode;
|
|
1195
1719
|
export type AddToCartMutationFn = Apollo.MutationFunction<Types.AddToCartMutation, Types.AddToCartMutationVariables>;
|
|
1196
1720
|
/**
|
|
@@ -1375,6 +1899,63 @@ export declare function useUpdateCartItemMutation(baseOptions?: ApolloReactHooks
|
|
|
1375
1899
|
export type UpdateCartItemMutationHookResult = ReturnType<typeof useUpdateCartItemMutation>;
|
|
1376
1900
|
export type UpdateCartItemMutationResult = Apollo.MutationResult<Types.UpdateCartItemMutation>;
|
|
1377
1901
|
export type UpdateCartItemMutationOptions = Apollo.BaseMutationOptions<Types.UpdateCartItemMutation, Types.UpdateCartItemMutationVariables>;
|
|
1902
|
+
export declare const BuyerSourcingRequestDocument: Apollo.DocumentNode;
|
|
1903
|
+
/**
|
|
1904
|
+
* __useBuyerSourcingRequestQuery__
|
|
1905
|
+
*
|
|
1906
|
+
* To run a query within a React component, call `useBuyerSourcingRequestQuery` and pass it any options that fit your needs.
|
|
1907
|
+
* When your component renders, `useBuyerSourcingRequestQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1908
|
+
* you can use to render your UI.
|
|
1909
|
+
*
|
|
1910
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
1911
|
+
*
|
|
1912
|
+
* @example
|
|
1913
|
+
* const { data, loading, error } = useBuyerSourcingRequestQuery({
|
|
1914
|
+
* variables: {
|
|
1915
|
+
* id: // value for 'id'
|
|
1916
|
+
* },
|
|
1917
|
+
* });
|
|
1918
|
+
*/
|
|
1919
|
+
export declare function useBuyerSourcingRequestQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.BuyerSourcingRequestQuery, Types.BuyerSourcingRequestQueryVariables> & ({
|
|
1920
|
+
variables: Types.BuyerSourcingRequestQueryVariables;
|
|
1921
|
+
skip?: boolean;
|
|
1922
|
+
} | {
|
|
1923
|
+
skip: boolean;
|
|
1924
|
+
})): ApolloReactHooks.useQuery.Result<Types.BuyerSourcingRequestQuery, Types.BuyerSourcingRequestQueryVariables, "empty" | "complete" | "streaming", Types.BuyerSourcingRequestQueryVariables>;
|
|
1925
|
+
export declare function useBuyerSourcingRequestLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.BuyerSourcingRequestQuery, Types.BuyerSourcingRequestQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.BuyerSourcingRequestQuery, Types.BuyerSourcingRequestQueryVariables, "empty" | "complete" | "streaming">;
|
|
1926
|
+
export declare function useBuyerSourcingRequestSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.BuyerSourcingRequestQuery, Types.BuyerSourcingRequestQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.BuyerSourcingRequestQuery, Types.BuyerSourcingRequestQueryVariables>;
|
|
1927
|
+
export declare function useBuyerSourcingRequestSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.BuyerSourcingRequestQuery, Types.BuyerSourcingRequestQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.BuyerSourcingRequestQuery | undefined, Types.BuyerSourcingRequestQueryVariables>;
|
|
1928
|
+
export type BuyerSourcingRequestQueryHookResult = ReturnType<typeof useBuyerSourcingRequestQuery>;
|
|
1929
|
+
export type BuyerSourcingRequestLazyQueryHookResult = ReturnType<typeof useBuyerSourcingRequestLazyQuery>;
|
|
1930
|
+
export type BuyerSourcingRequestSuspenseQueryHookResult = ReturnType<typeof useBuyerSourcingRequestSuspenseQuery>;
|
|
1931
|
+
export type BuyerSourcingRequestQueryResult = Apollo.QueryResult<Types.BuyerSourcingRequestQuery, Types.BuyerSourcingRequestQueryVariables>;
|
|
1932
|
+
export declare const BuyerSourcingRequestsDocument: Apollo.DocumentNode;
|
|
1933
|
+
/**
|
|
1934
|
+
* __useBuyerSourcingRequestsQuery__
|
|
1935
|
+
*
|
|
1936
|
+
* To run a query within a React component, call `useBuyerSourcingRequestsQuery` and pass it any options that fit your needs.
|
|
1937
|
+
* When your component renders, `useBuyerSourcingRequestsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1938
|
+
* you can use to render your UI.
|
|
1939
|
+
*
|
|
1940
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
1941
|
+
*
|
|
1942
|
+
* @example
|
|
1943
|
+
* const { data, loading, error } = useBuyerSourcingRequestsQuery({
|
|
1944
|
+
* variables: {
|
|
1945
|
+
* status: // value for 'status'
|
|
1946
|
+
* limit: // value for 'limit'
|
|
1947
|
+
* offset: // value for 'offset'
|
|
1948
|
+
* },
|
|
1949
|
+
* });
|
|
1950
|
+
*/
|
|
1951
|
+
export declare function useBuyerSourcingRequestsQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.BuyerSourcingRequestsQuery, Types.BuyerSourcingRequestsQueryVariables>): ApolloReactHooks.useQuery.Result<Types.BuyerSourcingRequestsQuery, Types.BuyerSourcingRequestsQueryVariables, "empty" | "complete" | "streaming", Types.BuyerSourcingRequestsQueryVariables>;
|
|
1952
|
+
export declare function useBuyerSourcingRequestsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.BuyerSourcingRequestsQuery, Types.BuyerSourcingRequestsQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.BuyerSourcingRequestsQuery, Types.BuyerSourcingRequestsQueryVariables, "empty" | "complete" | "streaming">;
|
|
1953
|
+
export declare function useBuyerSourcingRequestsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.BuyerSourcingRequestsQuery, Types.BuyerSourcingRequestsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.BuyerSourcingRequestsQuery, Types.BuyerSourcingRequestsQueryVariables>;
|
|
1954
|
+
export declare function useBuyerSourcingRequestsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.BuyerSourcingRequestsQuery, Types.BuyerSourcingRequestsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.BuyerSourcingRequestsQuery | undefined, Types.BuyerSourcingRequestsQueryVariables>;
|
|
1955
|
+
export type BuyerSourcingRequestsQueryHookResult = ReturnType<typeof useBuyerSourcingRequestsQuery>;
|
|
1956
|
+
export type BuyerSourcingRequestsLazyQueryHookResult = ReturnType<typeof useBuyerSourcingRequestsLazyQuery>;
|
|
1957
|
+
export type BuyerSourcingRequestsSuspenseQueryHookResult = ReturnType<typeof useBuyerSourcingRequestsSuspenseQuery>;
|
|
1958
|
+
export type BuyerSourcingRequestsQueryResult = Apollo.QueryResult<Types.BuyerSourcingRequestsQuery, Types.BuyerSourcingRequestsQueryVariables>;
|
|
1378
1959
|
export declare const CategoriesDocument: Apollo.DocumentNode;
|
|
1379
1960
|
/**
|
|
1380
1961
|
* __useCategoriesQuery__
|
|
@@ -1587,6 +2168,54 @@ export type ProductReviewsQueryHookResult = ReturnType<typeof useProductReviewsQ
|
|
|
1587
2168
|
export type ProductReviewsLazyQueryHookResult = ReturnType<typeof useProductReviewsLazyQuery>;
|
|
1588
2169
|
export type ProductReviewsSuspenseQueryHookResult = ReturnType<typeof useProductReviewsSuspenseQuery>;
|
|
1589
2170
|
export type ProductReviewsQueryResult = Apollo.QueryResult<Types.ProductReviewsQuery, Types.ProductReviewsQueryVariables>;
|
|
2171
|
+
export declare const PublisherSourcingAccessDocument: Apollo.DocumentNode;
|
|
2172
|
+
/**
|
|
2173
|
+
* __usePublisherSourcingAccessQuery__
|
|
2174
|
+
*
|
|
2175
|
+
* To run a query within a React component, call `usePublisherSourcingAccessQuery` and pass it any options that fit your needs.
|
|
2176
|
+
* When your component renders, `usePublisherSourcingAccessQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2177
|
+
* you can use to render your UI.
|
|
2178
|
+
*
|
|
2179
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
2180
|
+
*
|
|
2181
|
+
* @example
|
|
2182
|
+
* const { data, loading, error } = usePublisherSourcingAccessQuery({
|
|
2183
|
+
* variables: {
|
|
2184
|
+
* },
|
|
2185
|
+
* });
|
|
2186
|
+
*/
|
|
2187
|
+
export declare function usePublisherSourcingAccessQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.PublisherSourcingAccessQuery, Types.PublisherSourcingAccessQueryVariables>): ApolloReactHooks.useQuery.Result<Types.PublisherSourcingAccessQuery, Types.PublisherSourcingAccessQueryVariables, "empty" | "complete" | "streaming", Types.PublisherSourcingAccessQueryVariables>;
|
|
2188
|
+
export declare function usePublisherSourcingAccessLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.PublisherSourcingAccessQuery, Types.PublisherSourcingAccessQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.PublisherSourcingAccessQuery, Types.PublisherSourcingAccessQueryVariables, "empty" | "complete" | "streaming">;
|
|
2189
|
+
export declare function usePublisherSourcingAccessSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.PublisherSourcingAccessQuery, Types.PublisherSourcingAccessQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.PublisherSourcingAccessQuery, Types.PublisherSourcingAccessQueryVariables>;
|
|
2190
|
+
export declare function usePublisherSourcingAccessSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.PublisherSourcingAccessQuery, Types.PublisherSourcingAccessQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.PublisherSourcingAccessQuery | undefined, Types.PublisherSourcingAccessQueryVariables>;
|
|
2191
|
+
export type PublisherSourcingAccessQueryHookResult = ReturnType<typeof usePublisherSourcingAccessQuery>;
|
|
2192
|
+
export type PublisherSourcingAccessLazyQueryHookResult = ReturnType<typeof usePublisherSourcingAccessLazyQuery>;
|
|
2193
|
+
export type PublisherSourcingAccessSuspenseQueryHookResult = ReturnType<typeof usePublisherSourcingAccessSuspenseQuery>;
|
|
2194
|
+
export type PublisherSourcingAccessQueryResult = Apollo.QueryResult<Types.PublisherSourcingAccessQuery, Types.PublisherSourcingAccessQueryVariables>;
|
|
2195
|
+
export declare const PublisherSourcingProductsDocument: Apollo.DocumentNode;
|
|
2196
|
+
/**
|
|
2197
|
+
* __usePublisherSourcingProductsQuery__
|
|
2198
|
+
*
|
|
2199
|
+
* To run a query within a React component, call `usePublisherSourcingProductsQuery` and pass it any options that fit your needs.
|
|
2200
|
+
* When your component renders, `usePublisherSourcingProductsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2201
|
+
* you can use to render your UI.
|
|
2202
|
+
*
|
|
2203
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
2204
|
+
*
|
|
2205
|
+
* @example
|
|
2206
|
+
* const { data, loading, error } = usePublisherSourcingProductsQuery({
|
|
2207
|
+
* variables: {
|
|
2208
|
+
* },
|
|
2209
|
+
* });
|
|
2210
|
+
*/
|
|
2211
|
+
export declare function usePublisherSourcingProductsQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.PublisherSourcingProductsQuery, Types.PublisherSourcingProductsQueryVariables>): ApolloReactHooks.useQuery.Result<Types.PublisherSourcingProductsQuery, Types.PublisherSourcingProductsQueryVariables, "empty" | "complete" | "streaming", Types.PublisherSourcingProductsQueryVariables>;
|
|
2212
|
+
export declare function usePublisherSourcingProductsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.PublisherSourcingProductsQuery, Types.PublisherSourcingProductsQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.PublisherSourcingProductsQuery, Types.PublisherSourcingProductsQueryVariables, "empty" | "complete" | "streaming">;
|
|
2213
|
+
export declare function usePublisherSourcingProductsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.PublisherSourcingProductsQuery, Types.PublisherSourcingProductsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.PublisherSourcingProductsQuery, Types.PublisherSourcingProductsQueryVariables>;
|
|
2214
|
+
export declare function usePublisherSourcingProductsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.PublisherSourcingProductsQuery, Types.PublisherSourcingProductsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.PublisherSourcingProductsQuery | undefined, Types.PublisherSourcingProductsQueryVariables>;
|
|
2215
|
+
export type PublisherSourcingProductsQueryHookResult = ReturnType<typeof usePublisherSourcingProductsQuery>;
|
|
2216
|
+
export type PublisherSourcingProductsLazyQueryHookResult = ReturnType<typeof usePublisherSourcingProductsLazyQuery>;
|
|
2217
|
+
export type PublisherSourcingProductsSuspenseQueryHookResult = ReturnType<typeof usePublisherSourcingProductsSuspenseQuery>;
|
|
2218
|
+
export type PublisherSourcingProductsQueryResult = Apollo.QueryResult<Types.PublisherSourcingProductsQuery, Types.PublisherSourcingProductsQueryVariables>;
|
|
1590
2219
|
export declare const SearchSuggestionsDocument: Apollo.DocumentNode;
|
|
1591
2220
|
/**
|
|
1592
2221
|
* __useSearchSuggestionsQuery__
|
|
@@ -1618,6 +2247,90 @@ export type SearchSuggestionsQueryHookResult = ReturnType<typeof useSearchSugges
|
|
|
1618
2247
|
export type SearchSuggestionsLazyQueryHookResult = ReturnType<typeof useSearchSuggestionsLazyQuery>;
|
|
1619
2248
|
export type SearchSuggestionsSuspenseQueryHookResult = ReturnType<typeof useSearchSuggestionsSuspenseQuery>;
|
|
1620
2249
|
export type SearchSuggestionsQueryResult = Apollo.QueryResult<Types.SearchSuggestionsQuery, Types.SearchSuggestionsQueryVariables>;
|
|
2250
|
+
export declare const SellerSourcingOffersDocument: Apollo.DocumentNode;
|
|
2251
|
+
/**
|
|
2252
|
+
* __useSellerSourcingOffersQuery__
|
|
2253
|
+
*
|
|
2254
|
+
* To run a query within a React component, call `useSellerSourcingOffersQuery` and pass it any options that fit your needs.
|
|
2255
|
+
* When your component renders, `useSellerSourcingOffersQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2256
|
+
* you can use to render your UI.
|
|
2257
|
+
*
|
|
2258
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
2259
|
+
*
|
|
2260
|
+
* @example
|
|
2261
|
+
* const { data, loading, error } = useSellerSourcingOffersQuery({
|
|
2262
|
+
* variables: {
|
|
2263
|
+
* status: // value for 'status'
|
|
2264
|
+
* limit: // value for 'limit'
|
|
2265
|
+
* offset: // value for 'offset'
|
|
2266
|
+
* },
|
|
2267
|
+
* });
|
|
2268
|
+
*/
|
|
2269
|
+
export declare function useSellerSourcingOffersQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.SellerSourcingOffersQuery, Types.SellerSourcingOffersQueryVariables>): ApolloReactHooks.useQuery.Result<Types.SellerSourcingOffersQuery, Types.SellerSourcingOffersQueryVariables, "empty" | "complete" | "streaming", Types.SellerSourcingOffersQueryVariables>;
|
|
2270
|
+
export declare function useSellerSourcingOffersLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.SellerSourcingOffersQuery, Types.SellerSourcingOffersQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.SellerSourcingOffersQuery, Types.SellerSourcingOffersQueryVariables, "empty" | "complete" | "streaming">;
|
|
2271
|
+
export declare function useSellerSourcingOffersSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.SellerSourcingOffersQuery, Types.SellerSourcingOffersQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.SellerSourcingOffersQuery, Types.SellerSourcingOffersQueryVariables>;
|
|
2272
|
+
export declare function useSellerSourcingOffersSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.SellerSourcingOffersQuery, Types.SellerSourcingOffersQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.SellerSourcingOffersQuery | undefined, Types.SellerSourcingOffersQueryVariables>;
|
|
2273
|
+
export type SellerSourcingOffersQueryHookResult = ReturnType<typeof useSellerSourcingOffersQuery>;
|
|
2274
|
+
export type SellerSourcingOffersLazyQueryHookResult = ReturnType<typeof useSellerSourcingOffersLazyQuery>;
|
|
2275
|
+
export type SellerSourcingOffersSuspenseQueryHookResult = ReturnType<typeof useSellerSourcingOffersSuspenseQuery>;
|
|
2276
|
+
export type SellerSourcingOffersQueryResult = Apollo.QueryResult<Types.SellerSourcingOffersQuery, Types.SellerSourcingOffersQueryVariables>;
|
|
2277
|
+
export declare const SellerSourcingOpportunitiesDocument: Apollo.DocumentNode;
|
|
2278
|
+
/**
|
|
2279
|
+
* __useSellerSourcingOpportunitiesQuery__
|
|
2280
|
+
*
|
|
2281
|
+
* To run a query within a React component, call `useSellerSourcingOpportunitiesQuery` and pass it any options that fit your needs.
|
|
2282
|
+
* When your component renders, `useSellerSourcingOpportunitiesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2283
|
+
* you can use to render your UI.
|
|
2284
|
+
*
|
|
2285
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
2286
|
+
*
|
|
2287
|
+
* @example
|
|
2288
|
+
* const { data, loading, error } = useSellerSourcingOpportunitiesQuery({
|
|
2289
|
+
* variables: {
|
|
2290
|
+
* category: // value for 'category'
|
|
2291
|
+
* limit: // value for 'limit'
|
|
2292
|
+
* offset: // value for 'offset'
|
|
2293
|
+
* },
|
|
2294
|
+
* });
|
|
2295
|
+
*/
|
|
2296
|
+
export declare function useSellerSourcingOpportunitiesQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.SellerSourcingOpportunitiesQuery, Types.SellerSourcingOpportunitiesQueryVariables>): ApolloReactHooks.useQuery.Result<Types.SellerSourcingOpportunitiesQuery, Types.SellerSourcingOpportunitiesQueryVariables, "empty" | "complete" | "streaming", Types.SellerSourcingOpportunitiesQueryVariables>;
|
|
2297
|
+
export declare function useSellerSourcingOpportunitiesLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.SellerSourcingOpportunitiesQuery, Types.SellerSourcingOpportunitiesQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.SellerSourcingOpportunitiesQuery, Types.SellerSourcingOpportunitiesQueryVariables, "empty" | "complete" | "streaming">;
|
|
2298
|
+
export declare function useSellerSourcingOpportunitiesSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.SellerSourcingOpportunitiesQuery, Types.SellerSourcingOpportunitiesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.SellerSourcingOpportunitiesQuery, Types.SellerSourcingOpportunitiesQueryVariables>;
|
|
2299
|
+
export declare function useSellerSourcingOpportunitiesSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.SellerSourcingOpportunitiesQuery, Types.SellerSourcingOpportunitiesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.SellerSourcingOpportunitiesQuery | undefined, Types.SellerSourcingOpportunitiesQueryVariables>;
|
|
2300
|
+
export type SellerSourcingOpportunitiesQueryHookResult = ReturnType<typeof useSellerSourcingOpportunitiesQuery>;
|
|
2301
|
+
export type SellerSourcingOpportunitiesLazyQueryHookResult = ReturnType<typeof useSellerSourcingOpportunitiesLazyQuery>;
|
|
2302
|
+
export type SellerSourcingOpportunitiesSuspenseQueryHookResult = ReturnType<typeof useSellerSourcingOpportunitiesSuspenseQuery>;
|
|
2303
|
+
export type SellerSourcingOpportunitiesQueryResult = Apollo.QueryResult<Types.SellerSourcingOpportunitiesQuery, Types.SellerSourcingOpportunitiesQueryVariables>;
|
|
2304
|
+
export declare const SellerSourcingOpportunityDocument: Apollo.DocumentNode;
|
|
2305
|
+
/**
|
|
2306
|
+
* __useSellerSourcingOpportunityQuery__
|
|
2307
|
+
*
|
|
2308
|
+
* To run a query within a React component, call `useSellerSourcingOpportunityQuery` and pass it any options that fit your needs.
|
|
2309
|
+
* When your component renders, `useSellerSourcingOpportunityQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2310
|
+
* you can use to render your UI.
|
|
2311
|
+
*
|
|
2312
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
2313
|
+
*
|
|
2314
|
+
* @example
|
|
2315
|
+
* const { data, loading, error } = useSellerSourcingOpportunityQuery({
|
|
2316
|
+
* variables: {
|
|
2317
|
+
* id: // value for 'id'
|
|
2318
|
+
* },
|
|
2319
|
+
* });
|
|
2320
|
+
*/
|
|
2321
|
+
export declare function useSellerSourcingOpportunityQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.SellerSourcingOpportunityQuery, Types.SellerSourcingOpportunityQueryVariables> & ({
|
|
2322
|
+
variables: Types.SellerSourcingOpportunityQueryVariables;
|
|
2323
|
+
skip?: boolean;
|
|
2324
|
+
} | {
|
|
2325
|
+
skip: boolean;
|
|
2326
|
+
})): ApolloReactHooks.useQuery.Result<Types.SellerSourcingOpportunityQuery, Types.SellerSourcingOpportunityQueryVariables, "empty" | "complete" | "streaming", Types.SellerSourcingOpportunityQueryVariables>;
|
|
2327
|
+
export declare function useSellerSourcingOpportunityLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.SellerSourcingOpportunityQuery, Types.SellerSourcingOpportunityQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.SellerSourcingOpportunityQuery, Types.SellerSourcingOpportunityQueryVariables, "empty" | "complete" | "streaming">;
|
|
2328
|
+
export declare function useSellerSourcingOpportunitySuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.SellerSourcingOpportunityQuery, Types.SellerSourcingOpportunityQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.SellerSourcingOpportunityQuery, Types.SellerSourcingOpportunityQueryVariables>;
|
|
2329
|
+
export declare function useSellerSourcingOpportunitySuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.SellerSourcingOpportunityQuery, Types.SellerSourcingOpportunityQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.SellerSourcingOpportunityQuery | undefined, Types.SellerSourcingOpportunityQueryVariables>;
|
|
2330
|
+
export type SellerSourcingOpportunityQueryHookResult = ReturnType<typeof useSellerSourcingOpportunityQuery>;
|
|
2331
|
+
export type SellerSourcingOpportunityLazyQueryHookResult = ReturnType<typeof useSellerSourcingOpportunityLazyQuery>;
|
|
2332
|
+
export type SellerSourcingOpportunitySuspenseQueryHookResult = ReturnType<typeof useSellerSourcingOpportunitySuspenseQuery>;
|
|
2333
|
+
export type SellerSourcingOpportunityQueryResult = Apollo.QueryResult<Types.SellerSourcingOpportunityQuery, Types.SellerSourcingOpportunityQueryVariables>;
|
|
1621
2334
|
export declare const TrendingSearchesDocument: Apollo.DocumentNode;
|
|
1622
2335
|
/**
|
|
1623
2336
|
* __useTrendingSearchesQuery__
|