@keystrokehq/shopify 0.1.3 → 0.1.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/actions/create-a-metafield.d.cts +2 -2
- package/dist/actions/create-a-metafield.d.mts +2 -2
- package/dist/actions/create-customer.d.cts +2 -2
- package/dist/actions/create-customer.d.mts +2 -2
- package/dist/actions/create-order.d.cts +2 -2
- package/dist/actions/create-order.d.mts +2 -2
- package/dist/actions/create-refund.d.cts +2 -2
- package/dist/actions/create-refund.d.mts +2 -2
- package/dist/catalog.cjs +2 -2
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +2 -2
- package/dist/catalog.d.mts +2 -2
- package/dist/catalog.mjs +2 -2
- package/dist/catalog.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -7,6 +7,7 @@ declare const ShopifyCreateAMetafieldInput: z.ZodObject<{
|
|
|
7
7
|
value: z.ZodString;
|
|
8
8
|
resource: z.ZodEnum<{
|
|
9
9
|
products: "products";
|
|
10
|
+
shop: "shop";
|
|
10
11
|
customers: "customers";
|
|
11
12
|
blogs: "blogs";
|
|
12
13
|
collections: "collections";
|
|
@@ -18,7 +19,6 @@ declare const ShopifyCreateAMetafieldInput: z.ZodObject<{
|
|
|
18
19
|
locations: "locations";
|
|
19
20
|
product_images: "product_images";
|
|
20
21
|
smart_collections: "smart_collections";
|
|
21
|
-
shop: "shop";
|
|
22
22
|
}>;
|
|
23
23
|
namespace: z.ZodString;
|
|
24
24
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -43,7 +43,7 @@ declare const shopifyCreateAMetafield: import("@keystrokehq/action").WorkflowAct
|
|
|
43
43
|
key: string;
|
|
44
44
|
type: string;
|
|
45
45
|
value: string;
|
|
46
|
-
resource: "products" | "customers" | "blogs" | "collections" | "orders" | "pages" | "variants" | "articles" | "draft_orders" | "locations" | "product_images" | "smart_collections"
|
|
46
|
+
resource: "products" | "shop" | "customers" | "blogs" | "collections" | "orders" | "pages" | "variants" | "articles" | "draft_orders" | "locations" | "product_images" | "smart_collections";
|
|
47
47
|
namespace: string;
|
|
48
48
|
description?: string | undefined;
|
|
49
49
|
resource_id?: string | undefined;
|
|
@@ -7,6 +7,7 @@ declare const ShopifyCreateAMetafieldInput: z.ZodObject<{
|
|
|
7
7
|
value: z.ZodString;
|
|
8
8
|
resource: z.ZodEnum<{
|
|
9
9
|
products: "products";
|
|
10
|
+
shop: "shop";
|
|
10
11
|
customers: "customers";
|
|
11
12
|
blogs: "blogs";
|
|
12
13
|
collections: "collections";
|
|
@@ -18,7 +19,6 @@ declare const ShopifyCreateAMetafieldInput: z.ZodObject<{
|
|
|
18
19
|
locations: "locations";
|
|
19
20
|
product_images: "product_images";
|
|
20
21
|
smart_collections: "smart_collections";
|
|
21
|
-
shop: "shop";
|
|
22
22
|
}>;
|
|
23
23
|
namespace: z.ZodString;
|
|
24
24
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -43,7 +43,7 @@ declare const shopifyCreateAMetafield: import("@keystrokehq/action").WorkflowAct
|
|
|
43
43
|
key: string;
|
|
44
44
|
type: string;
|
|
45
45
|
value: string;
|
|
46
|
-
resource: "products" | "customers" | "blogs" | "collections" | "orders" | "pages" | "variants" | "articles" | "draft_orders" | "locations" | "product_images" | "smart_collections"
|
|
46
|
+
resource: "products" | "shop" | "customers" | "blogs" | "collections" | "orders" | "pages" | "variants" | "articles" | "draft_orders" | "locations" | "product_images" | "smart_collections";
|
|
47
47
|
namespace: string;
|
|
48
48
|
description?: string | undefined;
|
|
49
49
|
resource_id?: string | undefined;
|
|
@@ -101,8 +101,8 @@ declare const ShopifyCreateCustomerOutput: z.ZodObject<{
|
|
|
101
101
|
multipass_identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
102
102
|
sms_marketing_consent: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
103
103
|
state: z.ZodNullable<z.ZodEnum<{
|
|
104
|
-
not_subscribed: "not_subscribed";
|
|
105
104
|
pending: "pending";
|
|
105
|
+
not_subscribed: "not_subscribed";
|
|
106
106
|
subscribed: "subscribed";
|
|
107
107
|
unsubscribed: "unsubscribed";
|
|
108
108
|
}>>;
|
|
@@ -120,8 +120,8 @@ declare const ShopifyCreateCustomerOutput: z.ZodObject<{
|
|
|
120
120
|
marketing_opt_in_level: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
121
121
|
email_marketing_consent: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
122
122
|
state: z.ZodNullable<z.ZodEnum<{
|
|
123
|
-
not_subscribed: "not_subscribed";
|
|
124
123
|
pending: "pending";
|
|
124
|
+
not_subscribed: "not_subscribed";
|
|
125
125
|
subscribed: "subscribed";
|
|
126
126
|
unsubscribed: "unsubscribed";
|
|
127
127
|
}>>;
|
|
@@ -101,8 +101,8 @@ declare const ShopifyCreateCustomerOutput: z.ZodObject<{
|
|
|
101
101
|
multipass_identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
102
102
|
sms_marketing_consent: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
103
103
|
state: z.ZodNullable<z.ZodEnum<{
|
|
104
|
-
not_subscribed: "not_subscribed";
|
|
105
104
|
pending: "pending";
|
|
105
|
+
not_subscribed: "not_subscribed";
|
|
106
106
|
subscribed: "subscribed";
|
|
107
107
|
unsubscribed: "unsubscribed";
|
|
108
108
|
}>>;
|
|
@@ -120,8 +120,8 @@ declare const ShopifyCreateCustomerOutput: z.ZodObject<{
|
|
|
120
120
|
marketing_opt_in_level: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
121
121
|
email_marketing_consent: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
122
122
|
state: z.ZodNullable<z.ZodEnum<{
|
|
123
|
-
not_subscribed: "not_subscribed";
|
|
124
123
|
pending: "pending";
|
|
124
|
+
not_subscribed: "not_subscribed";
|
|
125
125
|
subscribed: "subscribed";
|
|
126
126
|
unsubscribed: "unsubscribed";
|
|
127
127
|
}>>;
|
|
@@ -39,9 +39,9 @@ declare const ShopifyCreateOrderInput: z.ZodObject<{
|
|
|
39
39
|
}, z.core.$strip>>;
|
|
40
40
|
financial_status: z.ZodOptional<z.ZodEnum<{
|
|
41
41
|
pending: "pending";
|
|
42
|
-
paid: "paid";
|
|
43
42
|
authorized: "authorized";
|
|
44
43
|
partially_paid: "partially_paid";
|
|
44
|
+
paid: "paid";
|
|
45
45
|
partially_refunded: "partially_refunded";
|
|
46
46
|
refunded: "refunded";
|
|
47
47
|
voided: "voided";
|
|
@@ -402,7 +402,7 @@ declare const shopifyCreateOrder: import("@keystrokehq/action").WorkflowActionDe
|
|
|
402
402
|
country_code?: string | undefined;
|
|
403
403
|
province_code?: string | undefined;
|
|
404
404
|
} | undefined;
|
|
405
|
-
financial_status?: "pending" | "
|
|
405
|
+
financial_status?: "pending" | "authorized" | "partially_paid" | "paid" | "partially_refunded" | "refunded" | "voided" | undefined;
|
|
406
406
|
shipping_address?: {
|
|
407
407
|
zip?: string | undefined;
|
|
408
408
|
city?: string | undefined;
|
|
@@ -39,9 +39,9 @@ declare const ShopifyCreateOrderInput: z.ZodObject<{
|
|
|
39
39
|
}, z.core.$strip>>;
|
|
40
40
|
financial_status: z.ZodOptional<z.ZodEnum<{
|
|
41
41
|
pending: "pending";
|
|
42
|
-
paid: "paid";
|
|
43
42
|
authorized: "authorized";
|
|
44
43
|
partially_paid: "partially_paid";
|
|
44
|
+
paid: "paid";
|
|
45
45
|
partially_refunded: "partially_refunded";
|
|
46
46
|
refunded: "refunded";
|
|
47
47
|
voided: "voided";
|
|
@@ -402,7 +402,7 @@ declare const shopifyCreateOrder: import("@keystrokehq/action").WorkflowActionDe
|
|
|
402
402
|
country_code?: string | undefined;
|
|
403
403
|
province_code?: string | undefined;
|
|
404
404
|
} | undefined;
|
|
405
|
-
financial_status?: "pending" | "
|
|
405
|
+
financial_status?: "pending" | "authorized" | "partially_paid" | "paid" | "partially_refunded" | "refunded" | "voided" | undefined;
|
|
406
406
|
shipping_address?: {
|
|
407
407
|
zip?: string | undefined;
|
|
408
408
|
city?: string | undefined;
|
|
@@ -29,8 +29,8 @@ declare const ShopifyCreateRefundInput: z.ZodObject<{
|
|
|
29
29
|
}, z.core.$loose>>>;
|
|
30
30
|
discrepancy_reason: z.ZodOptional<z.ZodEnum<{
|
|
31
31
|
other: "other";
|
|
32
|
-
restock: "restock";
|
|
33
32
|
customer: "customer";
|
|
33
|
+
restock: "restock";
|
|
34
34
|
damage: "damage";
|
|
35
35
|
}>>;
|
|
36
36
|
}, z.core.$strip>;
|
|
@@ -159,7 +159,7 @@ declare const shopifyCreateRefund: import("@keystrokehq/action").WorkflowActionD
|
|
|
159
159
|
restock_type: "no_restock" | "cancel" | "return";
|
|
160
160
|
location_id?: number | undefined;
|
|
161
161
|
}[] | undefined;
|
|
162
|
-
discrepancy_reason?: "other" | "
|
|
162
|
+
discrepancy_reason?: "other" | "customer" | "restock" | "damage" | undefined;
|
|
163
163
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
164
164
|
//#endregion
|
|
165
165
|
export { shopifyCreateRefund };
|
|
@@ -29,8 +29,8 @@ declare const ShopifyCreateRefundInput: z.ZodObject<{
|
|
|
29
29
|
}, z.core.$loose>>>;
|
|
30
30
|
discrepancy_reason: z.ZodOptional<z.ZodEnum<{
|
|
31
31
|
other: "other";
|
|
32
|
-
restock: "restock";
|
|
33
32
|
customer: "customer";
|
|
33
|
+
restock: "restock";
|
|
34
34
|
damage: "damage";
|
|
35
35
|
}>>;
|
|
36
36
|
}, z.core.$strip>;
|
|
@@ -159,7 +159,7 @@ declare const shopifyCreateRefund: import("@keystrokehq/action").WorkflowActionD
|
|
|
159
159
|
restock_type: "no_restock" | "cancel" | "return";
|
|
160
160
|
location_id?: number | undefined;
|
|
161
161
|
}[] | undefined;
|
|
162
|
-
discrepancy_reason?: "other" | "
|
|
162
|
+
discrepancy_reason?: "other" | "customer" | "restock" | "damage" | undefined;
|
|
163
163
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
164
164
|
//#endregion
|
|
165
165
|
export { shopifyCreateRefund };
|
package/dist/catalog.cjs
CHANGED
|
@@ -9,11 +9,11 @@ const shopifyCatalog = {
|
|
|
9
9
|
"authKind": "keystroke",
|
|
10
10
|
"oauthScopes": [],
|
|
11
11
|
"credentialFields": {
|
|
12
|
-
"
|
|
12
|
+
"subdomain": {
|
|
13
13
|
"label": "Store Subdomain",
|
|
14
14
|
"description": "Your store's permanent myshopify.com name — the 'acme' in acme.myshopify.com. Find it under Settings → Domains; enter this name, not your custom domain."
|
|
15
15
|
},
|
|
16
|
-
"
|
|
16
|
+
"generic_api_key": {
|
|
17
17
|
"label": "Admin Api Access Token",
|
|
18
18
|
"secret": true,
|
|
19
19
|
"description": "Your Admin API access token (starts with 'shpat_'). Create a custom app with the scopes you need, install it, then click 'Reveal token once' under API credentials."
|
package/dist/catalog.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const shopifyCatalog = {\n \"slug\": \"shopify\",\n \"name\": \"Shopify\",\n \"description\": \"Shopify is an e-commerce platform. This toolkit is GraphQL-first for new Admin API automations while retaining legacy REST compatibility actions for older workflows and numeric-ID interoperability\",\n \"category\": \"eCommerce\",\n \"logo\": \"https://logos.composio.dev/api/shopify\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"
|
|
1
|
+
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const shopifyCatalog = {\n \"slug\": \"shopify\",\n \"name\": \"Shopify\",\n \"description\": \"Shopify is an e-commerce platform. This toolkit is GraphQL-first for new Admin API automations while retaining legacy REST compatibility actions for older workflows and numeric-ID interoperability\",\n \"category\": \"eCommerce\",\n \"logo\": \"https://logos.composio.dev/api/shopify\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"subdomain\": {\n \"label\": \"Store Subdomain\",\n \"description\": \"Your store's permanent myshopify.com name — the 'acme' in acme.myshopify.com. Find it under Settings → Domains; enter this name, not your custom domain.\"\n },\n \"generic_api_key\": {\n \"label\": \"Admin Api Access Token\",\n \"secret\": true,\n \"description\": \"Your Admin API access token (starts with 'shpat_'). Create a custom app with the scopes you need, install it, then click 'Reveal token once' under API credentials.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB;EAClB,aAAa;GACX,SAAS;GACT,eAAe;EACjB;EACA,mBAAmB;GACjB,SAAS;GACT,UAAU;GACV,eAAe;EACjB;CACF;CACA,oBAAoB;AACtB"}
|
package/dist/catalog.d.cts
CHANGED
|
@@ -9,11 +9,11 @@ declare const shopifyCatalog: {
|
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
11
|
readonly credentialFields: {
|
|
12
|
-
readonly
|
|
12
|
+
readonly subdomain: {
|
|
13
13
|
readonly label: "Store Subdomain";
|
|
14
14
|
readonly description: "Your store's permanent myshopify.com name — the 'acme' in acme.myshopify.com. Find it under Settings → Domains; enter this name, not your custom domain.";
|
|
15
15
|
};
|
|
16
|
-
readonly
|
|
16
|
+
readonly generic_api_key: {
|
|
17
17
|
readonly label: "Admin Api Access Token";
|
|
18
18
|
readonly secret: true;
|
|
19
19
|
readonly description: "Your Admin API access token (starts with 'shpat_'). Create a custom app with the scopes you need, install it, then click 'Reveal token once' under API credentials.";
|
package/dist/catalog.d.mts
CHANGED
|
@@ -9,11 +9,11 @@ declare const shopifyCatalog: {
|
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
11
|
readonly credentialFields: {
|
|
12
|
-
readonly
|
|
12
|
+
readonly subdomain: {
|
|
13
13
|
readonly label: "Store Subdomain";
|
|
14
14
|
readonly description: "Your store's permanent myshopify.com name — the 'acme' in acme.myshopify.com. Find it under Settings → Domains; enter this name, not your custom domain.";
|
|
15
15
|
};
|
|
16
|
-
readonly
|
|
16
|
+
readonly generic_api_key: {
|
|
17
17
|
readonly label: "Admin Api Access Token";
|
|
18
18
|
readonly secret: true;
|
|
19
19
|
readonly description: "Your Admin API access token (starts with 'shpat_'). Create a custom app with the scopes you need, install it, then click 'Reveal token once' under API credentials.";
|
package/dist/catalog.mjs
CHANGED
|
@@ -9,11 +9,11 @@ const shopifyCatalog = {
|
|
|
9
9
|
"authKind": "keystroke",
|
|
10
10
|
"oauthScopes": [],
|
|
11
11
|
"credentialFields": {
|
|
12
|
-
"
|
|
12
|
+
"subdomain": {
|
|
13
13
|
"label": "Store Subdomain",
|
|
14
14
|
"description": "Your store's permanent myshopify.com name — the 'acme' in acme.myshopify.com. Find it under Settings → Domains; enter this name, not your custom domain."
|
|
15
15
|
},
|
|
16
|
-
"
|
|
16
|
+
"generic_api_key": {
|
|
17
17
|
"label": "Admin Api Access Token",
|
|
18
18
|
"secret": true,
|
|
19
19
|
"description": "Your Admin API access token (starts with 'shpat_'). Create a custom app with the scopes you need, install it, then click 'Reveal token once' under API credentials."
|
package/dist/catalog.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const shopifyCatalog = {\n \"slug\": \"shopify\",\n \"name\": \"Shopify\",\n \"description\": \"Shopify is an e-commerce platform. This toolkit is GraphQL-first for new Admin API automations while retaining legacy REST compatibility actions for older workflows and numeric-ID interoperability\",\n \"category\": \"eCommerce\",\n \"logo\": \"https://logos.composio.dev/api/shopify\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"
|
|
1
|
+
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const shopifyCatalog = {\n \"slug\": \"shopify\",\n \"name\": \"Shopify\",\n \"description\": \"Shopify is an e-commerce platform. This toolkit is GraphQL-first for new Admin API automations while retaining legacy REST compatibility actions for older workflows and numeric-ID interoperability\",\n \"category\": \"eCommerce\",\n \"logo\": \"https://logos.composio.dev/api/shopify\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"subdomain\": {\n \"label\": \"Store Subdomain\",\n \"description\": \"Your store's permanent myshopify.com name — the 'acme' in acme.myshopify.com. Find it under Settings → Domains; enter this name, not your custom domain.\"\n },\n \"generic_api_key\": {\n \"label\": \"Admin Api Access Token\",\n \"secret\": true,\n \"description\": \"Your Admin API access token (starts with 'shpat_'). Create a custom app with the scopes you need, install it, then click 'Reveal token once' under API credentials.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB;EAClB,aAAa;GACX,SAAS;GACT,eAAe;EACjB;EACA,mBAAmB;GACjB,SAAS;GACT,UAAU;GACV,eAAe;EACjB;CACF;CACA,oBAAoB;AACtB"}
|