@keystrokehq/shopify 0.0.11 → 0.0.16-integration-id-canonicalization.0

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.
Files changed (52) hide show
  1. package/README.md +14 -153
  2. package/dist/{schemas.d.mts → common-C2s35du9.d.mts} +3 -2
  3. package/dist/{schemas.mjs → common-JZyHdK6p.mjs} +3 -3
  4. package/dist/credential-sets/index.d.mts +2 -0
  5. package/dist/credential-sets/index.mjs +4 -0
  6. package/dist/index.d.mts +4 -1
  7. package/dist/index.mjs +6 -1
  8. package/dist/operations/index.d.mts +2 -0
  9. package/dist/operations/index.mjs +3 -0
  10. package/dist/schemas/index.d.mts +2 -0
  11. package/dist/schemas/index.mjs +3 -0
  12. package/dist/shopify-app.credential-set-DuAYUhzY.d.mts +65 -0
  13. package/dist/shopify-app.credential-set-M3vKwTji.mjs +17 -0
  14. package/dist/{integration-vSl3XHTG.mjs → shopify.credential-set-CaxST3GP.mjs} +6 -141
  15. package/dist/update-shopify-product.operation-ByYhZggW.mjs +1972 -0
  16. package/dist/update-shopify-product.operation-Db_kLuJa.d.mts +2817 -0
  17. package/package.json +11 -67
  18. package/dist/_official/index.d.mts +0 -38
  19. package/dist/_official/index.mjs +0 -3
  20. package/dist/_runtime/index.d.mts +0 -56
  21. package/dist/_runtime/index.mjs +0 -150
  22. package/dist/articles.d.mts +0 -174
  23. package/dist/articles.mjs +0 -252
  24. package/dist/blogs.d.mts +0 -113
  25. package/dist/blogs.mjs +0 -174
  26. package/dist/client.d.mts +0 -22
  27. package/dist/client.mjs +0 -90
  28. package/dist/collections.d.mts +0 -140
  29. package/dist/collections.mjs +0 -209
  30. package/dist/connection.d.mts +0 -2
  31. package/dist/connection.mjs +0 -3
  32. package/dist/customers.d.mts +0 -161
  33. package/dist/customers.mjs +0 -225
  34. package/dist/events.d.mts +0 -181
  35. package/dist/events.mjs +0 -67
  36. package/dist/factory-BKmxl2-8.mjs +0 -7
  37. package/dist/fulfillments.d.mts +0 -99
  38. package/dist/fulfillments.mjs +0 -167
  39. package/dist/integration-HrSKAMfF.d.mts +0 -70
  40. package/dist/inventory.d.mts +0 -103
  41. package/dist/inventory.mjs +0 -182
  42. package/dist/locations.d.mts +0 -47
  43. package/dist/locations.mjs +0 -81
  44. package/dist/messaging.d.mts +0 -1
  45. package/dist/messaging.mjs +0 -1
  46. package/dist/operation-helpers-CKEDIx0o.mjs +0 -21
  47. package/dist/orders.d.mts +0 -229
  48. package/dist/orders.mjs +0 -271
  49. package/dist/products.d.mts +0 -155
  50. package/dist/products.mjs +0 -171
  51. package/dist/shop.d.mts +0 -20
  52. package/dist/shop.mjs +0 -31
@@ -0,0 +1,2817 @@
1
+ import * as _keystrokehq_core0 from "@keystrokehq/core";
2
+ import { Operation } from "@keystrokehq/core";
3
+ import * as zod from "zod";
4
+ import { z } from "zod";
5
+ import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
6
+ import * as zod_v4_core0 from "zod/v4/core";
7
+
8
+ //#region src/operations/add-products-to-shopify-collection.operation.d.ts
9
+ declare const addProductsToCollectionOperation: Operation<z.ZodObject<{
10
+ id: z.ZodString;
11
+ productIds: z.ZodArray<z.ZodString>;
12
+ }, z.core.$strip>, z.ZodObject<{
13
+ id: z.ZodString;
14
+ title: z.ZodString;
15
+ handle: z.ZodString;
16
+ descriptionHtml: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ updatedAt: z.ZodOptional<z.ZodISODateTime>;
18
+ image: z.ZodOptional<z.ZodNullable<z.ZodObject<{
19
+ url: z.ZodURL;
20
+ altText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ }, z.core.$strip>>>;
22
+ seo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
23
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ }, z.core.$strip>>>;
26
+ }, z.core.$strip>, _keystrokehq_core0.CredentialSet<"shopify", z.ZodObject<{
27
+ SHOPIFY_STORE_DOMAIN: z.ZodString;
28
+ SHOPIFY_ACCESS_TOKEN: z.ZodString;
29
+ }, z.core.$strip>, {
30
+ kind: "oauth";
31
+ tokenType: "refreshable";
32
+ authUrl: "https://{shop}.myshopify.com/admin/oauth/authorize";
33
+ tokenUrl: "https://{shop}.myshopify.com/admin/oauth/access_token";
34
+ revokeUrl: null;
35
+ scopes: readonly ["read_products", "write_products", "read_orders", "write_orders", "read_customers", "write_customers", "read_inventory", "write_inventory", "read_locations", "read_fulfillments", "write_fulfillments", "read_content", "write_content", "read_webhooks", "write_webhooks"];
36
+ vault: {
37
+ readonly accessToken: "SHOPIFY_ACCESS_TOKEN";
38
+ readonly raw: {
39
+ readonly SHOPIFY_STORE_DOMAIN: "_shopifyShopDomain";
40
+ };
41
+ };
42
+ buildAuthUrl: ({
43
+ oauthClient,
44
+ redirectUri,
45
+ state,
46
+ connection,
47
+ initiateInput,
48
+ requestedScopes
49
+ }: _keystrokehq_core_credential_set0.BuildAuthUrlContext) => string;
50
+ exchangeCode: ({
51
+ oauthClient,
52
+ code,
53
+ queryParams
54
+ }: _keystrokehq_core_credential_set0.ExchangeCodeContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
55
+ refreshToken: ({
56
+ oauthClient,
57
+ refreshToken
58
+ }: _keystrokehq_core_credential_set0.RefreshTokenContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
59
+ extractInstallationInfo: ({
60
+ tokenResult
61
+ }: _keystrokehq_core_credential_set0.ExtractInstallationContext) => {
62
+ externalInstallationId: string | undefined;
63
+ externalWorkspaceId: string | undefined;
64
+ metadata: {
65
+ shopDomain: string;
66
+ } | undefined;
67
+ };
68
+ id: string;
69
+ }[]>[], undefined>;
70
+ //#endregion
71
+ //#region src/operations/adjust-shopify-inventory-quantities.operation.d.ts
72
+ declare const adjustInventoryQuantitiesOperation: Operation<z.ZodObject<{
73
+ name: z.ZodDefault<z.ZodString>;
74
+ reason: z.ZodString;
75
+ referenceDocumentUri: z.ZodOptional<z.ZodString>;
76
+ changes: z.ZodArray<z.ZodObject<{
77
+ inventoryItemId: z.ZodString;
78
+ locationId: z.ZodString;
79
+ delta: z.ZodNumber;
80
+ }, z.core.$strip>>;
81
+ }, z.core.$strip>, z.ZodObject<{
82
+ createdAt: z.ZodOptional<z.ZodISODateTime>;
83
+ reason: z.ZodString;
84
+ referenceDocumentUri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
85
+ changes: z.ZodArray<z.ZodObject<{
86
+ name: z.ZodString;
87
+ delta: z.ZodNumber;
88
+ }, z.core.$strip>>;
89
+ }, z.core.$strip>, _keystrokehq_core0.CredentialSet<"shopify", z.ZodObject<{
90
+ SHOPIFY_STORE_DOMAIN: z.ZodString;
91
+ SHOPIFY_ACCESS_TOKEN: z.ZodString;
92
+ }, z.core.$strip>, {
93
+ kind: "oauth";
94
+ tokenType: "refreshable";
95
+ authUrl: "https://{shop}.myshopify.com/admin/oauth/authorize";
96
+ tokenUrl: "https://{shop}.myshopify.com/admin/oauth/access_token";
97
+ revokeUrl: null;
98
+ scopes: readonly ["read_products", "write_products", "read_orders", "write_orders", "read_customers", "write_customers", "read_inventory", "write_inventory", "read_locations", "read_fulfillments", "write_fulfillments", "read_content", "write_content", "read_webhooks", "write_webhooks"];
99
+ vault: {
100
+ readonly accessToken: "SHOPIFY_ACCESS_TOKEN";
101
+ readonly raw: {
102
+ readonly SHOPIFY_STORE_DOMAIN: "_shopifyShopDomain";
103
+ };
104
+ };
105
+ buildAuthUrl: ({
106
+ oauthClient,
107
+ redirectUri,
108
+ state,
109
+ connection,
110
+ initiateInput,
111
+ requestedScopes
112
+ }: _keystrokehq_core_credential_set0.BuildAuthUrlContext) => string;
113
+ exchangeCode: ({
114
+ oauthClient,
115
+ code,
116
+ queryParams
117
+ }: _keystrokehq_core_credential_set0.ExchangeCodeContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
118
+ refreshToken: ({
119
+ oauthClient,
120
+ refreshToken
121
+ }: _keystrokehq_core_credential_set0.RefreshTokenContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
122
+ extractInstallationInfo: ({
123
+ tokenResult
124
+ }: _keystrokehq_core_credential_set0.ExtractInstallationContext) => {
125
+ externalInstallationId: string | undefined;
126
+ externalWorkspaceId: string | undefined;
127
+ metadata: {
128
+ shopDomain: string;
129
+ } | undefined;
130
+ };
131
+ id: string;
132
+ }[]>[], undefined>;
133
+ //#endregion
134
+ //#region src/operations/cancel-shopify-order.operation.d.ts
135
+ declare const cancelOrderOperation: Operation<z.ZodObject<{
136
+ orderId: z.ZodString;
137
+ reason: z.ZodEnum<{
138
+ CUSTOMER: "CUSTOMER";
139
+ DECLINED: "DECLINED";
140
+ FRAUD: "FRAUD";
141
+ INVENTORY: "INVENTORY";
142
+ OTHER: "OTHER";
143
+ STAFF: "STAFF";
144
+ }>;
145
+ restock: z.ZodBoolean;
146
+ notifyCustomer: z.ZodOptional<z.ZodBoolean>;
147
+ staffNote: z.ZodOptional<z.ZodString>;
148
+ refundMethod: z.ZodOptional<z.ZodObject<{
149
+ originalPaymentMethodsRefund: z.ZodOptional<z.ZodBoolean>;
150
+ }, z.core.$strip>>;
151
+ }, z.core.$strip>, z.ZodObject<{
152
+ id: z.ZodString;
153
+ done: z.ZodOptional<z.ZodBoolean>;
154
+ }, z.core.$strip>, _keystrokehq_core0.CredentialSet<"shopify", z.ZodObject<{
155
+ SHOPIFY_STORE_DOMAIN: z.ZodString;
156
+ SHOPIFY_ACCESS_TOKEN: z.ZodString;
157
+ }, z.core.$strip>, {
158
+ kind: "oauth";
159
+ tokenType: "refreshable";
160
+ authUrl: "https://{shop}.myshopify.com/admin/oauth/authorize";
161
+ tokenUrl: "https://{shop}.myshopify.com/admin/oauth/access_token";
162
+ revokeUrl: null;
163
+ scopes: readonly ["read_products", "write_products", "read_orders", "write_orders", "read_customers", "write_customers", "read_inventory", "write_inventory", "read_locations", "read_fulfillments", "write_fulfillments", "read_content", "write_content", "read_webhooks", "write_webhooks"];
164
+ vault: {
165
+ readonly accessToken: "SHOPIFY_ACCESS_TOKEN";
166
+ readonly raw: {
167
+ readonly SHOPIFY_STORE_DOMAIN: "_shopifyShopDomain";
168
+ };
169
+ };
170
+ buildAuthUrl: ({
171
+ oauthClient,
172
+ redirectUri,
173
+ state,
174
+ connection,
175
+ initiateInput,
176
+ requestedScopes
177
+ }: _keystrokehq_core_credential_set0.BuildAuthUrlContext) => string;
178
+ exchangeCode: ({
179
+ oauthClient,
180
+ code,
181
+ queryParams
182
+ }: _keystrokehq_core_credential_set0.ExchangeCodeContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
183
+ refreshToken: ({
184
+ oauthClient,
185
+ refreshToken
186
+ }: _keystrokehq_core_credential_set0.RefreshTokenContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
187
+ extractInstallationInfo: ({
188
+ tokenResult
189
+ }: _keystrokehq_core_credential_set0.ExtractInstallationContext) => {
190
+ externalInstallationId: string | undefined;
191
+ externalWorkspaceId: string | undefined;
192
+ metadata: {
193
+ shopDomain: string;
194
+ } | undefined;
195
+ };
196
+ id: string;
197
+ }[]>[], undefined>;
198
+ //#endregion
199
+ //#region src/operations/create-shopify-article.operation.d.ts
200
+ declare const createArticleOperation: Operation<z.ZodObject<{
201
+ handle: z.ZodOptional<z.ZodString>;
202
+ body: z.ZodOptional<z.ZodString>;
203
+ summary: z.ZodOptional<z.ZodString>;
204
+ authorName: z.ZodOptional<z.ZodString>;
205
+ isPublished: z.ZodOptional<z.ZodBoolean>;
206
+ publishDate: z.ZodOptional<z.ZodISODateTime>;
207
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
208
+ blogId: z.ZodString;
209
+ title: z.ZodString;
210
+ }, z.core.$strip>, z.ZodObject<{
211
+ id: z.ZodString;
212
+ title: z.ZodString;
213
+ handle: z.ZodString;
214
+ blog: z.ZodOptional<z.ZodNullable<z.ZodObject<{
215
+ id: z.ZodString;
216
+ title: z.ZodString;
217
+ handle: z.ZodString;
218
+ createdAt: z.ZodOptional<z.ZodISODateTime>;
219
+ updatedAt: z.ZodOptional<z.ZodISODateTime>;
220
+ commentPolicy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
221
+ templateSuffix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
222
+ }, z.core.$strip>>>;
223
+ author: z.ZodOptional<z.ZodNullable<z.ZodString>>;
224
+ body: z.ZodOptional<z.ZodNullable<z.ZodString>>;
225
+ summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
226
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
227
+ image: z.ZodOptional<z.ZodNullable<z.ZodObject<{
228
+ url: z.ZodURL;
229
+ altText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
230
+ }, z.core.$strip>>>;
231
+ publishedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
232
+ updatedAt: z.ZodOptional<z.ZodISODateTime>;
233
+ }, z.core.$strip>, _keystrokehq_core0.CredentialSet<"shopify", z.ZodObject<{
234
+ SHOPIFY_STORE_DOMAIN: z.ZodString;
235
+ SHOPIFY_ACCESS_TOKEN: z.ZodString;
236
+ }, z.core.$strip>, {
237
+ kind: "oauth";
238
+ tokenType: "refreshable";
239
+ authUrl: "https://{shop}.myshopify.com/admin/oauth/authorize";
240
+ tokenUrl: "https://{shop}.myshopify.com/admin/oauth/access_token";
241
+ revokeUrl: null;
242
+ scopes: readonly ["read_products", "write_products", "read_orders", "write_orders", "read_customers", "write_customers", "read_inventory", "write_inventory", "read_locations", "read_fulfillments", "write_fulfillments", "read_content", "write_content", "read_webhooks", "write_webhooks"];
243
+ vault: {
244
+ readonly accessToken: "SHOPIFY_ACCESS_TOKEN";
245
+ readonly raw: {
246
+ readonly SHOPIFY_STORE_DOMAIN: "_shopifyShopDomain";
247
+ };
248
+ };
249
+ buildAuthUrl: ({
250
+ oauthClient,
251
+ redirectUri,
252
+ state,
253
+ connection,
254
+ initiateInput,
255
+ requestedScopes
256
+ }: _keystrokehq_core_credential_set0.BuildAuthUrlContext) => string;
257
+ exchangeCode: ({
258
+ oauthClient,
259
+ code,
260
+ queryParams
261
+ }: _keystrokehq_core_credential_set0.ExchangeCodeContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
262
+ refreshToken: ({
263
+ oauthClient,
264
+ refreshToken
265
+ }: _keystrokehq_core_credential_set0.RefreshTokenContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
266
+ extractInstallationInfo: ({
267
+ tokenResult
268
+ }: _keystrokehq_core_credential_set0.ExtractInstallationContext) => {
269
+ externalInstallationId: string | undefined;
270
+ externalWorkspaceId: string | undefined;
271
+ metadata: {
272
+ shopDomain: string;
273
+ } | undefined;
274
+ };
275
+ id: string;
276
+ }[]>[], undefined>;
277
+ //#endregion
278
+ //#region src/operations/create-shopify-blog.operation.d.ts
279
+ declare const createBlogOperation: Operation<z.ZodObject<{
280
+ handle: z.ZodOptional<z.ZodString>;
281
+ templateSuffix: z.ZodOptional<z.ZodString>;
282
+ commentPolicy: z.ZodOptional<z.ZodEnum<{
283
+ DISABLED: "DISABLED";
284
+ HIDDEN: "HIDDEN";
285
+ MODERATED: "MODERATED";
286
+ OPEN: "OPEN";
287
+ }>>;
288
+ title: z.ZodString;
289
+ }, z.core.$strip>, z.ZodObject<{
290
+ id: z.ZodString;
291
+ title: z.ZodString;
292
+ handle: z.ZodString;
293
+ createdAt: z.ZodOptional<z.ZodISODateTime>;
294
+ updatedAt: z.ZodOptional<z.ZodISODateTime>;
295
+ commentPolicy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
296
+ templateSuffix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
297
+ }, z.core.$strip>, _keystrokehq_core0.CredentialSet<"shopify", z.ZodObject<{
298
+ SHOPIFY_STORE_DOMAIN: z.ZodString;
299
+ SHOPIFY_ACCESS_TOKEN: z.ZodString;
300
+ }, z.core.$strip>, {
301
+ kind: "oauth";
302
+ tokenType: "refreshable";
303
+ authUrl: "https://{shop}.myshopify.com/admin/oauth/authorize";
304
+ tokenUrl: "https://{shop}.myshopify.com/admin/oauth/access_token";
305
+ revokeUrl: null;
306
+ scopes: readonly ["read_products", "write_products", "read_orders", "write_orders", "read_customers", "write_customers", "read_inventory", "write_inventory", "read_locations", "read_fulfillments", "write_fulfillments", "read_content", "write_content", "read_webhooks", "write_webhooks"];
307
+ vault: {
308
+ readonly accessToken: "SHOPIFY_ACCESS_TOKEN";
309
+ readonly raw: {
310
+ readonly SHOPIFY_STORE_DOMAIN: "_shopifyShopDomain";
311
+ };
312
+ };
313
+ buildAuthUrl: ({
314
+ oauthClient,
315
+ redirectUri,
316
+ state,
317
+ connection,
318
+ initiateInput,
319
+ requestedScopes
320
+ }: _keystrokehq_core_credential_set0.BuildAuthUrlContext) => string;
321
+ exchangeCode: ({
322
+ oauthClient,
323
+ code,
324
+ queryParams
325
+ }: _keystrokehq_core_credential_set0.ExchangeCodeContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
326
+ refreshToken: ({
327
+ oauthClient,
328
+ refreshToken
329
+ }: _keystrokehq_core_credential_set0.RefreshTokenContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
330
+ extractInstallationInfo: ({
331
+ tokenResult
332
+ }: _keystrokehq_core_credential_set0.ExtractInstallationContext) => {
333
+ externalInstallationId: string | undefined;
334
+ externalWorkspaceId: string | undefined;
335
+ metadata: {
336
+ shopDomain: string;
337
+ } | undefined;
338
+ };
339
+ id: string;
340
+ }[]>[], undefined>;
341
+ //#endregion
342
+ //#region src/operations/create-shopify-collection.operation.d.ts
343
+ declare const createCollectionOperation: Operation<z.ZodObject<{
344
+ handle: z.ZodOptional<z.ZodString>;
345
+ descriptionHtml: z.ZodOptional<z.ZodString>;
346
+ seo: z.ZodOptional<z.ZodObject<{
347
+ title: z.ZodOptional<z.ZodString>;
348
+ description: z.ZodOptional<z.ZodString>;
349
+ }, z.core.$strip>>;
350
+ title: z.ZodString;
351
+ }, z.core.$strip>, z.ZodObject<{
352
+ id: z.ZodString;
353
+ title: z.ZodString;
354
+ handle: z.ZodString;
355
+ descriptionHtml: z.ZodOptional<z.ZodNullable<z.ZodString>>;
356
+ updatedAt: z.ZodOptional<z.ZodISODateTime>;
357
+ image: z.ZodOptional<z.ZodNullable<z.ZodObject<{
358
+ url: z.ZodURL;
359
+ altText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
360
+ }, z.core.$strip>>>;
361
+ seo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
362
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
363
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
364
+ }, z.core.$strip>>>;
365
+ }, z.core.$strip>, _keystrokehq_core0.CredentialSet<"shopify", z.ZodObject<{
366
+ SHOPIFY_STORE_DOMAIN: z.ZodString;
367
+ SHOPIFY_ACCESS_TOKEN: z.ZodString;
368
+ }, z.core.$strip>, {
369
+ kind: "oauth";
370
+ tokenType: "refreshable";
371
+ authUrl: "https://{shop}.myshopify.com/admin/oauth/authorize";
372
+ tokenUrl: "https://{shop}.myshopify.com/admin/oauth/access_token";
373
+ revokeUrl: null;
374
+ scopes: readonly ["read_products", "write_products", "read_orders", "write_orders", "read_customers", "write_customers", "read_inventory", "write_inventory", "read_locations", "read_fulfillments", "write_fulfillments", "read_content", "write_content", "read_webhooks", "write_webhooks"];
375
+ vault: {
376
+ readonly accessToken: "SHOPIFY_ACCESS_TOKEN";
377
+ readonly raw: {
378
+ readonly SHOPIFY_STORE_DOMAIN: "_shopifyShopDomain";
379
+ };
380
+ };
381
+ buildAuthUrl: ({
382
+ oauthClient,
383
+ redirectUri,
384
+ state,
385
+ connection,
386
+ initiateInput,
387
+ requestedScopes
388
+ }: _keystrokehq_core_credential_set0.BuildAuthUrlContext) => string;
389
+ exchangeCode: ({
390
+ oauthClient,
391
+ code,
392
+ queryParams
393
+ }: _keystrokehq_core_credential_set0.ExchangeCodeContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
394
+ refreshToken: ({
395
+ oauthClient,
396
+ refreshToken
397
+ }: _keystrokehq_core_credential_set0.RefreshTokenContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
398
+ extractInstallationInfo: ({
399
+ tokenResult
400
+ }: _keystrokehq_core_credential_set0.ExtractInstallationContext) => {
401
+ externalInstallationId: string | undefined;
402
+ externalWorkspaceId: string | undefined;
403
+ metadata: {
404
+ shopDomain: string;
405
+ } | undefined;
406
+ };
407
+ id: string;
408
+ }[]>[], undefined>;
409
+ //#endregion
410
+ //#region src/operations/create-shopify-customer.operation.d.ts
411
+ declare const createCustomerOperation: Operation<z.ZodObject<{
412
+ email: z.ZodOptional<z.ZodEmail>;
413
+ firstName: z.ZodOptional<z.ZodString>;
414
+ lastName: z.ZodOptional<z.ZodString>;
415
+ phone: z.ZodOptional<z.ZodString>;
416
+ note: z.ZodOptional<z.ZodString>;
417
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
418
+ }, z.core.$strip>, z.ZodObject<{
419
+ id: z.ZodString;
420
+ displayName: z.ZodString;
421
+ firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
422
+ lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
423
+ email: z.ZodOptional<z.ZodNullable<z.ZodEmail>>;
424
+ phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
425
+ createdAt: z.ZodOptional<z.ZodISODateTime>;
426
+ updatedAt: z.ZodOptional<z.ZodISODateTime>;
427
+ }, z.core.$strip>, _keystrokehq_core0.CredentialSet<"shopify", z.ZodObject<{
428
+ SHOPIFY_STORE_DOMAIN: z.ZodString;
429
+ SHOPIFY_ACCESS_TOKEN: z.ZodString;
430
+ }, z.core.$strip>, {
431
+ kind: "oauth";
432
+ tokenType: "refreshable";
433
+ authUrl: "https://{shop}.myshopify.com/admin/oauth/authorize";
434
+ tokenUrl: "https://{shop}.myshopify.com/admin/oauth/access_token";
435
+ revokeUrl: null;
436
+ scopes: readonly ["read_products", "write_products", "read_orders", "write_orders", "read_customers", "write_customers", "read_inventory", "write_inventory", "read_locations", "read_fulfillments", "write_fulfillments", "read_content", "write_content", "read_webhooks", "write_webhooks"];
437
+ vault: {
438
+ readonly accessToken: "SHOPIFY_ACCESS_TOKEN";
439
+ readonly raw: {
440
+ readonly SHOPIFY_STORE_DOMAIN: "_shopifyShopDomain";
441
+ };
442
+ };
443
+ buildAuthUrl: ({
444
+ oauthClient,
445
+ redirectUri,
446
+ state,
447
+ connection,
448
+ initiateInput,
449
+ requestedScopes
450
+ }: _keystrokehq_core_credential_set0.BuildAuthUrlContext) => string;
451
+ exchangeCode: ({
452
+ oauthClient,
453
+ code,
454
+ queryParams
455
+ }: _keystrokehq_core_credential_set0.ExchangeCodeContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
456
+ refreshToken: ({
457
+ oauthClient,
458
+ refreshToken
459
+ }: _keystrokehq_core_credential_set0.RefreshTokenContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
460
+ extractInstallationInfo: ({
461
+ tokenResult
462
+ }: _keystrokehq_core_credential_set0.ExtractInstallationContext) => {
463
+ externalInstallationId: string | undefined;
464
+ externalWorkspaceId: string | undefined;
465
+ metadata: {
466
+ shopDomain: string;
467
+ } | undefined;
468
+ };
469
+ id: string;
470
+ }[]>[], undefined>;
471
+ //#endregion
472
+ //#region src/operations/create-shopify-fulfillment.operation.d.ts
473
+ declare const createFulfillmentOperation: Operation<z.ZodObject<{
474
+ lineItemsByFulfillmentOrder: z.ZodArray<z.ZodObject<{
475
+ fulfillmentOrderId: z.ZodString;
476
+ fulfillmentOrderLineItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
477
+ id: z.ZodString;
478
+ quantity: z.ZodNumber;
479
+ }, z.core.$strip>>>;
480
+ }, z.core.$strip>>;
481
+ notifyCustomer: z.ZodOptional<z.ZodBoolean>;
482
+ message: z.ZodOptional<z.ZodString>;
483
+ trackingInfo: z.ZodOptional<z.ZodObject<{
484
+ company: z.ZodOptional<z.ZodString>;
485
+ number: z.ZodOptional<z.ZodString>;
486
+ url: z.ZodOptional<z.ZodURL>;
487
+ }, z.core.$strip>>;
488
+ }, z.core.$strip>, z.ZodObject<{
489
+ id: z.ZodString;
490
+ status: z.ZodOptional<z.ZodString>;
491
+ trackingInfo: z.ZodOptional<z.ZodArray<z.ZodObject<{
492
+ number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
493
+ url: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
494
+ }, z.core.$strip>>>;
495
+ }, z.core.$strip>, _keystrokehq_core0.CredentialSet<"shopify", z.ZodObject<{
496
+ SHOPIFY_STORE_DOMAIN: z.ZodString;
497
+ SHOPIFY_ACCESS_TOKEN: z.ZodString;
498
+ }, z.core.$strip>, {
499
+ kind: "oauth";
500
+ tokenType: "refreshable";
501
+ authUrl: "https://{shop}.myshopify.com/admin/oauth/authorize";
502
+ tokenUrl: "https://{shop}.myshopify.com/admin/oauth/access_token";
503
+ revokeUrl: null;
504
+ scopes: readonly ["read_products", "write_products", "read_orders", "write_orders", "read_customers", "write_customers", "read_inventory", "write_inventory", "read_locations", "read_fulfillments", "write_fulfillments", "read_content", "write_content", "read_webhooks", "write_webhooks"];
505
+ vault: {
506
+ readonly accessToken: "SHOPIFY_ACCESS_TOKEN";
507
+ readonly raw: {
508
+ readonly SHOPIFY_STORE_DOMAIN: "_shopifyShopDomain";
509
+ };
510
+ };
511
+ buildAuthUrl: ({
512
+ oauthClient,
513
+ redirectUri,
514
+ state,
515
+ connection,
516
+ initiateInput,
517
+ requestedScopes
518
+ }: _keystrokehq_core_credential_set0.BuildAuthUrlContext) => string;
519
+ exchangeCode: ({
520
+ oauthClient,
521
+ code,
522
+ queryParams
523
+ }: _keystrokehq_core_credential_set0.ExchangeCodeContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
524
+ refreshToken: ({
525
+ oauthClient,
526
+ refreshToken
527
+ }: _keystrokehq_core_credential_set0.RefreshTokenContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
528
+ extractInstallationInfo: ({
529
+ tokenResult
530
+ }: _keystrokehq_core_credential_set0.ExtractInstallationContext) => {
531
+ externalInstallationId: string | undefined;
532
+ externalWorkspaceId: string | undefined;
533
+ metadata: {
534
+ shopDomain: string;
535
+ } | undefined;
536
+ };
537
+ id: string;
538
+ }[]>[], undefined>;
539
+ //#endregion
540
+ //#region src/operations/create-shopify-order.operation.d.ts
541
+ declare const createOrderOperation: Operation<z.ZodObject<{
542
+ currency: z.ZodString;
543
+ email: z.ZodOptional<z.ZodEmail>;
544
+ note: z.ZodOptional<z.ZodString>;
545
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
546
+ customerId: z.ZodOptional<z.ZodString>;
547
+ lineItems: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
548
+ variantId: z.ZodString;
549
+ quantity: z.ZodNumber;
550
+ }, z.core.$strip>, z.ZodObject<{
551
+ title: z.ZodString;
552
+ quantity: z.ZodNumber;
553
+ price: z.ZodNumber;
554
+ }, z.core.$strip>]>>;
555
+ }, z.core.$strip>, z.ZodObject<{
556
+ id: z.ZodString;
557
+ name: z.ZodString;
558
+ createdAt: z.ZodOptional<z.ZodISODateTime>;
559
+ updatedAt: z.ZodOptional<z.ZodISODateTime>;
560
+ cancelledAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
561
+ email: z.ZodOptional<z.ZodNullable<z.ZodEmail>>;
562
+ note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
563
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
564
+ displayFinancialStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
565
+ displayFulfillmentStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
566
+ currentTotalPriceSet: z.ZodOptional<z.ZodObject<{
567
+ shopMoney: z.ZodObject<{
568
+ amount: z.ZodString;
569
+ currencyCode: z.ZodString;
570
+ }, z.core.$strip>;
571
+ presentmentMoney: z.ZodOptional<z.ZodObject<{
572
+ amount: z.ZodString;
573
+ currencyCode: z.ZodString;
574
+ }, z.core.$strip>>;
575
+ }, z.core.$strip>>;
576
+ customer: z.ZodOptional<z.ZodNullable<z.ZodObject<{
577
+ id: z.ZodString;
578
+ displayName: z.ZodString;
579
+ firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
580
+ lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
581
+ email: z.ZodOptional<z.ZodNullable<z.ZodEmail>>;
582
+ phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
583
+ createdAt: z.ZodOptional<z.ZodISODateTime>;
584
+ updatedAt: z.ZodOptional<z.ZodISODateTime>;
585
+ }, z.core.$strip>>>;
586
+ }, z.core.$strip>, _keystrokehq_core0.CredentialSet<"shopify", z.ZodObject<{
587
+ SHOPIFY_STORE_DOMAIN: z.ZodString;
588
+ SHOPIFY_ACCESS_TOKEN: z.ZodString;
589
+ }, z.core.$strip>, {
590
+ kind: "oauth";
591
+ tokenType: "refreshable";
592
+ authUrl: "https://{shop}.myshopify.com/admin/oauth/authorize";
593
+ tokenUrl: "https://{shop}.myshopify.com/admin/oauth/access_token";
594
+ revokeUrl: null;
595
+ scopes: readonly ["read_products", "write_products", "read_orders", "write_orders", "read_customers", "write_customers", "read_inventory", "write_inventory", "read_locations", "read_fulfillments", "write_fulfillments", "read_content", "write_content", "read_webhooks", "write_webhooks"];
596
+ vault: {
597
+ readonly accessToken: "SHOPIFY_ACCESS_TOKEN";
598
+ readonly raw: {
599
+ readonly SHOPIFY_STORE_DOMAIN: "_shopifyShopDomain";
600
+ };
601
+ };
602
+ buildAuthUrl: ({
603
+ oauthClient,
604
+ redirectUri,
605
+ state,
606
+ connection,
607
+ initiateInput,
608
+ requestedScopes
609
+ }: _keystrokehq_core_credential_set0.BuildAuthUrlContext) => string;
610
+ exchangeCode: ({
611
+ oauthClient,
612
+ code,
613
+ queryParams
614
+ }: _keystrokehq_core_credential_set0.ExchangeCodeContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
615
+ refreshToken: ({
616
+ oauthClient,
617
+ refreshToken
618
+ }: _keystrokehq_core_credential_set0.RefreshTokenContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
619
+ extractInstallationInfo: ({
620
+ tokenResult
621
+ }: _keystrokehq_core_credential_set0.ExtractInstallationContext) => {
622
+ externalInstallationId: string | undefined;
623
+ externalWorkspaceId: string | undefined;
624
+ metadata: {
625
+ shopDomain: string;
626
+ } | undefined;
627
+ };
628
+ id: string;
629
+ }[]>[], undefined>;
630
+ //#endregion
631
+ //#region src/operations/create-shopify-product.operation.d.ts
632
+ declare const createProductOperation: Operation<z.ZodObject<{
633
+ handle: z.ZodOptional<z.ZodString>;
634
+ descriptionHtml: z.ZodOptional<z.ZodString>;
635
+ vendor: z.ZodOptional<z.ZodString>;
636
+ productType: z.ZodOptional<z.ZodString>;
637
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
638
+ title: z.ZodString;
639
+ }, z.core.$strip>, z.ZodObject<{
640
+ id: z.ZodString;
641
+ title: z.ZodString;
642
+ handle: z.ZodString;
643
+ status: z.ZodOptional<z.ZodString>;
644
+ productType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
645
+ vendor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
646
+ descriptionHtml: z.ZodOptional<z.ZodNullable<z.ZodString>>;
647
+ onlineStoreUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
648
+ createdAt: z.ZodOptional<z.ZodISODateTime>;
649
+ updatedAt: z.ZodOptional<z.ZodISODateTime>;
650
+ featuredImage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
651
+ url: z.ZodURL;
652
+ altText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
653
+ }, z.core.$strip>>>;
654
+ seo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
655
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
656
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
657
+ }, z.core.$strip>>>;
658
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
659
+ }, z.core.$strip>, _keystrokehq_core0.CredentialSet<"shopify", z.ZodObject<{
660
+ SHOPIFY_STORE_DOMAIN: z.ZodString;
661
+ SHOPIFY_ACCESS_TOKEN: z.ZodString;
662
+ }, z.core.$strip>, {
663
+ kind: "oauth";
664
+ tokenType: "refreshable";
665
+ authUrl: "https://{shop}.myshopify.com/admin/oauth/authorize";
666
+ tokenUrl: "https://{shop}.myshopify.com/admin/oauth/access_token";
667
+ revokeUrl: null;
668
+ scopes: readonly ["read_products", "write_products", "read_orders", "write_orders", "read_customers", "write_customers", "read_inventory", "write_inventory", "read_locations", "read_fulfillments", "write_fulfillments", "read_content", "write_content", "read_webhooks", "write_webhooks"];
669
+ vault: {
670
+ readonly accessToken: "SHOPIFY_ACCESS_TOKEN";
671
+ readonly raw: {
672
+ readonly SHOPIFY_STORE_DOMAIN: "_shopifyShopDomain";
673
+ };
674
+ };
675
+ buildAuthUrl: ({
676
+ oauthClient,
677
+ redirectUri,
678
+ state,
679
+ connection,
680
+ initiateInput,
681
+ requestedScopes
682
+ }: _keystrokehq_core_credential_set0.BuildAuthUrlContext) => string;
683
+ exchangeCode: ({
684
+ oauthClient,
685
+ code,
686
+ queryParams
687
+ }: _keystrokehq_core_credential_set0.ExchangeCodeContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
688
+ refreshToken: ({
689
+ oauthClient,
690
+ refreshToken
691
+ }: _keystrokehq_core_credential_set0.RefreshTokenContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
692
+ extractInstallationInfo: ({
693
+ tokenResult
694
+ }: _keystrokehq_core_credential_set0.ExtractInstallationContext) => {
695
+ externalInstallationId: string | undefined;
696
+ externalWorkspaceId: string | undefined;
697
+ metadata: {
698
+ shopDomain: string;
699
+ } | undefined;
700
+ };
701
+ id: string;
702
+ }[]>[], undefined>;
703
+ //#endregion
704
+ //#region src/operations/delete-shopify-article.operation.d.ts
705
+ declare const deleteArticleOperation: Operation<z.ZodObject<{
706
+ id: z.ZodString;
707
+ }, z.core.$strip>, z.ZodObject<{
708
+ deletedArticleId: z.ZodString;
709
+ }, z.core.$strip>, _keystrokehq_core0.CredentialSet<"shopify", z.ZodObject<{
710
+ SHOPIFY_STORE_DOMAIN: z.ZodString;
711
+ SHOPIFY_ACCESS_TOKEN: z.ZodString;
712
+ }, z.core.$strip>, {
713
+ kind: "oauth";
714
+ tokenType: "refreshable";
715
+ authUrl: "https://{shop}.myshopify.com/admin/oauth/authorize";
716
+ tokenUrl: "https://{shop}.myshopify.com/admin/oauth/access_token";
717
+ revokeUrl: null;
718
+ scopes: readonly ["read_products", "write_products", "read_orders", "write_orders", "read_customers", "write_customers", "read_inventory", "write_inventory", "read_locations", "read_fulfillments", "write_fulfillments", "read_content", "write_content", "read_webhooks", "write_webhooks"];
719
+ vault: {
720
+ readonly accessToken: "SHOPIFY_ACCESS_TOKEN";
721
+ readonly raw: {
722
+ readonly SHOPIFY_STORE_DOMAIN: "_shopifyShopDomain";
723
+ };
724
+ };
725
+ buildAuthUrl: ({
726
+ oauthClient,
727
+ redirectUri,
728
+ state,
729
+ connection,
730
+ initiateInput,
731
+ requestedScopes
732
+ }: _keystrokehq_core_credential_set0.BuildAuthUrlContext) => string;
733
+ exchangeCode: ({
734
+ oauthClient,
735
+ code,
736
+ queryParams
737
+ }: _keystrokehq_core_credential_set0.ExchangeCodeContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
738
+ refreshToken: ({
739
+ oauthClient,
740
+ refreshToken
741
+ }: _keystrokehq_core_credential_set0.RefreshTokenContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
742
+ extractInstallationInfo: ({
743
+ tokenResult
744
+ }: _keystrokehq_core_credential_set0.ExtractInstallationContext) => {
745
+ externalInstallationId: string | undefined;
746
+ externalWorkspaceId: string | undefined;
747
+ metadata: {
748
+ shopDomain: string;
749
+ } | undefined;
750
+ };
751
+ id: string;
752
+ }[]>[], undefined>;
753
+ //#endregion
754
+ //#region src/operations/delete-shopify-blog.operation.d.ts
755
+ declare const deleteBlogOperation: Operation<z.ZodObject<{
756
+ id: z.ZodString;
757
+ }, z.core.$strip>, z.ZodObject<{
758
+ deletedBlogId: z.ZodString;
759
+ }, z.core.$strip>, _keystrokehq_core0.CredentialSet<"shopify", z.ZodObject<{
760
+ SHOPIFY_STORE_DOMAIN: z.ZodString;
761
+ SHOPIFY_ACCESS_TOKEN: z.ZodString;
762
+ }, z.core.$strip>, {
763
+ kind: "oauth";
764
+ tokenType: "refreshable";
765
+ authUrl: "https://{shop}.myshopify.com/admin/oauth/authorize";
766
+ tokenUrl: "https://{shop}.myshopify.com/admin/oauth/access_token";
767
+ revokeUrl: null;
768
+ scopes: readonly ["read_products", "write_products", "read_orders", "write_orders", "read_customers", "write_customers", "read_inventory", "write_inventory", "read_locations", "read_fulfillments", "write_fulfillments", "read_content", "write_content", "read_webhooks", "write_webhooks"];
769
+ vault: {
770
+ readonly accessToken: "SHOPIFY_ACCESS_TOKEN";
771
+ readonly raw: {
772
+ readonly SHOPIFY_STORE_DOMAIN: "_shopifyShopDomain";
773
+ };
774
+ };
775
+ buildAuthUrl: ({
776
+ oauthClient,
777
+ redirectUri,
778
+ state,
779
+ connection,
780
+ initiateInput,
781
+ requestedScopes
782
+ }: _keystrokehq_core_credential_set0.BuildAuthUrlContext) => string;
783
+ exchangeCode: ({
784
+ oauthClient,
785
+ code,
786
+ queryParams
787
+ }: _keystrokehq_core_credential_set0.ExchangeCodeContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
788
+ refreshToken: ({
789
+ oauthClient,
790
+ refreshToken
791
+ }: _keystrokehq_core_credential_set0.RefreshTokenContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
792
+ extractInstallationInfo: ({
793
+ tokenResult
794
+ }: _keystrokehq_core_credential_set0.ExtractInstallationContext) => {
795
+ externalInstallationId: string | undefined;
796
+ externalWorkspaceId: string | undefined;
797
+ metadata: {
798
+ shopDomain: string;
799
+ } | undefined;
800
+ };
801
+ id: string;
802
+ }[]>[], undefined>;
803
+ //#endregion
804
+ //#region src/operations/delete-shopify-collection.operation.d.ts
805
+ declare const deleteCollectionOperation: Operation<z.ZodObject<{
806
+ id: z.ZodString;
807
+ }, z.core.$strip>, z.ZodObject<{
808
+ deletedCollectionId: z.ZodString;
809
+ }, z.core.$strip>, _keystrokehq_core0.CredentialSet<"shopify", z.ZodObject<{
810
+ SHOPIFY_STORE_DOMAIN: z.ZodString;
811
+ SHOPIFY_ACCESS_TOKEN: z.ZodString;
812
+ }, z.core.$strip>, {
813
+ kind: "oauth";
814
+ tokenType: "refreshable";
815
+ authUrl: "https://{shop}.myshopify.com/admin/oauth/authorize";
816
+ tokenUrl: "https://{shop}.myshopify.com/admin/oauth/access_token";
817
+ revokeUrl: null;
818
+ scopes: readonly ["read_products", "write_products", "read_orders", "write_orders", "read_customers", "write_customers", "read_inventory", "write_inventory", "read_locations", "read_fulfillments", "write_fulfillments", "read_content", "write_content", "read_webhooks", "write_webhooks"];
819
+ vault: {
820
+ readonly accessToken: "SHOPIFY_ACCESS_TOKEN";
821
+ readonly raw: {
822
+ readonly SHOPIFY_STORE_DOMAIN: "_shopifyShopDomain";
823
+ };
824
+ };
825
+ buildAuthUrl: ({
826
+ oauthClient,
827
+ redirectUri,
828
+ state,
829
+ connection,
830
+ initiateInput,
831
+ requestedScopes
832
+ }: _keystrokehq_core_credential_set0.BuildAuthUrlContext) => string;
833
+ exchangeCode: ({
834
+ oauthClient,
835
+ code,
836
+ queryParams
837
+ }: _keystrokehq_core_credential_set0.ExchangeCodeContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
838
+ refreshToken: ({
839
+ oauthClient,
840
+ refreshToken
841
+ }: _keystrokehq_core_credential_set0.RefreshTokenContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
842
+ extractInstallationInfo: ({
843
+ tokenResult
844
+ }: _keystrokehq_core_credential_set0.ExtractInstallationContext) => {
845
+ externalInstallationId: string | undefined;
846
+ externalWorkspaceId: string | undefined;
847
+ metadata: {
848
+ shopDomain: string;
849
+ } | undefined;
850
+ };
851
+ id: string;
852
+ }[]>[], undefined>;
853
+ //#endregion
854
+ //#region src/operations/delete-shopify-customer.operation.d.ts
855
+ declare const deleteCustomerOperation: Operation<z.ZodObject<{
856
+ id: z.ZodString;
857
+ }, z.core.$strip>, z.ZodObject<{
858
+ deletedCustomerId: z.ZodString;
859
+ }, z.core.$strip>, _keystrokehq_core0.CredentialSet<"shopify", z.ZodObject<{
860
+ SHOPIFY_STORE_DOMAIN: z.ZodString;
861
+ SHOPIFY_ACCESS_TOKEN: z.ZodString;
862
+ }, z.core.$strip>, {
863
+ kind: "oauth";
864
+ tokenType: "refreshable";
865
+ authUrl: "https://{shop}.myshopify.com/admin/oauth/authorize";
866
+ tokenUrl: "https://{shop}.myshopify.com/admin/oauth/access_token";
867
+ revokeUrl: null;
868
+ scopes: readonly ["read_products", "write_products", "read_orders", "write_orders", "read_customers", "write_customers", "read_inventory", "write_inventory", "read_locations", "read_fulfillments", "write_fulfillments", "read_content", "write_content", "read_webhooks", "write_webhooks"];
869
+ vault: {
870
+ readonly accessToken: "SHOPIFY_ACCESS_TOKEN";
871
+ readonly raw: {
872
+ readonly SHOPIFY_STORE_DOMAIN: "_shopifyShopDomain";
873
+ };
874
+ };
875
+ buildAuthUrl: ({
876
+ oauthClient,
877
+ redirectUri,
878
+ state,
879
+ connection,
880
+ initiateInput,
881
+ requestedScopes
882
+ }: _keystrokehq_core_credential_set0.BuildAuthUrlContext) => string;
883
+ exchangeCode: ({
884
+ oauthClient,
885
+ code,
886
+ queryParams
887
+ }: _keystrokehq_core_credential_set0.ExchangeCodeContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
888
+ refreshToken: ({
889
+ oauthClient,
890
+ refreshToken
891
+ }: _keystrokehq_core_credential_set0.RefreshTokenContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
892
+ extractInstallationInfo: ({
893
+ tokenResult
894
+ }: _keystrokehq_core_credential_set0.ExtractInstallationContext) => {
895
+ externalInstallationId: string | undefined;
896
+ externalWorkspaceId: string | undefined;
897
+ metadata: {
898
+ shopDomain: string;
899
+ } | undefined;
900
+ };
901
+ id: string;
902
+ }[]>[], undefined>;
903
+ //#endregion
904
+ //#region src/operations/delete-shopify-product.operation.d.ts
905
+ declare const deleteProductOperation: Operation<z.ZodObject<{
906
+ id: z.ZodString;
907
+ }, z.core.$strip>, z.ZodObject<{
908
+ deletedProductId: z.ZodString;
909
+ }, z.core.$strip>, _keystrokehq_core0.CredentialSet<"shopify", z.ZodObject<{
910
+ SHOPIFY_STORE_DOMAIN: z.ZodString;
911
+ SHOPIFY_ACCESS_TOKEN: z.ZodString;
912
+ }, z.core.$strip>, {
913
+ kind: "oauth";
914
+ tokenType: "refreshable";
915
+ authUrl: "https://{shop}.myshopify.com/admin/oauth/authorize";
916
+ tokenUrl: "https://{shop}.myshopify.com/admin/oauth/access_token";
917
+ revokeUrl: null;
918
+ scopes: readonly ["read_products", "write_products", "read_orders", "write_orders", "read_customers", "write_customers", "read_inventory", "write_inventory", "read_locations", "read_fulfillments", "write_fulfillments", "read_content", "write_content", "read_webhooks", "write_webhooks"];
919
+ vault: {
920
+ readonly accessToken: "SHOPIFY_ACCESS_TOKEN";
921
+ readonly raw: {
922
+ readonly SHOPIFY_STORE_DOMAIN: "_shopifyShopDomain";
923
+ };
924
+ };
925
+ buildAuthUrl: ({
926
+ oauthClient,
927
+ redirectUri,
928
+ state,
929
+ connection,
930
+ initiateInput,
931
+ requestedScopes
932
+ }: _keystrokehq_core_credential_set0.BuildAuthUrlContext) => string;
933
+ exchangeCode: ({
934
+ oauthClient,
935
+ code,
936
+ queryParams
937
+ }: _keystrokehq_core_credential_set0.ExchangeCodeContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
938
+ refreshToken: ({
939
+ oauthClient,
940
+ refreshToken
941
+ }: _keystrokehq_core_credential_set0.RefreshTokenContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
942
+ extractInstallationInfo: ({
943
+ tokenResult
944
+ }: _keystrokehq_core_credential_set0.ExtractInstallationContext) => {
945
+ externalInstallationId: string | undefined;
946
+ externalWorkspaceId: string | undefined;
947
+ metadata: {
948
+ shopDomain: string;
949
+ } | undefined;
950
+ };
951
+ id: string;
952
+ }[]>[], undefined>;
953
+ //#endregion
954
+ //#region src/operations/get-shopify-article.operation.d.ts
955
+ declare const getArticleOperation: Operation<z.ZodObject<{
956
+ id: z.ZodString;
957
+ }, z.core.$strip>, z.ZodObject<{
958
+ id: z.ZodString;
959
+ title: z.ZodString;
960
+ handle: z.ZodString;
961
+ blog: z.ZodOptional<z.ZodNullable<z.ZodObject<{
962
+ id: z.ZodString;
963
+ title: z.ZodString;
964
+ handle: z.ZodString;
965
+ createdAt: z.ZodOptional<z.ZodISODateTime>;
966
+ updatedAt: z.ZodOptional<z.ZodISODateTime>;
967
+ commentPolicy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
968
+ templateSuffix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
969
+ }, z.core.$strip>>>;
970
+ author: z.ZodOptional<z.ZodNullable<z.ZodString>>;
971
+ body: z.ZodOptional<z.ZodNullable<z.ZodString>>;
972
+ summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
973
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
974
+ image: z.ZodOptional<z.ZodNullable<z.ZodObject<{
975
+ url: z.ZodURL;
976
+ altText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
977
+ }, z.core.$strip>>>;
978
+ publishedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
979
+ updatedAt: z.ZodOptional<z.ZodISODateTime>;
980
+ }, z.core.$strip>, _keystrokehq_core0.CredentialSet<"shopify", z.ZodObject<{
981
+ SHOPIFY_STORE_DOMAIN: z.ZodString;
982
+ SHOPIFY_ACCESS_TOKEN: z.ZodString;
983
+ }, z.core.$strip>, {
984
+ kind: "oauth";
985
+ tokenType: "refreshable";
986
+ authUrl: "https://{shop}.myshopify.com/admin/oauth/authorize";
987
+ tokenUrl: "https://{shop}.myshopify.com/admin/oauth/access_token";
988
+ revokeUrl: null;
989
+ scopes: readonly ["read_products", "write_products", "read_orders", "write_orders", "read_customers", "write_customers", "read_inventory", "write_inventory", "read_locations", "read_fulfillments", "write_fulfillments", "read_content", "write_content", "read_webhooks", "write_webhooks"];
990
+ vault: {
991
+ readonly accessToken: "SHOPIFY_ACCESS_TOKEN";
992
+ readonly raw: {
993
+ readonly SHOPIFY_STORE_DOMAIN: "_shopifyShopDomain";
994
+ };
995
+ };
996
+ buildAuthUrl: ({
997
+ oauthClient,
998
+ redirectUri,
999
+ state,
1000
+ connection,
1001
+ initiateInput,
1002
+ requestedScopes
1003
+ }: _keystrokehq_core_credential_set0.BuildAuthUrlContext) => string;
1004
+ exchangeCode: ({
1005
+ oauthClient,
1006
+ code,
1007
+ queryParams
1008
+ }: _keystrokehq_core_credential_set0.ExchangeCodeContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
1009
+ refreshToken: ({
1010
+ oauthClient,
1011
+ refreshToken
1012
+ }: _keystrokehq_core_credential_set0.RefreshTokenContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
1013
+ extractInstallationInfo: ({
1014
+ tokenResult
1015
+ }: _keystrokehq_core_credential_set0.ExtractInstallationContext) => {
1016
+ externalInstallationId: string | undefined;
1017
+ externalWorkspaceId: string | undefined;
1018
+ metadata: {
1019
+ shopDomain: string;
1020
+ } | undefined;
1021
+ };
1022
+ id: string;
1023
+ }[]>[], undefined>;
1024
+ //#endregion
1025
+ //#region src/operations/get-shopify-blog.operation.d.ts
1026
+ declare const getBlogOperation: Operation<z.ZodObject<{
1027
+ id: z.ZodString;
1028
+ }, z.core.$strip>, z.ZodObject<{
1029
+ id: z.ZodString;
1030
+ title: z.ZodString;
1031
+ handle: z.ZodString;
1032
+ createdAt: z.ZodOptional<z.ZodISODateTime>;
1033
+ updatedAt: z.ZodOptional<z.ZodISODateTime>;
1034
+ commentPolicy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1035
+ templateSuffix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1036
+ }, z.core.$strip>, _keystrokehq_core0.CredentialSet<"shopify", z.ZodObject<{
1037
+ SHOPIFY_STORE_DOMAIN: z.ZodString;
1038
+ SHOPIFY_ACCESS_TOKEN: z.ZodString;
1039
+ }, z.core.$strip>, {
1040
+ kind: "oauth";
1041
+ tokenType: "refreshable";
1042
+ authUrl: "https://{shop}.myshopify.com/admin/oauth/authorize";
1043
+ tokenUrl: "https://{shop}.myshopify.com/admin/oauth/access_token";
1044
+ revokeUrl: null;
1045
+ scopes: readonly ["read_products", "write_products", "read_orders", "write_orders", "read_customers", "write_customers", "read_inventory", "write_inventory", "read_locations", "read_fulfillments", "write_fulfillments", "read_content", "write_content", "read_webhooks", "write_webhooks"];
1046
+ vault: {
1047
+ readonly accessToken: "SHOPIFY_ACCESS_TOKEN";
1048
+ readonly raw: {
1049
+ readonly SHOPIFY_STORE_DOMAIN: "_shopifyShopDomain";
1050
+ };
1051
+ };
1052
+ buildAuthUrl: ({
1053
+ oauthClient,
1054
+ redirectUri,
1055
+ state,
1056
+ connection,
1057
+ initiateInput,
1058
+ requestedScopes
1059
+ }: _keystrokehq_core_credential_set0.BuildAuthUrlContext) => string;
1060
+ exchangeCode: ({
1061
+ oauthClient,
1062
+ code,
1063
+ queryParams
1064
+ }: _keystrokehq_core_credential_set0.ExchangeCodeContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
1065
+ refreshToken: ({
1066
+ oauthClient,
1067
+ refreshToken
1068
+ }: _keystrokehq_core_credential_set0.RefreshTokenContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
1069
+ extractInstallationInfo: ({
1070
+ tokenResult
1071
+ }: _keystrokehq_core_credential_set0.ExtractInstallationContext) => {
1072
+ externalInstallationId: string | undefined;
1073
+ externalWorkspaceId: string | undefined;
1074
+ metadata: {
1075
+ shopDomain: string;
1076
+ } | undefined;
1077
+ };
1078
+ id: string;
1079
+ }[]>[], undefined>;
1080
+ //#endregion
1081
+ //#region src/operations/get-shopify-collection.operation.d.ts
1082
+ declare const getCollectionOperation: Operation<z.ZodObject<{
1083
+ id: z.ZodString;
1084
+ }, z.core.$strip>, z.ZodObject<{
1085
+ id: z.ZodString;
1086
+ title: z.ZodString;
1087
+ handle: z.ZodString;
1088
+ descriptionHtml: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1089
+ updatedAt: z.ZodOptional<z.ZodISODateTime>;
1090
+ image: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1091
+ url: z.ZodURL;
1092
+ altText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1093
+ }, z.core.$strip>>>;
1094
+ seo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1095
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1096
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1097
+ }, z.core.$strip>>>;
1098
+ }, z.core.$strip>, _keystrokehq_core0.CredentialSet<"shopify", z.ZodObject<{
1099
+ SHOPIFY_STORE_DOMAIN: z.ZodString;
1100
+ SHOPIFY_ACCESS_TOKEN: z.ZodString;
1101
+ }, z.core.$strip>, {
1102
+ kind: "oauth";
1103
+ tokenType: "refreshable";
1104
+ authUrl: "https://{shop}.myshopify.com/admin/oauth/authorize";
1105
+ tokenUrl: "https://{shop}.myshopify.com/admin/oauth/access_token";
1106
+ revokeUrl: null;
1107
+ scopes: readonly ["read_products", "write_products", "read_orders", "write_orders", "read_customers", "write_customers", "read_inventory", "write_inventory", "read_locations", "read_fulfillments", "write_fulfillments", "read_content", "write_content", "read_webhooks", "write_webhooks"];
1108
+ vault: {
1109
+ readonly accessToken: "SHOPIFY_ACCESS_TOKEN";
1110
+ readonly raw: {
1111
+ readonly SHOPIFY_STORE_DOMAIN: "_shopifyShopDomain";
1112
+ };
1113
+ };
1114
+ buildAuthUrl: ({
1115
+ oauthClient,
1116
+ redirectUri,
1117
+ state,
1118
+ connection,
1119
+ initiateInput,
1120
+ requestedScopes
1121
+ }: _keystrokehq_core_credential_set0.BuildAuthUrlContext) => string;
1122
+ exchangeCode: ({
1123
+ oauthClient,
1124
+ code,
1125
+ queryParams
1126
+ }: _keystrokehq_core_credential_set0.ExchangeCodeContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
1127
+ refreshToken: ({
1128
+ oauthClient,
1129
+ refreshToken
1130
+ }: _keystrokehq_core_credential_set0.RefreshTokenContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
1131
+ extractInstallationInfo: ({
1132
+ tokenResult
1133
+ }: _keystrokehq_core_credential_set0.ExtractInstallationContext) => {
1134
+ externalInstallationId: string | undefined;
1135
+ externalWorkspaceId: string | undefined;
1136
+ metadata: {
1137
+ shopDomain: string;
1138
+ } | undefined;
1139
+ };
1140
+ id: string;
1141
+ }[]>[], undefined>;
1142
+ //#endregion
1143
+ //#region src/operations/get-shopify-customer.operation.d.ts
1144
+ declare const getCustomerOperation: Operation<z.ZodObject<{
1145
+ id: z.ZodString;
1146
+ }, z.core.$strip>, z.ZodObject<{
1147
+ id: z.ZodString;
1148
+ displayName: z.ZodString;
1149
+ firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1150
+ lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1151
+ email: z.ZodOptional<z.ZodNullable<z.ZodEmail>>;
1152
+ phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1153
+ createdAt: z.ZodOptional<z.ZodISODateTime>;
1154
+ updatedAt: z.ZodOptional<z.ZodISODateTime>;
1155
+ }, z.core.$strip>, _keystrokehq_core0.CredentialSet<"shopify", z.ZodObject<{
1156
+ SHOPIFY_STORE_DOMAIN: z.ZodString;
1157
+ SHOPIFY_ACCESS_TOKEN: z.ZodString;
1158
+ }, z.core.$strip>, {
1159
+ kind: "oauth";
1160
+ tokenType: "refreshable";
1161
+ authUrl: "https://{shop}.myshopify.com/admin/oauth/authorize";
1162
+ tokenUrl: "https://{shop}.myshopify.com/admin/oauth/access_token";
1163
+ revokeUrl: null;
1164
+ scopes: readonly ["read_products", "write_products", "read_orders", "write_orders", "read_customers", "write_customers", "read_inventory", "write_inventory", "read_locations", "read_fulfillments", "write_fulfillments", "read_content", "write_content", "read_webhooks", "write_webhooks"];
1165
+ vault: {
1166
+ readonly accessToken: "SHOPIFY_ACCESS_TOKEN";
1167
+ readonly raw: {
1168
+ readonly SHOPIFY_STORE_DOMAIN: "_shopifyShopDomain";
1169
+ };
1170
+ };
1171
+ buildAuthUrl: ({
1172
+ oauthClient,
1173
+ redirectUri,
1174
+ state,
1175
+ connection,
1176
+ initiateInput,
1177
+ requestedScopes
1178
+ }: _keystrokehq_core_credential_set0.BuildAuthUrlContext) => string;
1179
+ exchangeCode: ({
1180
+ oauthClient,
1181
+ code,
1182
+ queryParams
1183
+ }: _keystrokehq_core_credential_set0.ExchangeCodeContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
1184
+ refreshToken: ({
1185
+ oauthClient,
1186
+ refreshToken
1187
+ }: _keystrokehq_core_credential_set0.RefreshTokenContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
1188
+ extractInstallationInfo: ({
1189
+ tokenResult
1190
+ }: _keystrokehq_core_credential_set0.ExtractInstallationContext) => {
1191
+ externalInstallationId: string | undefined;
1192
+ externalWorkspaceId: string | undefined;
1193
+ metadata: {
1194
+ shopDomain: string;
1195
+ } | undefined;
1196
+ };
1197
+ id: string;
1198
+ }[]>[], undefined>;
1199
+ //#endregion
1200
+ //#region src/operations/get-shopify-customer-orders.operation.d.ts
1201
+ declare const getCustomerOrdersOperation: Operation<z.ZodObject<{
1202
+ id: z.ZodString;
1203
+ first: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1204
+ after: z.ZodOptional<z.ZodString>;
1205
+ }, z.core.$strip>, z.ZodObject<{
1206
+ nodes: z.ZodArray<z.ZodObject<{
1207
+ id: z.ZodString;
1208
+ name: z.ZodString;
1209
+ createdAt: z.ZodOptional<z.ZodISODateTime>;
1210
+ updatedAt: z.ZodOptional<z.ZodISODateTime>;
1211
+ cancelledAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
1212
+ email: z.ZodOptional<z.ZodNullable<z.ZodEmail>>;
1213
+ note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1214
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1215
+ displayFinancialStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1216
+ displayFulfillmentStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1217
+ currentTotalPriceSet: z.ZodOptional<z.ZodObject<{
1218
+ shopMoney: z.ZodObject<{
1219
+ amount: z.ZodString;
1220
+ currencyCode: z.ZodString;
1221
+ }, z.core.$strip>;
1222
+ presentmentMoney: z.ZodOptional<z.ZodObject<{
1223
+ amount: z.ZodString;
1224
+ currencyCode: z.ZodString;
1225
+ }, z.core.$strip>>;
1226
+ }, z.core.$strip>>;
1227
+ customer: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1228
+ id: z.ZodString;
1229
+ displayName: z.ZodString;
1230
+ firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1231
+ lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1232
+ email: z.ZodOptional<z.ZodNullable<z.ZodEmail>>;
1233
+ phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1234
+ createdAt: z.ZodOptional<z.ZodISODateTime>;
1235
+ updatedAt: z.ZodOptional<z.ZodISODateTime>;
1236
+ }, z.core.$strip>>>;
1237
+ }, z.core.$strip>>;
1238
+ pageInfo: z.ZodObject<{
1239
+ hasNextPage: z.ZodBoolean;
1240
+ hasPreviousPage: z.ZodOptional<z.ZodBoolean>;
1241
+ startCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1242
+ endCursor: z.ZodNullable<z.ZodString>;
1243
+ }, z.core.$strip>;
1244
+ }, z.core.$strip>, _keystrokehq_core0.CredentialSet<"shopify", z.ZodObject<{
1245
+ SHOPIFY_STORE_DOMAIN: z.ZodString;
1246
+ SHOPIFY_ACCESS_TOKEN: z.ZodString;
1247
+ }, z.core.$strip>, {
1248
+ kind: "oauth";
1249
+ tokenType: "refreshable";
1250
+ authUrl: "https://{shop}.myshopify.com/admin/oauth/authorize";
1251
+ tokenUrl: "https://{shop}.myshopify.com/admin/oauth/access_token";
1252
+ revokeUrl: null;
1253
+ scopes: readonly ["read_products", "write_products", "read_orders", "write_orders", "read_customers", "write_customers", "read_inventory", "write_inventory", "read_locations", "read_fulfillments", "write_fulfillments", "read_content", "write_content", "read_webhooks", "write_webhooks"];
1254
+ vault: {
1255
+ readonly accessToken: "SHOPIFY_ACCESS_TOKEN";
1256
+ readonly raw: {
1257
+ readonly SHOPIFY_STORE_DOMAIN: "_shopifyShopDomain";
1258
+ };
1259
+ };
1260
+ buildAuthUrl: ({
1261
+ oauthClient,
1262
+ redirectUri,
1263
+ state,
1264
+ connection,
1265
+ initiateInput,
1266
+ requestedScopes
1267
+ }: _keystrokehq_core_credential_set0.BuildAuthUrlContext) => string;
1268
+ exchangeCode: ({
1269
+ oauthClient,
1270
+ code,
1271
+ queryParams
1272
+ }: _keystrokehq_core_credential_set0.ExchangeCodeContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
1273
+ refreshToken: ({
1274
+ oauthClient,
1275
+ refreshToken
1276
+ }: _keystrokehq_core_credential_set0.RefreshTokenContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
1277
+ extractInstallationInfo: ({
1278
+ tokenResult
1279
+ }: _keystrokehq_core_credential_set0.ExtractInstallationContext) => {
1280
+ externalInstallationId: string | undefined;
1281
+ externalWorkspaceId: string | undefined;
1282
+ metadata: {
1283
+ shopDomain: string;
1284
+ } | undefined;
1285
+ };
1286
+ id: string;
1287
+ }[]>[], undefined>;
1288
+ //#endregion
1289
+ //#region src/operations/get-shopify-fulfillment.operation.d.ts
1290
+ declare const getFulfillmentOperation: Operation<z.ZodObject<{
1291
+ id: z.ZodString;
1292
+ }, z.core.$strip>, z.ZodObject<{
1293
+ id: z.ZodString;
1294
+ status: z.ZodOptional<z.ZodString>;
1295
+ trackingInfo: z.ZodOptional<z.ZodArray<z.ZodObject<{
1296
+ number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1297
+ url: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
1298
+ }, z.core.$strip>>>;
1299
+ }, z.core.$strip>, _keystrokehq_core0.CredentialSet<"shopify", z.ZodObject<{
1300
+ SHOPIFY_STORE_DOMAIN: z.ZodString;
1301
+ SHOPIFY_ACCESS_TOKEN: z.ZodString;
1302
+ }, z.core.$strip>, {
1303
+ kind: "oauth";
1304
+ tokenType: "refreshable";
1305
+ authUrl: "https://{shop}.myshopify.com/admin/oauth/authorize";
1306
+ tokenUrl: "https://{shop}.myshopify.com/admin/oauth/access_token";
1307
+ revokeUrl: null;
1308
+ scopes: readonly ["read_products", "write_products", "read_orders", "write_orders", "read_customers", "write_customers", "read_inventory", "write_inventory", "read_locations", "read_fulfillments", "write_fulfillments", "read_content", "write_content", "read_webhooks", "write_webhooks"];
1309
+ vault: {
1310
+ readonly accessToken: "SHOPIFY_ACCESS_TOKEN";
1311
+ readonly raw: {
1312
+ readonly SHOPIFY_STORE_DOMAIN: "_shopifyShopDomain";
1313
+ };
1314
+ };
1315
+ buildAuthUrl: ({
1316
+ oauthClient,
1317
+ redirectUri,
1318
+ state,
1319
+ connection,
1320
+ initiateInput,
1321
+ requestedScopes
1322
+ }: _keystrokehq_core_credential_set0.BuildAuthUrlContext) => string;
1323
+ exchangeCode: ({
1324
+ oauthClient,
1325
+ code,
1326
+ queryParams
1327
+ }: _keystrokehq_core_credential_set0.ExchangeCodeContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
1328
+ refreshToken: ({
1329
+ oauthClient,
1330
+ refreshToken
1331
+ }: _keystrokehq_core_credential_set0.RefreshTokenContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
1332
+ extractInstallationInfo: ({
1333
+ tokenResult
1334
+ }: _keystrokehq_core_credential_set0.ExtractInstallationContext) => {
1335
+ externalInstallationId: string | undefined;
1336
+ externalWorkspaceId: string | undefined;
1337
+ metadata: {
1338
+ shopDomain: string;
1339
+ } | undefined;
1340
+ };
1341
+ id: string;
1342
+ }[]>[], undefined>;
1343
+ //#endregion
1344
+ //#region src/operations/get-shopify-inventory-item.operation.d.ts
1345
+ declare const getInventoryItemOperation: Operation<z.ZodObject<{
1346
+ id: z.ZodString;
1347
+ }, z.core.$strip>, z.ZodObject<{
1348
+ id: z.ZodString;
1349
+ sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1350
+ tracked: z.ZodOptional<z.ZodBoolean>;
1351
+ }, z.core.$strip>, _keystrokehq_core0.CredentialSet<"shopify", z.ZodObject<{
1352
+ SHOPIFY_STORE_DOMAIN: z.ZodString;
1353
+ SHOPIFY_ACCESS_TOKEN: z.ZodString;
1354
+ }, z.core.$strip>, {
1355
+ kind: "oauth";
1356
+ tokenType: "refreshable";
1357
+ authUrl: "https://{shop}.myshopify.com/admin/oauth/authorize";
1358
+ tokenUrl: "https://{shop}.myshopify.com/admin/oauth/access_token";
1359
+ revokeUrl: null;
1360
+ scopes: readonly ["read_products", "write_products", "read_orders", "write_orders", "read_customers", "write_customers", "read_inventory", "write_inventory", "read_locations", "read_fulfillments", "write_fulfillments", "read_content", "write_content", "read_webhooks", "write_webhooks"];
1361
+ vault: {
1362
+ readonly accessToken: "SHOPIFY_ACCESS_TOKEN";
1363
+ readonly raw: {
1364
+ readonly SHOPIFY_STORE_DOMAIN: "_shopifyShopDomain";
1365
+ };
1366
+ };
1367
+ buildAuthUrl: ({
1368
+ oauthClient,
1369
+ redirectUri,
1370
+ state,
1371
+ connection,
1372
+ initiateInput,
1373
+ requestedScopes
1374
+ }: _keystrokehq_core_credential_set0.BuildAuthUrlContext) => string;
1375
+ exchangeCode: ({
1376
+ oauthClient,
1377
+ code,
1378
+ queryParams
1379
+ }: _keystrokehq_core_credential_set0.ExchangeCodeContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
1380
+ refreshToken: ({
1381
+ oauthClient,
1382
+ refreshToken
1383
+ }: _keystrokehq_core_credential_set0.RefreshTokenContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
1384
+ extractInstallationInfo: ({
1385
+ tokenResult
1386
+ }: _keystrokehq_core_credential_set0.ExtractInstallationContext) => {
1387
+ externalInstallationId: string | undefined;
1388
+ externalWorkspaceId: string | undefined;
1389
+ metadata: {
1390
+ shopDomain: string;
1391
+ } | undefined;
1392
+ };
1393
+ id: string;
1394
+ }[]>[], undefined>;
1395
+ //#endregion
1396
+ //#region src/operations/get-shopify-inventory-levels-for-item.operation.d.ts
1397
+ declare const getInventoryLevelsForItemOperation: Operation<z.ZodObject<{
1398
+ inventoryItemId: z.ZodString;
1399
+ first: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1400
+ after: z.ZodOptional<z.ZodString>;
1401
+ }, z.core.$strip>, z.ZodObject<{
1402
+ nodes: z.ZodArray<z.ZodObject<{
1403
+ id: z.ZodString;
1404
+ quantities: z.ZodArray<z.ZodObject<{
1405
+ name: z.ZodString;
1406
+ quantity: z.ZodNumber;
1407
+ }, z.core.$strip>>;
1408
+ item: z.ZodOptional<z.ZodObject<{
1409
+ id: z.ZodString;
1410
+ sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1411
+ tracked: z.ZodOptional<z.ZodBoolean>;
1412
+ }, z.core.$strip>>;
1413
+ location: z.ZodOptional<z.ZodObject<{
1414
+ id: z.ZodString;
1415
+ name: z.ZodString;
1416
+ isActive: z.ZodOptional<z.ZodBoolean>;
1417
+ fulfillsOnlineOrders: z.ZodOptional<z.ZodBoolean>;
1418
+ }, z.core.$strip>>;
1419
+ }, z.core.$strip>>;
1420
+ pageInfo: z.ZodObject<{
1421
+ hasNextPage: z.ZodBoolean;
1422
+ hasPreviousPage: z.ZodOptional<z.ZodBoolean>;
1423
+ startCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1424
+ endCursor: z.ZodNullable<z.ZodString>;
1425
+ }, z.core.$strip>;
1426
+ }, z.core.$strip>, _keystrokehq_core0.CredentialSet<"shopify", z.ZodObject<{
1427
+ SHOPIFY_STORE_DOMAIN: z.ZodString;
1428
+ SHOPIFY_ACCESS_TOKEN: z.ZodString;
1429
+ }, z.core.$strip>, {
1430
+ kind: "oauth";
1431
+ tokenType: "refreshable";
1432
+ authUrl: "https://{shop}.myshopify.com/admin/oauth/authorize";
1433
+ tokenUrl: "https://{shop}.myshopify.com/admin/oauth/access_token";
1434
+ revokeUrl: null;
1435
+ scopes: readonly ["read_products", "write_products", "read_orders", "write_orders", "read_customers", "write_customers", "read_inventory", "write_inventory", "read_locations", "read_fulfillments", "write_fulfillments", "read_content", "write_content", "read_webhooks", "write_webhooks"];
1436
+ vault: {
1437
+ readonly accessToken: "SHOPIFY_ACCESS_TOKEN";
1438
+ readonly raw: {
1439
+ readonly SHOPIFY_STORE_DOMAIN: "_shopifyShopDomain";
1440
+ };
1441
+ };
1442
+ buildAuthUrl: ({
1443
+ oauthClient,
1444
+ redirectUri,
1445
+ state,
1446
+ connection,
1447
+ initiateInput,
1448
+ requestedScopes
1449
+ }: _keystrokehq_core_credential_set0.BuildAuthUrlContext) => string;
1450
+ exchangeCode: ({
1451
+ oauthClient,
1452
+ code,
1453
+ queryParams
1454
+ }: _keystrokehq_core_credential_set0.ExchangeCodeContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
1455
+ refreshToken: ({
1456
+ oauthClient,
1457
+ refreshToken
1458
+ }: _keystrokehq_core_credential_set0.RefreshTokenContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
1459
+ extractInstallationInfo: ({
1460
+ tokenResult
1461
+ }: _keystrokehq_core_credential_set0.ExtractInstallationContext) => {
1462
+ externalInstallationId: string | undefined;
1463
+ externalWorkspaceId: string | undefined;
1464
+ metadata: {
1465
+ shopDomain: string;
1466
+ } | undefined;
1467
+ };
1468
+ id: string;
1469
+ }[]>[], undefined>;
1470
+ //#endregion
1471
+ //#region src/operations/get-shopify-location.operation.d.ts
1472
+ declare const getLocationOperation: Operation<z.ZodObject<{
1473
+ id: z.ZodString;
1474
+ }, z.core.$strip>, z.ZodObject<{
1475
+ id: z.ZodString;
1476
+ name: z.ZodString;
1477
+ isActive: z.ZodOptional<z.ZodBoolean>;
1478
+ fulfillsOnlineOrders: z.ZodOptional<z.ZodBoolean>;
1479
+ }, z.core.$strip>, _keystrokehq_core0.CredentialSet<"shopify", z.ZodObject<{
1480
+ SHOPIFY_STORE_DOMAIN: z.ZodString;
1481
+ SHOPIFY_ACCESS_TOKEN: z.ZodString;
1482
+ }, z.core.$strip>, {
1483
+ kind: "oauth";
1484
+ tokenType: "refreshable";
1485
+ authUrl: "https://{shop}.myshopify.com/admin/oauth/authorize";
1486
+ tokenUrl: "https://{shop}.myshopify.com/admin/oauth/access_token";
1487
+ revokeUrl: null;
1488
+ scopes: readonly ["read_products", "write_products", "read_orders", "write_orders", "read_customers", "write_customers", "read_inventory", "write_inventory", "read_locations", "read_fulfillments", "write_fulfillments", "read_content", "write_content", "read_webhooks", "write_webhooks"];
1489
+ vault: {
1490
+ readonly accessToken: "SHOPIFY_ACCESS_TOKEN";
1491
+ readonly raw: {
1492
+ readonly SHOPIFY_STORE_DOMAIN: "_shopifyShopDomain";
1493
+ };
1494
+ };
1495
+ buildAuthUrl: ({
1496
+ oauthClient,
1497
+ redirectUri,
1498
+ state,
1499
+ connection,
1500
+ initiateInput,
1501
+ requestedScopes
1502
+ }: _keystrokehq_core_credential_set0.BuildAuthUrlContext) => string;
1503
+ exchangeCode: ({
1504
+ oauthClient,
1505
+ code,
1506
+ queryParams
1507
+ }: _keystrokehq_core_credential_set0.ExchangeCodeContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
1508
+ refreshToken: ({
1509
+ oauthClient,
1510
+ refreshToken
1511
+ }: _keystrokehq_core_credential_set0.RefreshTokenContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
1512
+ extractInstallationInfo: ({
1513
+ tokenResult
1514
+ }: _keystrokehq_core_credential_set0.ExtractInstallationContext) => {
1515
+ externalInstallationId: string | undefined;
1516
+ externalWorkspaceId: string | undefined;
1517
+ metadata: {
1518
+ shopDomain: string;
1519
+ } | undefined;
1520
+ };
1521
+ id: string;
1522
+ }[]>[], undefined>;
1523
+ //#endregion
1524
+ //#region src/operations/get-shopify-order.operation.d.ts
1525
+ declare const getOrderOperation: Operation<z.ZodObject<{
1526
+ id: z.ZodString;
1527
+ }, z.core.$strip>, z.ZodObject<{
1528
+ id: z.ZodString;
1529
+ name: z.ZodString;
1530
+ createdAt: z.ZodOptional<z.ZodISODateTime>;
1531
+ updatedAt: z.ZodOptional<z.ZodISODateTime>;
1532
+ cancelledAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
1533
+ email: z.ZodOptional<z.ZodNullable<z.ZodEmail>>;
1534
+ note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1535
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1536
+ displayFinancialStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1537
+ displayFulfillmentStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1538
+ currentTotalPriceSet: z.ZodOptional<z.ZodObject<{
1539
+ shopMoney: z.ZodObject<{
1540
+ amount: z.ZodString;
1541
+ currencyCode: z.ZodString;
1542
+ }, z.core.$strip>;
1543
+ presentmentMoney: z.ZodOptional<z.ZodObject<{
1544
+ amount: z.ZodString;
1545
+ currencyCode: z.ZodString;
1546
+ }, z.core.$strip>>;
1547
+ }, z.core.$strip>>;
1548
+ customer: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1549
+ id: z.ZodString;
1550
+ displayName: z.ZodString;
1551
+ firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1552
+ lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1553
+ email: z.ZodOptional<z.ZodNullable<z.ZodEmail>>;
1554
+ phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1555
+ createdAt: z.ZodOptional<z.ZodISODateTime>;
1556
+ updatedAt: z.ZodOptional<z.ZodISODateTime>;
1557
+ }, z.core.$strip>>>;
1558
+ }, z.core.$strip>, _keystrokehq_core0.CredentialSet<"shopify", z.ZodObject<{
1559
+ SHOPIFY_STORE_DOMAIN: z.ZodString;
1560
+ SHOPIFY_ACCESS_TOKEN: z.ZodString;
1561
+ }, z.core.$strip>, {
1562
+ kind: "oauth";
1563
+ tokenType: "refreshable";
1564
+ authUrl: "https://{shop}.myshopify.com/admin/oauth/authorize";
1565
+ tokenUrl: "https://{shop}.myshopify.com/admin/oauth/access_token";
1566
+ revokeUrl: null;
1567
+ scopes: readonly ["read_products", "write_products", "read_orders", "write_orders", "read_customers", "write_customers", "read_inventory", "write_inventory", "read_locations", "read_fulfillments", "write_fulfillments", "read_content", "write_content", "read_webhooks", "write_webhooks"];
1568
+ vault: {
1569
+ readonly accessToken: "SHOPIFY_ACCESS_TOKEN";
1570
+ readonly raw: {
1571
+ readonly SHOPIFY_STORE_DOMAIN: "_shopifyShopDomain";
1572
+ };
1573
+ };
1574
+ buildAuthUrl: ({
1575
+ oauthClient,
1576
+ redirectUri,
1577
+ state,
1578
+ connection,
1579
+ initiateInput,
1580
+ requestedScopes
1581
+ }: _keystrokehq_core_credential_set0.BuildAuthUrlContext) => string;
1582
+ exchangeCode: ({
1583
+ oauthClient,
1584
+ code,
1585
+ queryParams
1586
+ }: _keystrokehq_core_credential_set0.ExchangeCodeContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
1587
+ refreshToken: ({
1588
+ oauthClient,
1589
+ refreshToken
1590
+ }: _keystrokehq_core_credential_set0.RefreshTokenContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
1591
+ extractInstallationInfo: ({
1592
+ tokenResult
1593
+ }: _keystrokehq_core_credential_set0.ExtractInstallationContext) => {
1594
+ externalInstallationId: string | undefined;
1595
+ externalWorkspaceId: string | undefined;
1596
+ metadata: {
1597
+ shopDomain: string;
1598
+ } | undefined;
1599
+ };
1600
+ id: string;
1601
+ }[]>[], undefined>;
1602
+ //#endregion
1603
+ //#region src/operations/get-shopify-product.operation.d.ts
1604
+ declare const getProductOperation: Operation<z.ZodObject<{
1605
+ id: z.ZodString;
1606
+ }, z.core.$strip>, z.ZodObject<{
1607
+ id: z.ZodString;
1608
+ title: z.ZodString;
1609
+ handle: z.ZodString;
1610
+ status: z.ZodOptional<z.ZodString>;
1611
+ productType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1612
+ vendor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1613
+ descriptionHtml: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1614
+ onlineStoreUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
1615
+ createdAt: z.ZodOptional<z.ZodISODateTime>;
1616
+ updatedAt: z.ZodOptional<z.ZodISODateTime>;
1617
+ featuredImage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1618
+ url: z.ZodURL;
1619
+ altText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1620
+ }, z.core.$strip>>>;
1621
+ seo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1622
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1623
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1624
+ }, z.core.$strip>>>;
1625
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1626
+ }, z.core.$strip>, _keystrokehq_core0.CredentialSet<"shopify", z.ZodObject<{
1627
+ SHOPIFY_STORE_DOMAIN: z.ZodString;
1628
+ SHOPIFY_ACCESS_TOKEN: z.ZodString;
1629
+ }, z.core.$strip>, {
1630
+ kind: "oauth";
1631
+ tokenType: "refreshable";
1632
+ authUrl: "https://{shop}.myshopify.com/admin/oauth/authorize";
1633
+ tokenUrl: "https://{shop}.myshopify.com/admin/oauth/access_token";
1634
+ revokeUrl: null;
1635
+ scopes: readonly ["read_products", "write_products", "read_orders", "write_orders", "read_customers", "write_customers", "read_inventory", "write_inventory", "read_locations", "read_fulfillments", "write_fulfillments", "read_content", "write_content", "read_webhooks", "write_webhooks"];
1636
+ vault: {
1637
+ readonly accessToken: "SHOPIFY_ACCESS_TOKEN";
1638
+ readonly raw: {
1639
+ readonly SHOPIFY_STORE_DOMAIN: "_shopifyShopDomain";
1640
+ };
1641
+ };
1642
+ buildAuthUrl: ({
1643
+ oauthClient,
1644
+ redirectUri,
1645
+ state,
1646
+ connection,
1647
+ initiateInput,
1648
+ requestedScopes
1649
+ }: _keystrokehq_core_credential_set0.BuildAuthUrlContext) => string;
1650
+ exchangeCode: ({
1651
+ oauthClient,
1652
+ code,
1653
+ queryParams
1654
+ }: _keystrokehq_core_credential_set0.ExchangeCodeContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
1655
+ refreshToken: ({
1656
+ oauthClient,
1657
+ refreshToken
1658
+ }: _keystrokehq_core_credential_set0.RefreshTokenContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
1659
+ extractInstallationInfo: ({
1660
+ tokenResult
1661
+ }: _keystrokehq_core_credential_set0.ExtractInstallationContext) => {
1662
+ externalInstallationId: string | undefined;
1663
+ externalWorkspaceId: string | undefined;
1664
+ metadata: {
1665
+ shopDomain: string;
1666
+ } | undefined;
1667
+ };
1668
+ id: string;
1669
+ }[]>[], undefined>;
1670
+ //#endregion
1671
+ //#region src/operations/get-shopify-shop.operation.d.ts
1672
+ declare const getShopOperation: Operation<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
1673
+ id: z.ZodString;
1674
+ name: z.ZodString;
1675
+ myshopifyDomain: z.ZodString;
1676
+ contactEmail: z.ZodOptional<z.ZodNullable<z.ZodEmail>>;
1677
+ currencyCode: z.ZodOptional<z.ZodString>;
1678
+ }, z.core.$strip>, _keystrokehq_core0.CredentialSet<"shopify", z.ZodObject<{
1679
+ SHOPIFY_STORE_DOMAIN: z.ZodString;
1680
+ SHOPIFY_ACCESS_TOKEN: z.ZodString;
1681
+ }, z.core.$strip>, {
1682
+ kind: "oauth";
1683
+ tokenType: "refreshable";
1684
+ authUrl: "https://{shop}.myshopify.com/admin/oauth/authorize";
1685
+ tokenUrl: "https://{shop}.myshopify.com/admin/oauth/access_token";
1686
+ revokeUrl: null;
1687
+ scopes: readonly ["read_products", "write_products", "read_orders", "write_orders", "read_customers", "write_customers", "read_inventory", "write_inventory", "read_locations", "read_fulfillments", "write_fulfillments", "read_content", "write_content", "read_webhooks", "write_webhooks"];
1688
+ vault: {
1689
+ readonly accessToken: "SHOPIFY_ACCESS_TOKEN";
1690
+ readonly raw: {
1691
+ readonly SHOPIFY_STORE_DOMAIN: "_shopifyShopDomain";
1692
+ };
1693
+ };
1694
+ buildAuthUrl: ({
1695
+ oauthClient,
1696
+ redirectUri,
1697
+ state,
1698
+ connection,
1699
+ initiateInput,
1700
+ requestedScopes
1701
+ }: _keystrokehq_core_credential_set0.BuildAuthUrlContext) => string;
1702
+ exchangeCode: ({
1703
+ oauthClient,
1704
+ code,
1705
+ queryParams
1706
+ }: _keystrokehq_core_credential_set0.ExchangeCodeContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
1707
+ refreshToken: ({
1708
+ oauthClient,
1709
+ refreshToken
1710
+ }: _keystrokehq_core_credential_set0.RefreshTokenContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
1711
+ extractInstallationInfo: ({
1712
+ tokenResult
1713
+ }: _keystrokehq_core_credential_set0.ExtractInstallationContext) => {
1714
+ externalInstallationId: string | undefined;
1715
+ externalWorkspaceId: string | undefined;
1716
+ metadata: {
1717
+ shopDomain: string;
1718
+ } | undefined;
1719
+ };
1720
+ id: string;
1721
+ }[]>[], undefined>;
1722
+ //#endregion
1723
+ //#region src/operations/list-shopify-articles.operation.d.ts
1724
+ declare const listArticlesOperation: Operation<zod.ZodObject<{
1725
+ first: zod.ZodDefault<zod.ZodOptional<zod.ZodNumber>>;
1726
+ after: zod.ZodOptional<zod.ZodString>;
1727
+ query: zod.ZodOptional<zod.ZodString>;
1728
+ }, zod_v4_core0.$strip>, zod.ZodObject<{
1729
+ nodes: zod.ZodArray<zod.ZodObject<{
1730
+ id: zod.ZodString;
1731
+ title: zod.ZodString;
1732
+ handle: zod.ZodString;
1733
+ blog: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
1734
+ id: zod.ZodString;
1735
+ title: zod.ZodString;
1736
+ handle: zod.ZodString;
1737
+ createdAt: zod.ZodOptional<zod.ZodISODateTime>;
1738
+ updatedAt: zod.ZodOptional<zod.ZodISODateTime>;
1739
+ commentPolicy: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1740
+ templateSuffix: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1741
+ }, zod_v4_core0.$strip>>>;
1742
+ author: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1743
+ body: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1744
+ summary: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1745
+ tags: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
1746
+ image: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
1747
+ url: zod.ZodURL;
1748
+ altText: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1749
+ }, zod_v4_core0.$strip>>>;
1750
+ publishedAt: zod.ZodOptional<zod.ZodNullable<zod.ZodISODateTime>>;
1751
+ updatedAt: zod.ZodOptional<zod.ZodISODateTime>;
1752
+ }, zod_v4_core0.$strip>>;
1753
+ pageInfo: zod.ZodObject<{
1754
+ hasNextPage: zod.ZodBoolean;
1755
+ hasPreviousPage: zod.ZodOptional<zod.ZodBoolean>;
1756
+ startCursor: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1757
+ endCursor: zod.ZodNullable<zod.ZodString>;
1758
+ }, zod_v4_core0.$strip>;
1759
+ }, zod_v4_core0.$strip>, _keystrokehq_core0.CredentialSet<"shopify", zod.ZodObject<{
1760
+ SHOPIFY_STORE_DOMAIN: zod.ZodString;
1761
+ SHOPIFY_ACCESS_TOKEN: zod.ZodString;
1762
+ }, zod_v4_core0.$strip>, {
1763
+ kind: "oauth";
1764
+ tokenType: "refreshable";
1765
+ authUrl: "https://{shop}.myshopify.com/admin/oauth/authorize";
1766
+ tokenUrl: "https://{shop}.myshopify.com/admin/oauth/access_token";
1767
+ revokeUrl: null;
1768
+ scopes: readonly ["read_products", "write_products", "read_orders", "write_orders", "read_customers", "write_customers", "read_inventory", "write_inventory", "read_locations", "read_fulfillments", "write_fulfillments", "read_content", "write_content", "read_webhooks", "write_webhooks"];
1769
+ vault: {
1770
+ readonly accessToken: "SHOPIFY_ACCESS_TOKEN";
1771
+ readonly raw: {
1772
+ readonly SHOPIFY_STORE_DOMAIN: "_shopifyShopDomain";
1773
+ };
1774
+ };
1775
+ buildAuthUrl: ({
1776
+ oauthClient,
1777
+ redirectUri,
1778
+ state,
1779
+ connection,
1780
+ initiateInput,
1781
+ requestedScopes
1782
+ }: _keystrokehq_core_credential_set0.BuildAuthUrlContext) => string;
1783
+ exchangeCode: ({
1784
+ oauthClient,
1785
+ code,
1786
+ queryParams
1787
+ }: _keystrokehq_core_credential_set0.ExchangeCodeContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
1788
+ refreshToken: ({
1789
+ oauthClient,
1790
+ refreshToken
1791
+ }: _keystrokehq_core_credential_set0.RefreshTokenContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
1792
+ extractInstallationInfo: ({
1793
+ tokenResult
1794
+ }: _keystrokehq_core_credential_set0.ExtractInstallationContext) => {
1795
+ externalInstallationId: string | undefined;
1796
+ externalWorkspaceId: string | undefined;
1797
+ metadata: {
1798
+ shopDomain: string;
1799
+ } | undefined;
1800
+ };
1801
+ id: string;
1802
+ }[]>[], undefined>;
1803
+ //#endregion
1804
+ //#region src/operations/list-shopify-blogs.operation.d.ts
1805
+ declare const listBlogsOperation: Operation<zod.ZodObject<{
1806
+ first: zod.ZodDefault<zod.ZodOptional<zod.ZodNumber>>;
1807
+ after: zod.ZodOptional<zod.ZodString>;
1808
+ query: zod.ZodOptional<zod.ZodString>;
1809
+ }, zod_v4_core0.$strip>, zod.ZodObject<{
1810
+ nodes: zod.ZodArray<zod.ZodObject<{
1811
+ id: zod.ZodString;
1812
+ title: zod.ZodString;
1813
+ handle: zod.ZodString;
1814
+ createdAt: zod.ZodOptional<zod.ZodISODateTime>;
1815
+ updatedAt: zod.ZodOptional<zod.ZodISODateTime>;
1816
+ commentPolicy: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1817
+ templateSuffix: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1818
+ }, zod_v4_core0.$strip>>;
1819
+ pageInfo: zod.ZodObject<{
1820
+ hasNextPage: zod.ZodBoolean;
1821
+ hasPreviousPage: zod.ZodOptional<zod.ZodBoolean>;
1822
+ startCursor: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1823
+ endCursor: zod.ZodNullable<zod.ZodString>;
1824
+ }, zod_v4_core0.$strip>;
1825
+ }, zod_v4_core0.$strip>, _keystrokehq_core0.CredentialSet<"shopify", zod.ZodObject<{
1826
+ SHOPIFY_STORE_DOMAIN: zod.ZodString;
1827
+ SHOPIFY_ACCESS_TOKEN: zod.ZodString;
1828
+ }, zod_v4_core0.$strip>, {
1829
+ kind: "oauth";
1830
+ tokenType: "refreshable";
1831
+ authUrl: "https://{shop}.myshopify.com/admin/oauth/authorize";
1832
+ tokenUrl: "https://{shop}.myshopify.com/admin/oauth/access_token";
1833
+ revokeUrl: null;
1834
+ scopes: readonly ["read_products", "write_products", "read_orders", "write_orders", "read_customers", "write_customers", "read_inventory", "write_inventory", "read_locations", "read_fulfillments", "write_fulfillments", "read_content", "write_content", "read_webhooks", "write_webhooks"];
1835
+ vault: {
1836
+ readonly accessToken: "SHOPIFY_ACCESS_TOKEN";
1837
+ readonly raw: {
1838
+ readonly SHOPIFY_STORE_DOMAIN: "_shopifyShopDomain";
1839
+ };
1840
+ };
1841
+ buildAuthUrl: ({
1842
+ oauthClient,
1843
+ redirectUri,
1844
+ state,
1845
+ connection,
1846
+ initiateInput,
1847
+ requestedScopes
1848
+ }: _keystrokehq_core_credential_set0.BuildAuthUrlContext) => string;
1849
+ exchangeCode: ({
1850
+ oauthClient,
1851
+ code,
1852
+ queryParams
1853
+ }: _keystrokehq_core_credential_set0.ExchangeCodeContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
1854
+ refreshToken: ({
1855
+ oauthClient,
1856
+ refreshToken
1857
+ }: _keystrokehq_core_credential_set0.RefreshTokenContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
1858
+ extractInstallationInfo: ({
1859
+ tokenResult
1860
+ }: _keystrokehq_core_credential_set0.ExtractInstallationContext) => {
1861
+ externalInstallationId: string | undefined;
1862
+ externalWorkspaceId: string | undefined;
1863
+ metadata: {
1864
+ shopDomain: string;
1865
+ } | undefined;
1866
+ };
1867
+ id: string;
1868
+ }[]>[], undefined>;
1869
+ //#endregion
1870
+ //#region src/operations/list-shopify-collections.operation.d.ts
1871
+ declare const listCollectionsOperation: Operation<zod.ZodObject<{
1872
+ first: zod.ZodDefault<zod.ZodOptional<zod.ZodNumber>>;
1873
+ after: zod.ZodOptional<zod.ZodString>;
1874
+ query: zod.ZodOptional<zod.ZodString>;
1875
+ }, zod_v4_core0.$strip>, zod.ZodObject<{
1876
+ nodes: zod.ZodArray<zod.ZodObject<{
1877
+ id: zod.ZodString;
1878
+ title: zod.ZodString;
1879
+ handle: zod.ZodString;
1880
+ descriptionHtml: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1881
+ updatedAt: zod.ZodOptional<zod.ZodISODateTime>;
1882
+ image: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
1883
+ url: zod.ZodURL;
1884
+ altText: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1885
+ }, zod_v4_core0.$strip>>>;
1886
+ seo: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
1887
+ title: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1888
+ description: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1889
+ }, zod_v4_core0.$strip>>>;
1890
+ }, zod_v4_core0.$strip>>;
1891
+ pageInfo: zod.ZodObject<{
1892
+ hasNextPage: zod.ZodBoolean;
1893
+ hasPreviousPage: zod.ZodOptional<zod.ZodBoolean>;
1894
+ startCursor: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1895
+ endCursor: zod.ZodNullable<zod.ZodString>;
1896
+ }, zod_v4_core0.$strip>;
1897
+ }, zod_v4_core0.$strip>, _keystrokehq_core0.CredentialSet<"shopify", zod.ZodObject<{
1898
+ SHOPIFY_STORE_DOMAIN: zod.ZodString;
1899
+ SHOPIFY_ACCESS_TOKEN: zod.ZodString;
1900
+ }, zod_v4_core0.$strip>, {
1901
+ kind: "oauth";
1902
+ tokenType: "refreshable";
1903
+ authUrl: "https://{shop}.myshopify.com/admin/oauth/authorize";
1904
+ tokenUrl: "https://{shop}.myshopify.com/admin/oauth/access_token";
1905
+ revokeUrl: null;
1906
+ scopes: readonly ["read_products", "write_products", "read_orders", "write_orders", "read_customers", "write_customers", "read_inventory", "write_inventory", "read_locations", "read_fulfillments", "write_fulfillments", "read_content", "write_content", "read_webhooks", "write_webhooks"];
1907
+ vault: {
1908
+ readonly accessToken: "SHOPIFY_ACCESS_TOKEN";
1909
+ readonly raw: {
1910
+ readonly SHOPIFY_STORE_DOMAIN: "_shopifyShopDomain";
1911
+ };
1912
+ };
1913
+ buildAuthUrl: ({
1914
+ oauthClient,
1915
+ redirectUri,
1916
+ state,
1917
+ connection,
1918
+ initiateInput,
1919
+ requestedScopes
1920
+ }: _keystrokehq_core_credential_set0.BuildAuthUrlContext) => string;
1921
+ exchangeCode: ({
1922
+ oauthClient,
1923
+ code,
1924
+ queryParams
1925
+ }: _keystrokehq_core_credential_set0.ExchangeCodeContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
1926
+ refreshToken: ({
1927
+ oauthClient,
1928
+ refreshToken
1929
+ }: _keystrokehq_core_credential_set0.RefreshTokenContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
1930
+ extractInstallationInfo: ({
1931
+ tokenResult
1932
+ }: _keystrokehq_core_credential_set0.ExtractInstallationContext) => {
1933
+ externalInstallationId: string | undefined;
1934
+ externalWorkspaceId: string | undefined;
1935
+ metadata: {
1936
+ shopDomain: string;
1937
+ } | undefined;
1938
+ };
1939
+ id: string;
1940
+ }[]>[], undefined>;
1941
+ //#endregion
1942
+ //#region src/operations/list-shopify-customers.operation.d.ts
1943
+ declare const listCustomersOperation: Operation<zod.ZodObject<{
1944
+ first: zod.ZodDefault<zod.ZodOptional<zod.ZodNumber>>;
1945
+ after: zod.ZodOptional<zod.ZodString>;
1946
+ query: zod.ZodOptional<zod.ZodString>;
1947
+ }, zod_v4_core0.$strip>, zod.ZodObject<{
1948
+ nodes: zod.ZodArray<zod.ZodObject<{
1949
+ id: zod.ZodString;
1950
+ displayName: zod.ZodString;
1951
+ firstName: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1952
+ lastName: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1953
+ email: zod.ZodOptional<zod.ZodNullable<zod.ZodEmail>>;
1954
+ phone: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1955
+ createdAt: zod.ZodOptional<zod.ZodISODateTime>;
1956
+ updatedAt: zod.ZodOptional<zod.ZodISODateTime>;
1957
+ }, zod_v4_core0.$strip>>;
1958
+ pageInfo: zod.ZodObject<{
1959
+ hasNextPage: zod.ZodBoolean;
1960
+ hasPreviousPage: zod.ZodOptional<zod.ZodBoolean>;
1961
+ startCursor: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1962
+ endCursor: zod.ZodNullable<zod.ZodString>;
1963
+ }, zod_v4_core0.$strip>;
1964
+ }, zod_v4_core0.$strip>, _keystrokehq_core0.CredentialSet<"shopify", zod.ZodObject<{
1965
+ SHOPIFY_STORE_DOMAIN: zod.ZodString;
1966
+ SHOPIFY_ACCESS_TOKEN: zod.ZodString;
1967
+ }, zod_v4_core0.$strip>, {
1968
+ kind: "oauth";
1969
+ tokenType: "refreshable";
1970
+ authUrl: "https://{shop}.myshopify.com/admin/oauth/authorize";
1971
+ tokenUrl: "https://{shop}.myshopify.com/admin/oauth/access_token";
1972
+ revokeUrl: null;
1973
+ scopes: readonly ["read_products", "write_products", "read_orders", "write_orders", "read_customers", "write_customers", "read_inventory", "write_inventory", "read_locations", "read_fulfillments", "write_fulfillments", "read_content", "write_content", "read_webhooks", "write_webhooks"];
1974
+ vault: {
1975
+ readonly accessToken: "SHOPIFY_ACCESS_TOKEN";
1976
+ readonly raw: {
1977
+ readonly SHOPIFY_STORE_DOMAIN: "_shopifyShopDomain";
1978
+ };
1979
+ };
1980
+ buildAuthUrl: ({
1981
+ oauthClient,
1982
+ redirectUri,
1983
+ state,
1984
+ connection,
1985
+ initiateInput,
1986
+ requestedScopes
1987
+ }: _keystrokehq_core_credential_set0.BuildAuthUrlContext) => string;
1988
+ exchangeCode: ({
1989
+ oauthClient,
1990
+ code,
1991
+ queryParams
1992
+ }: _keystrokehq_core_credential_set0.ExchangeCodeContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
1993
+ refreshToken: ({
1994
+ oauthClient,
1995
+ refreshToken
1996
+ }: _keystrokehq_core_credential_set0.RefreshTokenContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
1997
+ extractInstallationInfo: ({
1998
+ tokenResult
1999
+ }: _keystrokehq_core_credential_set0.ExtractInstallationContext) => {
2000
+ externalInstallationId: string | undefined;
2001
+ externalWorkspaceId: string | undefined;
2002
+ metadata: {
2003
+ shopDomain: string;
2004
+ } | undefined;
2005
+ };
2006
+ id: string;
2007
+ }[]>[], undefined>;
2008
+ //#endregion
2009
+ //#region src/operations/list-shopify-fulfillment-orders-for-order.operation.d.ts
2010
+ declare const listFulfillmentOrdersForOrderOperation: Operation<z.ZodObject<{
2011
+ orderId: z.ZodString;
2012
+ first: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
2013
+ after: z.ZodOptional<z.ZodString>;
2014
+ }, z.core.$strip>, z.ZodObject<{
2015
+ nodes: z.ZodArray<z.ZodObject<{
2016
+ id: z.ZodString;
2017
+ status: z.ZodString;
2018
+ assignedLocation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2019
+ location: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2020
+ id: z.ZodString;
2021
+ name: z.ZodString;
2022
+ isActive: z.ZodOptional<z.ZodBoolean>;
2023
+ fulfillsOnlineOrders: z.ZodOptional<z.ZodBoolean>;
2024
+ }, z.core.$strip>>>;
2025
+ }, z.core.$strip>>>;
2026
+ lineItems: z.ZodObject<{
2027
+ nodes: z.ZodArray<z.ZodObject<{
2028
+ id: z.ZodString;
2029
+ remainingQuantity: z.ZodNumber;
2030
+ lineItem: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2031
+ id: z.ZodString;
2032
+ name: z.ZodString;
2033
+ quantity: z.ZodNumber;
2034
+ }, z.core.$strip>>>;
2035
+ }, z.core.$strip>>;
2036
+ pageInfo: z.ZodObject<{
2037
+ hasNextPage: z.ZodBoolean;
2038
+ hasPreviousPage: z.ZodOptional<z.ZodBoolean>;
2039
+ startCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2040
+ endCursor: z.ZodNullable<z.ZodString>;
2041
+ }, z.core.$strip>;
2042
+ }, z.core.$strip>;
2043
+ }, z.core.$strip>>;
2044
+ pageInfo: z.ZodObject<{
2045
+ hasNextPage: z.ZodBoolean;
2046
+ hasPreviousPage: z.ZodOptional<z.ZodBoolean>;
2047
+ startCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2048
+ endCursor: z.ZodNullable<z.ZodString>;
2049
+ }, z.core.$strip>;
2050
+ }, z.core.$strip>, _keystrokehq_core0.CredentialSet<"shopify", z.ZodObject<{
2051
+ SHOPIFY_STORE_DOMAIN: z.ZodString;
2052
+ SHOPIFY_ACCESS_TOKEN: z.ZodString;
2053
+ }, z.core.$strip>, {
2054
+ kind: "oauth";
2055
+ tokenType: "refreshable";
2056
+ authUrl: "https://{shop}.myshopify.com/admin/oauth/authorize";
2057
+ tokenUrl: "https://{shop}.myshopify.com/admin/oauth/access_token";
2058
+ revokeUrl: null;
2059
+ scopes: readonly ["read_products", "write_products", "read_orders", "write_orders", "read_customers", "write_customers", "read_inventory", "write_inventory", "read_locations", "read_fulfillments", "write_fulfillments", "read_content", "write_content", "read_webhooks", "write_webhooks"];
2060
+ vault: {
2061
+ readonly accessToken: "SHOPIFY_ACCESS_TOKEN";
2062
+ readonly raw: {
2063
+ readonly SHOPIFY_STORE_DOMAIN: "_shopifyShopDomain";
2064
+ };
2065
+ };
2066
+ buildAuthUrl: ({
2067
+ oauthClient,
2068
+ redirectUri,
2069
+ state,
2070
+ connection,
2071
+ initiateInput,
2072
+ requestedScopes
2073
+ }: _keystrokehq_core_credential_set0.BuildAuthUrlContext) => string;
2074
+ exchangeCode: ({
2075
+ oauthClient,
2076
+ code,
2077
+ queryParams
2078
+ }: _keystrokehq_core_credential_set0.ExchangeCodeContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
2079
+ refreshToken: ({
2080
+ oauthClient,
2081
+ refreshToken
2082
+ }: _keystrokehq_core_credential_set0.RefreshTokenContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
2083
+ extractInstallationInfo: ({
2084
+ tokenResult
2085
+ }: _keystrokehq_core_credential_set0.ExtractInstallationContext) => {
2086
+ externalInstallationId: string | undefined;
2087
+ externalWorkspaceId: string | undefined;
2088
+ metadata: {
2089
+ shopDomain: string;
2090
+ } | undefined;
2091
+ };
2092
+ id: string;
2093
+ }[]>[], undefined>;
2094
+ //#endregion
2095
+ //#region src/operations/list-shopify-inventory-items.operation.d.ts
2096
+ declare const listInventoryItemsOperation: Operation<zod.ZodObject<{
2097
+ first: zod.ZodDefault<zod.ZodOptional<zod.ZodNumber>>;
2098
+ after: zod.ZodOptional<zod.ZodString>;
2099
+ query: zod.ZodOptional<zod.ZodString>;
2100
+ }, zod_v4_core0.$strip>, zod.ZodObject<{
2101
+ nodes: zod.ZodArray<zod.ZodObject<{
2102
+ id: zod.ZodString;
2103
+ sku: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
2104
+ tracked: zod.ZodOptional<zod.ZodBoolean>;
2105
+ }, zod_v4_core0.$strip>>;
2106
+ pageInfo: zod.ZodObject<{
2107
+ hasNextPage: zod.ZodBoolean;
2108
+ hasPreviousPage: zod.ZodOptional<zod.ZodBoolean>;
2109
+ startCursor: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
2110
+ endCursor: zod.ZodNullable<zod.ZodString>;
2111
+ }, zod_v4_core0.$strip>;
2112
+ }, zod_v4_core0.$strip>, _keystrokehq_core0.CredentialSet<"shopify", zod.ZodObject<{
2113
+ SHOPIFY_STORE_DOMAIN: zod.ZodString;
2114
+ SHOPIFY_ACCESS_TOKEN: zod.ZodString;
2115
+ }, zod_v4_core0.$strip>, {
2116
+ kind: "oauth";
2117
+ tokenType: "refreshable";
2118
+ authUrl: "https://{shop}.myshopify.com/admin/oauth/authorize";
2119
+ tokenUrl: "https://{shop}.myshopify.com/admin/oauth/access_token";
2120
+ revokeUrl: null;
2121
+ scopes: readonly ["read_products", "write_products", "read_orders", "write_orders", "read_customers", "write_customers", "read_inventory", "write_inventory", "read_locations", "read_fulfillments", "write_fulfillments", "read_content", "write_content", "read_webhooks", "write_webhooks"];
2122
+ vault: {
2123
+ readonly accessToken: "SHOPIFY_ACCESS_TOKEN";
2124
+ readonly raw: {
2125
+ readonly SHOPIFY_STORE_DOMAIN: "_shopifyShopDomain";
2126
+ };
2127
+ };
2128
+ buildAuthUrl: ({
2129
+ oauthClient,
2130
+ redirectUri,
2131
+ state,
2132
+ connection,
2133
+ initiateInput,
2134
+ requestedScopes
2135
+ }: _keystrokehq_core_credential_set0.BuildAuthUrlContext) => string;
2136
+ exchangeCode: ({
2137
+ oauthClient,
2138
+ code,
2139
+ queryParams
2140
+ }: _keystrokehq_core_credential_set0.ExchangeCodeContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
2141
+ refreshToken: ({
2142
+ oauthClient,
2143
+ refreshToken
2144
+ }: _keystrokehq_core_credential_set0.RefreshTokenContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
2145
+ extractInstallationInfo: ({
2146
+ tokenResult
2147
+ }: _keystrokehq_core_credential_set0.ExtractInstallationContext) => {
2148
+ externalInstallationId: string | undefined;
2149
+ externalWorkspaceId: string | undefined;
2150
+ metadata: {
2151
+ shopDomain: string;
2152
+ } | undefined;
2153
+ };
2154
+ id: string;
2155
+ }[]>[], undefined>;
2156
+ //#endregion
2157
+ //#region src/operations/list-shopify-locations.operation.d.ts
2158
+ declare const listLocationsOperation: Operation<z.ZodObject<{
2159
+ first: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
2160
+ after: z.ZodOptional<z.ZodString>;
2161
+ query: z.ZodOptional<z.ZodString>;
2162
+ includeInactive: z.ZodOptional<z.ZodBoolean>;
2163
+ includeLegacy: z.ZodOptional<z.ZodBoolean>;
2164
+ }, z.core.$strip>, z.ZodObject<{
2165
+ nodes: z.ZodArray<z.ZodObject<{
2166
+ id: z.ZodString;
2167
+ name: z.ZodString;
2168
+ isActive: z.ZodOptional<z.ZodBoolean>;
2169
+ fulfillsOnlineOrders: z.ZodOptional<z.ZodBoolean>;
2170
+ }, z.core.$strip>>;
2171
+ pageInfo: z.ZodObject<{
2172
+ hasNextPage: z.ZodBoolean;
2173
+ hasPreviousPage: z.ZodOptional<z.ZodBoolean>;
2174
+ startCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2175
+ endCursor: z.ZodNullable<z.ZodString>;
2176
+ }, z.core.$strip>;
2177
+ }, z.core.$strip>, _keystrokehq_core0.CredentialSet<"shopify", z.ZodObject<{
2178
+ SHOPIFY_STORE_DOMAIN: z.ZodString;
2179
+ SHOPIFY_ACCESS_TOKEN: z.ZodString;
2180
+ }, z.core.$strip>, {
2181
+ kind: "oauth";
2182
+ tokenType: "refreshable";
2183
+ authUrl: "https://{shop}.myshopify.com/admin/oauth/authorize";
2184
+ tokenUrl: "https://{shop}.myshopify.com/admin/oauth/access_token";
2185
+ revokeUrl: null;
2186
+ scopes: readonly ["read_products", "write_products", "read_orders", "write_orders", "read_customers", "write_customers", "read_inventory", "write_inventory", "read_locations", "read_fulfillments", "write_fulfillments", "read_content", "write_content", "read_webhooks", "write_webhooks"];
2187
+ vault: {
2188
+ readonly accessToken: "SHOPIFY_ACCESS_TOKEN";
2189
+ readonly raw: {
2190
+ readonly SHOPIFY_STORE_DOMAIN: "_shopifyShopDomain";
2191
+ };
2192
+ };
2193
+ buildAuthUrl: ({
2194
+ oauthClient,
2195
+ redirectUri,
2196
+ state,
2197
+ connection,
2198
+ initiateInput,
2199
+ requestedScopes
2200
+ }: _keystrokehq_core_credential_set0.BuildAuthUrlContext) => string;
2201
+ exchangeCode: ({
2202
+ oauthClient,
2203
+ code,
2204
+ queryParams
2205
+ }: _keystrokehq_core_credential_set0.ExchangeCodeContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
2206
+ refreshToken: ({
2207
+ oauthClient,
2208
+ refreshToken
2209
+ }: _keystrokehq_core_credential_set0.RefreshTokenContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
2210
+ extractInstallationInfo: ({
2211
+ tokenResult
2212
+ }: _keystrokehq_core_credential_set0.ExtractInstallationContext) => {
2213
+ externalInstallationId: string | undefined;
2214
+ externalWorkspaceId: string | undefined;
2215
+ metadata: {
2216
+ shopDomain: string;
2217
+ } | undefined;
2218
+ };
2219
+ id: string;
2220
+ }[]>[], undefined>;
2221
+ //#endregion
2222
+ //#region src/operations/list-shopify-orders.operation.d.ts
2223
+ declare const listOrdersOperation: Operation<zod.ZodObject<{
2224
+ first: zod.ZodDefault<zod.ZodOptional<zod.ZodNumber>>;
2225
+ after: zod.ZodOptional<zod.ZodString>;
2226
+ query: zod.ZodOptional<zod.ZodString>;
2227
+ }, zod_v4_core0.$strip>, zod.ZodObject<{
2228
+ nodes: zod.ZodArray<zod.ZodObject<{
2229
+ id: zod.ZodString;
2230
+ name: zod.ZodString;
2231
+ createdAt: zod.ZodOptional<zod.ZodISODateTime>;
2232
+ updatedAt: zod.ZodOptional<zod.ZodISODateTime>;
2233
+ cancelledAt: zod.ZodOptional<zod.ZodNullable<zod.ZodISODateTime>>;
2234
+ email: zod.ZodOptional<zod.ZodNullable<zod.ZodEmail>>;
2235
+ note: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
2236
+ tags: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
2237
+ displayFinancialStatus: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
2238
+ displayFulfillmentStatus: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
2239
+ currentTotalPriceSet: zod.ZodOptional<zod.ZodObject<{
2240
+ shopMoney: zod.ZodObject<{
2241
+ amount: zod.ZodString;
2242
+ currencyCode: zod.ZodString;
2243
+ }, zod_v4_core0.$strip>;
2244
+ presentmentMoney: zod.ZodOptional<zod.ZodObject<{
2245
+ amount: zod.ZodString;
2246
+ currencyCode: zod.ZodString;
2247
+ }, zod_v4_core0.$strip>>;
2248
+ }, zod_v4_core0.$strip>>;
2249
+ customer: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
2250
+ id: zod.ZodString;
2251
+ displayName: zod.ZodString;
2252
+ firstName: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
2253
+ lastName: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
2254
+ email: zod.ZodOptional<zod.ZodNullable<zod.ZodEmail>>;
2255
+ phone: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
2256
+ createdAt: zod.ZodOptional<zod.ZodISODateTime>;
2257
+ updatedAt: zod.ZodOptional<zod.ZodISODateTime>;
2258
+ }, zod_v4_core0.$strip>>>;
2259
+ }, zod_v4_core0.$strip>>;
2260
+ pageInfo: zod.ZodObject<{
2261
+ hasNextPage: zod.ZodBoolean;
2262
+ hasPreviousPage: zod.ZodOptional<zod.ZodBoolean>;
2263
+ startCursor: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
2264
+ endCursor: zod.ZodNullable<zod.ZodString>;
2265
+ }, zod_v4_core0.$strip>;
2266
+ }, zod_v4_core0.$strip>, _keystrokehq_core0.CredentialSet<"shopify", zod.ZodObject<{
2267
+ SHOPIFY_STORE_DOMAIN: zod.ZodString;
2268
+ SHOPIFY_ACCESS_TOKEN: zod.ZodString;
2269
+ }, zod_v4_core0.$strip>, {
2270
+ kind: "oauth";
2271
+ tokenType: "refreshable";
2272
+ authUrl: "https://{shop}.myshopify.com/admin/oauth/authorize";
2273
+ tokenUrl: "https://{shop}.myshopify.com/admin/oauth/access_token";
2274
+ revokeUrl: null;
2275
+ scopes: readonly ["read_products", "write_products", "read_orders", "write_orders", "read_customers", "write_customers", "read_inventory", "write_inventory", "read_locations", "read_fulfillments", "write_fulfillments", "read_content", "write_content", "read_webhooks", "write_webhooks"];
2276
+ vault: {
2277
+ readonly accessToken: "SHOPIFY_ACCESS_TOKEN";
2278
+ readonly raw: {
2279
+ readonly SHOPIFY_STORE_DOMAIN: "_shopifyShopDomain";
2280
+ };
2281
+ };
2282
+ buildAuthUrl: ({
2283
+ oauthClient,
2284
+ redirectUri,
2285
+ state,
2286
+ connection,
2287
+ initiateInput,
2288
+ requestedScopes
2289
+ }: _keystrokehq_core_credential_set0.BuildAuthUrlContext) => string;
2290
+ exchangeCode: ({
2291
+ oauthClient,
2292
+ code,
2293
+ queryParams
2294
+ }: _keystrokehq_core_credential_set0.ExchangeCodeContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
2295
+ refreshToken: ({
2296
+ oauthClient,
2297
+ refreshToken
2298
+ }: _keystrokehq_core_credential_set0.RefreshTokenContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
2299
+ extractInstallationInfo: ({
2300
+ tokenResult
2301
+ }: _keystrokehq_core_credential_set0.ExtractInstallationContext) => {
2302
+ externalInstallationId: string | undefined;
2303
+ externalWorkspaceId: string | undefined;
2304
+ metadata: {
2305
+ shopDomain: string;
2306
+ } | undefined;
2307
+ };
2308
+ id: string;
2309
+ }[]>[], undefined>;
2310
+ //#endregion
2311
+ //#region src/operations/list-shopify-products.operation.d.ts
2312
+ declare const listProductsOperation: Operation<zod.ZodObject<{
2313
+ first: zod.ZodDefault<zod.ZodOptional<zod.ZodNumber>>;
2314
+ after: zod.ZodOptional<zod.ZodString>;
2315
+ query: zod.ZodOptional<zod.ZodString>;
2316
+ }, zod_v4_core0.$strip>, zod.ZodObject<{
2317
+ nodes: zod.ZodArray<zod.ZodObject<{
2318
+ id: zod.ZodString;
2319
+ title: zod.ZodString;
2320
+ handle: zod.ZodString;
2321
+ status: zod.ZodOptional<zod.ZodString>;
2322
+ productType: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
2323
+ vendor: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
2324
+ descriptionHtml: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
2325
+ onlineStoreUrl: zod.ZodOptional<zod.ZodNullable<zod.ZodURL>>;
2326
+ createdAt: zod.ZodOptional<zod.ZodISODateTime>;
2327
+ updatedAt: zod.ZodOptional<zod.ZodISODateTime>;
2328
+ featuredImage: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
2329
+ url: zod.ZodURL;
2330
+ altText: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
2331
+ }, zod_v4_core0.$strip>>>;
2332
+ seo: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
2333
+ title: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
2334
+ description: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
2335
+ }, zod_v4_core0.$strip>>>;
2336
+ tags: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
2337
+ }, zod_v4_core0.$strip>>;
2338
+ pageInfo: zod.ZodObject<{
2339
+ hasNextPage: zod.ZodBoolean;
2340
+ hasPreviousPage: zod.ZodOptional<zod.ZodBoolean>;
2341
+ startCursor: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
2342
+ endCursor: zod.ZodNullable<zod.ZodString>;
2343
+ }, zod_v4_core0.$strip>;
2344
+ }, zod_v4_core0.$strip>, _keystrokehq_core0.CredentialSet<"shopify", zod.ZodObject<{
2345
+ SHOPIFY_STORE_DOMAIN: zod.ZodString;
2346
+ SHOPIFY_ACCESS_TOKEN: zod.ZodString;
2347
+ }, zod_v4_core0.$strip>, {
2348
+ kind: "oauth";
2349
+ tokenType: "refreshable";
2350
+ authUrl: "https://{shop}.myshopify.com/admin/oauth/authorize";
2351
+ tokenUrl: "https://{shop}.myshopify.com/admin/oauth/access_token";
2352
+ revokeUrl: null;
2353
+ scopes: readonly ["read_products", "write_products", "read_orders", "write_orders", "read_customers", "write_customers", "read_inventory", "write_inventory", "read_locations", "read_fulfillments", "write_fulfillments", "read_content", "write_content", "read_webhooks", "write_webhooks"];
2354
+ vault: {
2355
+ readonly accessToken: "SHOPIFY_ACCESS_TOKEN";
2356
+ readonly raw: {
2357
+ readonly SHOPIFY_STORE_DOMAIN: "_shopifyShopDomain";
2358
+ };
2359
+ };
2360
+ buildAuthUrl: ({
2361
+ oauthClient,
2362
+ redirectUri,
2363
+ state,
2364
+ connection,
2365
+ initiateInput,
2366
+ requestedScopes
2367
+ }: _keystrokehq_core_credential_set0.BuildAuthUrlContext) => string;
2368
+ exchangeCode: ({
2369
+ oauthClient,
2370
+ code,
2371
+ queryParams
2372
+ }: _keystrokehq_core_credential_set0.ExchangeCodeContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
2373
+ refreshToken: ({
2374
+ oauthClient,
2375
+ refreshToken
2376
+ }: _keystrokehq_core_credential_set0.RefreshTokenContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
2377
+ extractInstallationInfo: ({
2378
+ tokenResult
2379
+ }: _keystrokehq_core_credential_set0.ExtractInstallationContext) => {
2380
+ externalInstallationId: string | undefined;
2381
+ externalWorkspaceId: string | undefined;
2382
+ metadata: {
2383
+ shopDomain: string;
2384
+ } | undefined;
2385
+ };
2386
+ id: string;
2387
+ }[]>[], undefined>;
2388
+ //#endregion
2389
+ //#region src/operations/remove-products-from-shopify-collection.operation.d.ts
2390
+ declare const removeProductsFromCollectionOperation: Operation<z.ZodObject<{
2391
+ id: z.ZodString;
2392
+ productIds: z.ZodArray<z.ZodString>;
2393
+ }, z.core.$strip>, z.ZodObject<{
2394
+ id: z.ZodString;
2395
+ done: z.ZodOptional<z.ZodBoolean>;
2396
+ }, z.core.$strip>, _keystrokehq_core0.CredentialSet<"shopify", z.ZodObject<{
2397
+ SHOPIFY_STORE_DOMAIN: z.ZodString;
2398
+ SHOPIFY_ACCESS_TOKEN: z.ZodString;
2399
+ }, z.core.$strip>, {
2400
+ kind: "oauth";
2401
+ tokenType: "refreshable";
2402
+ authUrl: "https://{shop}.myshopify.com/admin/oauth/authorize";
2403
+ tokenUrl: "https://{shop}.myshopify.com/admin/oauth/access_token";
2404
+ revokeUrl: null;
2405
+ scopes: readonly ["read_products", "write_products", "read_orders", "write_orders", "read_customers", "write_customers", "read_inventory", "write_inventory", "read_locations", "read_fulfillments", "write_fulfillments", "read_content", "write_content", "read_webhooks", "write_webhooks"];
2406
+ vault: {
2407
+ readonly accessToken: "SHOPIFY_ACCESS_TOKEN";
2408
+ readonly raw: {
2409
+ readonly SHOPIFY_STORE_DOMAIN: "_shopifyShopDomain";
2410
+ };
2411
+ };
2412
+ buildAuthUrl: ({
2413
+ oauthClient,
2414
+ redirectUri,
2415
+ state,
2416
+ connection,
2417
+ initiateInput,
2418
+ requestedScopes
2419
+ }: _keystrokehq_core_credential_set0.BuildAuthUrlContext) => string;
2420
+ exchangeCode: ({
2421
+ oauthClient,
2422
+ code,
2423
+ queryParams
2424
+ }: _keystrokehq_core_credential_set0.ExchangeCodeContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
2425
+ refreshToken: ({
2426
+ oauthClient,
2427
+ refreshToken
2428
+ }: _keystrokehq_core_credential_set0.RefreshTokenContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
2429
+ extractInstallationInfo: ({
2430
+ tokenResult
2431
+ }: _keystrokehq_core_credential_set0.ExtractInstallationContext) => {
2432
+ externalInstallationId: string | undefined;
2433
+ externalWorkspaceId: string | undefined;
2434
+ metadata: {
2435
+ shopDomain: string;
2436
+ } | undefined;
2437
+ };
2438
+ id: string;
2439
+ }[]>[], undefined>;
2440
+ //#endregion
2441
+ //#region src/operations/update-shopify-article.operation.d.ts
2442
+ declare const updateArticleOperation: Operation<z.ZodObject<{
2443
+ blogId: z.ZodOptional<z.ZodString>;
2444
+ title: z.ZodOptional<z.ZodString>;
2445
+ handle: z.ZodOptional<z.ZodString>;
2446
+ body: z.ZodOptional<z.ZodString>;
2447
+ summary: z.ZodOptional<z.ZodString>;
2448
+ authorName: z.ZodOptional<z.ZodString>;
2449
+ isPublished: z.ZodOptional<z.ZodBoolean>;
2450
+ publishDate: z.ZodOptional<z.ZodISODateTime>;
2451
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
2452
+ id: z.ZodString;
2453
+ redirectNewHandle: z.ZodOptional<z.ZodBoolean>;
2454
+ }, z.core.$strip>, z.ZodObject<{
2455
+ id: z.ZodString;
2456
+ title: z.ZodString;
2457
+ handle: z.ZodString;
2458
+ blog: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2459
+ id: z.ZodString;
2460
+ title: z.ZodString;
2461
+ handle: z.ZodString;
2462
+ createdAt: z.ZodOptional<z.ZodISODateTime>;
2463
+ updatedAt: z.ZodOptional<z.ZodISODateTime>;
2464
+ commentPolicy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2465
+ templateSuffix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2466
+ }, z.core.$strip>>>;
2467
+ author: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2468
+ body: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2469
+ summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2470
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
2471
+ image: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2472
+ url: z.ZodURL;
2473
+ altText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2474
+ }, z.core.$strip>>>;
2475
+ publishedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
2476
+ updatedAt: z.ZodOptional<z.ZodISODateTime>;
2477
+ }, z.core.$strip>, _keystrokehq_core0.CredentialSet<"shopify", z.ZodObject<{
2478
+ SHOPIFY_STORE_DOMAIN: z.ZodString;
2479
+ SHOPIFY_ACCESS_TOKEN: z.ZodString;
2480
+ }, z.core.$strip>, {
2481
+ kind: "oauth";
2482
+ tokenType: "refreshable";
2483
+ authUrl: "https://{shop}.myshopify.com/admin/oauth/authorize";
2484
+ tokenUrl: "https://{shop}.myshopify.com/admin/oauth/access_token";
2485
+ revokeUrl: null;
2486
+ scopes: readonly ["read_products", "write_products", "read_orders", "write_orders", "read_customers", "write_customers", "read_inventory", "write_inventory", "read_locations", "read_fulfillments", "write_fulfillments", "read_content", "write_content", "read_webhooks", "write_webhooks"];
2487
+ vault: {
2488
+ readonly accessToken: "SHOPIFY_ACCESS_TOKEN";
2489
+ readonly raw: {
2490
+ readonly SHOPIFY_STORE_DOMAIN: "_shopifyShopDomain";
2491
+ };
2492
+ };
2493
+ buildAuthUrl: ({
2494
+ oauthClient,
2495
+ redirectUri,
2496
+ state,
2497
+ connection,
2498
+ initiateInput,
2499
+ requestedScopes
2500
+ }: _keystrokehq_core_credential_set0.BuildAuthUrlContext) => string;
2501
+ exchangeCode: ({
2502
+ oauthClient,
2503
+ code,
2504
+ queryParams
2505
+ }: _keystrokehq_core_credential_set0.ExchangeCodeContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
2506
+ refreshToken: ({
2507
+ oauthClient,
2508
+ refreshToken
2509
+ }: _keystrokehq_core_credential_set0.RefreshTokenContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
2510
+ extractInstallationInfo: ({
2511
+ tokenResult
2512
+ }: _keystrokehq_core_credential_set0.ExtractInstallationContext) => {
2513
+ externalInstallationId: string | undefined;
2514
+ externalWorkspaceId: string | undefined;
2515
+ metadata: {
2516
+ shopDomain: string;
2517
+ } | undefined;
2518
+ };
2519
+ id: string;
2520
+ }[]>[], undefined>;
2521
+ //#endregion
2522
+ //#region src/operations/update-shopify-blog.operation.d.ts
2523
+ declare const updateBlogOperation: Operation<z.ZodObject<{
2524
+ title: z.ZodOptional<z.ZodString>;
2525
+ handle: z.ZodOptional<z.ZodString>;
2526
+ templateSuffix: z.ZodOptional<z.ZodString>;
2527
+ commentPolicy: z.ZodOptional<z.ZodEnum<{
2528
+ DISABLED: "DISABLED";
2529
+ HIDDEN: "HIDDEN";
2530
+ MODERATED: "MODERATED";
2531
+ OPEN: "OPEN";
2532
+ }>>;
2533
+ id: z.ZodString;
2534
+ }, z.core.$strip>, z.ZodObject<{
2535
+ id: z.ZodString;
2536
+ title: z.ZodString;
2537
+ handle: z.ZodString;
2538
+ createdAt: z.ZodOptional<z.ZodISODateTime>;
2539
+ updatedAt: z.ZodOptional<z.ZodISODateTime>;
2540
+ commentPolicy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2541
+ templateSuffix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2542
+ }, z.core.$strip>, _keystrokehq_core0.CredentialSet<"shopify", z.ZodObject<{
2543
+ SHOPIFY_STORE_DOMAIN: z.ZodString;
2544
+ SHOPIFY_ACCESS_TOKEN: z.ZodString;
2545
+ }, z.core.$strip>, {
2546
+ kind: "oauth";
2547
+ tokenType: "refreshable";
2548
+ authUrl: "https://{shop}.myshopify.com/admin/oauth/authorize";
2549
+ tokenUrl: "https://{shop}.myshopify.com/admin/oauth/access_token";
2550
+ revokeUrl: null;
2551
+ scopes: readonly ["read_products", "write_products", "read_orders", "write_orders", "read_customers", "write_customers", "read_inventory", "write_inventory", "read_locations", "read_fulfillments", "write_fulfillments", "read_content", "write_content", "read_webhooks", "write_webhooks"];
2552
+ vault: {
2553
+ readonly accessToken: "SHOPIFY_ACCESS_TOKEN";
2554
+ readonly raw: {
2555
+ readonly SHOPIFY_STORE_DOMAIN: "_shopifyShopDomain";
2556
+ };
2557
+ };
2558
+ buildAuthUrl: ({
2559
+ oauthClient,
2560
+ redirectUri,
2561
+ state,
2562
+ connection,
2563
+ initiateInput,
2564
+ requestedScopes
2565
+ }: _keystrokehq_core_credential_set0.BuildAuthUrlContext) => string;
2566
+ exchangeCode: ({
2567
+ oauthClient,
2568
+ code,
2569
+ queryParams
2570
+ }: _keystrokehq_core_credential_set0.ExchangeCodeContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
2571
+ refreshToken: ({
2572
+ oauthClient,
2573
+ refreshToken
2574
+ }: _keystrokehq_core_credential_set0.RefreshTokenContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
2575
+ extractInstallationInfo: ({
2576
+ tokenResult
2577
+ }: _keystrokehq_core_credential_set0.ExtractInstallationContext) => {
2578
+ externalInstallationId: string | undefined;
2579
+ externalWorkspaceId: string | undefined;
2580
+ metadata: {
2581
+ shopDomain: string;
2582
+ } | undefined;
2583
+ };
2584
+ id: string;
2585
+ }[]>[], undefined>;
2586
+ //#endregion
2587
+ //#region src/operations/update-shopify-customer.operation.d.ts
2588
+ declare const updateCustomerOperation: Operation<z.ZodObject<{
2589
+ email: z.ZodOptional<z.ZodEmail>;
2590
+ firstName: z.ZodOptional<z.ZodString>;
2591
+ lastName: z.ZodOptional<z.ZodString>;
2592
+ phone: z.ZodOptional<z.ZodString>;
2593
+ note: z.ZodOptional<z.ZodString>;
2594
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
2595
+ id: z.ZodString;
2596
+ }, z.core.$strip>, z.ZodObject<{
2597
+ id: z.ZodString;
2598
+ displayName: z.ZodString;
2599
+ firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2600
+ lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2601
+ email: z.ZodOptional<z.ZodNullable<z.ZodEmail>>;
2602
+ phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2603
+ createdAt: z.ZodOptional<z.ZodISODateTime>;
2604
+ updatedAt: z.ZodOptional<z.ZodISODateTime>;
2605
+ }, z.core.$strip>, _keystrokehq_core0.CredentialSet<"shopify", z.ZodObject<{
2606
+ SHOPIFY_STORE_DOMAIN: z.ZodString;
2607
+ SHOPIFY_ACCESS_TOKEN: z.ZodString;
2608
+ }, z.core.$strip>, {
2609
+ kind: "oauth";
2610
+ tokenType: "refreshable";
2611
+ authUrl: "https://{shop}.myshopify.com/admin/oauth/authorize";
2612
+ tokenUrl: "https://{shop}.myshopify.com/admin/oauth/access_token";
2613
+ revokeUrl: null;
2614
+ scopes: readonly ["read_products", "write_products", "read_orders", "write_orders", "read_customers", "write_customers", "read_inventory", "write_inventory", "read_locations", "read_fulfillments", "write_fulfillments", "read_content", "write_content", "read_webhooks", "write_webhooks"];
2615
+ vault: {
2616
+ readonly accessToken: "SHOPIFY_ACCESS_TOKEN";
2617
+ readonly raw: {
2618
+ readonly SHOPIFY_STORE_DOMAIN: "_shopifyShopDomain";
2619
+ };
2620
+ };
2621
+ buildAuthUrl: ({
2622
+ oauthClient,
2623
+ redirectUri,
2624
+ state,
2625
+ connection,
2626
+ initiateInput,
2627
+ requestedScopes
2628
+ }: _keystrokehq_core_credential_set0.BuildAuthUrlContext) => string;
2629
+ exchangeCode: ({
2630
+ oauthClient,
2631
+ code,
2632
+ queryParams
2633
+ }: _keystrokehq_core_credential_set0.ExchangeCodeContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
2634
+ refreshToken: ({
2635
+ oauthClient,
2636
+ refreshToken
2637
+ }: _keystrokehq_core_credential_set0.RefreshTokenContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
2638
+ extractInstallationInfo: ({
2639
+ tokenResult
2640
+ }: _keystrokehq_core_credential_set0.ExtractInstallationContext) => {
2641
+ externalInstallationId: string | undefined;
2642
+ externalWorkspaceId: string | undefined;
2643
+ metadata: {
2644
+ shopDomain: string;
2645
+ } | undefined;
2646
+ };
2647
+ id: string;
2648
+ }[]>[], undefined>;
2649
+ //#endregion
2650
+ //#region src/operations/update-shopify-order.operation.d.ts
2651
+ declare const updateOrderOperation: Operation<z.ZodObject<{
2652
+ id: z.ZodString;
2653
+ email: z.ZodOptional<z.ZodEmail>;
2654
+ note: z.ZodOptional<z.ZodString>;
2655
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
2656
+ shippingAddress: z.ZodOptional<z.ZodObject<{
2657
+ address1: z.ZodString;
2658
+ address2: z.ZodOptional<z.ZodString>;
2659
+ city: z.ZodString;
2660
+ province: z.ZodOptional<z.ZodString>;
2661
+ country: z.ZodString;
2662
+ zip: z.ZodOptional<z.ZodString>;
2663
+ firstName: z.ZodOptional<z.ZodString>;
2664
+ lastName: z.ZodOptional<z.ZodString>;
2665
+ phone: z.ZodOptional<z.ZodString>;
2666
+ }, z.core.$strip>>;
2667
+ }, z.core.$strip>, z.ZodObject<{
2668
+ id: z.ZodString;
2669
+ name: z.ZodString;
2670
+ createdAt: z.ZodOptional<z.ZodISODateTime>;
2671
+ updatedAt: z.ZodOptional<z.ZodISODateTime>;
2672
+ cancelledAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
2673
+ email: z.ZodOptional<z.ZodNullable<z.ZodEmail>>;
2674
+ note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2675
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
2676
+ displayFinancialStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2677
+ displayFulfillmentStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2678
+ currentTotalPriceSet: z.ZodOptional<z.ZodObject<{
2679
+ shopMoney: z.ZodObject<{
2680
+ amount: z.ZodString;
2681
+ currencyCode: z.ZodString;
2682
+ }, z.core.$strip>;
2683
+ presentmentMoney: z.ZodOptional<z.ZodObject<{
2684
+ amount: z.ZodString;
2685
+ currencyCode: z.ZodString;
2686
+ }, z.core.$strip>>;
2687
+ }, z.core.$strip>>;
2688
+ customer: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2689
+ id: z.ZodString;
2690
+ displayName: z.ZodString;
2691
+ firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2692
+ lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2693
+ email: z.ZodOptional<z.ZodNullable<z.ZodEmail>>;
2694
+ phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2695
+ createdAt: z.ZodOptional<z.ZodISODateTime>;
2696
+ updatedAt: z.ZodOptional<z.ZodISODateTime>;
2697
+ }, z.core.$strip>>>;
2698
+ }, z.core.$strip>, _keystrokehq_core0.CredentialSet<"shopify", z.ZodObject<{
2699
+ SHOPIFY_STORE_DOMAIN: z.ZodString;
2700
+ SHOPIFY_ACCESS_TOKEN: z.ZodString;
2701
+ }, z.core.$strip>, {
2702
+ kind: "oauth";
2703
+ tokenType: "refreshable";
2704
+ authUrl: "https://{shop}.myshopify.com/admin/oauth/authorize";
2705
+ tokenUrl: "https://{shop}.myshopify.com/admin/oauth/access_token";
2706
+ revokeUrl: null;
2707
+ scopes: readonly ["read_products", "write_products", "read_orders", "write_orders", "read_customers", "write_customers", "read_inventory", "write_inventory", "read_locations", "read_fulfillments", "write_fulfillments", "read_content", "write_content", "read_webhooks", "write_webhooks"];
2708
+ vault: {
2709
+ readonly accessToken: "SHOPIFY_ACCESS_TOKEN";
2710
+ readonly raw: {
2711
+ readonly SHOPIFY_STORE_DOMAIN: "_shopifyShopDomain";
2712
+ };
2713
+ };
2714
+ buildAuthUrl: ({
2715
+ oauthClient,
2716
+ redirectUri,
2717
+ state,
2718
+ connection,
2719
+ initiateInput,
2720
+ requestedScopes
2721
+ }: _keystrokehq_core_credential_set0.BuildAuthUrlContext) => string;
2722
+ exchangeCode: ({
2723
+ oauthClient,
2724
+ code,
2725
+ queryParams
2726
+ }: _keystrokehq_core_credential_set0.ExchangeCodeContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
2727
+ refreshToken: ({
2728
+ oauthClient,
2729
+ refreshToken
2730
+ }: _keystrokehq_core_credential_set0.RefreshTokenContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
2731
+ extractInstallationInfo: ({
2732
+ tokenResult
2733
+ }: _keystrokehq_core_credential_set0.ExtractInstallationContext) => {
2734
+ externalInstallationId: string | undefined;
2735
+ externalWorkspaceId: string | undefined;
2736
+ metadata: {
2737
+ shopDomain: string;
2738
+ } | undefined;
2739
+ };
2740
+ id: string;
2741
+ }[]>[], undefined>;
2742
+ //#endregion
2743
+ //#region src/operations/update-shopify-product.operation.d.ts
2744
+ declare const updateProductOperation: Operation<z.ZodObject<{
2745
+ title: z.ZodOptional<z.ZodString>;
2746
+ handle: z.ZodOptional<z.ZodString>;
2747
+ descriptionHtml: z.ZodOptional<z.ZodString>;
2748
+ vendor: z.ZodOptional<z.ZodString>;
2749
+ productType: z.ZodOptional<z.ZodString>;
2750
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
2751
+ id: z.ZodString;
2752
+ }, z.core.$strip>, z.ZodObject<{
2753
+ id: z.ZodString;
2754
+ title: z.ZodString;
2755
+ handle: z.ZodString;
2756
+ status: z.ZodOptional<z.ZodString>;
2757
+ productType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2758
+ vendor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2759
+ descriptionHtml: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2760
+ onlineStoreUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
2761
+ createdAt: z.ZodOptional<z.ZodISODateTime>;
2762
+ updatedAt: z.ZodOptional<z.ZodISODateTime>;
2763
+ featuredImage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2764
+ url: z.ZodURL;
2765
+ altText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2766
+ }, z.core.$strip>>>;
2767
+ seo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2768
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2769
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2770
+ }, z.core.$strip>>>;
2771
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
2772
+ }, z.core.$strip>, _keystrokehq_core0.CredentialSet<"shopify", z.ZodObject<{
2773
+ SHOPIFY_STORE_DOMAIN: z.ZodString;
2774
+ SHOPIFY_ACCESS_TOKEN: z.ZodString;
2775
+ }, z.core.$strip>, {
2776
+ kind: "oauth";
2777
+ tokenType: "refreshable";
2778
+ authUrl: "https://{shop}.myshopify.com/admin/oauth/authorize";
2779
+ tokenUrl: "https://{shop}.myshopify.com/admin/oauth/access_token";
2780
+ revokeUrl: null;
2781
+ scopes: readonly ["read_products", "write_products", "read_orders", "write_orders", "read_customers", "write_customers", "read_inventory", "write_inventory", "read_locations", "read_fulfillments", "write_fulfillments", "read_content", "write_content", "read_webhooks", "write_webhooks"];
2782
+ vault: {
2783
+ readonly accessToken: "SHOPIFY_ACCESS_TOKEN";
2784
+ readonly raw: {
2785
+ readonly SHOPIFY_STORE_DOMAIN: "_shopifyShopDomain";
2786
+ };
2787
+ };
2788
+ buildAuthUrl: ({
2789
+ oauthClient,
2790
+ redirectUri,
2791
+ state,
2792
+ connection,
2793
+ initiateInput,
2794
+ requestedScopes
2795
+ }: _keystrokehq_core_credential_set0.BuildAuthUrlContext) => string;
2796
+ exchangeCode: ({
2797
+ oauthClient,
2798
+ code,
2799
+ queryParams
2800
+ }: _keystrokehq_core_credential_set0.ExchangeCodeContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
2801
+ refreshToken: ({
2802
+ oauthClient,
2803
+ refreshToken
2804
+ }: _keystrokehq_core_credential_set0.RefreshTokenContext) => Promise<_keystrokehq_core_credential_set0.TokenResult>;
2805
+ extractInstallationInfo: ({
2806
+ tokenResult
2807
+ }: _keystrokehq_core_credential_set0.ExtractInstallationContext) => {
2808
+ externalInstallationId: string | undefined;
2809
+ externalWorkspaceId: string | undefined;
2810
+ metadata: {
2811
+ shopDomain: string;
2812
+ } | undefined;
2813
+ };
2814
+ id: string;
2815
+ }[]>[], undefined>;
2816
+ //#endregion
2817
+ export { deleteCollectionOperation as A, cancelOrderOperation as B, getCustomerOrdersOperation as C, getArticleOperation as D, getBlogOperation as E, createFulfillmentOperation as F, addProductsToCollectionOperation as H, createCustomerOperation as I, createCollectionOperation as L, deleteArticleOperation as M, createProductOperation as N, deleteProductOperation as O, createOrderOperation as P, createBlogOperation as R, getFulfillmentOperation as S, getCollectionOperation as T, adjustInventoryQuantitiesOperation as V, getProductOperation as _, updateArticleOperation as a, getInventoryLevelsForItemOperation as b, listOrdersOperation as c, listFulfillmentOrdersForOrderOperation as d, listCustomersOperation as f, getShopOperation as g, listArticlesOperation as h, updateBlogOperation as i, deleteBlogOperation as j, deleteCustomerOperation as k, listLocationsOperation as l, listBlogsOperation as m, updateOrderOperation as n, removeProductsFromCollectionOperation as o, listCollectionsOperation as p, updateCustomerOperation as r, listProductsOperation as s, updateProductOperation as t, listInventoryItemsOperation as u, getOrderOperation as v, getCustomerOperation as w, getInventoryItemOperation as x, getLocationOperation as y, createArticleOperation as z };