@bosonprotocol/core-sdk 1.12.0-alpha.0 → 1.12.0-alpha.10
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/cjs/accounts/handler.d.ts +43 -1
- package/dist/cjs/accounts/handler.d.ts.map +1 -1
- package/dist/cjs/accounts/handler.js +79 -1
- package/dist/cjs/accounts/handler.js.map +1 -1
- package/dist/cjs/accounts/index.d.ts +2 -0
- package/dist/cjs/accounts/index.d.ts.map +1 -1
- package/dist/cjs/accounts/interface.d.ts +26 -3
- package/dist/cjs/accounts/interface.d.ts.map +1 -1
- package/dist/cjs/accounts/interface.js +72 -4
- package/dist/cjs/accounts/interface.js.map +1 -1
- package/dist/cjs/accounts/subgraph.d.ts +4 -1
- package/dist/cjs/accounts/subgraph.d.ts.map +1 -1
- package/dist/cjs/accounts/subgraph.js +17 -1
- package/dist/cjs/accounts/subgraph.js.map +1 -1
- package/dist/cjs/accounts/types.d.ts +28 -1
- package/dist/cjs/accounts/types.d.ts.map +1 -1
- package/dist/cjs/core-sdk.d.ts +130 -7
- package/dist/cjs/core-sdk.d.ts.map +1 -1
- package/dist/cjs/core-sdk.js +335 -13
- package/dist/cjs/core-sdk.js.map +1 -1
- package/dist/cjs/disputes/handler.d.ts +61 -0
- package/dist/cjs/disputes/handler.d.ts.map +1 -0
- package/dist/cjs/disputes/handler.js +104 -0
- package/dist/cjs/disputes/handler.js.map +1 -0
- package/dist/cjs/disputes/index.d.ts +4 -0
- package/dist/cjs/disputes/index.d.ts.map +1 -0
- package/dist/cjs/disputes/index.js +30 -0
- package/dist/cjs/disputes/index.js.map +1 -0
- package/dist/cjs/disputes/interface.d.ts +30 -0
- package/dist/cjs/disputes/interface.d.ts.map +1 -0
- package/dist/cjs/disputes/interface.js +74 -0
- package/dist/cjs/disputes/interface.js.map +1 -0
- package/dist/cjs/disputes/subgraph.d.ts +6 -0
- package/dist/cjs/disputes/subgraph.d.ts.map +1 -0
- package/dist/cjs/disputes/subgraph.js +30 -0
- package/dist/cjs/disputes/subgraph.js.map +1 -0
- package/dist/cjs/offers/index.d.ts +1 -2
- package/dist/cjs/offers/index.d.ts.map +1 -1
- package/dist/cjs/offers/index.js +1 -0
- package/dist/cjs/offers/index.js.map +1 -1
- package/dist/cjs/offers/interface.d.ts +1 -0
- package/dist/cjs/offers/interface.d.ts.map +1 -1
- package/dist/cjs/offers/interface.js +2 -1
- package/dist/cjs/offers/interface.js.map +1 -1
- package/dist/cjs/offers/renderContractualAgreement.d.ts +41 -0
- package/dist/cjs/offers/renderContractualAgreement.d.ts.map +1 -0
- package/dist/cjs/offers/renderContractualAgreement.js +156 -0
- package/dist/cjs/offers/renderContractualAgreement.js.map +1 -0
- package/dist/cjs/offers/subgraph.d.ts.map +1 -1
- package/dist/cjs/offers/subgraph.js.map +1 -1
- package/dist/cjs/orchestration/interface.d.ts.map +1 -1
- package/dist/cjs/orchestration/interface.js +9 -2
- package/dist/cjs/orchestration/interface.js.map +1 -1
- package/dist/cjs/subgraph.d.ts +5892 -322
- package/dist/cjs/subgraph.d.ts.map +1 -1
- package/dist/cjs/subgraph.js +431 -169
- package/dist/cjs/subgraph.js.map +1 -1
- package/dist/cjs/utils/graphql.d.ts +38 -0
- package/dist/cjs/utils/graphql.d.ts.map +1 -1
- package/dist/cjs/utils/tokenInfoManager.d.ts +16 -0
- package/dist/cjs/utils/tokenInfoManager.d.ts.map +1 -0
- package/dist/cjs/utils/tokenInfoManager.js +97 -0
- package/dist/cjs/utils/tokenInfoManager.js.map +1 -0
- package/dist/esm/accounts/handler.d.ts +43 -1
- package/dist/esm/accounts/handler.d.ts.map +1 -1
- package/dist/esm/accounts/handler.js +62 -1
- package/dist/esm/accounts/handler.js.map +1 -1
- package/dist/esm/accounts/index.d.ts +2 -0
- package/dist/esm/accounts/index.d.ts.map +1 -1
- package/dist/esm/accounts/interface.d.ts +26 -3
- package/dist/esm/accounts/interface.d.ts.map +1 -1
- package/dist/esm/accounts/interface.js +57 -4
- package/dist/esm/accounts/interface.js.map +1 -1
- package/dist/esm/accounts/subgraph.d.ts +4 -1
- package/dist/esm/accounts/subgraph.d.ts.map +1 -1
- package/dist/esm/accounts/subgraph.js +13 -0
- package/dist/esm/accounts/subgraph.js.map +1 -1
- package/dist/esm/accounts/types.d.ts +28 -1
- package/dist/esm/accounts/types.d.ts.map +1 -1
- package/dist/esm/core-sdk.d.ts +130 -7
- package/dist/esm/core-sdk.d.ts.map +1 -1
- package/dist/esm/core-sdk.js +289 -13
- package/dist/esm/core-sdk.js.map +1 -1
- package/dist/esm/disputes/handler.d.ts +61 -0
- package/dist/esm/disputes/handler.d.ts.map +1 -0
- package/dist/esm/disputes/handler.js +62 -0
- package/dist/esm/disputes/handler.js.map +1 -0
- package/dist/esm/disputes/index.d.ts +4 -0
- package/dist/esm/disputes/index.d.ts.map +1 -0
- package/dist/esm/disputes/index.js +4 -0
- package/dist/esm/disputes/index.js.map +1 -0
- package/dist/esm/disputes/interface.d.ts +30 -0
- package/dist/esm/disputes/interface.d.ts.map +1 -0
- package/dist/esm/disputes/interface.js +61 -0
- package/dist/esm/disputes/interface.js.map +1 -0
- package/dist/esm/disputes/subgraph.d.ts +6 -0
- package/dist/esm/disputes/subgraph.d.ts.map +1 -0
- package/dist/esm/disputes/subgraph.js +15 -0
- package/dist/esm/disputes/subgraph.js.map +1 -0
- package/dist/esm/offers/index.d.ts +1 -2
- package/dist/esm/offers/index.d.ts.map +1 -1
- package/dist/esm/offers/index.js +1 -0
- package/dist/esm/offers/index.js.map +1 -1
- package/dist/esm/offers/interface.d.ts +1 -0
- package/dist/esm/offers/interface.d.ts.map +1 -1
- package/dist/esm/offers/interface.js +2 -1
- package/dist/esm/offers/interface.js.map +1 -1
- package/dist/esm/offers/renderContractualAgreement.d.ts +41 -0
- package/dist/esm/offers/renderContractualAgreement.d.ts.map +1 -0
- package/dist/esm/offers/renderContractualAgreement.js +132 -0
- package/dist/esm/offers/renderContractualAgreement.js.map +1 -0
- package/dist/esm/offers/subgraph.d.ts.map +1 -1
- package/dist/esm/offers/subgraph.js.map +1 -1
- package/dist/esm/orchestration/interface.d.ts.map +1 -1
- package/dist/esm/orchestration/interface.js +9 -2
- package/dist/esm/orchestration/interface.js.map +1 -1
- package/dist/esm/subgraph.d.ts +5892 -322
- package/dist/esm/subgraph.d.ts.map +1 -1
- package/dist/esm/subgraph.js +429 -167
- package/dist/esm/subgraph.js.map +1 -1
- package/dist/esm/utils/graphql.d.ts +38 -0
- package/dist/esm/utils/graphql.d.ts.map +1 -1
- package/dist/esm/utils/tokenInfoManager.d.ts +16 -0
- package/dist/esm/utils/tokenInfoManager.d.ts.map +1 -0
- package/dist/esm/utils/tokenInfoManager.js +83 -0
- package/dist/esm/utils/tokenInfoManager.js.map +1 -0
- package/package.json +6 -4
- package/src/accounts/handler.ts +137 -4
- package/src/accounts/interface.ts +111 -8
- package/src/accounts/queries.graphql +87 -0
- package/src/accounts/subgraph.ts +34 -2
- package/src/accounts/types.ts +34 -1
- package/src/core-sdk.ts +420 -18
- package/src/disputes/handler.ts +132 -0
- package/src/disputes/index.ts +3 -0
- package/src/disputes/interface.ts +90 -0
- package/src/disputes/queries.graphql +56 -0
- package/src/disputes/subgraph.ts +34 -0
- package/src/metadata/product-v1.graphql +3 -0
- package/src/offers/index.ts +1 -0
- package/src/offers/interface.ts +3 -1
- package/src/offers/queries.graphql +37 -0
- package/src/offers/renderContractualAgreement.ts +203 -0
- package/src/offers/subgraph.ts +0 -1
- package/src/orchestration/interface.ts +9 -2
- package/src/subgraph.ts +6097 -293
- package/src/utils/tokenInfoManager.ts +97 -0
package/dist/cjs/subgraph.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.getSdk = exports.GetOffersQueryDocument = exports.GetOfferByIdQueryDocument = exports.GetProductV1MetadataEntitiesQueryDocument = exports.GetProductV1MetadataEntityByIdQueryDocument = exports.GetProductV1CategoriesQueryDocument = exports.GetProductV1BrandsQueryDocument = exports.GetBaseMetadataEntitiesQueryDocument = exports.GetBaseMetadataEntityByIdQueryDocument = exports.GetFundsDocument = exports.GetFundsByIdDocument = exports.GetExchangesQueryDocument = exports.GetExchangeByIdQueryDocument = exports.GetExchangeTokensQueryDocument = exports.GetExchangeTokenByIdQueryDocument = exports.GetBuyersQueryDocument = exports.GetBuyerByIdQueryDocument = exports.GetSellersQueryDocument = exports.GetSellerByIdQueryDocument = exports.OfferFieldsFragmentDoc = exports.BaseProductV1ProductOverridesFieldsFragmentDoc = exports.
|
|
3
|
+
exports.BaseProductV1ProductFieldsFragmentDoc = exports.BaseProductV1MediaFieldsFragmentDoc = exports.BaseProductV1PersonalisationFieldsFragmentDoc = exports.BaseProductV1SectionFieldsFragmentDoc = exports.BaseProductV1TagFieldsFragmentDoc = exports.BaseProductV1CategoryFieldsFragmentDoc = exports.BaseProductV1BrandFieldsFragmentDoc = exports.BaseDisputeResolutionTermsEntityFieldsFragmentDoc = exports.BaseDisputeResolverFieldsFragmentDoc = exports.BaseDisputeResolverFeeFieldsFragmentDoc = exports.FundsEntityFieldsFragmentDoc = exports.BaseExchangeTokenFieldsFragmentDoc = exports.BaseFundsEntityFieldsFragmentDoc = exports.BaseSellerFieldsFragmentDoc = exports._SubgraphErrorPolicy_ = exports.Seller_OrderBy = exports.ProductV1Variation_OrderBy = exports.ProductV1Tag_OrderBy = exports.ProductV1ShippingOption_OrderBy = exports.ProductV1ShippingJurisdiction_OrderBy = exports.ProductV1Seller_OrderBy = exports.ProductV1SellerContactLink_OrderBy = exports.ProductV1Section_OrderBy = exports.ProductV1Product_OrderBy = exports.ProductV1ProductOverrides_OrderBy = exports.ProductV1Personalisation_OrderBy = exports.ProductV1OfferCategory = exports.ProductV1MetadataEntity_OrderBy = exports.ProductV1Media_OrderBy = exports.ProductV1MediaType = exports.ProductV1ExchangePolicy_OrderBy = exports.ProductV1Category_OrderBy = exports.ProductV1Brand_OrderBy = exports.OrderDirection = exports.Offer_OrderBy = exports.MetadataType = exports.MetadataInterface_OrderBy = exports.MetadataAttribute_OrderBy = exports.FundsEntity_OrderBy = exports.Exchange_OrderBy = exports.ExchangeToken_OrderBy = exports.ExchangeState = exports.Dispute_OrderBy = exports.DisputeState = exports.DisputeResolver_OrderBy = exports.DisputeResolverFee_OrderBy = exports.DisputeResolutionTermsEntity_OrderBy = exports.Buyer_OrderBy = exports.BaseMetadataEntity_OrderBy = exports.Account_OrderBy = void 0;
|
|
4
|
+
exports.getSdk = exports.GetOffersQueryDocument = exports.GetOfferByIdQueryDocument = exports.GetProductV1MetadataEntitiesQueryDocument = exports.GetProductV1MetadataEntityByIdQueryDocument = exports.GetProductV1CategoriesQueryDocument = exports.GetProductV1BrandsQueryDocument = exports.GetBaseMetadataEntitiesQueryDocument = exports.GetBaseMetadataEntityByIdQueryDocument = exports.GetFundsDocument = exports.GetFundsByIdDocument = exports.GetExchangesQueryDocument = exports.GetExchangeByIdQueryDocument = exports.GetExchangeTokensQueryDocument = exports.GetExchangeTokenByIdQueryDocument = exports.GetDisputesQueryDocument = exports.GetDisputeByIdQueryDocument = exports.GetDisputeResolversQueryDocument = exports.GetDisputeResolverByIdQueryDocument = exports.GetBuyersQueryDocument = exports.GetBuyerByIdQueryDocument = exports.GetSellersQueryDocument = exports.GetSellerByIdQueryDocument = exports.OfferFieldsFragmentDoc = exports.BaseProductV1ProductOverridesFieldsFragmentDoc = exports.ProductV1MetadataEntityFieldsFragmentDoc = exports.BaseProductV1MetadataEntityFieldsFragmentDoc = exports.BaseMetadataEntityFieldsFragmentDoc = exports.BaseBaseMetadataEntityFieldsFragmentDoc = exports.ExchangeFieldsFragmentDoc = exports.ExchangeTokenFieldsFragmentDoc = exports.DisputeFieldsFragmentDoc = exports.BaseDisputeFieldsFragmentDoc = exports.DisputeResolverFieldsFragmentDoc = exports.BuyerFieldsFragmentDoc = exports.BaseBuyerFieldsFragmentDoc = exports.SellerFieldsFragmentDoc = exports.BaseExchangeFieldsFragmentDoc = exports.BaseOfferFieldsFragmentDoc = exports.BaseProductV1ShippingOptionFieldsFragmentDoc = exports.BaseProductV1ShippingJurisdictionFieldsFragmentDoc = exports.BaseProductV1ExchangePolicyFieldsFragmentDoc = exports.BaseProductV1SellerFieldsFragmentDoc = exports.BaseProductV1SellerContactLinkFieldsFragmentDoc = exports.BaseProductV1VariationFieldsFragmentDoc = void 0;
|
|
5
5
|
const graphql_request_1 = require("graphql-request");
|
|
6
6
|
var Account_OrderBy;
|
|
7
7
|
(function (Account_OrderBy) {
|
|
@@ -59,12 +59,42 @@ var DisputeResolver_OrderBy;
|
|
|
59
59
|
DisputeResolver_OrderBy["Admin"] = "admin";
|
|
60
60
|
DisputeResolver_OrderBy["Clerk"] = "clerk";
|
|
61
61
|
DisputeResolver_OrderBy["EscalationResponsePeriod"] = "escalationResponsePeriod";
|
|
62
|
+
DisputeResolver_OrderBy["Fees"] = "fees";
|
|
62
63
|
DisputeResolver_OrderBy["Id"] = "id";
|
|
63
64
|
DisputeResolver_OrderBy["MetadataUri"] = "metadataUri";
|
|
64
65
|
DisputeResolver_OrderBy["Offers"] = "offers";
|
|
65
66
|
DisputeResolver_OrderBy["Operator"] = "operator";
|
|
67
|
+
DisputeResolver_OrderBy["SellerAllowList"] = "sellerAllowList";
|
|
66
68
|
DisputeResolver_OrderBy["Treasury"] = "treasury";
|
|
67
69
|
})(DisputeResolver_OrderBy = exports.DisputeResolver_OrderBy || (exports.DisputeResolver_OrderBy = {}));
|
|
70
|
+
/**
|
|
71
|
+
* Disputes
|
|
72
|
+
*
|
|
73
|
+
*/
|
|
74
|
+
var DisputeState;
|
|
75
|
+
(function (DisputeState) {
|
|
76
|
+
DisputeState["Decided"] = "DECIDED";
|
|
77
|
+
DisputeState["Escalated"] = "ESCALATED";
|
|
78
|
+
DisputeState["Refused"] = "REFUSED";
|
|
79
|
+
DisputeState["Resolved"] = "RESOLVED";
|
|
80
|
+
DisputeState["Resolving"] = "RESOLVING";
|
|
81
|
+
DisputeState["Retracted"] = "RETRACTED";
|
|
82
|
+
})(DisputeState = exports.DisputeState || (exports.DisputeState = {}));
|
|
83
|
+
var Dispute_OrderBy;
|
|
84
|
+
(function (Dispute_OrderBy) {
|
|
85
|
+
Dispute_OrderBy["Buyer"] = "buyer";
|
|
86
|
+
Dispute_OrderBy["BuyerPercent"] = "buyerPercent";
|
|
87
|
+
Dispute_OrderBy["Complaint"] = "complaint";
|
|
88
|
+
Dispute_OrderBy["DisputedDate"] = "disputedDate";
|
|
89
|
+
Dispute_OrderBy["EscalatedDate"] = "escalatedDate";
|
|
90
|
+
Dispute_OrderBy["Exchange"] = "exchange";
|
|
91
|
+
Dispute_OrderBy["ExchangeId"] = "exchangeId";
|
|
92
|
+
Dispute_OrderBy["FinalizedDate"] = "finalizedDate";
|
|
93
|
+
Dispute_OrderBy["Id"] = "id";
|
|
94
|
+
Dispute_OrderBy["Seller"] = "seller";
|
|
95
|
+
Dispute_OrderBy["State"] = "state";
|
|
96
|
+
Dispute_OrderBy["Timeout"] = "timeout";
|
|
97
|
+
})(Dispute_OrderBy = exports.Dispute_OrderBy || (exports.Dispute_OrderBy = {}));
|
|
68
98
|
/**
|
|
69
99
|
* Exchange and Voucher
|
|
70
100
|
*
|
|
@@ -74,6 +104,7 @@ var ExchangeState;
|
|
|
74
104
|
ExchangeState["Cancelled"] = "CANCELLED";
|
|
75
105
|
ExchangeState["Committed"] = "COMMITTED";
|
|
76
106
|
ExchangeState["Completed"] = "COMPLETED";
|
|
107
|
+
ExchangeState["Disputed"] = "DISPUTED";
|
|
77
108
|
ExchangeState["Redeemed"] = "REDEEMED";
|
|
78
109
|
ExchangeState["Revoked"] = "REVOKED";
|
|
79
110
|
})(ExchangeState = exports.ExchangeState || (exports.ExchangeState = {}));
|
|
@@ -146,6 +177,8 @@ var MetadataType;
|
|
|
146
177
|
})(MetadataType = exports.MetadataType || (exports.MetadataType = {}));
|
|
147
178
|
var Offer_OrderBy;
|
|
148
179
|
(function (Offer_OrderBy) {
|
|
180
|
+
Offer_OrderBy["AgentFee"] = "agentFee";
|
|
181
|
+
Offer_OrderBy["AgentId"] = "agentId";
|
|
149
182
|
Offer_OrderBy["BuyerCancelPenalty"] = "buyerCancelPenalty";
|
|
150
183
|
Offer_OrderBy["CreatedAt"] = "createdAt";
|
|
151
184
|
Offer_OrderBy["DisputeResolutionTerms"] = "disputeResolutionTerms";
|
|
@@ -365,6 +398,8 @@ var Seller_OrderBy;
|
|
|
365
398
|
(function (Seller_OrderBy) {
|
|
366
399
|
Seller_OrderBy["Active"] = "active";
|
|
367
400
|
Seller_OrderBy["Admin"] = "admin";
|
|
401
|
+
Seller_OrderBy["AuthTokenId"] = "authTokenId";
|
|
402
|
+
Seller_OrderBy["AuthTokenType"] = "authTokenType";
|
|
368
403
|
Seller_OrderBy["Clerk"] = "clerk";
|
|
369
404
|
Seller_OrderBy["Exchanges"] = "exchanges";
|
|
370
405
|
Seller_OrderBy["Funds"] = "funds";
|
|
@@ -373,6 +408,7 @@ var Seller_OrderBy;
|
|
|
373
408
|
Seller_OrderBy["Operator"] = "operator";
|
|
374
409
|
Seller_OrderBy["SellerId"] = "sellerId";
|
|
375
410
|
Seller_OrderBy["Treasury"] = "treasury";
|
|
411
|
+
Seller_OrderBy["VoucherCloneAddress"] = "voucherCloneAddress";
|
|
376
412
|
})(Seller_OrderBy = exports.Seller_OrderBy || (exports.Seller_OrderBy = {}));
|
|
377
413
|
var _SubgraphErrorPolicy_;
|
|
378
414
|
(function (_SubgraphErrorPolicy_) {
|
|
@@ -388,6 +424,9 @@ exports.BaseSellerFieldsFragmentDoc = (0, graphql_request_1.gql) `
|
|
|
388
424
|
admin
|
|
389
425
|
clerk
|
|
390
426
|
treasury
|
|
427
|
+
authTokenId
|
|
428
|
+
authTokenType
|
|
429
|
+
voucherCloneAddress
|
|
391
430
|
active
|
|
392
431
|
}
|
|
393
432
|
`;
|
|
@@ -417,6 +456,211 @@ exports.FundsEntityFieldsFragmentDoc = (0, graphql_request_1.gql) `
|
|
|
417
456
|
${exports.BaseFundsEntityFieldsFragmentDoc}
|
|
418
457
|
${exports.BaseExchangeTokenFieldsFragmentDoc}
|
|
419
458
|
`;
|
|
459
|
+
exports.BaseDisputeResolverFeeFieldsFragmentDoc = (0, graphql_request_1.gql) `
|
|
460
|
+
fragment BaseDisputeResolverFeeFields on DisputeResolverFee {
|
|
461
|
+
id
|
|
462
|
+
tokenAddress
|
|
463
|
+
tokenName
|
|
464
|
+
token {
|
|
465
|
+
...BaseExchangeTokenFields
|
|
466
|
+
}
|
|
467
|
+
feeAmount
|
|
468
|
+
}
|
|
469
|
+
${exports.BaseExchangeTokenFieldsFragmentDoc}
|
|
470
|
+
`;
|
|
471
|
+
exports.BaseDisputeResolverFieldsFragmentDoc = (0, graphql_request_1.gql) `
|
|
472
|
+
fragment BaseDisputeResolverFields on DisputeResolver {
|
|
473
|
+
id
|
|
474
|
+
escalationResponsePeriod
|
|
475
|
+
admin
|
|
476
|
+
clerk
|
|
477
|
+
treasury
|
|
478
|
+
operator
|
|
479
|
+
metadataUri
|
|
480
|
+
active
|
|
481
|
+
sellerAllowList
|
|
482
|
+
fees {
|
|
483
|
+
...BaseDisputeResolverFeeFields
|
|
484
|
+
}
|
|
485
|
+
}
|
|
486
|
+
${exports.BaseDisputeResolverFeeFieldsFragmentDoc}
|
|
487
|
+
`;
|
|
488
|
+
exports.BaseDisputeResolutionTermsEntityFieldsFragmentDoc = (0, graphql_request_1.gql) `
|
|
489
|
+
fragment BaseDisputeResolutionTermsEntityFields on DisputeResolutionTermsEntity {
|
|
490
|
+
id
|
|
491
|
+
disputeResolverId
|
|
492
|
+
escalationResponsePeriod
|
|
493
|
+
feeAmount
|
|
494
|
+
buyerEscalationDeposit
|
|
495
|
+
}
|
|
496
|
+
`;
|
|
497
|
+
exports.BaseProductV1BrandFieldsFragmentDoc = (0, graphql_request_1.gql) `
|
|
498
|
+
fragment BaseProductV1BrandFields on ProductV1Brand {
|
|
499
|
+
id
|
|
500
|
+
name
|
|
501
|
+
}
|
|
502
|
+
`;
|
|
503
|
+
exports.BaseProductV1CategoryFieldsFragmentDoc = (0, graphql_request_1.gql) `
|
|
504
|
+
fragment BaseProductV1CategoryFields on ProductV1Category {
|
|
505
|
+
id
|
|
506
|
+
name
|
|
507
|
+
}
|
|
508
|
+
`;
|
|
509
|
+
exports.BaseProductV1TagFieldsFragmentDoc = (0, graphql_request_1.gql) `
|
|
510
|
+
fragment BaseProductV1TagFields on ProductV1Tag {
|
|
511
|
+
id
|
|
512
|
+
name
|
|
513
|
+
}
|
|
514
|
+
`;
|
|
515
|
+
exports.BaseProductV1SectionFieldsFragmentDoc = (0, graphql_request_1.gql) `
|
|
516
|
+
fragment BaseProductV1SectionFields on ProductV1Section {
|
|
517
|
+
id
|
|
518
|
+
name
|
|
519
|
+
}
|
|
520
|
+
`;
|
|
521
|
+
exports.BaseProductV1PersonalisationFieldsFragmentDoc = (0, graphql_request_1.gql) `
|
|
522
|
+
fragment BaseProductV1PersonalisationFields on ProductV1Personalisation {
|
|
523
|
+
id
|
|
524
|
+
name
|
|
525
|
+
}
|
|
526
|
+
`;
|
|
527
|
+
exports.BaseProductV1MediaFieldsFragmentDoc = (0, graphql_request_1.gql) `
|
|
528
|
+
fragment BaseProductV1MediaFields on ProductV1Media {
|
|
529
|
+
id
|
|
530
|
+
url
|
|
531
|
+
tag
|
|
532
|
+
type
|
|
533
|
+
}
|
|
534
|
+
`;
|
|
535
|
+
exports.BaseProductV1ProductFieldsFragmentDoc = (0, graphql_request_1.gql) `
|
|
536
|
+
fragment BaseProductV1ProductFields on ProductV1Product {
|
|
537
|
+
id
|
|
538
|
+
uuid
|
|
539
|
+
version
|
|
540
|
+
title
|
|
541
|
+
description
|
|
542
|
+
identification_sKU
|
|
543
|
+
identification_productId
|
|
544
|
+
identification_productIdType
|
|
545
|
+
productionInformation_brandName
|
|
546
|
+
brand {
|
|
547
|
+
...BaseProductV1BrandFields
|
|
548
|
+
}
|
|
549
|
+
productionInformation_manufacturer
|
|
550
|
+
productionInformation_manufacturerPartNumber
|
|
551
|
+
productionInformation_modelNumber
|
|
552
|
+
productionInformation_materials
|
|
553
|
+
details_category
|
|
554
|
+
category {
|
|
555
|
+
...BaseProductV1CategoryFields
|
|
556
|
+
}
|
|
557
|
+
details_subCategory
|
|
558
|
+
subCategory {
|
|
559
|
+
...BaseProductV1CategoryFields
|
|
560
|
+
}
|
|
561
|
+
details_subCategory2
|
|
562
|
+
subCategory2 {
|
|
563
|
+
...BaseProductV1CategoryFields
|
|
564
|
+
}
|
|
565
|
+
details_offerCategory
|
|
566
|
+
offerCategory
|
|
567
|
+
details_tags
|
|
568
|
+
tags {
|
|
569
|
+
...BaseProductV1TagFields
|
|
570
|
+
}
|
|
571
|
+
details_sections
|
|
572
|
+
sections {
|
|
573
|
+
...BaseProductV1SectionFields
|
|
574
|
+
}
|
|
575
|
+
details_personalisation
|
|
576
|
+
personalisation {
|
|
577
|
+
...BaseProductV1PersonalisationFields
|
|
578
|
+
}
|
|
579
|
+
visuals_images {
|
|
580
|
+
...BaseProductV1MediaFields
|
|
581
|
+
}
|
|
582
|
+
visuals_videos {
|
|
583
|
+
...BaseProductV1MediaFields
|
|
584
|
+
}
|
|
585
|
+
packaging_packageQuantity
|
|
586
|
+
packaging_dimensions_length
|
|
587
|
+
packaging_dimensions_width
|
|
588
|
+
packaging_dimensions_height
|
|
589
|
+
packaging_dimensions_unit
|
|
590
|
+
packaging_weight_value
|
|
591
|
+
packaging_weight_unit
|
|
592
|
+
}
|
|
593
|
+
${exports.BaseProductV1BrandFieldsFragmentDoc}
|
|
594
|
+
${exports.BaseProductV1CategoryFieldsFragmentDoc}
|
|
595
|
+
${exports.BaseProductV1TagFieldsFragmentDoc}
|
|
596
|
+
${exports.BaseProductV1SectionFieldsFragmentDoc}
|
|
597
|
+
${exports.BaseProductV1PersonalisationFieldsFragmentDoc}
|
|
598
|
+
${exports.BaseProductV1MediaFieldsFragmentDoc}
|
|
599
|
+
`;
|
|
600
|
+
exports.BaseProductV1VariationFieldsFragmentDoc = (0, graphql_request_1.gql) `
|
|
601
|
+
fragment BaseProductV1VariationFields on ProductV1Variation {
|
|
602
|
+
id
|
|
603
|
+
type
|
|
604
|
+
option
|
|
605
|
+
}
|
|
606
|
+
`;
|
|
607
|
+
exports.BaseProductV1SellerContactLinkFieldsFragmentDoc = (0, graphql_request_1.gql) `
|
|
608
|
+
fragment BaseProductV1SellerContactLinkFields on ProductV1SellerContactLink {
|
|
609
|
+
id
|
|
610
|
+
url
|
|
611
|
+
tag
|
|
612
|
+
}
|
|
613
|
+
`;
|
|
614
|
+
exports.BaseProductV1SellerFieldsFragmentDoc = (0, graphql_request_1.gql) `
|
|
615
|
+
fragment BaseProductV1SellerFields on ProductV1Seller {
|
|
616
|
+
id
|
|
617
|
+
defaultVersion
|
|
618
|
+
name
|
|
619
|
+
description
|
|
620
|
+
externalUrl
|
|
621
|
+
tokenId
|
|
622
|
+
images {
|
|
623
|
+
...BaseProductV1MediaFields
|
|
624
|
+
}
|
|
625
|
+
contactLinks {
|
|
626
|
+
...BaseProductV1SellerContactLinkFields
|
|
627
|
+
}
|
|
628
|
+
seller {
|
|
629
|
+
...BaseSellerFields
|
|
630
|
+
}
|
|
631
|
+
}
|
|
632
|
+
${exports.BaseProductV1MediaFieldsFragmentDoc}
|
|
633
|
+
${exports.BaseProductV1SellerContactLinkFieldsFragmentDoc}
|
|
634
|
+
${exports.BaseSellerFieldsFragmentDoc}
|
|
635
|
+
`;
|
|
636
|
+
exports.BaseProductV1ExchangePolicyFieldsFragmentDoc = (0, graphql_request_1.gql) `
|
|
637
|
+
fragment BaseProductV1ExchangePolicyFields on ProductV1ExchangePolicy {
|
|
638
|
+
id
|
|
639
|
+
uuid
|
|
640
|
+
version
|
|
641
|
+
label
|
|
642
|
+
template
|
|
643
|
+
}
|
|
644
|
+
`;
|
|
645
|
+
exports.BaseProductV1ShippingJurisdictionFieldsFragmentDoc = (0, graphql_request_1.gql) `
|
|
646
|
+
fragment BaseProductV1ShippingJurisdictionFields on ProductV1ShippingJurisdiction {
|
|
647
|
+
id
|
|
648
|
+
label
|
|
649
|
+
deliveryTime
|
|
650
|
+
}
|
|
651
|
+
`;
|
|
652
|
+
exports.BaseProductV1ShippingOptionFieldsFragmentDoc = (0, graphql_request_1.gql) `
|
|
653
|
+
fragment BaseProductV1ShippingOptionFields on ProductV1ShippingOption {
|
|
654
|
+
id
|
|
655
|
+
defaultVersion
|
|
656
|
+
countryOfOrigin
|
|
657
|
+
supportedJurisdictions {
|
|
658
|
+
...BaseProductV1ShippingJurisdictionFields
|
|
659
|
+
}
|
|
660
|
+
redemptionPoint
|
|
661
|
+
}
|
|
662
|
+
${exports.BaseProductV1ShippingJurisdictionFieldsFragmentDoc}
|
|
663
|
+
`;
|
|
420
664
|
exports.BaseOfferFieldsFragmentDoc = (0, graphql_request_1.gql) `
|
|
421
665
|
fragment BaseOfferFields on Offer {
|
|
422
666
|
id
|
|
@@ -424,6 +668,8 @@ exports.BaseOfferFieldsFragmentDoc = (0, graphql_request_1.gql) `
|
|
|
424
668
|
price
|
|
425
669
|
sellerDeposit
|
|
426
670
|
protocolFee
|
|
671
|
+
agentFee
|
|
672
|
+
agentId
|
|
427
673
|
buyerCancelPenalty
|
|
428
674
|
quantityAvailable
|
|
429
675
|
quantityInitial
|
|
@@ -444,16 +690,58 @@ exports.BaseOfferFieldsFragmentDoc = (0, graphql_request_1.gql) `
|
|
|
444
690
|
exchangeToken {
|
|
445
691
|
...BaseExchangeTokenFields
|
|
446
692
|
}
|
|
693
|
+
disputeResolver {
|
|
694
|
+
...BaseDisputeResolverFields
|
|
695
|
+
}
|
|
696
|
+
disputeResolutionTerms {
|
|
697
|
+
...BaseDisputeResolutionTermsEntityFields
|
|
698
|
+
}
|
|
447
699
|
metadata {
|
|
448
700
|
name
|
|
449
701
|
description
|
|
450
702
|
externalUrl
|
|
451
703
|
schemaUrl
|
|
452
704
|
type
|
|
705
|
+
... on ProductV1MetadataEntity {
|
|
706
|
+
image
|
|
707
|
+
attributes {
|
|
708
|
+
traitType
|
|
709
|
+
value
|
|
710
|
+
displayType
|
|
711
|
+
}
|
|
712
|
+
createdAt
|
|
713
|
+
voided
|
|
714
|
+
validFromDate
|
|
715
|
+
validUntilDate
|
|
716
|
+
quantityAvailable
|
|
717
|
+
uuid
|
|
718
|
+
product {
|
|
719
|
+
...BaseProductV1ProductFields
|
|
720
|
+
}
|
|
721
|
+
variations {
|
|
722
|
+
...BaseProductV1VariationFields
|
|
723
|
+
}
|
|
724
|
+
productV1Seller {
|
|
725
|
+
...BaseProductV1SellerFields
|
|
726
|
+
}
|
|
727
|
+
exchangePolicy {
|
|
728
|
+
...BaseProductV1ExchangePolicyFields
|
|
729
|
+
}
|
|
730
|
+
shipping {
|
|
731
|
+
...BaseProductV1ShippingOptionFields
|
|
732
|
+
}
|
|
733
|
+
}
|
|
453
734
|
}
|
|
454
735
|
}
|
|
455
736
|
${exports.BaseSellerFieldsFragmentDoc}
|
|
456
737
|
${exports.BaseExchangeTokenFieldsFragmentDoc}
|
|
738
|
+
${exports.BaseDisputeResolverFieldsFragmentDoc}
|
|
739
|
+
${exports.BaseDisputeResolutionTermsEntityFieldsFragmentDoc}
|
|
740
|
+
${exports.BaseProductV1ProductFieldsFragmentDoc}
|
|
741
|
+
${exports.BaseProductV1VariationFieldsFragmentDoc}
|
|
742
|
+
${exports.BaseProductV1SellerFieldsFragmentDoc}
|
|
743
|
+
${exports.BaseProductV1ExchangePolicyFieldsFragmentDoc}
|
|
744
|
+
${exports.BaseProductV1ShippingOptionFieldsFragmentDoc}
|
|
457
745
|
`;
|
|
458
746
|
exports.BaseExchangeFieldsFragmentDoc = (0, graphql_request_1.gql) `
|
|
459
747
|
fragment BaseExchangeFields on Exchange {
|
|
@@ -539,6 +827,53 @@ exports.BuyerFieldsFragmentDoc = (0, graphql_request_1.gql) `
|
|
|
539
827
|
${exports.FundsEntityFieldsFragmentDoc}
|
|
540
828
|
${exports.BaseExchangeFieldsFragmentDoc}
|
|
541
829
|
`;
|
|
830
|
+
exports.DisputeResolverFieldsFragmentDoc = (0, graphql_request_1.gql) `
|
|
831
|
+
fragment DisputeResolverFields on DisputeResolver {
|
|
832
|
+
...BaseDisputeResolverFields
|
|
833
|
+
offers(
|
|
834
|
+
skip: $offersSkip
|
|
835
|
+
first: $offersFirst
|
|
836
|
+
orderBy: $offersOrderBy
|
|
837
|
+
orderDirection: $offersOrderDirection
|
|
838
|
+
where: $offersFilter
|
|
839
|
+
) @include(if: $includeOffers) {
|
|
840
|
+
...BaseOfferFields
|
|
841
|
+
}
|
|
842
|
+
}
|
|
843
|
+
${exports.BaseDisputeResolverFieldsFragmentDoc}
|
|
844
|
+
${exports.BaseOfferFieldsFragmentDoc}
|
|
845
|
+
`;
|
|
846
|
+
exports.BaseDisputeFieldsFragmentDoc = (0, graphql_request_1.gql) `
|
|
847
|
+
fragment BaseDisputeFields on Dispute {
|
|
848
|
+
id
|
|
849
|
+
exchangeId
|
|
850
|
+
complaint
|
|
851
|
+
state
|
|
852
|
+
buyerPercent
|
|
853
|
+
disputedDate
|
|
854
|
+
escalatedDate
|
|
855
|
+
finalizedDate
|
|
856
|
+
timeout
|
|
857
|
+
exchange {
|
|
858
|
+
...BaseExchangeFields
|
|
859
|
+
}
|
|
860
|
+
seller {
|
|
861
|
+
...BaseSellerFields
|
|
862
|
+
}
|
|
863
|
+
buyer {
|
|
864
|
+
...BaseBuyerFields
|
|
865
|
+
}
|
|
866
|
+
}
|
|
867
|
+
${exports.BaseExchangeFieldsFragmentDoc}
|
|
868
|
+
${exports.BaseSellerFieldsFragmentDoc}
|
|
869
|
+
${exports.BaseBuyerFieldsFragmentDoc}
|
|
870
|
+
`;
|
|
871
|
+
exports.DisputeFieldsFragmentDoc = (0, graphql_request_1.gql) `
|
|
872
|
+
fragment DisputeFields on Dispute {
|
|
873
|
+
...BaseDisputeFields
|
|
874
|
+
}
|
|
875
|
+
${exports.BaseDisputeFieldsFragmentDoc}
|
|
876
|
+
`;
|
|
542
877
|
exports.ExchangeTokenFieldsFragmentDoc = (0, graphql_request_1.gql) `
|
|
543
878
|
fragment ExchangeTokenFields on ExchangeToken {
|
|
544
879
|
...BaseExchangeTokenFields
|
|
@@ -622,145 +957,6 @@ exports.BaseMetadataEntityFieldsFragmentDoc = (0, graphql_request_1.gql) `
|
|
|
622
957
|
}
|
|
623
958
|
${exports.BaseBaseMetadataEntityFieldsFragmentDoc}
|
|
624
959
|
`;
|
|
625
|
-
exports.BaseProductV1BrandFieldsFragmentDoc = (0, graphql_request_1.gql) `
|
|
626
|
-
fragment BaseProductV1BrandFields on ProductV1Brand {
|
|
627
|
-
id
|
|
628
|
-
name
|
|
629
|
-
}
|
|
630
|
-
`;
|
|
631
|
-
exports.BaseProductV1CategoryFieldsFragmentDoc = (0, graphql_request_1.gql) `
|
|
632
|
-
fragment BaseProductV1CategoryFields on ProductV1Category {
|
|
633
|
-
id
|
|
634
|
-
name
|
|
635
|
-
}
|
|
636
|
-
`;
|
|
637
|
-
exports.BaseProductV1TagFieldsFragmentDoc = (0, graphql_request_1.gql) `
|
|
638
|
-
fragment BaseProductV1TagFields on ProductV1Tag {
|
|
639
|
-
id
|
|
640
|
-
name
|
|
641
|
-
}
|
|
642
|
-
`;
|
|
643
|
-
exports.BaseProductV1SectionFieldsFragmentDoc = (0, graphql_request_1.gql) `
|
|
644
|
-
fragment BaseProductV1SectionFields on ProductV1Section {
|
|
645
|
-
id
|
|
646
|
-
name
|
|
647
|
-
}
|
|
648
|
-
`;
|
|
649
|
-
exports.BaseProductV1PersonalisationFieldsFragmentDoc = (0, graphql_request_1.gql) `
|
|
650
|
-
fragment BaseProductV1PersonalisationFields on ProductV1Personalisation {
|
|
651
|
-
id
|
|
652
|
-
name
|
|
653
|
-
}
|
|
654
|
-
`;
|
|
655
|
-
exports.BaseProductV1MediaFieldsFragmentDoc = (0, graphql_request_1.gql) `
|
|
656
|
-
fragment BaseProductV1MediaFields on ProductV1Media {
|
|
657
|
-
id
|
|
658
|
-
url
|
|
659
|
-
tag
|
|
660
|
-
type
|
|
661
|
-
}
|
|
662
|
-
`;
|
|
663
|
-
exports.BaseProductV1ProductFieldsFragmentDoc = (0, graphql_request_1.gql) `
|
|
664
|
-
fragment BaseProductV1ProductFields on ProductV1Product {
|
|
665
|
-
id
|
|
666
|
-
uuid
|
|
667
|
-
version
|
|
668
|
-
title
|
|
669
|
-
description
|
|
670
|
-
identification_sKU
|
|
671
|
-
identification_productId
|
|
672
|
-
identification_productIdType
|
|
673
|
-
productionInformation_brandName
|
|
674
|
-
brand {
|
|
675
|
-
...BaseProductV1BrandFields
|
|
676
|
-
}
|
|
677
|
-
productionInformation_manufacturer
|
|
678
|
-
productionInformation_manufacturerPartNumber
|
|
679
|
-
productionInformation_modelNumber
|
|
680
|
-
productionInformation_materials
|
|
681
|
-
details_category
|
|
682
|
-
category {
|
|
683
|
-
...BaseProductV1CategoryFields
|
|
684
|
-
}
|
|
685
|
-
details_subCategory
|
|
686
|
-
subCategory {
|
|
687
|
-
...BaseProductV1CategoryFields
|
|
688
|
-
}
|
|
689
|
-
details_subCategory2
|
|
690
|
-
subCategory2 {
|
|
691
|
-
...BaseProductV1CategoryFields
|
|
692
|
-
}
|
|
693
|
-
details_offerCategory
|
|
694
|
-
offerCategory
|
|
695
|
-
details_tags
|
|
696
|
-
tags {
|
|
697
|
-
...BaseProductV1TagFields
|
|
698
|
-
}
|
|
699
|
-
details_sections
|
|
700
|
-
sections {
|
|
701
|
-
...BaseProductV1SectionFields
|
|
702
|
-
}
|
|
703
|
-
details_personalisation
|
|
704
|
-
personalisation {
|
|
705
|
-
...BaseProductV1PersonalisationFields
|
|
706
|
-
}
|
|
707
|
-
visuals_images {
|
|
708
|
-
...BaseProductV1MediaFields
|
|
709
|
-
}
|
|
710
|
-
visuals_videos {
|
|
711
|
-
...BaseProductV1MediaFields
|
|
712
|
-
}
|
|
713
|
-
packaging_packageQuantity
|
|
714
|
-
packaging_dimensions_length
|
|
715
|
-
packaging_dimensions_width
|
|
716
|
-
packaging_dimensions_height
|
|
717
|
-
packaging_dimensions_unit
|
|
718
|
-
packaging_weight_value
|
|
719
|
-
packaging_weight_unit
|
|
720
|
-
}
|
|
721
|
-
${exports.BaseProductV1BrandFieldsFragmentDoc}
|
|
722
|
-
${exports.BaseProductV1CategoryFieldsFragmentDoc}
|
|
723
|
-
${exports.BaseProductV1TagFieldsFragmentDoc}
|
|
724
|
-
${exports.BaseProductV1SectionFieldsFragmentDoc}
|
|
725
|
-
${exports.BaseProductV1PersonalisationFieldsFragmentDoc}
|
|
726
|
-
${exports.BaseProductV1MediaFieldsFragmentDoc}
|
|
727
|
-
`;
|
|
728
|
-
exports.BaseProductV1VariationFieldsFragmentDoc = (0, graphql_request_1.gql) `
|
|
729
|
-
fragment BaseProductV1VariationFields on ProductV1Variation {
|
|
730
|
-
id
|
|
731
|
-
type
|
|
732
|
-
option
|
|
733
|
-
}
|
|
734
|
-
`;
|
|
735
|
-
exports.BaseProductV1SellerContactLinkFieldsFragmentDoc = (0, graphql_request_1.gql) `
|
|
736
|
-
fragment BaseProductV1SellerContactLinkFields on ProductV1SellerContactLink {
|
|
737
|
-
id
|
|
738
|
-
url
|
|
739
|
-
tag
|
|
740
|
-
}
|
|
741
|
-
`;
|
|
742
|
-
exports.BaseProductV1SellerFieldsFragmentDoc = (0, graphql_request_1.gql) `
|
|
743
|
-
fragment BaseProductV1SellerFields on ProductV1Seller {
|
|
744
|
-
id
|
|
745
|
-
defaultVersion
|
|
746
|
-
name
|
|
747
|
-
description
|
|
748
|
-
externalUrl
|
|
749
|
-
tokenId
|
|
750
|
-
images {
|
|
751
|
-
...BaseProductV1MediaFields
|
|
752
|
-
}
|
|
753
|
-
contactLinks {
|
|
754
|
-
...BaseProductV1SellerContactLinkFields
|
|
755
|
-
}
|
|
756
|
-
seller {
|
|
757
|
-
...BaseSellerFields
|
|
758
|
-
}
|
|
759
|
-
}
|
|
760
|
-
${exports.BaseProductV1MediaFieldsFragmentDoc}
|
|
761
|
-
${exports.BaseProductV1SellerContactLinkFieldsFragmentDoc}
|
|
762
|
-
${exports.BaseSellerFieldsFragmentDoc}
|
|
763
|
-
`;
|
|
764
960
|
exports.BaseProductV1MetadataEntityFieldsFragmentDoc = (0, graphql_request_1.gql) `
|
|
765
961
|
fragment BaseProductV1MetadataEntityFields on ProductV1MetadataEntity {
|
|
766
962
|
id
|
|
@@ -799,6 +995,9 @@ exports.BaseProductV1MetadataEntityFieldsFragmentDoc = (0, graphql_request_1.gql
|
|
|
799
995
|
productV1Seller {
|
|
800
996
|
...BaseProductV1SellerFields
|
|
801
997
|
}
|
|
998
|
+
exchangePolicy {
|
|
999
|
+
...BaseProductV1ExchangePolicyFields
|
|
1000
|
+
}
|
|
802
1001
|
}
|
|
803
1002
|
${exports.BaseOfferFieldsFragmentDoc}
|
|
804
1003
|
${exports.BaseSellerFieldsFragmentDoc}
|
|
@@ -806,6 +1005,7 @@ exports.BaseProductV1MetadataEntityFieldsFragmentDoc = (0, graphql_request_1.gql
|
|
|
806
1005
|
${exports.BaseProductV1ProductFieldsFragmentDoc}
|
|
807
1006
|
${exports.BaseProductV1VariationFieldsFragmentDoc}
|
|
808
1007
|
${exports.BaseProductV1SellerFieldsFragmentDoc}
|
|
1008
|
+
${exports.BaseProductV1ExchangePolicyFieldsFragmentDoc}
|
|
809
1009
|
`;
|
|
810
1010
|
exports.ProductV1MetadataEntityFieldsFragmentDoc = (0, graphql_request_1.gql) `
|
|
811
1011
|
fragment ProductV1MetadataEntityFields on ProductV1MetadataEntity {
|
|
@@ -813,34 +1013,6 @@ exports.ProductV1MetadataEntityFieldsFragmentDoc = (0, graphql_request_1.gql) `
|
|
|
813
1013
|
}
|
|
814
1014
|
${exports.BaseProductV1MetadataEntityFieldsFragmentDoc}
|
|
815
1015
|
`;
|
|
816
|
-
exports.BaseProductV1ShippingJurisdictionFieldsFragmentDoc = (0, graphql_request_1.gql) `
|
|
817
|
-
fragment BaseProductV1ShippingJurisdictionFields on ProductV1ShippingJurisdiction {
|
|
818
|
-
id
|
|
819
|
-
label
|
|
820
|
-
deliveryTime
|
|
821
|
-
}
|
|
822
|
-
`;
|
|
823
|
-
exports.BaseProductV1ShippingOptionFieldsFragmentDoc = (0, graphql_request_1.gql) `
|
|
824
|
-
fragment BaseProductV1ShippingOptionFields on ProductV1ShippingOption {
|
|
825
|
-
id
|
|
826
|
-
defaultVersion
|
|
827
|
-
countryOfOrigin
|
|
828
|
-
supportedJurisdictions {
|
|
829
|
-
...BaseProductV1ShippingJurisdictionFields
|
|
830
|
-
}
|
|
831
|
-
redemptionPoint
|
|
832
|
-
}
|
|
833
|
-
${exports.BaseProductV1ShippingJurisdictionFieldsFragmentDoc}
|
|
834
|
-
`;
|
|
835
|
-
exports.BaseProductV1ExchangePolicyFieldsFragmentDoc = (0, graphql_request_1.gql) `
|
|
836
|
-
fragment BaseProductV1ExchangePolicyFields on ProductV1ExchangePolicy {
|
|
837
|
-
id
|
|
838
|
-
uuid
|
|
839
|
-
version
|
|
840
|
-
label
|
|
841
|
-
template
|
|
842
|
-
}
|
|
843
|
-
`;
|
|
844
1016
|
exports.BaseProductV1ProductOverridesFieldsFragmentDoc = (0, graphql_request_1.gql) `
|
|
845
1017
|
fragment BaseProductV1ProductOverridesFields on ProductV1ProductOverrides {
|
|
846
1018
|
id
|
|
@@ -1017,6 +1189,84 @@ exports.GetBuyersQueryDocument = (0, graphql_request_1.gql) `
|
|
|
1017
1189
|
}
|
|
1018
1190
|
${exports.BuyerFieldsFragmentDoc}
|
|
1019
1191
|
`;
|
|
1192
|
+
exports.GetDisputeResolverByIdQueryDocument = (0, graphql_request_1.gql) `
|
|
1193
|
+
query getDisputeResolverByIdQuery(
|
|
1194
|
+
$disputeResolverId: ID!
|
|
1195
|
+
$offersSkip: Int
|
|
1196
|
+
$offersFirst: Int
|
|
1197
|
+
$offersOrderBy: Offer_orderBy
|
|
1198
|
+
$offersOrderDirection: OrderDirection
|
|
1199
|
+
$offersFilter: Offer_filter
|
|
1200
|
+
$includeOffers: Boolean = false
|
|
1201
|
+
) {
|
|
1202
|
+
disputeResolver(id: $disputeResolverId) {
|
|
1203
|
+
...DisputeResolverFields
|
|
1204
|
+
}
|
|
1205
|
+
}
|
|
1206
|
+
${exports.DisputeResolverFieldsFragmentDoc}
|
|
1207
|
+
`;
|
|
1208
|
+
exports.GetDisputeResolversQueryDocument = (0, graphql_request_1.gql) `
|
|
1209
|
+
query getDisputeResolversQuery(
|
|
1210
|
+
$disputeResolversSkip: Int
|
|
1211
|
+
$disputeResolversFirst: Int
|
|
1212
|
+
$disputeResolversOrderBy: DisputeResolver_orderBy
|
|
1213
|
+
$disputeResolversOrderDirection: OrderDirection
|
|
1214
|
+
$disputeResolversFilter: DisputeResolver_filter
|
|
1215
|
+
$offersSkip: Int
|
|
1216
|
+
$offersFirst: Int
|
|
1217
|
+
$offersOrderBy: Offer_orderBy
|
|
1218
|
+
$offersOrderDirection: OrderDirection
|
|
1219
|
+
$offersFilter: Offer_filter
|
|
1220
|
+
$includeOffers: Boolean = false
|
|
1221
|
+
) {
|
|
1222
|
+
disputeResolvers(
|
|
1223
|
+
skip: $disputeResolversSkip
|
|
1224
|
+
first: $disputeResolversFirst
|
|
1225
|
+
orderBy: $disputeResolversOrderBy
|
|
1226
|
+
orderDirection: $disputeResolversOrderDirection
|
|
1227
|
+
where: $disputeResolversFilter
|
|
1228
|
+
) {
|
|
1229
|
+
...DisputeResolverFields
|
|
1230
|
+
}
|
|
1231
|
+
}
|
|
1232
|
+
${exports.DisputeResolverFieldsFragmentDoc}
|
|
1233
|
+
`;
|
|
1234
|
+
exports.GetDisputeByIdQueryDocument = (0, graphql_request_1.gql) `
|
|
1235
|
+
query getDisputeByIdQuery(
|
|
1236
|
+
$disputeId: ID!
|
|
1237
|
+
$offersSkip: Int
|
|
1238
|
+
$offersFirst: Int
|
|
1239
|
+
$offersOrderBy: Offer_orderBy
|
|
1240
|
+
$offersOrderDirection: OrderDirection
|
|
1241
|
+
$offersFilter: Offer_filter
|
|
1242
|
+
$includeOffers: Boolean = false
|
|
1243
|
+
) {
|
|
1244
|
+
dispute(id: $disputeId) {
|
|
1245
|
+
...DisputeFields
|
|
1246
|
+
}
|
|
1247
|
+
}
|
|
1248
|
+
${exports.DisputeFieldsFragmentDoc}
|
|
1249
|
+
`;
|
|
1250
|
+
exports.GetDisputesQueryDocument = (0, graphql_request_1.gql) `
|
|
1251
|
+
query getDisputesQuery(
|
|
1252
|
+
$disputesSkip: Int
|
|
1253
|
+
$disputesFirst: Int
|
|
1254
|
+
$disputesOrderBy: Dispute_orderBy
|
|
1255
|
+
$disputesOrderDirection: OrderDirection
|
|
1256
|
+
$disputesFilter: Dispute_filter
|
|
1257
|
+
) {
|
|
1258
|
+
disputes(
|
|
1259
|
+
skip: $disputesSkip
|
|
1260
|
+
first: $disputesFirst
|
|
1261
|
+
orderBy: $disputesOrderBy
|
|
1262
|
+
orderDirection: $disputesOrderDirection
|
|
1263
|
+
where: $disputesFilter
|
|
1264
|
+
) {
|
|
1265
|
+
...DisputeFields
|
|
1266
|
+
}
|
|
1267
|
+
}
|
|
1268
|
+
${exports.DisputeFieldsFragmentDoc}
|
|
1269
|
+
`;
|
|
1020
1270
|
exports.GetExchangeTokenByIdQueryDocument = (0, graphql_request_1.gql) `
|
|
1021
1271
|
query getExchangeTokenByIdQuery(
|
|
1022
1272
|
$exchangeTokenId: ID!
|
|
@@ -1299,6 +1549,18 @@ function getSdk(client, withWrapper = defaultWrapper) {
|
|
|
1299
1549
|
getBuyersQuery(variables, requestHeaders) {
|
|
1300
1550
|
return withWrapper((wrappedRequestHeaders) => client.request(exports.GetBuyersQueryDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), "getBuyersQuery", "query");
|
|
1301
1551
|
},
|
|
1552
|
+
getDisputeResolverByIdQuery(variables, requestHeaders) {
|
|
1553
|
+
return withWrapper((wrappedRequestHeaders) => client.request(exports.GetDisputeResolverByIdQueryDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), "getDisputeResolverByIdQuery", "query");
|
|
1554
|
+
},
|
|
1555
|
+
getDisputeResolversQuery(variables, requestHeaders) {
|
|
1556
|
+
return withWrapper((wrappedRequestHeaders) => client.request(exports.GetDisputeResolversQueryDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), "getDisputeResolversQuery", "query");
|
|
1557
|
+
},
|
|
1558
|
+
getDisputeByIdQuery(variables, requestHeaders) {
|
|
1559
|
+
return withWrapper((wrappedRequestHeaders) => client.request(exports.GetDisputeByIdQueryDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), "getDisputeByIdQuery", "query");
|
|
1560
|
+
},
|
|
1561
|
+
getDisputesQuery(variables, requestHeaders) {
|
|
1562
|
+
return withWrapper((wrappedRequestHeaders) => client.request(exports.GetDisputesQueryDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), "getDisputesQuery", "query");
|
|
1563
|
+
},
|
|
1302
1564
|
getExchangeTokenByIdQuery(variables, requestHeaders) {
|
|
1303
1565
|
return withWrapper((wrappedRequestHeaders) => client.request(exports.GetExchangeTokenByIdQueryDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), "getExchangeTokenByIdQuery", "query");
|
|
1304
1566
|
},
|