@ikas/api-client 1.0.5-alpha.1 → 1.0.5-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/admin/generated/default-gqls.d.ts +1 -0
- package/dist/api/admin/generated/default-gqls.js +3 -2
- package/dist/api/admin/generated/default-gqls.js.map +1 -1
- package/dist/api/admin/generated/index.d.ts +10 -0
- 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/package.json +1 -1
|
@@ -35,6 +35,7 @@ export declare const QueryDefaultGQLs: {
|
|
|
35
35
|
export declare const MutationDefaultGQLs: {
|
|
36
36
|
addCustomTimelineEntry: string;
|
|
37
37
|
addOrderInvoice: string;
|
|
38
|
+
approvePendingOrderTransactions: string;
|
|
38
39
|
bulkUpdateProducts: string;
|
|
39
40
|
cancelFulfillment: string;
|
|
40
41
|
createMerchantAppPayment: string;
|
|
@@ -17,7 +17,7 @@ exports.QueryDefaultGQLs = {
|
|
|
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
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 } sessionInfo { countryCode durationMS end host ip referer salesChannelId sessionId start storefrontId trafficSource { source type } userAgent { deviceType name os } utm { campaign content medium source term } visitorId } 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 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 } }",
|
|
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 stocks { stockCount stockLocationId } updatedAt variantValueIds { variantTypeId variantValueId } weight } vendorId weight } hasNext limit page } }",
|
|
21
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
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
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 } }",
|
|
@@ -38,6 +38,7 @@ exports.QueryDefaultGQLs = {
|
|
|
38
38
|
exports.MutationDefaultGQLs = {
|
|
39
39
|
"addCustomTimelineEntry": "mutation addCustomTimelineEntry($input: TimelineInput!){ addCustomTimelineEntry(input: $input) }",
|
|
40
40
|
"addOrderInvoice": "mutation addOrderInvoice($input: AddOrderInvoiceInput!){ addOrderInvoice(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 } sessionInfo { countryCode durationMS end host ip referer salesChannelId sessionId start storefrontId trafficSource { source type } userAgent { deviceType name os } utm { campaign content medium source term } visitorId } 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 } }",
|
|
41
|
+
"approvePendingOrderTransactions": "mutation approvePendingOrderTransactions($orderId: String!){ approvePendingOrderTransactions(orderId: $orderId) }",
|
|
41
42
|
"bulkUpdateProducts": "mutation bulkUpdateProducts($input: undefined!){ bulkUpdateProducts(input: $input) }",
|
|
42
43
|
"cancelFulfillment": "mutation cancelFulfillment($input: CancelFulfillmentInput!){ cancelFulfillment(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 } sessionInfo { countryCode durationMS end host ip referer salesChannelId sessionId start storefrontId trafficSource { source type } userAgent { deviceType name os } utm { campaign content medium source term } visitorId } 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 } }",
|
|
43
44
|
"createMerchantAppPayment": "mutation createMerchantAppPayment($input: MerchantAppPaymentInput!){ createMerchantAppPayment(input: $input) { appPaymentKey authorizedAppId createdAt deleted id merchantPaymentUrl name paymentDate prices { period price } status storeAppId type updatedAt } }",
|
|
@@ -54,7 +55,7 @@ exports.MutationDefaultGQLs = {
|
|
|
54
55
|
"productAttributeImport": "mutation productAttributeImport($file: String!){ productAttributeImport(file: $file) { csvContent isSuccess } }",
|
|
55
56
|
"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 } sessionInfo { countryCode durationMS end host ip referer salesChannelId sessionId start storefrontId trafficSource { source type } userAgent { deviceType name os } utm { campaign content medium source term } visitorId } 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 } }",
|
|
56
57
|
"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 } }",
|
|
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 } }",
|
|
58
|
+
"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 stocks { stockCount stockLocationId } updatedAt variantValueIds { variantTypeId variantValueId } weight } vendorId weight } }",
|
|
58
59
|
"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 } }",
|
|
59
60
|
"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 } }",
|
|
60
61
|
"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,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,s7GAAs7G;IACn8G,eAAe,EAAE,yHAAyH;IAC1I,aAAa,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,s7GAAs7G;IACn8G,eAAe,EAAE,yHAAyH;IAC1I,aAAa,EAAE,u7CAAu7C;IACt8C,sBAAsB,EAAE,oZAAoZ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ACnO,wBAAwB,EAAE,0NAA0N;IACpP,mBAAmB,EAAE,kGAAkG;IACvH,iBAAiB,EAAE,2QAA2Q;IAC9R,aAAa,EAAE,8HAA8H;IAC7I,sBAAsB,EAAE,43FAA43F;IACp5F,iBAAiB,EAAE,y2FAAy2F;IAC53F,0BAA0B,EAAE,w4FAAw4F;IACp6F,iCAAiC,EAAE,iHAAiH;CACrJ,CAAA"}
|
|
@@ -1118,6 +1118,7 @@ export declare type Mutation = {
|
|
|
1118
1118
|
addCustomTimelineEntry: Scalars['Boolean'];
|
|
1119
1119
|
/** Use this mutation to add invoice to order. */
|
|
1120
1120
|
addOrderInvoice: Order;
|
|
1121
|
+
approvePendingOrderTransactions: Scalars['Boolean'];
|
|
1121
1122
|
/** Response indicating the status of operation. */
|
|
1122
1123
|
bulkUpdateProducts: Scalars['Boolean'];
|
|
1123
1124
|
/** Use this mutation to cancel the already created package for an order. */
|
|
@@ -1184,6 +1185,9 @@ export declare type MutationaddCustomTimelineEntryArgs = {
|
|
|
1184
1185
|
export declare type MutationaddOrderInvoiceArgs = {
|
|
1185
1186
|
input: AddOrderInvoiceInput;
|
|
1186
1187
|
};
|
|
1188
|
+
export declare type MutationapprovePendingOrderTransactionsArgs = {
|
|
1189
|
+
orderId: Scalars['String'];
|
|
1190
|
+
};
|
|
1187
1191
|
export declare type MutationbulkUpdateProductsArgs = {
|
|
1188
1192
|
input: Array<BulkUpdateProductsInput>;
|
|
1189
1193
|
};
|
|
@@ -3322,6 +3326,7 @@ export declare type Variant = {
|
|
|
3322
3326
|
sellIfOutOfStock?: Maybe<Scalars['Boolean']>;
|
|
3323
3327
|
/** SKU of the variant. */
|
|
3324
3328
|
sku?: Maybe<Scalars['String']>;
|
|
3329
|
+
stocks?: Maybe<Array<VariantStock>>;
|
|
3325
3330
|
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
3326
3331
|
/** List of variant value ids. */
|
|
3327
3332
|
variantValueIds?: Maybe<Array<VariantValueRelation>>;
|
|
@@ -3358,6 +3363,11 @@ export declare enum VariantSelectionTypeEnum {
|
|
|
3358
3363
|
CHOICE = "CHOICE",
|
|
3359
3364
|
COLOR = "COLOR"
|
|
3360
3365
|
}
|
|
3366
|
+
export declare type VariantStock = {
|
|
3367
|
+
__typename?: 'VariantStock';
|
|
3368
|
+
stockCount: Scalars['Float'];
|
|
3369
|
+
stockLocationId: Scalars['String'];
|
|
3370
|
+
};
|
|
3361
3371
|
export declare type VariantType = {
|
|
3362
3372
|
__typename?: 'VariantType';
|
|
3363
3373
|
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
@@ -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;AAgMD,yBAAyB;AACzB,IAAY,gBAKX;AALD,WAAY,gBAAgB;IAC1B,yDAAqC,CAAA;IACrC,iDAA6B,CAAA;IAC7B,mDAA+B,CAAA;IAC/B,m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7D,sEAA6C,CAAA;IAC7C,sEAA6C,CAAA;IAC7C,oEAA2C,CAAA;IAC3C,wDAA+B,CAAA;IAC/B,wFAA+D,CAAA;IAC/D,0DAAiC,CAAA;IACjC,0DAAiC,CAAA;IACjC,gEAAuC,CAAA;IACvC,oDAA2B,CAAA;IAC3B,sEAA6C,CAAA;IAC7C,wDAA+B,CAAA;IAC/B,4DAAmC,CAAA;AACrC,CAAC,EApBW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAoBhC;AAED,IAAY,kBASX;AATD,WAAY,kBAAkB;IAC5B,+BAAS,CAAA;IACT,+BAAS,CAAA;IACT,+BAAS,CAAA;IACT,+BAAS,CAAA;IACT,+BAAS,CAAA;IACT,+BAAS,CAAA;IACT,+BAAS,CAAA;IACT,+BAAS,CAAA;AACX,CAAC,EATW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAS7B;AAsBD,IAAY,+BAGX;AAHD,WAAY,+BAA+B;IACzC,0DAAuB,CAAA;IACvB,4DAAyB,CAAA;AAC3B,CAAC,EAHW,+BAA+B,GAA/B,uCAA+B,KAA/B,uCAA+B,QAG1C;AA+BD,IAAY,8BAIX;AAJD,WAAY,8BAA8B;IACxC,mDAAiB,CAAA;IACjB,qDAAmB,CAAA;IACnB,qEAAmC,CAAA;AACrC,CAAC,EAJW,8BAA8B,GAA9B,sCAA8B,KAA9B,sCAA8B,QAIzC;
|
|
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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B,GAA7B,qCAA6B,KAA7B,qCAA6B,QAIxC;AAsGD,IAAY,mBAgBX;AAhBD,WAAY,mBAAmB;IAC7B,wCAAiB,CAAA;IACjB,kCAAW,CAAA;IACX,0CAAmB,CAAA;IACnB,0CAAmB,CAAA;IACnB,sDAA+B,CAAA;IAC/B,sCAAe,CAAA;IACf,gDAAyB,CAAA;IACzB,0CAAmB,CAAA;IACnB,sEAA+C,CAAA;IAC/C,gDAAyB,CAAA;IACzB,sDAA+B,CAAA;IAC/B,sDAA+B,CAAA;IAC/B,wCAAiB,CAAA;IACjB,gDAAyB,CAAA;IACzB,4CAAqB,CAAA;AACvB,CAAC,EAhBW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAgB9B;AA0DD,8BAA8B;AAC9B,IAAY,wBAGX;AAHD,WAAY,wBAAwB;IAClC,6CAAiB,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, MutationproductAttributeImportArgs, MutationrefundOrderLineArgs, MutationsaveCategoryArgs, MutationsaveProductArgs, MutationsaveProductAttributeArgs, MutationsaveProductBrandArgs, MutationsaveProductStockLocationsArgs, MutationsaveProductTagArgs, MutationsaveSalesChannelArgs, MutationsaveStorefrontJSScriptArgs, MutationsaveVariantPricesArgs, MutationsaveVariantTypeArgs, MutationsaveWebhookArgs, MutationupdateOrderAddressesArgs, MutationupdateOrderLineArgs, MutationupdateOrderPackageStatusArgs, MutationupdateProductSalesChannelStatusArgs } from './';
|
|
2
|
+
import { Mutation, MutationaddCustomTimelineEntryArgs, MutationaddOrderInvoiceArgs, MutationapprovePendingOrderTransactionsArgs, 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]>>>;
|
|
@@ -9,6 +9,7 @@ export declare class AdminMutation implements Mutations {
|
|
|
9
9
|
constructor(client: ikasAdminGraphQLAPIClient<any>);
|
|
10
10
|
addCustomTimelineEntry(options: MutationOptions<MutationaddCustomTimelineEntryArgs>): Promise<APIResult<Partial<Mutation['addCustomTimelineEntry']>>>;
|
|
11
11
|
addOrderInvoice(options: MutationOptions<MutationaddOrderInvoiceArgs>): Promise<APIResult<Partial<Mutation['addOrderInvoice']>>>;
|
|
12
|
+
approvePendingOrderTransactions(options: MutationOptions<MutationapprovePendingOrderTransactionsArgs>): Promise<APIResult<Partial<Mutation['approvePendingOrderTransactions']>>>;
|
|
12
13
|
bulkUpdateProducts(options: MutationOptions<MutationbulkUpdateProductsArgs>): Promise<APIResult<Partial<Mutation['bulkUpdateProducts']>>>;
|
|
13
14
|
cancelFulfillment(options: MutationOptions<MutationcancelFulfillmentArgs>): Promise<APIResult<Partial<Mutation['cancelFulfillment']>>>;
|
|
14
15
|
createMerchantAppPayment(options: MutationOptions<MutationcreateMerchantAppPaymentArgs>): Promise<APIResult<Partial<Mutation['createMerchantAppPayment']>>>;
|
|
@@ -66,6 +66,13 @@ var AdminMutation = /** @class */ (function () {
|
|
|
66
66
|
});
|
|
67
67
|
});
|
|
68
68
|
};
|
|
69
|
+
AdminMutation.prototype.approvePendingOrderTransactions = function (options) {
|
|
70
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
71
|
+
return __generator(this, function (_a) {
|
|
72
|
+
return [2 /*return*/, this.client.mutate(__assign(__assign({}, options), { operationName: 'approvePendingOrderTransactions' }))];
|
|
73
|
+
});
|
|
74
|
+
});
|
|
75
|
+
};
|
|
69
76
|
AdminMutation.prototype.bulkUpdateProducts = function (options) {
|
|
70
77
|
return __awaiter(this, void 0, void 0, function () {
|
|
71
78
|
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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2CA;IAGE,uBAAY,MAAsC;QAChD,IAAI,CAAC,MAAM,GA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