@crawlora-org/sdk 1.2.0-sdk.18 → 1.2.0-sdk.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/types.d.ts CHANGED
@@ -5221,6 +5221,276 @@ export interface ModelShopappVariantsResponseDoc {
5221
5221
  "msg"?: string;
5222
5222
  }
5223
5223
 
5224
+ export interface ModelShopifyCollectionItem {
5225
+ "created_at"?: string;
5226
+ "description"?: string;
5227
+ "handle"?: string;
5228
+ "id"?: string;
5229
+ "products_count"?: number;
5230
+ "published_at"?: string;
5231
+ "title"?: string;
5232
+ "updated_at"?: string;
5233
+ "url"?: string;
5234
+ }
5235
+
5236
+ export interface ModelShopifyCollectionProductsResponse {
5237
+ "collection"?: string;
5238
+ "limit"?: number;
5239
+ "page"?: number;
5240
+ "products"?: Array<ModelShopifyProductItem>;
5241
+ "source_url"?: string;
5242
+ "store_url"?: string;
5243
+ }
5244
+
5245
+ export interface ModelShopifyCollectionsResponse {
5246
+ "collections"?: Array<ModelShopifyCollectionItem>;
5247
+ "limit"?: number;
5248
+ "page"?: number;
5249
+ "source_url"?: string;
5250
+ "store_url"?: string;
5251
+ }
5252
+
5253
+ export interface ModelShopifyImageItem {
5254
+ "alt"?: string;
5255
+ "created_at"?: string;
5256
+ "height"?: number;
5257
+ "id"?: string;
5258
+ "position"?: number;
5259
+ "updated_at"?: string;
5260
+ "url"?: string;
5261
+ "variant_ids"?: Array<string>;
5262
+ "width"?: number;
5263
+ }
5264
+
5265
+ export interface ModelShopifyOptionItem {
5266
+ "name"?: string;
5267
+ "position"?: number;
5268
+ "values"?: Array<string>;
5269
+ }
5270
+
5271
+ export interface ModelShopifyPageItem {
5272
+ "content"?: string;
5273
+ "created_at"?: string;
5274
+ "handle"?: string;
5275
+ "id"?: string;
5276
+ "published_at"?: string;
5277
+ "title"?: string;
5278
+ "updated_at"?: string;
5279
+ "url"?: string;
5280
+ }
5281
+
5282
+ export interface ModelShopifyPageResponse {
5283
+ "page"?: ModelShopifyPageItem;
5284
+ "source_url"?: string;
5285
+ "store_url"?: string;
5286
+ }
5287
+
5288
+ export interface ModelShopifyPagesResponse {
5289
+ "limit"?: number;
5290
+ "page"?: number;
5291
+ "pages"?: Array<ModelShopifyPageItem>;
5292
+ "source_url"?: string;
5293
+ "store_url"?: string;
5294
+ }
5295
+
5296
+ export interface ModelShopifyProductItem {
5297
+ "available"?: boolean;
5298
+ "compare_at_price"?: number;
5299
+ "created_at"?: string;
5300
+ "description"?: string;
5301
+ "featured_image"?: string;
5302
+ "handle"?: string;
5303
+ "id"?: string;
5304
+ "images"?: Array<ModelShopifyImageItem>;
5305
+ "options"?: Array<ModelShopifyOptionItem>;
5306
+ "price"?: number;
5307
+ "product_type"?: string;
5308
+ "published_at"?: string;
5309
+ "tags"?: Array<string>;
5310
+ "title"?: string;
5311
+ "updated_at"?: string;
5312
+ "url"?: string;
5313
+ "variants"?: Array<ModelShopifyVariantItem>;
5314
+ "vendor"?: string;
5315
+ }
5316
+
5317
+ export interface ModelShopifyProductRecommendationsResponse {
5318
+ "handle"?: string;
5319
+ "intent"?: string;
5320
+ "limit"?: number;
5321
+ "product_id"?: string;
5322
+ "products"?: Array<ModelShopifyProductItem>;
5323
+ "source_url"?: string;
5324
+ "store_url"?: string;
5325
+ }
5326
+
5327
+ export interface ModelShopifyProductResponse {
5328
+ "product"?: ModelShopifyProductItem;
5329
+ "source_url"?: string;
5330
+ "store_url"?: string;
5331
+ }
5332
+
5333
+ export interface ModelShopifyProductsResponse {
5334
+ "limit"?: number;
5335
+ "page"?: number;
5336
+ "products"?: Array<ModelShopifyProductItem>;
5337
+ "source_url"?: string;
5338
+ "store_url"?: string;
5339
+ }
5340
+
5341
+ export interface ModelShopifySearchQueryItem {
5342
+ "text"?: string;
5343
+ "url"?: string;
5344
+ }
5345
+
5346
+ export interface ModelShopifySearchSuggestResponse {
5347
+ "collections"?: Array<ModelShopifyCollectionItem>;
5348
+ "limit"?: number;
5349
+ "products"?: Array<ModelShopifyProductItem>;
5350
+ "queries"?: Array<ModelShopifySearchQueryItem>;
5351
+ "query"?: string;
5352
+ "source_url"?: string;
5353
+ "store_url"?: string;
5354
+ "types"?: Array<string>;
5355
+ }
5356
+
5357
+ export interface ModelShopifySitemapImage {
5358
+ "caption"?: string;
5359
+ "title"?: string;
5360
+ "url"?: string;
5361
+ }
5362
+
5363
+ export interface ModelShopifySitemapIndexResponse {
5364
+ "sitemaps"?: Array<ModelShopifySitemapItem>;
5365
+ "source_url"?: string;
5366
+ "store_url"?: string;
5367
+ }
5368
+
5369
+ export interface ModelShopifySitemapItem {
5370
+ "loc"?: string;
5371
+ "type"?: string;
5372
+ }
5373
+
5374
+ export interface ModelShopifySitemapUrlitem {
5375
+ "changefreq"?: string;
5376
+ "handle"?: string;
5377
+ "images"?: Array<ModelShopifySitemapImage>;
5378
+ "lastmod"?: string;
5379
+ "loc"?: string;
5380
+ "type"?: string;
5381
+ }
5382
+
5383
+ export interface ModelShopifySitemapUrlsResponse {
5384
+ "limit"?: number;
5385
+ "source_url"?: string;
5386
+ "store_url"?: string;
5387
+ "type"?: string;
5388
+ "urls"?: Array<ModelShopifySitemapUrlitem>;
5389
+ }
5390
+
5391
+ export interface ModelShopifyStoreResponse {
5392
+ "city"?: string;
5393
+ "country"?: string;
5394
+ "currency"?: string;
5395
+ "description"?: string;
5396
+ "domain"?: string;
5397
+ "myshopify_domain"?: string;
5398
+ "name"?: string;
5399
+ "province"?: string;
5400
+ "published_collections_count"?: number;
5401
+ "published_products_count"?: number;
5402
+ "requested_url"?: string;
5403
+ "source_domain"?: string;
5404
+ "source_url"?: string;
5405
+ }
5406
+
5407
+ export interface ModelShopifyVariantItem {
5408
+ "available"?: boolean;
5409
+ "barcode"?: string;
5410
+ "compare_at_price"?: number;
5411
+ "created_at"?: string;
5412
+ "featured_image"?: string;
5413
+ "grams"?: number;
5414
+ "id"?: string;
5415
+ "option1"?: string;
5416
+ "option2"?: string;
5417
+ "option3"?: string;
5418
+ "position"?: number;
5419
+ "price"?: number;
5420
+ "product_id"?: string;
5421
+ "requires_shipping"?: boolean;
5422
+ "sku"?: string;
5423
+ "taxable"?: boolean;
5424
+ "title"?: string;
5425
+ "updated_at"?: string;
5426
+ }
5427
+
5428
+ export interface ModelShopifyCollectionProductsResponseDoc {
5429
+ "code"?: number;
5430
+ "data"?: ModelShopifyCollectionProductsResponse;
5431
+ "msg"?: string;
5432
+ }
5433
+
5434
+ export interface ModelShopifyCollectionsResponseDoc {
5435
+ "code"?: number;
5436
+ "data"?: ModelShopifyCollectionsResponse;
5437
+ "msg"?: string;
5438
+ }
5439
+
5440
+ export interface ModelShopifyPageResponseDoc {
5441
+ "code"?: number;
5442
+ "data"?: ModelShopifyPageResponse;
5443
+ "msg"?: string;
5444
+ }
5445
+
5446
+ export interface ModelShopifyPagesResponseDoc {
5447
+ "code"?: number;
5448
+ "data"?: ModelShopifyPagesResponse;
5449
+ "msg"?: string;
5450
+ }
5451
+
5452
+ export interface ModelShopifyProductRecommendationsResponseDoc {
5453
+ "code"?: number;
5454
+ "data"?: ModelShopifyProductRecommendationsResponse;
5455
+ "msg"?: string;
5456
+ }
5457
+
5458
+ export interface ModelShopifyProductResponseDoc {
5459
+ "code"?: number;
5460
+ "data"?: ModelShopifyProductResponse;
5461
+ "msg"?: string;
5462
+ }
5463
+
5464
+ export interface ModelShopifyProductsResponseDoc {
5465
+ "code"?: number;
5466
+ "data"?: ModelShopifyProductsResponse;
5467
+ "msg"?: string;
5468
+ }
5469
+
5470
+ export interface ModelShopifySearchSuggestResponseDoc {
5471
+ "code"?: number;
5472
+ "data"?: ModelShopifySearchSuggestResponse;
5473
+ "msg"?: string;
5474
+ }
5475
+
5476
+ export interface ModelShopifySitemapIndexResponseDoc {
5477
+ "code"?: number;
5478
+ "data"?: ModelShopifySitemapIndexResponse;
5479
+ "msg"?: string;
5480
+ }
5481
+
5482
+ export interface ModelShopifySitemapUrlsResponseDoc {
5483
+ "code"?: number;
5484
+ "data"?: ModelShopifySitemapUrlsResponse;
5485
+ "msg"?: string;
5486
+ }
5487
+
5488
+ export interface ModelShopifyStoreResponseDoc {
5489
+ "code"?: number;
5490
+ "data"?: ModelShopifyStoreResponse;
5491
+ "msg"?: string;
5492
+ }
5493
+
5224
5494
  export interface ModelSimilarwebSearchResp {
5225
5495
  "apps"?: { "appStore"?: Array<{ "appKey"?: string; "id"?: string; "image"?: string; "name"?: string; "publisher"?: string; "ratings"?: number; "store"?: string }>; "googlePlay"?: Array<{ "appKey"?: string; "id"?: string; "image"?: string; "name"?: string; "publisher"?: string; "ratings"?: number; "store"?: string }> };
5226
5496
  "companies"?: Array<{ "domain"?: string; "logoUrl"?: string; "name"?: string }>;
@@ -9558,6 +9828,80 @@ export interface ShopAppSuggestionsParams {
9558
9828
  "limit"?: number;
9559
9829
  }
9560
9830
 
9831
+ export type ShopifyCollectionsResponse = CrawloraResponse<ModelShopifyCollectionsResponseDoc>;
9832
+ export interface ShopifyCollectionsParams {
9833
+ "url": string;
9834
+ "page"?: number;
9835
+ "limit"?: number;
9836
+ }
9837
+
9838
+ export type ShopifyCollectionProductsResponse = CrawloraResponse<ModelShopifyCollectionProductsResponseDoc>;
9839
+ export interface ShopifyCollectionProductsParams {
9840
+ "handle": string;
9841
+ "url": string;
9842
+ "page"?: number;
9843
+ "limit"?: number;
9844
+ }
9845
+
9846
+ export type ShopifyPagesResponse = CrawloraResponse<ModelShopifyPagesResponseDoc>;
9847
+ export interface ShopifyPagesParams {
9848
+ "url": string;
9849
+ "page"?: number;
9850
+ "limit"?: number;
9851
+ }
9852
+
9853
+ export type ShopifyPageResponse = CrawloraResponse<ModelShopifyPageResponseDoc>;
9854
+ export interface ShopifyPageParams {
9855
+ "handle": string;
9856
+ "url": string;
9857
+ }
9858
+
9859
+ export type ShopifyProductsResponse = CrawloraResponse<ModelShopifyProductsResponseDoc>;
9860
+ export interface ShopifyProductsParams {
9861
+ "url": string;
9862
+ "page"?: number;
9863
+ "limit"?: number;
9864
+ }
9865
+
9866
+ export type ShopifyProductResponse = CrawloraResponse<ModelShopifyProductResponseDoc>;
9867
+ export interface ShopifyProductParams {
9868
+ "handle": string;
9869
+ "url": string;
9870
+ }
9871
+
9872
+ export type ShopifyProductRecommendationsResponse = CrawloraResponse<ModelShopifyProductRecommendationsResponseDoc>;
9873
+ export interface ShopifyProductRecommendationsParams {
9874
+ "handle": string;
9875
+ "url": string;
9876
+ "limit"?: number;
9877
+ "intent"?: "related" | "complementary";
9878
+ }
9879
+
9880
+ export type ShopifySearchSuggestResponse = CrawloraResponse<ModelShopifySearchSuggestResponseDoc>;
9881
+ export interface ShopifySearchSuggestParams {
9882
+ "url": string;
9883
+ "q": string;
9884
+ "types"?: string;
9885
+ "limit"?: number;
9886
+ }
9887
+
9888
+ export type ShopifySitemapUrlsResponse = CrawloraResponse<ModelShopifySitemapUrlsResponseDoc>;
9889
+ export interface ShopifySitemapUrlsParams {
9890
+ "url": string;
9891
+ "type"?: "all" | "products" | "collections" | "pages" | "blogs" | "agentic_discovery" | "other";
9892
+ "limit"?: number;
9893
+ }
9894
+
9895
+ export type ShopifySitemapsResponse = CrawloraResponse<ModelShopifySitemapIndexResponseDoc>;
9896
+ export interface ShopifySitemapsParams {
9897
+ "url": string;
9898
+ }
9899
+
9900
+ export type ShopifyStoreResponse = CrawloraResponse<ModelShopifyStoreResponseDoc>;
9901
+ export interface ShopifyStoreParams {
9902
+ "url": string;
9903
+ }
9904
+
9561
9905
  export type SimilarWebSearchResponse = CrawloraResponse<ModelSimilarwebSearchResponseDoc>;
9562
9906
  export interface SimilarWebSearchParams {
9563
9907
  "q": string;
@@ -10790,6 +11134,20 @@ export interface ShopAppService {
10790
11134
  suggestions<T = ShopAppSuggestionsResponse>(params: ShopAppSuggestionsParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
10791
11135
  }
10792
11136
 
11137
+ export interface ShopifyService {
11138
+ collections<T = ShopifyCollectionsResponse>(params: ShopifyCollectionsParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
11139
+ collectionProducts<T = ShopifyCollectionProductsResponse>(params: ShopifyCollectionProductsParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
11140
+ pages<T = ShopifyPagesResponse>(params: ShopifyPagesParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
11141
+ page<T = ShopifyPageResponse>(params: ShopifyPageParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
11142
+ products<T = ShopifyProductsResponse>(params: ShopifyProductsParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
11143
+ product<T = ShopifyProductResponse>(params: ShopifyProductParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
11144
+ productRecommendations<T = ShopifyProductRecommendationsResponse>(params: ShopifyProductRecommendationsParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
11145
+ searchSuggest<T = ShopifySearchSuggestResponse>(params: ShopifySearchSuggestParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
11146
+ sitemapUrls<T = ShopifySitemapUrlsResponse>(params: ShopifySitemapUrlsParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
11147
+ sitemaps<T = ShopifySitemapsResponse>(params: ShopifySitemapsParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
11148
+ store<T = ShopifyStoreResponse>(params: ShopifyStoreParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
11149
+ }
11150
+
10793
11151
  export interface SimilarWebService {
10794
11152
  search<T = SimilarWebSearchResponse>(params: SimilarWebSearchParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
10795
11153
  web<T = SimilarWebWebResponse>(params: SimilarWebWebParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
@@ -10983,6 +11341,7 @@ export interface CrawloraGeneratedGroups {
10983
11341
  productHunt: ProductHuntService;
10984
11342
  referrals: ReferralsService;
10985
11343
  shopApp: ShopAppService;
11344
+ shopify: ShopifyService;
10986
11345
  similarWeb: SimilarWebService;
10987
11346
  spotifyPodcasts: SpotifyPodcastsService;
10988
11347
  spotify: SpotifyService;
@@ -11177,6 +11536,17 @@ export interface OperationParamsMap {
11177
11536
  "shop-app-shop-reviews": ShopAppShopReviewsParams;
11178
11537
  "shop-app-shop-typeahead": ShopAppShopTypeaheadParams;
11179
11538
  "shop-app-suggestions": ShopAppSuggestionsParams;
11539
+ "shopify-collections": ShopifyCollectionsParams;
11540
+ "shopify-collection-products": ShopifyCollectionProductsParams;
11541
+ "shopify-pages": ShopifyPagesParams;
11542
+ "shopify-page": ShopifyPageParams;
11543
+ "shopify-products": ShopifyProductsParams;
11544
+ "shopify-product": ShopifyProductParams;
11545
+ "shopify-product-recommendations": ShopifyProductRecommendationsParams;
11546
+ "shopify-search-suggest": ShopifySearchSuggestParams;
11547
+ "shopify-sitemap-urls": ShopifySitemapUrlsParams;
11548
+ "shopify-sitemaps": ShopifySitemapsParams;
11549
+ "shopify-store": ShopifyStoreParams;
11180
11550
  "similarweb-search": SimilarWebSearchParams;
11181
11551
  "similarweb-web": SimilarWebWebParams;
11182
11552
  "spotify-podcasts-categories": SpotifyPodcastsCategoriesParams;
@@ -11499,6 +11869,17 @@ export interface OperationResponseMap {
11499
11869
  "shop-app-shop-reviews": ShopAppShopReviewsResponse;
11500
11870
  "shop-app-shop-typeahead": ShopAppShopTypeaheadResponse;
11501
11871
  "shop-app-suggestions": ShopAppSuggestionsResponse;
11872
+ "shopify-collections": ShopifyCollectionsResponse;
11873
+ "shopify-collection-products": ShopifyCollectionProductsResponse;
11874
+ "shopify-pages": ShopifyPagesResponse;
11875
+ "shopify-page": ShopifyPageResponse;
11876
+ "shopify-products": ShopifyProductsResponse;
11877
+ "shopify-product": ShopifyProductResponse;
11878
+ "shopify-product-recommendations": ShopifyProductRecommendationsResponse;
11879
+ "shopify-search-suggest": ShopifySearchSuggestResponse;
11880
+ "shopify-sitemap-urls": ShopifySitemapUrlsResponse;
11881
+ "shopify-sitemaps": ShopifySitemapsResponse;
11882
+ "shopify-store": ShopifyStoreResponse;
11502
11883
  "similarweb-search": SimilarWebSearchResponse;
11503
11884
  "similarweb-web": SimilarWebWebResponse;
11504
11885
  "spotify-podcasts-categories": SpotifyPodcastsCategoriesResponse;
@@ -11821,6 +12202,17 @@ export interface OperationRequiredParamsMap {
11821
12202
  "shop-app-shop-reviews": true;
11822
12203
  "shop-app-shop-typeahead": true;
11823
12204
  "shop-app-suggestions": true;
12205
+ "shopify-collections": true;
12206
+ "shopify-collection-products": true;
12207
+ "shopify-pages": true;
12208
+ "shopify-page": true;
12209
+ "shopify-products": true;
12210
+ "shopify-product": true;
12211
+ "shopify-product-recommendations": true;
12212
+ "shopify-search-suggest": true;
12213
+ "shopify-sitemap-urls": true;
12214
+ "shopify-sitemaps": true;
12215
+ "shopify-store": true;
11824
12216
  "similarweb-search": true;
11825
12217
  "similarweb-web": true;
11826
12218
  "spotify-podcasts-categories": false;
@@ -12150,6 +12542,17 @@ export type OperationIdLiteral =
12150
12542
  | "shop-app-shop-reviews"
12151
12543
  | "shop-app-shop-typeahead"
12152
12544
  | "shop-app-suggestions"
12545
+ | "shopify-collections"
12546
+ | "shopify-collection-products"
12547
+ | "shopify-pages"
12548
+ | "shopify-page"
12549
+ | "shopify-products"
12550
+ | "shopify-product"
12551
+ | "shopify-product-recommendations"
12552
+ | "shopify-search-suggest"
12553
+ | "shopify-sitemap-urls"
12554
+ | "shopify-sitemaps"
12555
+ | "shopify-store"
12153
12556
  | "similarweb-search"
12154
12557
  | "similarweb-web"
12155
12558
  | "spotify-podcasts-categories"