@ikas/api-client 1.0.4-alpha.3 → 1.0.4
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/api/admin/generated/default-gqls.d.ts +2 -0
- package/dist/api/admin/generated/default-gqls.js +14 -12
- package/dist/api/admin/generated/default-gqls.js.map +1 -1
- package/dist/api/admin/generated/index.d.ts +54 -13
- package/dist/api/admin/generated/index.js.map +1 -1
- package/dist/api/admin/generated/mutation.d.ts +2 -1
- package/dist/api/admin/generated/mutation.js +7 -0
- package/dist/api/admin/generated/mutation.js.map +1 -1
- package/dist/api/admin/generated/query.d.ts +2 -1
- package/dist/api/admin/generated/query.js +7 -0
- package/dist/api/admin/generated/query.js.map +1 -1
- package/dist/models/webhook/models.d.ts +4 -4
- package/package.json +1 -1
|
@@ -29,6 +29,7 @@ export declare const QueryDefaultGQLs: {
|
|
|
29
29
|
listVariantType: string;
|
|
30
30
|
listWebhook: string;
|
|
31
31
|
me: string;
|
|
32
|
+
productAttributeExport: string;
|
|
32
33
|
searchProducts: string;
|
|
33
34
|
};
|
|
34
35
|
export declare const MutationDefaultGQLs: {
|
|
@@ -47,6 +48,7 @@ export declare const MutationDefaultGQLs: {
|
|
|
47
48
|
deleteVariantTypeList: string;
|
|
48
49
|
deleteWebhook: string;
|
|
49
50
|
fulfillOrder: string;
|
|
51
|
+
productAttributeImport: string;
|
|
50
52
|
refundOrderLine: string;
|
|
51
53
|
saveCategory: string;
|
|
52
54
|
saveProduct: string;
|
|
@@ -8,30 +8,31 @@ exports.QueryDefaultGQLs = {
|
|
|
8
8
|
"getMerchantLicence": "query getMerchantLicence{ getMerchantLicence { activeSubscriptionCode activeSubscriptionId appSubscriptions { addedDate appPaymentKey authorizedAppId createdAt currency deleted id lastPaymentDate lastPaymentDiscountRatio lastPaymentPeriod lastPaymentPeriodInDays lastPaymentPrice lastPaymentPriceWithTax merchantAppPaymentId name status storeAppId updatedAt } createdAt customSubscriptionIds deleted fromDate id licenceActivationDate limits { code value } period region status statusUpdatedAt subscriptions { code createdAt currency deleted id lastPaymentDate lastPaymentDiscountRatio lastPaymentPeriod lastPaymentPeriodInDays lastPaymentPrice lastPaymentPriceWithTax limits { code value } name salesChannelId status subscriptionId updatedAt } toDate updatedAt } }",
|
|
9
9
|
"getSalesChannel": "query getSalesChannel{ getSalesChannel { createdAt deleted id name paymentGateways { id order } priceListId stockLocations { id order } type updatedAt } }",
|
|
10
10
|
"getVideoUploadUrl": "query getVideoUploadUrl($videoId: String!){ getVideoUploadUrl(videoId: $videoId) { fields url } }",
|
|
11
|
-
"listCategory": "query listCategory($categoryPath: CategoryPathFilterInput, $id: StringFilterInput, $
|
|
11
|
+
"listCategory": "query listCategory($categoryPath: CategoryPathFilterInput, $id: StringFilterInput, $name: StringFilterInput, $search: String, $updatedAt: DateFilterInput){ listCategory(categoryPath: $categoryPath, id: $id, name: $name, search: $search, updatedAt: $updatedAt) { categoryPath conditions { conditionType valueList } createdAt deleted description id imageId isAutomated metaData { createdAt deleted description id metadataOverrides { description language pageTitle storefrontId storefrontRegionId } pageTitle redirectTo slug targetId targetType translations { description locale pageTitle } updatedAt } name orderType parentId salesChannelIds shouldMatchAllConditions translations { description locale name } updatedAt } }",
|
|
12
12
|
"listCity": "query listCity($countryId: StringFilterInput, $id: StringFilterInput, $includeDeleted: Boolean, $search: String, $stateId: StringFilterInput!, $updatedAt: DateFilterInput){ listCity(countryId: $countryId, id: $id, includeDeleted: $includeDeleted, search: $search, stateId: $stateId, updatedAt: $updatedAt) { cityCode countryId createdAt deleted id latitude longitude name order stateId updatedAt } }",
|
|
13
13
|
"listCountry": "query listCountry($id: StringFilterInput, $includeDeleted: Boolean, $iso2: StringFilterInput, $iso3: StringFilterInput, $search: String, $updatedAt: DateFilterInput){ listCountry(id: $id, includeDeleted: $includeDeleted, iso2: $iso2, iso3: $iso3, search: $search, updatedAt: $updatedAt) { capital createdAt currency deleted emoji emojiString id iso2 iso3 locationTranslations { en tr } name native phoneCode region subregion updatedAt } }",
|
|
14
|
-
"listCustomer": "query listCustomer($email: StringFilterInput, $id: StringFilterInput, $
|
|
14
|
+
"listCustomer": "query listCustomer($email: StringFilterInput, $id: StringFilterInput, $merchantId: StringFilterInput, $pagination: PaginationInput, $phone: StringFilterInput, $search: String, $sort: String, $updatedAt: DateFilterInput){ listCustomer(email: $email, id: $id, merchantId: $merchantId, pagination: $pagination, phone: $phone, search: $search, sort: $sort, updatedAt: $updatedAt) { count data { accountStatus accountStatusUpdatedAt addresses { addressLine1 addressLine2 attributes { customerAttributeId customerAttributeOptionId value } city { code id name } company country { code id iso2 iso3 name } createdAt deleted district { code id name } firstName id identityNumber isDefault lastName phone postalCode state { code id name } taxNumber taxOffice title updatedAt } attributes { customerAttributeId customerAttributeOptionId value } createdAt customerGroupIds customerSequence deleted email emailVerifiedDate firstName fullName id isEmailVerified isPhoneVerified lastName note orderCount passwordUpdateDate phone phoneVerifiedDate registrationSource subscriptionStatus subscriptionStatusUpdatedAt tagIds updatedAt } hasNext limit page } }",
|
|
15
15
|
"listDistrict": "query listDistrict($cityId: StringFilterInput!, $countryId: StringFilterInput, $id: StringFilterInput, $includeDeleted: Boolean, $search: String, $stateId: StringFilterInput, $updatedAt: DateFilterInput){ listDistrict(cityId: $cityId, countryId: $countryId, id: $id, includeDeleted: $includeDeleted, search: $search, stateId: $stateId, updatedAt: $updatedAt) { cityId countryId createdAt deleted id latitude longitude name order stateId updatedAt } }",
|
|
16
16
|
"listLanguage": "query listLanguage($id: StringFilterInput){ listLanguage(id: $id) { createdAt deleted id locale name updatedAt } }",
|
|
17
17
|
"listMerchantAppPayment": "query listMerchantAppPayment($id: StringFilterInput, $pagination: PaginationInput){ listMerchantAppPayment(id: $id, pagination: $pagination) { count data { appPaymentKey authorizedAppId createdAt deleted id merchantPaymentUrl name paymentDate prices { period price } status storeAppId type updatedAt } hasNext limit page } }",
|
|
18
|
-
"listOrder": "query listOrder($closedAt: DateFilterInput, $id: StringFilterInput, $
|
|
18
|
+
"listOrder": "query listOrder($closedAt: DateFilterInput, $id: StringFilterInput, $orderNumber: StringFilterInput, $orderPackageStatus: OrderPackageStatusEnumInputFilter, $orderPaymentStatus: OrderPaymentStatusEnumInputFilter, $orderedAt: DateFilterInput, $pagination: PaginationInput, $search: String, $sort: String, $status: OrderStatusEnumInputFilter, $updatedAt: DateFilterInput){ listOrder(closedAt: $closedAt, id: $id, orderNumber: $orderNumber, orderPackageStatus: $orderPackageStatus, orderPaymentStatus: $orderPaymentStatus, orderedAt: $orderedAt, pagination: $pagination, search: $search, sort: $sort, status: $status, updatedAt: $updatedAt) { count data { billingAddress { addressLine1 addressLine2 city { code id name } company country { code id iso2 iso3 name } district { code id name } firstName id identityNumber isDefault lastName phone postalCode state { code id name } taxNumber taxOffice } branch { id name } branchSession { id name } branchSessionId cancelReason cancelledAt checkoutId clientIp createdAt currencyCode currencyRates { code originalRate rate } customer { email firstName fullName id identityNumber isGuestCheckout lastName phone } deleted giftPackageLines { price taxValue } giftPackageNote host id invoices { appId appName createdAt id invoiceNumber storeAppId type } isGiftPackage merchantId note orderAdjustments { amount amountType appliedOrderLines { amount appliedQuantity orderLineId } campaignId campaignType couponId name order type } orderLineItems { createdAt currencyCode deleted discount { amount amountType campaignOfferId campaignOfferProductId maxApplicableQuantity reason } discountPrice finalPrice id options { name productOptionId productOptionsSetId type values { name price value } } originalOrderLineItemId price quantity status statusUpdatedAt stockLocationId taxValue updatedAt variant { barcodeList brand { id name } categories { categoryPath { id name } id name } id mainImageId name prices { buyPrice currency discountPrice priceListId sellPrice } productId sku slug tagIds taxValue type variantValues { order variantTypeId variantTypeName variantValueId variantValueName } weight } } orderNumber orderPackageSequence orderPackageStatus orderPackages { createdAt deleted errorMessage id note orderLineItemIds orderPackageFulfillStatus orderPackageNumber stockLocationId trackingInfo { barcode cargoCompany isSendNotification trackingLink trackingNumber } updatedAt } orderPaymentStatus orderSequence orderTagIds orderedAt paymentMethods { paymentGatewayCode paymentGatewayName price type } priceList { id name } salesChannel { id name type } shippingAddress { addressLine1 addressLine2 city { code id name } company country { code id iso2 iso3 name } district { code id name } firstName id identityNumber isDefault lastName phone postalCode state { code id name } taxNumber taxOffice } shippingLines { isRefunded price shippingSettingsId shippingZoneRateId taxValue title } shippingMethod staff { email firstName lastName } status stockLocation { id name } storefront { id name } storefrontRouting { domain id locale path priceListId } storefrontTheme { id name themeId themeVersionId } taxLines { price rate } terminalId totalFinalPrice totalPrice updatedAt userAgent } hasNext limit page } }",
|
|
19
19
|
"listPriceList": "query listPriceList($id: StringFilterInput){ listPriceList(id: $id) { createdAt currency deleted id name updatedAt } }",
|
|
20
|
-
"listProduct": "query listProduct($barcodeList: StringFilterInput, $id: StringFilterInput, $includeDeleted: Boolean, $pagination: PaginationInput, $sku: StringFilterInput, $sort: String){ listProduct(barcodeList: $barcodeList, id: $id, includeDeleted: $includeDeleted, pagination: $pagination, sku: $sku, sort: $sort) { count data { attributes { productAttributeId productAttributeOptionId value } brand { createdAt deleted
|
|
21
|
-
"listProductAttribute": "query listProductAttribute($id: StringFilterInput, $
|
|
22
|
-
"listProductBrand": "query listProductBrand($id: StringFilterInput, $
|
|
23
|
-
"listProductOptionSet": "query listProductOptionSet($id: StringFilterInput, $
|
|
24
|
-
"listProductStockLocation": "query listProductStockLocation($id: StringFilterInput, $
|
|
25
|
-
"listProductTag": "query listProductTag($id: StringFilterInput, $
|
|
20
|
+
"listProduct": "query listProduct($barcodeList: StringFilterInput, $id: StringFilterInput, $includeDeleted: Boolean, $pagination: PaginationInput, $sku: StringFilterInput, $sort: String){ listProduct(barcodeList: $barcodeList, id: $id, includeDeleted: $includeDeleted, pagination: $pagination, sku: $sku, sort: $sort) { count data { attributes { productAttributeId productAttributeOptionId value } brand { createdAt deleted id name updatedAt } brandId categories { createdAt deleted id name parentId updatedAt } categoryIds createdAt deleted description groupVariantsByVariantTypeId id maxQuantityPerCart metaData { createdAt deleted description id metadataOverrides { description language pageTitle storefrontId storefrontRegionId } pageTitle redirectTo slug targetId targetType translations { description locale pageTitle } updatedAt } name productOptionSetId productVariantTypes { order variantTypeId variantValueIds } salesChannelIds shortDescription tagIds tags { createdAt deleted id name updatedAt } translations { description locale name } type updatedAt variants { attributes { productAttributeId productAttributeOptionId value } barcodeList createdAt deleted hsCode id images { imageId isMain isVideo order } isActive prices { buyPrice currency discountPrice priceListId sellPrice } sellIfOutOfStock sku updatedAt variantValueIds { variantTypeId variantValueId } weight } vendorId weight } hasNext limit page } }",
|
|
21
|
+
"listProductAttribute": "query listProductAttribute($id: StringFilterInput, $name: StringFilterInput, $updatedAt: DateFilterInput){ listProductAttribute(id: $id, name: $name, updatedAt: $updatedAt) { createdAt deleted description id name options { createdAt deleted id name updatedAt } tableTemplate { columns { id name } rows { id name } } translations { description locale name options { id name } } type updatedAt } }",
|
|
22
|
+
"listProductBrand": "query listProductBrand($id: StringFilterInput, $name: StringFilterInput, $search: String, $updatedAt: DateFilterInput){ listProductBrand(id: $id, name: $name, search: $search, updatedAt: $updatedAt) { createdAt deleted description id imageId metaData { createdAt deleted description id metadataOverrides { description language pageTitle storefrontId storefrontRegionId } pageTitle redirectTo slug targetId targetType translations { description locale pageTitle } updatedAt } name orderType salesChannelIds translations { description locale name } updatedAt } }",
|
|
23
|
+
"listProductOptionSet": "query listProductOptionSet($id: StringFilterInput, $name: StringFilterInput, $search: String, $updatedAt: DateFilterInput){ listProductOptionSet(id: $id, name: $name, search: $search, updatedAt: $updatedAt) { createdAt deleted id name options { createdAt dateSettings { max maxRelativeNextDate min minRelativeNextDate } deleted fileSettings { allowedExtensions maxQuantity minQuantity } id isOptional name optionalText order otherPrices { currencyCode price } price requiredOptionId requiredOptionValueIds selectSettings { maxSelect minSelect type values { colorCode createdAt deleted id order otherPrices { currencyCode price } price thumbnailImageId updatedAt value } } textSettings { max min } type updatedAt } translations { locale options { id name optionalText values { id value } } } updatedAt } }",
|
|
24
|
+
"listProductStockLocation": "query listProductStockLocation($id: StringFilterInput, $pagination: PaginationInput, $productId: StringFilterInput, $sort: String, $updatedAt: DateFilterInput, $variantId: StringFilterInput){ listProductStockLocation(id: $id, pagination: $pagination, productId: $productId, sort: $sort, updatedAt: $updatedAt, variantId: $variantId) { count data { createdAt deleted id productId stockCount stockLocationId updatedAt variantId } hasNext limit page } }",
|
|
25
|
+
"listProductTag": "query listProductTag($id: StringFilterInput, $name: StringFilterInput, $updatedAt: DateFilterInput){ listProductTag(id: $id, name: $name, updatedAt: $updatedAt) { createdAt deleted id name translations { description locale name } updatedAt } }",
|
|
26
26
|
"listSalesChannel": "query listSalesChannel($id: StringFilterInput){ listSalesChannel(id: $id) { createdAt deleted id name paymentGateways { id order } priceListId stockLocations { id order } type updatedAt } }",
|
|
27
27
|
"listState": "query listState($countryId: StringFilterInput!, $id: StringFilterInput, $includeDeleted: Boolean, $search: String, $updatedAt: DateFilterInput){ listState(countryId: $countryId, id: $id, includeDeleted: $includeDeleted, search: $search, updatedAt: $updatedAt) { countryId createdAt deleted id name stateCode updatedAt } }",
|
|
28
|
-
"listStockLocation": "query listStockLocation($id: StringFilterInput, $
|
|
28
|
+
"listStockLocation": "query listStockLocation($id: StringFilterInput, $name: StringFilterInput, $updatedAt: DateFilterInput){ listStockLocation(id: $id, name: $name, updatedAt: $updatedAt) { address { address city { code id name } country { code id name } district { code id name } phone postalCode state { code id name } } createdAt deleted deliveryTime description id isRemindOutOfStockEnabled name outOfStockMailList type updatedAt } }",
|
|
29
29
|
"listStorefront": "query listStorefront($id: StringFilterInput){ listStorefront(id: $id) { createdAt deleted id name updatedAt } }",
|
|
30
30
|
"listStorefrontJSScript": "query listStorefrontJSScript($storefrontId: String){ listStorefrontJSScript(storefrontId: $storefrontId) { authorizedAppId createdAt deleted id isActive name order scriptContent storeAppId storefrontId updatedAt } }",
|
|
31
31
|
"listTown": "query listTown($districtId: StringFilterInput!, $id: StringFilterInput, $includeDeleted: Boolean, $search: String, $updatedAt: DateFilterInput){ listTown(districtId: $districtId, id: $id, includeDeleted: $includeDeleted, search: $search, updatedAt: $updatedAt) { createdAt deleted districtId id name order updatedAt } }",
|
|
32
|
-
"listVariantType": "query listVariantType($id: StringFilterInput, $
|
|
32
|
+
"listVariantType": "query listVariantType($id: StringFilterInput, $name: StringFilterInput, $updatedAt: DateFilterInput){ listVariantType(id: $id, name: $name, updatedAt: $updatedAt) { createdAt deleted id name selectionType translations { locale name values { id name } } updatedAt values { colorCode createdAt deleted id name thumbnailImageId updatedAt } } }",
|
|
33
33
|
"listWebhook": "query listWebhook{ listWebhook { createdAt deleted endpoint id scope updatedAt } }",
|
|
34
34
|
"me": "query me{ me { addedDate email id name partnerId salesChannelId scope scopes storeAppId supportsMultipleInstallation } }",
|
|
35
|
+
"productAttributeExport": "query productAttributeExport($csvFilterInput: CSVExportFilterInput){ productAttributeExport(csvFilterInput: $csvFilterInput) }",
|
|
35
36
|
"searchProducts": "query searchProducts($input: SearchInput!){ searchProducts(input: $input) { count data limit page totalCount } }"
|
|
36
37
|
};
|
|
37
38
|
exports.MutationDefaultGQLs = {
|
|
@@ -50,9 +51,10 @@ exports.MutationDefaultGQLs = {
|
|
|
50
51
|
"deleteVariantTypeList": "mutation deleteVariantTypeList($idList: undefined!){ deleteVariantTypeList(idList: $idList) }",
|
|
51
52
|
"deleteWebhook": "mutation deleteWebhook($scopes: undefined!){ deleteWebhook(scopes: $scopes) }",
|
|
52
53
|
"fulfillOrder": "mutation fulfillOrder($input: FulFillOrderInput!){ fulfillOrder(input: $input) { billingAddress { addressLine1 addressLine2 city { code id name } company country { code id iso2 iso3 name } district { code id name } firstName id identityNumber isDefault lastName phone postalCode state { code id name } taxNumber taxOffice } branch { id name } branchSession { id name } branchSessionId cancelReason cancelledAt checkoutId clientIp createdAt currencyCode currencyRates { code originalRate rate } customer { email firstName fullName id identityNumber isGuestCheckout lastName phone } deleted giftPackageLines { price taxValue } giftPackageNote host id invoices { appId appName createdAt id invoiceNumber storeAppId type } isGiftPackage merchantId note orderAdjustments { amount amountType appliedOrderLines { amount appliedQuantity orderLineId } campaignId campaignType couponId name order type } orderLineItems { createdAt currencyCode deleted discount { amount amountType campaignOfferId campaignOfferProductId maxApplicableQuantity reason } discountPrice finalPrice id options { name productOptionId productOptionsSetId type values { name price value } } originalOrderLineItemId price quantity status statusUpdatedAt stockLocationId taxValue updatedAt variant { barcodeList brand { id name } categories { categoryPath { id name } id name } id mainImageId name prices { buyPrice currency discountPrice priceListId sellPrice } productId sku slug tagIds taxValue type variantValues { order variantTypeId variantTypeName variantValueId variantValueName } weight } } orderNumber orderPackageSequence orderPackageStatus orderPackages { createdAt deleted errorMessage id note orderLineItemIds orderPackageFulfillStatus orderPackageNumber stockLocationId trackingInfo { barcode cargoCompany isSendNotification trackingLink trackingNumber } updatedAt } orderPaymentStatus orderSequence orderTagIds orderedAt paymentMethods { paymentGatewayCode paymentGatewayName price type } priceList { id name } salesChannel { id name type } shippingAddress { addressLine1 addressLine2 city { code id name } company country { code id iso2 iso3 name } district { code id name } firstName id identityNumber isDefault lastName phone postalCode state { code id name } taxNumber taxOffice } shippingLines { isRefunded price shippingSettingsId shippingZoneRateId taxValue title } shippingMethod staff { email firstName lastName } status stockLocation { id name } storefront { id name } storefrontRouting { domain id locale path priceListId } storefrontTheme { id name themeId themeVersionId } taxLines { price rate } terminalId totalFinalPrice totalPrice updatedAt userAgent } }",
|
|
54
|
+
"productAttributeImport": "mutation productAttributeImport($file: String!){ productAttributeImport(file: $file) { csvContent isSuccess } }",
|
|
53
55
|
"refundOrderLine": "mutation refundOrderLine($input: OrderRefundInput!){ refundOrderLine(input: $input) { billingAddress { addressLine1 addressLine2 city { code id name } company country { code id iso2 iso3 name } district { code id name } firstName id identityNumber isDefault lastName phone postalCode state { code id name } taxNumber taxOffice } branch { id name } branchSession { id name } branchSessionId cancelReason cancelledAt checkoutId clientIp createdAt currencyCode currencyRates { code originalRate rate } customer { email firstName fullName id identityNumber isGuestCheckout lastName phone } deleted giftPackageLines { price taxValue } giftPackageNote host id invoices { appId appName createdAt id invoiceNumber storeAppId type } isGiftPackage merchantId note orderAdjustments { amount amountType appliedOrderLines { amount appliedQuantity orderLineId } campaignId campaignType couponId name order type } orderLineItems { createdAt currencyCode deleted discount { amount amountType campaignOfferId campaignOfferProductId maxApplicableQuantity reason } discountPrice finalPrice id options { name productOptionId productOptionsSetId type values { name price value } } originalOrderLineItemId price quantity status statusUpdatedAt stockLocationId taxValue updatedAt variant { barcodeList brand { id name } categories { categoryPath { id name } id name } id mainImageId name prices { buyPrice currency discountPrice priceListId sellPrice } productId sku slug tagIds taxValue type variantValues { order variantTypeId variantTypeName variantValueId variantValueName } weight } } orderNumber orderPackageSequence orderPackageStatus orderPackages { createdAt deleted errorMessage id note orderLineItemIds orderPackageFulfillStatus orderPackageNumber stockLocationId trackingInfo { barcode cargoCompany isSendNotification trackingLink trackingNumber } updatedAt } orderPaymentStatus orderSequence orderTagIds orderedAt paymentMethods { paymentGatewayCode paymentGatewayName price type } priceList { id name } salesChannel { id name type } shippingAddress { addressLine1 addressLine2 city { code id name } company country { code id iso2 iso3 name } district { code id name } firstName id identityNumber isDefault lastName phone postalCode state { code id name } taxNumber taxOffice } shippingLines { isRefunded price shippingSettingsId shippingZoneRateId taxValue title } shippingMethod staff { email firstName lastName } status stockLocation { id name } storefront { id name } storefrontRouting { domain id locale path priceListId } storefrontTheme { id name themeId themeVersionId } taxLines { price rate } terminalId totalFinalPrice totalPrice updatedAt userAgent } }",
|
|
54
56
|
"saveCategory": "mutation saveCategory($input: CategoryInput!){ saveCategory(input: $input) { categoryPath conditions { conditionType valueList } createdAt deleted description id imageId isAutomated metaData { createdAt deleted description id metadataOverrides { description language pageTitle storefrontId storefrontRegionId } pageTitle redirectTo slug targetId targetType translations { description locale pageTitle } updatedAt } name orderType parentId salesChannelIds shouldMatchAllConditions translations { description locale name } updatedAt } }",
|
|
55
|
-
"saveProduct": "mutation saveProduct($input: ProductInput!){ saveProduct(input: $input) { attributes { productAttributeId productAttributeOptionId value } brand { createdAt deleted
|
|
57
|
+
"saveProduct": "mutation saveProduct($input: ProductInput!){ saveProduct(input: $input) { attributes { productAttributeId productAttributeOptionId value } brand { createdAt deleted id name updatedAt } brandId categories { createdAt deleted id name parentId updatedAt } categoryIds createdAt deleted description groupVariantsByVariantTypeId id maxQuantityPerCart metaData { createdAt deleted description id metadataOverrides { description language pageTitle storefrontId storefrontRegionId } pageTitle redirectTo slug targetId targetType translations { description locale pageTitle } updatedAt } name productOptionSetId productVariantTypes { order variantTypeId variantValueIds } salesChannelIds shortDescription tagIds tags { createdAt deleted id name updatedAt } translations { description locale name } type updatedAt variants { attributes { productAttributeId productAttributeOptionId value } barcodeList createdAt deleted hsCode id images { imageId isMain isVideo order } isActive prices { buyPrice currency discountPrice priceListId sellPrice } sellIfOutOfStock sku updatedAt variantValueIds { variantTypeId variantValueId } weight } vendorId weight } }",
|
|
56
58
|
"saveProductAttribute": "mutation saveProductAttribute($input: ProductAttributeInput!){ saveProductAttribute(input: $input) { createdAt deleted description id name options { createdAt deleted id name updatedAt } tableTemplate { columns { id name } rows { id name } } translations { description locale name options { id name } } type updatedAt } }",
|
|
57
59
|
"saveProductBrand": "mutation saveProductBrand($input: ProductBrandInput!){ saveProductBrand(input: $input) { createdAt deleted description id imageId metaData { createdAt deleted description id metadataOverrides { description language pageTitle storefrontId storefrontRegionId } pageTitle redirectTo slug targetId targetType translations { description locale pageTitle } updatedAt } name orderType salesChannelIds translations { description locale name } updatedAt } }",
|
|
58
60
|
"saveProductStockLocations": "mutation saveProductStockLocations($input: SaveStockLocationsInput!){ saveProductStockLocations(input: $input) }",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"default-gqls.js","sourceRoot":"","sources":["../../../../src/api/admin/generated/default-gqls.ts"],"names":[],"mappings":";;;AAAa,QAAA,gBAAgB,GAAG;IAC9B,kBAAkB,EAAE,iKAAiK;IACrL,mBAAmB,EAAE,6HAA6H;IAClJ,aAAa,EAAE,wUAAwU;IACvV,oBAAoB,EAAE,mwBAAmwB;IACzxB,iBAAiB,EAAE,+JAA+J;IAClL,mBAAmB,EAAE,oGAAoG;IACzH,cAAc,EAAE,
|
|
1
|
+
{"version":3,"file":"default-gqls.js","sourceRoot":"","sources":["../../../../src/api/admin/generated/default-gqls.ts"],"names":[],"mappings":";;;AAAa,QAAA,gBAAgB,GAAG;IAC9B,kBAAkB,EAAE,iKAAiK;IACrL,mBAAmB,EAAE,6HAA6H;IAClJ,aAAa,EAAE,wUAAwU;IACvV,oBAAoB,EAAE,mwBAAmwB;IACzxB,iBAAiB,EAAE,+JAA+J;IAClL,mBAAmB,EAAE,oGAAoG;IACzH,cAAc,EAAE,utBAAutB;IACvuB,UAAU,EAAE,kZAAkZ;IAC9Z,aAAa,EAAE,0bAA0b;IACzc,cAAc,EAAE,8nCAA8nC;IAC9oC,cAAc,EAAE,qcAAqc;IACrd,cAAc,EAAE,qHAAqH;IACrI,wBAAwB,EAAE,yUAAyU;IACnW,WAAW,EAAE,stGAAstG;IACnuG,eAAe,EAAE,yHAAyH;IAC1I,aAAa,EAAE,g5CAAg5C;IAC/5C,sBAAsB,EAAE,oZAAoZ;IAC5a,kBAAkB,EAAE,ujBAAujB;IAC3kB,sBAAsB,EAAE,kzBAAkzB;IAC10B,0BAA0B,EAAE,scAAsc;IACle,gBAAgB,EAAE,uPAAuP;IACzQ,kBAAkB,EAAE,kMAAkM;IACtN,WAAW,EAAE,oUAAoU;IACjV,mBAAmB,EAAE,waAAwa;IAC7b,gBAAgB,EAAE,kHAAkH;IACpI,wBAAwB,EAAE,0NAA0N;IACpP,UAAU,EAAE,kUAAkU;IAC9U,iBAAiB,EAAE,0VAA0V;IAC7W,aAAa,EAAE,qFAAqF;IACpG,IAAI,EAAE,2HAA2H;IACjI,wBAAwB,EAAE,iIAAiI;IAC3J,gBAAgB,EAAE,mHAAmH;CACtI,CAAA;AAEY,QAAA,mBAAmB,GAAG;IACjC,wBAAwB,EAAE,mGAAmG;IAC7H,iBAAiB,EAAE,6oFAA6oF;IAChqF,oBAAoB,EAAE,uFAAuF;IAC7G,mBAAmB,EAAE,mpFAAmpF;IACxqF,0BAA0B,EAAE,sQAAsQ;IAClS,6BAA6B,EAAE,irFAAirF;IAChtF,oBAAoB,EAAE,0FAA0F;IAChH,4BAA4B,EAAE,0GAA0G;IACxI,wBAAwB,EAAE,kGAAkG;IAC5H,mBAAmB,EAAE,wFAAwF;IAC7G,sBAAsB,EAAE,8FAA8F;IACtH,0BAA0B,EAAE,oIAAoI;IAChK,uBAAuB,EAAE,gGAAgG;IACzH,eAAe,EAAE,gFAAgF;IACjG,cAAc,EAAE,ooFAAooF;IACppF,wBAAwB,EAAE,kHAAkH;IAC5I,iBAAiB,EAAE,yoFAAyoF;IAC5pF,cAAc,EAAE,8hBAA8hB;IAC9iB,aAAa,EAAE,uoCAAuoC;IACtpC,sBAAsB,EAAE,0UAA0U;IAClW,kBAAkB,EAAE,ucAAuc;IAC3d,2BAA2B,EAAE,mHAAmH;IAChJ,gBAAgB,EAAE,uKAAuK;IACzL,kBAAkB,EAAE,+MAA+M;IACnO,wBAAwB,EAAE,0NAA0N;IACpP,mBAAmB,EAAE,kGAAkG;IACvH,iBAAiB,EAAE,2QAA2Q;IAC9R,aAAa,EAAE,8HAA8H;IAC7I,sBAAsB,EAAE,4pFAA4pF;IACprF,iBAAiB,EAAE,yoFAAyoF;IAC5pF,0BAA0B,EAAE,wqFAAwqF;IACpsF,iCAAiC,EAAE,iHAAiH;CACrJ,CAAA"}
|
|
@@ -228,6 +228,16 @@ export declare type BulkUpdateProductsInput = {
|
|
|
228
228
|
/** Weight of the product. */
|
|
229
229
|
weight?: InputMaybe<Scalars['Float']>;
|
|
230
230
|
};
|
|
231
|
+
export declare type CSVExportFilterInput = {
|
|
232
|
+
brandId?: InputMaybe<StringFilterInput>;
|
|
233
|
+
categoryIds?: InputMaybe<CategoryFilterInput>;
|
|
234
|
+
tagIds?: InputMaybe<StringFilterInput>;
|
|
235
|
+
};
|
|
236
|
+
export declare type CSVImportResponse = {
|
|
237
|
+
__typename?: 'CSVImportResponse';
|
|
238
|
+
csvContent?: Maybe<Scalars['String']>;
|
|
239
|
+
isSuccess: Scalars['Boolean'];
|
|
240
|
+
};
|
|
231
241
|
/** Campaign Type Enum */
|
|
232
242
|
export declare enum CampaignTypeEnum {
|
|
233
243
|
BUY_X_THEN_GET_Y = "BUY_X_THEN_GET_Y",
|
|
@@ -290,6 +300,10 @@ export declare enum CategoryConditionTypeEnum {
|
|
|
290
300
|
PRODUCT_TAG = "PRODUCT_TAG",
|
|
291
301
|
VARIANT_VALUE = "VARIANT_VALUE"
|
|
292
302
|
}
|
|
303
|
+
export declare type CategoryFilterInput = {
|
|
304
|
+
eq?: InputMaybe<Scalars['String']>;
|
|
305
|
+
in?: InputMaybe<Array<Scalars['String']>>;
|
|
306
|
+
};
|
|
293
307
|
export declare type CategoryInput = {
|
|
294
308
|
conditions?: InputMaybe<Array<CategoryConditionInput>>;
|
|
295
309
|
createdAt?: InputMaybe<Scalars['Timestamp']>;
|
|
@@ -1128,6 +1142,7 @@ export declare type Mutation = {
|
|
|
1128
1142
|
deleteWebhook: Scalars['Boolean'];
|
|
1129
1143
|
/** Use this mutation to fulfill order line items. */
|
|
1130
1144
|
fulfillOrder: Order;
|
|
1145
|
+
productAttributeImport: CSVImportResponse;
|
|
1131
1146
|
/** Use this mutation to refund operations. */
|
|
1132
1147
|
refundOrderLine: Order;
|
|
1133
1148
|
/** Using this api, you can update the categories of products. */
|
|
@@ -1206,6 +1221,9 @@ export declare type MutationdeleteWebhookArgs = {
|
|
|
1206
1221
|
export declare type MutationfulfillOrderArgs = {
|
|
1207
1222
|
input: FulFillOrderInput;
|
|
1208
1223
|
};
|
|
1224
|
+
export declare type MutationproductAttributeImportArgs = {
|
|
1225
|
+
file: Scalars['String'];
|
|
1226
|
+
};
|
|
1209
1227
|
export declare type MutationrefundOrderLineArgs = {
|
|
1210
1228
|
input: OrderRefundInput;
|
|
1211
1229
|
};
|
|
@@ -2077,11 +2095,11 @@ export declare type Product = {
|
|
|
2077
2095
|
/** List of product attributes. */
|
|
2078
2096
|
attributes?: Maybe<Array<ProductAttributeValue>>;
|
|
2079
2097
|
/** Brand of the product. */
|
|
2080
|
-
brand?: Maybe<
|
|
2098
|
+
brand?: Maybe<SimpleProductBrand>;
|
|
2081
2099
|
/** Brand id of the product. */
|
|
2082
2100
|
brandId?: Maybe<Scalars['String']>;
|
|
2083
2101
|
/** List of categories of the product. */
|
|
2084
|
-
categories?: Maybe<Array<
|
|
2102
|
+
categories?: Maybe<Array<SimpleCategory>>;
|
|
2085
2103
|
/** List category identifiers of the product. */
|
|
2086
2104
|
categoryIds?: Maybe<Array<Scalars['String']>>;
|
|
2087
2105
|
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
@@ -2108,7 +2126,7 @@ export declare type Product = {
|
|
|
2108
2126
|
/** List of product tag identifiers. */
|
|
2109
2127
|
tagIds?: Maybe<Array<Scalars['String']>>;
|
|
2110
2128
|
/** List of product tags. */
|
|
2111
|
-
tags?: Maybe<Array<
|
|
2129
|
+
tags?: Maybe<Array<SimpleProductTag>>;
|
|
2112
2130
|
/** Translations for the product. */
|
|
2113
2131
|
translations?: Maybe<Array<ProductTranslation>>;
|
|
2114
2132
|
/** Type of the product. */
|
|
@@ -2686,6 +2704,7 @@ export declare type Query = {
|
|
|
2686
2704
|
/** Use this query to list active webhooks of your application. */
|
|
2687
2705
|
listWebhook: Array<Webhook>;
|
|
2688
2706
|
me?: Maybe<MeResponse>;
|
|
2707
|
+
productAttributeExport: Scalars['String'];
|
|
2689
2708
|
/** Result(s) containing searched products. */
|
|
2690
2709
|
searchProducts: ProductSearchResponse;
|
|
2691
2710
|
};
|
|
@@ -2699,7 +2718,6 @@ export declare type QuerygetVideoUploadUrlArgs = {
|
|
|
2699
2718
|
export declare type QuerylistCategoryArgs = {
|
|
2700
2719
|
categoryPath?: InputMaybe<CategoryPathFilterInput>;
|
|
2701
2720
|
id?: InputMaybe<StringFilterInput>;
|
|
2702
|
-
includeDeleted?: InputMaybe<Scalars['Boolean']>;
|
|
2703
2721
|
name?: InputMaybe<StringFilterInput>;
|
|
2704
2722
|
search?: InputMaybe<Scalars['String']>;
|
|
2705
2723
|
updatedAt?: InputMaybe<DateFilterInput>;
|
|
@@ -2723,7 +2741,6 @@ export declare type QuerylistCountryArgs = {
|
|
|
2723
2741
|
export declare type QuerylistCustomerArgs = {
|
|
2724
2742
|
email?: InputMaybe<StringFilterInput>;
|
|
2725
2743
|
id?: InputMaybe<StringFilterInput>;
|
|
2726
|
-
includeDeleted?: InputMaybe<Scalars['Boolean']>;
|
|
2727
2744
|
merchantId?: InputMaybe<StringFilterInput>;
|
|
2728
2745
|
pagination?: InputMaybe<PaginationInput>;
|
|
2729
2746
|
phone?: InputMaybe<StringFilterInput>;
|
|
@@ -2750,7 +2767,6 @@ export declare type QuerylistMerchantAppPaymentArgs = {
|
|
|
2750
2767
|
export declare type QuerylistOrderArgs = {
|
|
2751
2768
|
closedAt?: InputMaybe<DateFilterInput>;
|
|
2752
2769
|
id?: InputMaybe<StringFilterInput>;
|
|
2753
|
-
includeDeleted?: InputMaybe<Scalars['Boolean']>;
|
|
2754
2770
|
orderNumber?: InputMaybe<StringFilterInput>;
|
|
2755
2771
|
orderPackageStatus?: InputMaybe<OrderPackageStatusEnumInputFilter>;
|
|
2756
2772
|
orderPaymentStatus?: InputMaybe<OrderPaymentStatusEnumInputFilter>;
|
|
@@ -2774,27 +2790,23 @@ export declare type QuerylistProductArgs = {
|
|
|
2774
2790
|
};
|
|
2775
2791
|
export declare type QuerylistProductAttributeArgs = {
|
|
2776
2792
|
id?: InputMaybe<StringFilterInput>;
|
|
2777
|
-
includeDeleted?: InputMaybe<Scalars['Boolean']>;
|
|
2778
2793
|
name?: InputMaybe<StringFilterInput>;
|
|
2779
2794
|
updatedAt?: InputMaybe<DateFilterInput>;
|
|
2780
2795
|
};
|
|
2781
2796
|
export declare type QuerylistProductBrandArgs = {
|
|
2782
2797
|
id?: InputMaybe<StringFilterInput>;
|
|
2783
|
-
includeDeleted?: InputMaybe<Scalars['Boolean']>;
|
|
2784
2798
|
name?: InputMaybe<StringFilterInput>;
|
|
2785
2799
|
search?: InputMaybe<Scalars['String']>;
|
|
2786
2800
|
updatedAt?: InputMaybe<DateFilterInput>;
|
|
2787
2801
|
};
|
|
2788
2802
|
export declare type QuerylistProductOptionSetArgs = {
|
|
2789
2803
|
id?: InputMaybe<StringFilterInput>;
|
|
2790
|
-
includeDeleted?: InputMaybe<Scalars['Boolean']>;
|
|
2791
2804
|
name?: InputMaybe<StringFilterInput>;
|
|
2792
2805
|
search?: InputMaybe<Scalars['String']>;
|
|
2793
2806
|
updatedAt?: InputMaybe<DateFilterInput>;
|
|
2794
2807
|
};
|
|
2795
2808
|
export declare type QuerylistProductStockLocationArgs = {
|
|
2796
2809
|
id?: InputMaybe<StringFilterInput>;
|
|
2797
|
-
includeDeleted?: InputMaybe<Scalars['Boolean']>;
|
|
2798
2810
|
pagination?: InputMaybe<PaginationInput>;
|
|
2799
2811
|
productId?: InputMaybe<StringFilterInput>;
|
|
2800
2812
|
sort?: InputMaybe<Scalars['String']>;
|
|
@@ -2803,7 +2815,6 @@ export declare type QuerylistProductStockLocationArgs = {
|
|
|
2803
2815
|
};
|
|
2804
2816
|
export declare type QuerylistProductTagArgs = {
|
|
2805
2817
|
id?: InputMaybe<StringFilterInput>;
|
|
2806
|
-
includeDeleted?: InputMaybe<Scalars['Boolean']>;
|
|
2807
2818
|
name?: InputMaybe<StringFilterInput>;
|
|
2808
2819
|
updatedAt?: InputMaybe<DateFilterInput>;
|
|
2809
2820
|
};
|
|
@@ -2819,7 +2830,6 @@ export declare type QuerylistStateArgs = {
|
|
|
2819
2830
|
};
|
|
2820
2831
|
export declare type QuerylistStockLocationArgs = {
|
|
2821
2832
|
id?: InputMaybe<StringFilterInput>;
|
|
2822
|
-
includeDeleted?: InputMaybe<Scalars['Boolean']>;
|
|
2823
2833
|
name?: InputMaybe<StringFilterInput>;
|
|
2824
2834
|
updatedAt?: InputMaybe<DateFilterInput>;
|
|
2825
2835
|
};
|
|
@@ -2838,10 +2848,12 @@ export declare type QuerylistTownArgs = {
|
|
|
2838
2848
|
};
|
|
2839
2849
|
export declare type QuerylistVariantTypeArgs = {
|
|
2840
2850
|
id?: InputMaybe<StringFilterInput>;
|
|
2841
|
-
includeDeleted?: InputMaybe<Scalars['Boolean']>;
|
|
2842
2851
|
name?: InputMaybe<StringFilterInput>;
|
|
2843
2852
|
updatedAt?: InputMaybe<DateFilterInput>;
|
|
2844
2853
|
};
|
|
2854
|
+
export declare type QueryproductAttributeExportArgs = {
|
|
2855
|
+
csvFilterInput?: InputMaybe<CSVExportFilterInput>;
|
|
2856
|
+
};
|
|
2845
2857
|
export declare type QuerysearchProductsArgs = {
|
|
2846
2858
|
input: SearchInput;
|
|
2847
2859
|
};
|
|
@@ -2918,6 +2930,35 @@ export declare enum ShippingMethodEnum {
|
|
|
2918
2930
|
NO_SHIPMENT = "NO_SHIPMENT",
|
|
2919
2931
|
SHIPMENT = "SHIPMENT"
|
|
2920
2932
|
}
|
|
2933
|
+
export declare type SimpleCategory = {
|
|
2934
|
+
__typename?: 'SimpleCategory';
|
|
2935
|
+
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
2936
|
+
deleted?: Maybe<Scalars['Boolean']>;
|
|
2937
|
+
id: Scalars['ID'];
|
|
2938
|
+
/** It is the name of the category in which the product is located. */
|
|
2939
|
+
name: Scalars['String'];
|
|
2940
|
+
/** It is the id of the superclass category of the category. */
|
|
2941
|
+
parentId?: Maybe<Scalars['String']>;
|
|
2942
|
+
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
2943
|
+
};
|
|
2944
|
+
export declare type SimpleProductBrand = {
|
|
2945
|
+
__typename?: 'SimpleProductBrand';
|
|
2946
|
+
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
2947
|
+
deleted?: Maybe<Scalars['Boolean']>;
|
|
2948
|
+
id: Scalars['ID'];
|
|
2949
|
+
/** The name of the product's brand. */
|
|
2950
|
+
name: Scalars['String'];
|
|
2951
|
+
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
2952
|
+
};
|
|
2953
|
+
export declare type SimpleProductTag = {
|
|
2954
|
+
__typename?: 'SimpleProductTag';
|
|
2955
|
+
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
2956
|
+
deleted?: Maybe<Scalars['Boolean']>;
|
|
2957
|
+
id: Scalars['ID'];
|
|
2958
|
+
/** The name of the product's tag. */
|
|
2959
|
+
name: Scalars['String'];
|
|
2960
|
+
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
2961
|
+
};
|
|
2921
2962
|
/** Timeline Source Types */
|
|
2922
2963
|
export declare enum SourceTypeEnum {
|
|
2923
2964
|
CUSTOMER = "CUSTOMER",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/admin/generated/index.ts"],"names":[],"mappings":";;;AAoCA,2BAA2B;AAC3B,IAAY,cAGX;AAHD,WAAY,cAAc;IACxB,yCAAuB,CAAA;IACvB,yCAAuB,CAAA;AACzB,CAAC,EAHW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAGzB;AAED,uBAAuB;AACvB,IAAY,cAGX;AAHD,WAAY,cAAc;IACxB,mCAAiB,CAAA;IACjB,iCAAe,CAAA;AACjB,CAAC,EAHW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAGzB;AAED,0BAA0B;AAC1B,IAAY,YAYX;AAZD,WAAY,YAAY;IACtB,iDAAiC,CAAA;IACjC,iDAAiC,CAAA;IACjC,qDAAqC,CAAA;IACrC,2CAA2B,CAAA;IAC3B,+CAA+B,CAAA;IAC/B,mDAAmC,CAAA;IACnC,mDAAmC,CAAA;IACnC,uDAAuC,CAAA;IACvC,6CAA6B,CAAA;IAC7B,iDAAiC,CAAA;IACjC,qDAAqC,CAAA;AACvC,CAAC,EAZW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAYvB;
|
|
1
|
+
{"version":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AiB,CAAA;IACjB,2CAAe,CAAA;AACjB,CAAC,EAHW,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAGnC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ikasAdminGraphQLAPIClient } from '../admin-client';
|
|
2
|
-
import { Mutation, MutationaddCustomTimelineEntryArgs, MutationaddOrderInvoiceArgs, MutationbulkUpdateProductsArgs, MutationcancelFulfillmentArgs, MutationcreateMerchantAppPaymentArgs, MutationcreateOrderWithTransactionsArgs, MutationdeleteCategoryListArgs, MutationdeleteProductAttributeListArgs, MutationdeleteProductBrandListArgs, MutationdeleteProductListArgs, MutationdeleteProductTagListArgs, MutationdeleteStorefrontJSScriptArgs, MutationdeleteVariantTypeListArgs, MutationdeleteWebhookArgs, MutationfulfillOrderArgs, MutationrefundOrderLineArgs, MutationsaveCategoryArgs, MutationsaveProductArgs, MutationsaveProductAttributeArgs, MutationsaveProductBrandArgs, MutationsaveProductStockLocationsArgs, MutationsaveProductTagArgs, MutationsaveSalesChannelArgs, MutationsaveStorefrontJSScriptArgs, MutationsaveVariantPricesArgs, MutationsaveVariantTypeArgs, MutationsaveWebhookArgs, MutationupdateOrderAddressesArgs, MutationupdateOrderLineArgs, MutationupdateOrderPackageStatusArgs, MutationupdateProductSalesChannelStatusArgs } from './';
|
|
2
|
+
import { Mutation, MutationaddCustomTimelineEntryArgs, MutationaddOrderInvoiceArgs, MutationbulkUpdateProductsArgs, MutationcancelFulfillmentArgs, MutationcreateMerchantAppPaymentArgs, MutationcreateOrderWithTransactionsArgs, MutationdeleteCategoryListArgs, MutationdeleteProductAttributeListArgs, MutationdeleteProductBrandListArgs, MutationdeleteProductListArgs, MutationdeleteProductTagListArgs, MutationdeleteStorefrontJSScriptArgs, MutationdeleteVariantTypeListArgs, MutationdeleteWebhookArgs, MutationfulfillOrderArgs, MutationproductAttributeImportArgs, MutationrefundOrderLineArgs, MutationsaveCategoryArgs, MutationsaveProductArgs, MutationsaveProductAttributeArgs, MutationsaveProductBrandArgs, MutationsaveProductStockLocationsArgs, MutationsaveProductTagArgs, MutationsaveSalesChannelArgs, MutationsaveStorefrontJSScriptArgs, MutationsaveVariantPricesArgs, MutationsaveVariantTypeArgs, MutationsaveWebhookArgs, MutationupdateOrderAddressesArgs, MutationupdateOrderLineArgs, MutationupdateOrderPackageStatusArgs, MutationupdateProductSalesChannelStatusArgs } from './';
|
|
3
3
|
import { APIResult, MutationOptions } from '../../base';
|
|
4
4
|
declare type Mutations = {
|
|
5
5
|
[p in keyof Omit<Mutation, '__typename'>]: (options: MutationOptions<any>) => Promise<APIResult<Partial<Mutation[p]>>>;
|
|
@@ -22,6 +22,7 @@ export declare class AdminMutation implements Mutations {
|
|
|
22
22
|
deleteVariantTypeList(options: MutationOptions<MutationdeleteVariantTypeListArgs>): Promise<APIResult<Partial<Mutation['deleteVariantTypeList']>>>;
|
|
23
23
|
deleteWebhook(options: MutationOptions<MutationdeleteWebhookArgs>): Promise<APIResult<Partial<Mutation['deleteWebhook']>>>;
|
|
24
24
|
fulfillOrder(options: MutationOptions<MutationfulfillOrderArgs>): Promise<APIResult<Partial<Mutation['fulfillOrder']>>>;
|
|
25
|
+
productAttributeImport(options: MutationOptions<MutationproductAttributeImportArgs>): Promise<APIResult<Partial<Mutation['productAttributeImport']>>>;
|
|
25
26
|
refundOrderLine(options: MutationOptions<MutationrefundOrderLineArgs>): Promise<APIResult<Partial<Mutation['refundOrderLine']>>>;
|
|
26
27
|
saveCategory(options: MutationOptions<MutationsaveCategoryArgs>): Promise<APIResult<Partial<Mutation['saveCategory']>>>;
|
|
27
28
|
saveProduct(options: MutationOptions<MutationsaveProductArgs>): Promise<APIResult<Partial<Mutation['saveProduct']>>>;
|
|
@@ -157,6 +157,13 @@ var AdminMutation = /** @class */ (function () {
|
|
|
157
157
|
});
|
|
158
158
|
});
|
|
159
159
|
};
|
|
160
|
+
AdminMutation.prototype.productAttributeImport = function (options) {
|
|
161
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
162
|
+
return __generator(this, function (_a) {
|
|
163
|
+
return [2 /*return*/, this.client.mutate(__assign(__assign({}, options), { operationName: 'productAttributeImport' }))];
|
|
164
|
+
});
|
|
165
|
+
});
|
|
166
|
+
};
|
|
160
167
|
AdminMutation.prototype.refundOrderLine = function (options) {
|
|
161
168
|
return __awaiter(this, void 0, void 0, function () {
|
|
162
169
|
return __generator(this, function (_a) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mutation.js","sourceRoot":"","sources":["../../../../src/api/admin/generated/mutation.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"mutation.js","sourceRoot":"","sources":["../../../../src/api/admin/generated/mutation.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0CA;IAGE,uBAAY,MAAsC;QAChD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAEK,8CAAsB,GAA5B,UAA6B,OAA4D;;;gBACvF,sBAAO,IAAI,CAAC,MAAM,CAAC,MAAM,uBAAmD,OAAO,KAAE,aAAa,EAAE,wBAAwB,IAAG,EAAC;;;KACjI;IAEK,uCAAe,GAArB,UAAsB,OAAqD;;;gBACzE,sBAAO,IAAI,CAAC,MAAM,CAAC,MAAM,uBAA4C,OAAO,KAAE,aAAa,EAAE,iBAAiB,IAAG,EAAC;;;KACnH;IAEK,0CAAkB,GAAxB,UAAyB,OAAwD;;;gBAC/E,sBAAO,IAAI,CAAC,MAAM,CAAC,MAAM,uBAA+C,OAAO,KAAE,aAAa,EAAE,oBAAoB,IAAG,EAAC;;;KACzH;IAEK,yCAAiB,GAAvB,UAAwB,OAAuD;;;gBAC7E,sBAAO,IAAI,CAAC,MAAM,CAAC,MAAM,uBAA8C,OAAO,KAAE,aAAa,EAAE,mBAAmB,IAAG,EAAC;;;KACvH;IAEK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,KAAE,aAAa,EAAE,iBAAiB,IAAG,EAAC;;;KACnH;IAEK,gDAAwB,GAA9B,UAA+B,OAA8D;;;gBAC3F,sBAAO,IAAI,CAAC,MAAM,CAAC,MAAM,uBAAqD,OAAO,KAAE,aAAa,EAAE,0BAA0B,IAAG,EAAC;;;KACrI;IAEK,uDAA+B,GAArC,UAAsC,OAAqE;;;gBACzG,sBAAO,IAAI,CAAC,MAAM,CAAC,MAAM,uBAA4D,OAAO,KAAE,aAAa,EAAE,iCAAiC,IAAG,EAAC;;;KACnJ;IACH,oBAAC;AAAD,CAAC,AAtID,IAsIC;AAtIY,sCAAa"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ikasAdminGraphQLAPIClient } from '../admin-client';
|
|
2
|
-
import { Query, QuerygetImageUploadUrlArgs, QuerygetVideoUploadUrlArgs, QuerylistCategoryArgs, QuerylistCityArgs, QuerylistCountryArgs, QuerylistCustomerArgs, QuerylistDistrictArgs, QuerylistLanguageArgs, QuerylistMerchantAppPaymentArgs, QuerylistOrderArgs, QuerylistPriceListArgs, QuerylistProductArgs, QuerylistProductAttributeArgs, QuerylistProductBrandArgs, QuerylistProductOptionSetArgs, QuerylistProductStockLocationArgs, QuerylistProductTagArgs, QuerylistSalesChannelArgs, QuerylistStateArgs, QuerylistStockLocationArgs, QuerylistStorefrontArgs, QuerylistStorefrontJSScriptArgs, QuerylistTownArgs, QuerylistVariantTypeArgs, QuerysearchProductsArgs } from './';
|
|
2
|
+
import { Query, QuerygetImageUploadUrlArgs, QuerygetVideoUploadUrlArgs, QuerylistCategoryArgs, QuerylistCityArgs, QuerylistCountryArgs, QuerylistCustomerArgs, QuerylistDistrictArgs, QuerylistLanguageArgs, QuerylistMerchantAppPaymentArgs, QuerylistOrderArgs, QuerylistPriceListArgs, QuerylistProductArgs, QuerylistProductAttributeArgs, QuerylistProductBrandArgs, QuerylistProductOptionSetArgs, QuerylistProductStockLocationArgs, QuerylistProductTagArgs, QuerylistSalesChannelArgs, QuerylistStateArgs, QuerylistStockLocationArgs, QuerylistStorefrontArgs, QuerylistStorefrontJSScriptArgs, QuerylistTownArgs, QuerylistVariantTypeArgs, QueryproductAttributeExportArgs, QuerysearchProductsArgs } from './';
|
|
3
3
|
import { APIResult, QueryOptions } from '../../base';
|
|
4
4
|
declare type Queries = {
|
|
5
5
|
[p in keyof Omit<Query, '__typename'>]: (options: QueryOptions<any>) => Promise<APIResult<Partial<Query[p]>>>;
|
|
@@ -37,6 +37,7 @@ export declare class AdminQuery implements Queries {
|
|
|
37
37
|
listVariantType(options: QueryOptions<QuerylistVariantTypeArgs>): Promise<APIResult<Partial<Query['listVariantType']>>>;
|
|
38
38
|
listWebhook(options: QueryOptions<undefined>): Promise<APIResult<Partial<Query['listWebhook']>>>;
|
|
39
39
|
me(options: QueryOptions<undefined>): Promise<APIResult<Partial<Query['me']>>>;
|
|
40
|
+
productAttributeExport(options: QueryOptions<QueryproductAttributeExportArgs>): Promise<APIResult<Partial<Query['productAttributeExport']>>>;
|
|
40
41
|
searchProducts(options: QueryOptions<QuerysearchProductsArgs>): Promise<APIResult<Partial<Query['searchProducts']>>>;
|
|
41
42
|
}
|
|
42
43
|
export {};
|
|
@@ -262,6 +262,13 @@ var AdminQuery = /** @class */ (function () {
|
|
|
262
262
|
});
|
|
263
263
|
});
|
|
264
264
|
};
|
|
265
|
+
AdminQuery.prototype.productAttributeExport = function (options) {
|
|
266
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
267
|
+
return __generator(this, function (_a) {
|
|
268
|
+
return [2 /*return*/, this.client.query(__assign(__assign({}, options), { operationName: 'productAttributeExport' }))];
|
|
269
|
+
});
|
|
270
|
+
});
|
|
271
|
+
};
|
|
265
272
|
AdminQuery.prototype.searchProducts = function (options) {
|
|
266
273
|
return __awaiter(this, void 0, void 0, function () {
|
|
267
274
|
return __generator(this, function (_a) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query.js","sourceRoot":"","sources":["../../../../src/api/admin/generated/query.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"query.js","sourceRoot":"","sources":["../../../../src/api/admin/generated/query.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCA;IAGE,oBAAY,MAAsC;QAChD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAEK,qCAAgB,GAAtB,UAAuB,OAAgC;;;gBACrD,sBAAO,IAAI,CAAC,MAAM,CAAC,KAAK,uBAA0C,OAAO,KAAE,aAAa,EAAE,kBAAkB,IAAG,EAAC;;;KACjH;IAEK,sCAAiB,GAAvB,UAAwB,OAAiD;;;gBACvE,sBAAO,IAAI,CAAC,MAAM,CAAC,KAAK,uBAA2C,OAAO,KAAE,aAAa,EAAE,mBAAmB,IAAG,EAAC;;;KACnH;IAEK,gCAAW,GAAjB,UAAkB,OAAgC;;;gBAChD,sBAAO,IAAI,CAAC,MAAM,CAAC,KAAK,uBAAqC,OAAO,KAAE,aAAa,EAAE,aAAa,IAAG,EAAC;;;KACvG;IAEK,uCAAkB,GAAxB,UAAyB,OAAgC;;;gBACvD,sBAAO,IAAI,CAAC,MAAM,CAAC,KAAK,uBAA4C,OAAO,KAAE,aAAa,EAAE,oBAAoB,IAAG,EAAC;;;KACrH;IAEK,oCAAe,GAArB,UAAsB,OAAgC;;;gBACpD,sBAAO,IAAI,CAAC,MAAM,CAAC,KAAK,uBAAyC,OAAO,KAAE,aAAa,EAAE,iBAAiB,IAAG,EAAC;;;KAC/G;IAEK,sCAAiB,GAAvB,UAAwB,OAAiD;;;gBACvE,sBAAO,IAAI,CAAC,MAAM,CAAC,KAAK,uBAA2C,OAAO,KAAE,aAAa,EAAE,mBAAmB,IAAG,EAAC;;;KACnH;IAEK,iCAAY,GAAlB,UAAmB,OAA4C;;;gBAC7D,sBAAO,IAAI,CA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AAU"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Customer, MerchantAppPaymentStatusEnum, MerchantAppPaymentTypeEnum, MerchantAppSubscription, MerchantLicenceStatusEnum, Order, Product, ProductAttribute, ProductAttributeOption, ProductAttributeValue, ProductStockLocation, ProductVariantType, SimpleCategory, SimpleProductBrand, SimpleProductTag, Variant, VariantType } from '../../api';
|
|
2
2
|
export declare enum WebhookScope {
|
|
3
3
|
ORDER_CREATED = "store/order/created",
|
|
4
4
|
ORDER_UPDATED = "store/order/updated",
|
|
@@ -36,9 +36,9 @@ export interface IWebhookProduct extends Product {
|
|
|
36
36
|
productVariantTypes?: IWebhookProductVariantType[] | null;
|
|
37
37
|
variants: IWebhookVariant[];
|
|
38
38
|
attributes?: IWebhookProductAttributeValue[] | null;
|
|
39
|
-
tags?:
|
|
40
|
-
brand?:
|
|
41
|
-
categories?:
|
|
39
|
+
tags?: SimpleProductTag[] | null;
|
|
40
|
+
brand?: SimpleProductBrand | null;
|
|
41
|
+
categories?: SimpleCategory[] | null;
|
|
42
42
|
}
|
|
43
43
|
export interface IWebhookOrder extends Order {
|
|
44
44
|
}
|