@adtrackify/at-service-common 3.1.11 → 3.1.12
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/clients/third-party/shopify/graphql-product-queries.d.ts +1 -1
- package/dist/cjs/clients/third-party/shopify/graphql-product-queries.js +20 -0
- package/dist/cjs/clients/third-party/shopify/graphql-product-queries.js.map +1 -1
- package/dist/cjs/types/shopify-graphql-types/admin.generated.d.ts +4 -2
- package/dist/esm/clients/third-party/shopify/graphql-product-queries.d.ts +1 -1
- package/dist/esm/clients/third-party/shopify/graphql-product-queries.js +20 -0
- package/dist/esm/clients/third-party/shopify/graphql-product-queries.js.map +1 -1
- package/dist/esm/types/shopify-graphql-types/admin.generated.d.ts +4 -2
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const graphqlProductQueryByProductId = "\n#graphql\nquery GetProduct($id: ID!, $first: Int!, $after: String) {\n product(id: $id) { \n id\n handle\n productType\n hasOnlyDefaultVariant\n isGiftCard\n legacyResourceId\n onlineStoreUrl\n productType\n publishedAt\n requiresSellingPlan\n status\n tags\n title\n totalInventory\n tracksInventory\n vendor\n createdAt\n updatedAt \n category {\n id\n name\n fullName\n parentId\n }\n priceRangeV2 {\n maxVariantPrice {\n amount\n currencyCode\n }\n minVariantPrice {\n amount\n currencyCode\n }\n }\n variantsCount {\n count\n }\n seo {\n title\n description\n }\n featuredMedia {\n id\n mediaContentType\n status\n preview {\n image {\n id\n url\n }\n status\n }\n }\n media (first: 3) {\n nodes {\n id\n mediaContentType\n status\n preview {\n image {\n id\n url\n }\n status\n }\n }\n }\n variants (first: $first, after: $after) { \n pageInfo {\n hasNextPage\n endCursor\n }\n nodes {\n availableForSale\n barcode\n compareAtPrice\n createdAt\n displayName\n id\n legacyResourceId\n product {\n id\n handle\n }\n image {\n id\n url \n }\n inventoryQuantity\n price\n media (first: 3) {\n nodes {\n id\n mediaContentType\n status \n preview {\n image {\n id\n url\n }\n status\n }\n ... on MediaImage {\n createdAt\n fileErrors {\n code\n details\n message\n }\n fileStatus\n id\n image {\n altText\n height\n id\n originalSrc\n src\n transformedSrc\n width\n }\n mimeType\n }\n }\n }\n selectedOptions {\n name\n value\n }\n sellableOnlineQuantity\n sku\n taxable\n title\n updatedAt\n }\n }\n }\n}\n";
|
|
1
|
+
export declare const graphqlProductQueryByProductId = "\n#graphql\nquery GetProduct($id: ID!, $first: Int!, $after: String) {\n product(id: $id) { \n id\n handle\n productType\n hasOnlyDefaultVariant\n isGiftCard\n legacyResourceId\n onlineStoreUrl\n productType\n publishedAt\n requiresSellingPlan\n status\n tags\n title\n totalInventory\n tracksInventory\n vendor\n createdAt\n updatedAt \n category {\n id\n name\n fullName\n parentId\n }\n priceRangeV2 {\n maxVariantPrice {\n amount\n currencyCode\n }\n minVariantPrice {\n amount\n currencyCode\n }\n }\n variantsCount {\n count\n }\n seo {\n title\n description\n }\n featuredMedia {\n id\n mediaContentType\n status\n preview {\n image {\n id\n url\n }\n status\n }\n }\n media (first: 3) {\n nodes {\n id\n mediaContentType\n status\n preview {\n image {\n id\n url\n }\n status\n }\n ... on MediaImage {\n createdAt\n fileErrors {\n code\n details\n message\n }\n fileStatus\n id\n image {\n altText\n height\n id\n originalSrc\n src\n transformedSrc\n width\n }\n mimeType\n }\n }\n }\n variants (first: $first, after: $after) { \n pageInfo {\n hasNextPage\n endCursor\n }\n nodes {\n availableForSale\n barcode\n compareAtPrice\n createdAt\n displayName\n id\n legacyResourceId\n product {\n id\n handle\n }\n image {\n id\n url \n }\n inventoryQuantity\n price\n media (first: 3) {\n nodes {\n id\n mediaContentType\n status \n preview {\n image {\n id\n url\n }\n status\n }\n ... on MediaImage {\n createdAt\n fileErrors {\n code\n details\n message\n }\n fileStatus\n id\n image {\n altText\n height\n id\n originalSrc\n src\n transformedSrc\n width\n }\n mimeType\n }\n }\n }\n selectedOptions {\n name\n value\n }\n sellableOnlineQuantity\n sku\n taxable\n title\n updatedAt\n }\n }\n }\n}\n";
|
|
@@ -70,6 +70,26 @@ query GetProduct($id: ID!, $first: Int!, $after: String) {
|
|
|
70
70
|
}
|
|
71
71
|
status
|
|
72
72
|
}
|
|
73
|
+
... on MediaImage {
|
|
74
|
+
createdAt
|
|
75
|
+
fileErrors {
|
|
76
|
+
code
|
|
77
|
+
details
|
|
78
|
+
message
|
|
79
|
+
}
|
|
80
|
+
fileStatus
|
|
81
|
+
id
|
|
82
|
+
image {
|
|
83
|
+
altText
|
|
84
|
+
height
|
|
85
|
+
id
|
|
86
|
+
originalSrc
|
|
87
|
+
src
|
|
88
|
+
transformedSrc
|
|
89
|
+
width
|
|
90
|
+
}
|
|
91
|
+
mimeType
|
|
92
|
+
}
|
|
73
93
|
}
|
|
74
94
|
}
|
|
75
95
|
variants (first: $first, after: $after) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"graphql-product-queries.js","sourceRoot":"","sources":["../../../../../src/clients/third-party/shopify/graphql-product-queries.ts"],"names":[],"mappings":";;;AAAa,QAAA,8BAA8B,GAAG
|
|
1
|
+
{"version":3,"file":"graphql-product-queries.js","sourceRoot":"","sources":["../../../../../src/clients/third-party/shopify/graphql-product-queries.ts"],"names":[],"mappings":";;;AAAa,QAAA,8BAA8B,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiK7C,CAAC"}
|
|
@@ -35,7 +35,9 @@ export type GetProductQuery = {
|
|
|
35
35
|
preview?: AdminTypes.Maybe<(Pick<AdminTypes.MediaPreviewImage, 'status'> & {
|
|
36
36
|
image?: AdminTypes.Maybe<Pick<AdminTypes.Image, 'id' | 'url'>>;
|
|
37
37
|
})>;
|
|
38
|
-
}) | (Pick<AdminTypes.MediaImage, 'id' | 'mediaContentType' | 'status'> & {
|
|
38
|
+
}) | (Pick<AdminTypes.MediaImage, 'createdAt' | 'fileStatus' | 'id' | 'mimeType' | 'mediaContentType' | 'status'> & {
|
|
39
|
+
fileErrors: Array<Pick<AdminTypes.FileError, 'code' | 'details' | 'message'>>;
|
|
40
|
+
image?: AdminTypes.Maybe<Pick<AdminTypes.Image, 'altText' | 'height' | 'id' | 'originalSrc' | 'src' | 'transformedSrc' | 'width'>>;
|
|
39
41
|
preview?: AdminTypes.Maybe<(Pick<AdminTypes.MediaPreviewImage, 'status'> & {
|
|
40
42
|
image?: AdminTypes.Maybe<Pick<AdminTypes.Image, 'id' | 'url'>>;
|
|
41
43
|
})>;
|
|
@@ -81,7 +83,7 @@ export type GetProductQuery = {
|
|
|
81
83
|
})>;
|
|
82
84
|
};
|
|
83
85
|
interface GeneratedQueryTypes {
|
|
84
|
-
"\n#graphql\nquery GetProduct($id: ID!, $first: Int!, $after: String) {\n product(id: $id) { \n id\n handle\n productType\n hasOnlyDefaultVariant\n isGiftCard\n legacyResourceId\n onlineStoreUrl\n productType\n publishedAt\n requiresSellingPlan\n status\n tags\n title\n totalInventory\n tracksInventory\n vendor\n createdAt\n updatedAt \n category {\n id\n name\n fullName\n parentId\n }\n priceRangeV2 {\n maxVariantPrice {\n amount\n currencyCode\n }\n minVariantPrice {\n amount\n currencyCode\n }\n }\n variantsCount {\n count\n }\n seo {\n title\n description\n }\n featuredMedia {\n id\n mediaContentType\n status\n preview {\n image {\n id\n url\n }\n status\n }\n }\n media (first: 3) {\n nodes {\n id\n mediaContentType\n status\n preview {\n image {\n id\n url\n }\n status\n }\n }\n }\n variants (first: $first, after: $after) { \n pageInfo {\n hasNextPage\n endCursor\n }\n nodes {\n availableForSale\n barcode\n compareAtPrice\n createdAt\n displayName\n id\n legacyResourceId\n product {\n id\n handle\n }\n image {\n id\n url \n }\n inventoryQuantity\n price\n media (first: 3) {\n nodes {\n id\n mediaContentType\n status \n preview {\n image {\n id\n url\n }\n status\n }\n ... on MediaImage {\n createdAt\n fileErrors {\n code\n details\n message\n }\n fileStatus\n id\n image {\n altText\n height\n id\n originalSrc\n src\n transformedSrc\n width\n }\n mimeType\n }\n }\n }\n selectedOptions {\n name\n value\n }\n sellableOnlineQuantity\n sku\n taxable\n title\n updatedAt\n }\n }\n }\n}\n": {
|
|
86
|
+
"\n#graphql\nquery GetProduct($id: ID!, $first: Int!, $after: String) {\n product(id: $id) { \n id\n handle\n productType\n hasOnlyDefaultVariant\n isGiftCard\n legacyResourceId\n onlineStoreUrl\n productType\n publishedAt\n requiresSellingPlan\n status\n tags\n title\n totalInventory\n tracksInventory\n vendor\n createdAt\n updatedAt \n category {\n id\n name\n fullName\n parentId\n }\n priceRangeV2 {\n maxVariantPrice {\n amount\n currencyCode\n }\n minVariantPrice {\n amount\n currencyCode\n }\n }\n variantsCount {\n count\n }\n seo {\n title\n description\n }\n featuredMedia {\n id\n mediaContentType\n status\n preview {\n image {\n id\n url\n }\n status\n }\n }\n media (first: 3) {\n nodes {\n id\n mediaContentType\n status\n preview {\n image {\n id\n url\n }\n status\n }\n ... on MediaImage {\n createdAt\n fileErrors {\n code\n details\n message\n }\n fileStatus\n id\n image {\n altText\n height\n id\n originalSrc\n src\n transformedSrc\n width\n }\n mimeType\n }\n }\n }\n variants (first: $first, after: $after) { \n pageInfo {\n hasNextPage\n endCursor\n }\n nodes {\n availableForSale\n barcode\n compareAtPrice\n createdAt\n displayName\n id\n legacyResourceId\n product {\n id\n handle\n }\n image {\n id\n url \n }\n inventoryQuantity\n price\n media (first: 3) {\n nodes {\n id\n mediaContentType\n status \n preview {\n image {\n id\n url\n }\n status\n }\n ... on MediaImage {\n createdAt\n fileErrors {\n code\n details\n message\n }\n fileStatus\n id\n image {\n altText\n height\n id\n originalSrc\n src\n transformedSrc\n width\n }\n mimeType\n }\n }\n }\n selectedOptions {\n name\n value\n }\n sellableOnlineQuantity\n sku\n taxable\n title\n updatedAt\n }\n }\n }\n}\n": {
|
|
85
87
|
return: GetProductQuery;
|
|
86
88
|
variables: GetProductQueryVariables;
|
|
87
89
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const graphqlProductQueryByProductId = "\n#graphql\nquery GetProduct($id: ID!, $first: Int!, $after: String) {\n product(id: $id) { \n id\n handle\n productType\n hasOnlyDefaultVariant\n isGiftCard\n legacyResourceId\n onlineStoreUrl\n productType\n publishedAt\n requiresSellingPlan\n status\n tags\n title\n totalInventory\n tracksInventory\n vendor\n createdAt\n updatedAt \n category {\n id\n name\n fullName\n parentId\n }\n priceRangeV2 {\n maxVariantPrice {\n amount\n currencyCode\n }\n minVariantPrice {\n amount\n currencyCode\n }\n }\n variantsCount {\n count\n }\n seo {\n title\n description\n }\n featuredMedia {\n id\n mediaContentType\n status\n preview {\n image {\n id\n url\n }\n status\n }\n }\n media (first: 3) {\n nodes {\n id\n mediaContentType\n status\n preview {\n image {\n id\n url\n }\n status\n }\n }\n }\n variants (first: $first, after: $after) { \n pageInfo {\n hasNextPage\n endCursor\n }\n nodes {\n availableForSale\n barcode\n compareAtPrice\n createdAt\n displayName\n id\n legacyResourceId\n product {\n id\n handle\n }\n image {\n id\n url \n }\n inventoryQuantity\n price\n media (first: 3) {\n nodes {\n id\n mediaContentType\n status \n preview {\n image {\n id\n url\n }\n status\n }\n ... on MediaImage {\n createdAt\n fileErrors {\n code\n details\n message\n }\n fileStatus\n id\n image {\n altText\n height\n id\n originalSrc\n src\n transformedSrc\n width\n }\n mimeType\n }\n }\n }\n selectedOptions {\n name\n value\n }\n sellableOnlineQuantity\n sku\n taxable\n title\n updatedAt\n }\n }\n }\n}\n";
|
|
1
|
+
export declare const graphqlProductQueryByProductId = "\n#graphql\nquery GetProduct($id: ID!, $first: Int!, $after: String) {\n product(id: $id) { \n id\n handle\n productType\n hasOnlyDefaultVariant\n isGiftCard\n legacyResourceId\n onlineStoreUrl\n productType\n publishedAt\n requiresSellingPlan\n status\n tags\n title\n totalInventory\n tracksInventory\n vendor\n createdAt\n updatedAt \n category {\n id\n name\n fullName\n parentId\n }\n priceRangeV2 {\n maxVariantPrice {\n amount\n currencyCode\n }\n minVariantPrice {\n amount\n currencyCode\n }\n }\n variantsCount {\n count\n }\n seo {\n title\n description\n }\n featuredMedia {\n id\n mediaContentType\n status\n preview {\n image {\n id\n url\n }\n status\n }\n }\n media (first: 3) {\n nodes {\n id\n mediaContentType\n status\n preview {\n image {\n id\n url\n }\n status\n }\n ... on MediaImage {\n createdAt\n fileErrors {\n code\n details\n message\n }\n fileStatus\n id\n image {\n altText\n height\n id\n originalSrc\n src\n transformedSrc\n width\n }\n mimeType\n }\n }\n }\n variants (first: $first, after: $after) { \n pageInfo {\n hasNextPage\n endCursor\n }\n nodes {\n availableForSale\n barcode\n compareAtPrice\n createdAt\n displayName\n id\n legacyResourceId\n product {\n id\n handle\n }\n image {\n id\n url \n }\n inventoryQuantity\n price\n media (first: 3) {\n nodes {\n id\n mediaContentType\n status \n preview {\n image {\n id\n url\n }\n status\n }\n ... on MediaImage {\n createdAt\n fileErrors {\n code\n details\n message\n }\n fileStatus\n id\n image {\n altText\n height\n id\n originalSrc\n src\n transformedSrc\n width\n }\n mimeType\n }\n }\n }\n selectedOptions {\n name\n value\n }\n sellableOnlineQuantity\n sku\n taxable\n title\n updatedAt\n }\n }\n }\n}\n";
|
|
@@ -67,6 +67,26 @@ query GetProduct($id: ID!, $first: Int!, $after: String) {
|
|
|
67
67
|
}
|
|
68
68
|
status
|
|
69
69
|
}
|
|
70
|
+
... on MediaImage {
|
|
71
|
+
createdAt
|
|
72
|
+
fileErrors {
|
|
73
|
+
code
|
|
74
|
+
details
|
|
75
|
+
message
|
|
76
|
+
}
|
|
77
|
+
fileStatus
|
|
78
|
+
id
|
|
79
|
+
image {
|
|
80
|
+
altText
|
|
81
|
+
height
|
|
82
|
+
id
|
|
83
|
+
originalSrc
|
|
84
|
+
src
|
|
85
|
+
transformedSrc
|
|
86
|
+
width
|
|
87
|
+
}
|
|
88
|
+
mimeType
|
|
89
|
+
}
|
|
70
90
|
}
|
|
71
91
|
}
|
|
72
92
|
variants (first: $first, after: $after) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"graphql-product-queries.js","sourceRoot":"","sources":["../../../../../src/clients/third-party/shopify/graphql-product-queries.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,8BAA8B,GAAG
|
|
1
|
+
{"version":3,"file":"graphql-product-queries.js","sourceRoot":"","sources":["../../../../../src/clients/third-party/shopify/graphql-product-queries.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,8BAA8B,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiK7C,CAAC"}
|
|
@@ -35,7 +35,9 @@ export type GetProductQuery = {
|
|
|
35
35
|
preview?: AdminTypes.Maybe<(Pick<AdminTypes.MediaPreviewImage, 'status'> & {
|
|
36
36
|
image?: AdminTypes.Maybe<Pick<AdminTypes.Image, 'id' | 'url'>>;
|
|
37
37
|
})>;
|
|
38
|
-
}) | (Pick<AdminTypes.MediaImage, 'id' | 'mediaContentType' | 'status'> & {
|
|
38
|
+
}) | (Pick<AdminTypes.MediaImage, 'createdAt' | 'fileStatus' | 'id' | 'mimeType' | 'mediaContentType' | 'status'> & {
|
|
39
|
+
fileErrors: Array<Pick<AdminTypes.FileError, 'code' | 'details' | 'message'>>;
|
|
40
|
+
image?: AdminTypes.Maybe<Pick<AdminTypes.Image, 'altText' | 'height' | 'id' | 'originalSrc' | 'src' | 'transformedSrc' | 'width'>>;
|
|
39
41
|
preview?: AdminTypes.Maybe<(Pick<AdminTypes.MediaPreviewImage, 'status'> & {
|
|
40
42
|
image?: AdminTypes.Maybe<Pick<AdminTypes.Image, 'id' | 'url'>>;
|
|
41
43
|
})>;
|
|
@@ -81,7 +83,7 @@ export type GetProductQuery = {
|
|
|
81
83
|
})>;
|
|
82
84
|
};
|
|
83
85
|
interface GeneratedQueryTypes {
|
|
84
|
-
"\n#graphql\nquery GetProduct($id: ID!, $first: Int!, $after: String) {\n product(id: $id) { \n id\n handle\n productType\n hasOnlyDefaultVariant\n isGiftCard\n legacyResourceId\n onlineStoreUrl\n productType\n publishedAt\n requiresSellingPlan\n status\n tags\n title\n totalInventory\n tracksInventory\n vendor\n createdAt\n updatedAt \n category {\n id\n name\n fullName\n parentId\n }\n priceRangeV2 {\n maxVariantPrice {\n amount\n currencyCode\n }\n minVariantPrice {\n amount\n currencyCode\n }\n }\n variantsCount {\n count\n }\n seo {\n title\n description\n }\n featuredMedia {\n id\n mediaContentType\n status\n preview {\n image {\n id\n url\n }\n status\n }\n }\n media (first: 3) {\n nodes {\n id\n mediaContentType\n status\n preview {\n image {\n id\n url\n }\n status\n }\n }\n }\n variants (first: $first, after: $after) { \n pageInfo {\n hasNextPage\n endCursor\n }\n nodes {\n availableForSale\n barcode\n compareAtPrice\n createdAt\n displayName\n id\n legacyResourceId\n product {\n id\n handle\n }\n image {\n id\n url \n }\n inventoryQuantity\n price\n media (first: 3) {\n nodes {\n id\n mediaContentType\n status \n preview {\n image {\n id\n url\n }\n status\n }\n ... on MediaImage {\n createdAt\n fileErrors {\n code\n details\n message\n }\n fileStatus\n id\n image {\n altText\n height\n id\n originalSrc\n src\n transformedSrc\n width\n }\n mimeType\n }\n }\n }\n selectedOptions {\n name\n value\n }\n sellableOnlineQuantity\n sku\n taxable\n title\n updatedAt\n }\n }\n }\n}\n": {
|
|
86
|
+
"\n#graphql\nquery GetProduct($id: ID!, $first: Int!, $after: String) {\n product(id: $id) { \n id\n handle\n productType\n hasOnlyDefaultVariant\n isGiftCard\n legacyResourceId\n onlineStoreUrl\n productType\n publishedAt\n requiresSellingPlan\n status\n tags\n title\n totalInventory\n tracksInventory\n vendor\n createdAt\n updatedAt \n category {\n id\n name\n fullName\n parentId\n }\n priceRangeV2 {\n maxVariantPrice {\n amount\n currencyCode\n }\n minVariantPrice {\n amount\n currencyCode\n }\n }\n variantsCount {\n count\n }\n seo {\n title\n description\n }\n featuredMedia {\n id\n mediaContentType\n status\n preview {\n image {\n id\n url\n }\n status\n }\n }\n media (first: 3) {\n nodes {\n id\n mediaContentType\n status\n preview {\n image {\n id\n url\n }\n status\n }\n ... on MediaImage {\n createdAt\n fileErrors {\n code\n details\n message\n }\n fileStatus\n id\n image {\n altText\n height\n id\n originalSrc\n src\n transformedSrc\n width\n }\n mimeType\n }\n }\n }\n variants (first: $first, after: $after) { \n pageInfo {\n hasNextPage\n endCursor\n }\n nodes {\n availableForSale\n barcode\n compareAtPrice\n createdAt\n displayName\n id\n legacyResourceId\n product {\n id\n handle\n }\n image {\n id\n url \n }\n inventoryQuantity\n price\n media (first: 3) {\n nodes {\n id\n mediaContentType\n status \n preview {\n image {\n id\n url\n }\n status\n }\n ... on MediaImage {\n createdAt\n fileErrors {\n code\n details\n message\n }\n fileStatus\n id\n image {\n altText\n height\n id\n originalSrc\n src\n transformedSrc\n width\n }\n mimeType\n }\n }\n }\n selectedOptions {\n name\n value\n }\n sellableOnlineQuantity\n sku\n taxable\n title\n updatedAt\n }\n }\n }\n}\n": {
|
|
85
87
|
return: GetProductQuery;
|
|
86
88
|
variables: GetProductQueryVariables;
|
|
87
89
|
};
|