@zapier/zapier-sdk-core 0.3.0 → 0.4.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.
- package/CHANGELOG.md +7 -0
- package/dist/index.cjs +162 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +20 -0
- package/dist/index.d.ts +20 -0
- package/dist/index.js +124 -0
- package/dist/index.js.map +1 -0
- package/dist/v0/common/responses.cjs +139 -0
- package/dist/v0/common/responses.cjs.map +1 -0
- package/dist/v0/common/responses.d.cts +157 -0
- package/dist/v0/common/responses.d.ts +157 -0
- package/dist/v0/common/responses.js +112 -0
- package/dist/v0/common/responses.js.map +1 -0
- package/dist/v0/config/metadata.cjs +75 -0
- package/dist/v0/config/metadata.cjs.map +1 -0
- package/dist/v0/config/metadata.d.cts +70 -0
- package/dist/v0/config/metadata.d.ts +70 -0
- package/dist/v0/config/metadata.js +46 -0
- package/dist/v0/config/metadata.js.map +1 -0
- package/dist/v0/schemas/apps.cjs +130 -0
- package/dist/v0/schemas/apps.cjs.map +1 -0
- package/dist/v0/schemas/apps.d.cts +139 -0
- package/dist/v0/schemas/apps.d.ts +139 -0
- package/dist/v0/schemas/apps.js +103 -0
- package/dist/v0/schemas/apps.js.map +1 -0
- package/dist/v0/schemas/authentications.cjs +87 -0
- package/dist/v0/schemas/authentications.cjs.map +1 -0
- package/dist/v0/schemas/authentications.d.cts +112 -0
- package/dist/v0/schemas/authentications.d.ts +112 -0
- package/dist/v0/schemas/authentications.js +59 -0
- package/dist/v0/schemas/authentications.js.map +1 -0
- package/dist/v0/schemas/errors.cjs +77 -0
- package/dist/v0/schemas/errors.cjs.map +1 -0
- package/dist/v0/schemas/errors.d.cts +64 -0
- package/dist/v0/schemas/errors.d.ts +64 -0
- package/dist/v0/schemas/errors.js +49 -0
- package/dist/v0/schemas/errors.js.map +1 -0
- package/dist/v0/schemas/implementations.cjs +93 -0
- package/dist/v0/schemas/implementations.cjs.map +1 -0
- package/dist/v0/schemas/implementations.d.cts +121 -0
- package/dist/v0/schemas/implementations.d.ts +121 -0
- package/dist/v0/schemas/implementations.js +67 -0
- package/dist/v0/schemas/implementations.js.map +1 -0
- package/openapi.yaml +267 -0
- package/package.json +11 -1
package/openapi.yaml
CHANGED
|
@@ -11,6 +11,8 @@ info:
|
|
|
11
11
|
description: The Zapier SDK API serves as a backend for the Zapier SDK.
|
|
12
12
|
servers: []
|
|
13
13
|
tags:
|
|
14
|
+
- name: Apps
|
|
15
|
+
description: App-related routes
|
|
14
16
|
- name: Authentications
|
|
15
17
|
description: Authentication-related routes
|
|
16
18
|
- name: Documentation
|
|
@@ -541,6 +543,271 @@ paths:
|
|
|
541
543
|
headers: *a6
|
|
542
544
|
content:
|
|
543
545
|
application/json: *a7
|
|
546
|
+
/api/v0/apps:
|
|
547
|
+
get:
|
|
548
|
+
summary: List apps
|
|
549
|
+
description: Returns a paginated list of apps with optional filtering by app keys or search term.
|
|
550
|
+
tags:
|
|
551
|
+
- Apps
|
|
552
|
+
operationId: v0_list_apps
|
|
553
|
+
security:
|
|
554
|
+
- userJwt: []
|
|
555
|
+
parameters:
|
|
556
|
+
- schema:
|
|
557
|
+
type: string
|
|
558
|
+
description: Comma-separated list of app keys to filter by (e.g., 'SlackCLIAPI' or slugs like 'github,slack')
|
|
559
|
+
required: false
|
|
560
|
+
description: Comma-separated list of app keys to filter by (e.g., 'SlackCLIAPI' or slugs like 'github,slack')
|
|
561
|
+
name: appKeys
|
|
562
|
+
in: query
|
|
563
|
+
- schema:
|
|
564
|
+
type: string
|
|
565
|
+
description: Search term to filter apps by name
|
|
566
|
+
required: false
|
|
567
|
+
description: Search term to filter apps by name
|
|
568
|
+
name: search
|
|
569
|
+
in: query
|
|
570
|
+
- schema:
|
|
571
|
+
type: integer
|
|
572
|
+
minimum: 1
|
|
573
|
+
maximum: 100
|
|
574
|
+
default: 20
|
|
575
|
+
description: Number of apps per page (1-100)
|
|
576
|
+
required: false
|
|
577
|
+
description: Number of apps per page (1-100)
|
|
578
|
+
name: pageSize
|
|
579
|
+
in: query
|
|
580
|
+
- schema:
|
|
581
|
+
type: string
|
|
582
|
+
description: Pagination offset from previous response
|
|
583
|
+
required: false
|
|
584
|
+
description: Pagination offset from previous response
|
|
585
|
+
name: offset
|
|
586
|
+
in: query
|
|
587
|
+
responses:
|
|
588
|
+
"200":
|
|
589
|
+
description: Successfully retrieved apps list
|
|
590
|
+
content:
|
|
591
|
+
application/json:
|
|
592
|
+
schema:
|
|
593
|
+
type: object
|
|
594
|
+
properties:
|
|
595
|
+
data:
|
|
596
|
+
type: array
|
|
597
|
+
items:
|
|
598
|
+
type: object
|
|
599
|
+
properties:
|
|
600
|
+
slug:
|
|
601
|
+
type: string
|
|
602
|
+
description: URL-friendly slug identifier
|
|
603
|
+
age_in_days:
|
|
604
|
+
type: number
|
|
605
|
+
description: Number of days since the implementation was created
|
|
606
|
+
auth_type:
|
|
607
|
+
type: string
|
|
608
|
+
description: Authentication type (e.g., oauth2, api_key)
|
|
609
|
+
banner:
|
|
610
|
+
type: string
|
|
611
|
+
description: Banner message or status indicator
|
|
612
|
+
categories:
|
|
613
|
+
type: array
|
|
614
|
+
items:
|
|
615
|
+
type: object
|
|
616
|
+
properties:
|
|
617
|
+
id:
|
|
618
|
+
type: number
|
|
619
|
+
description: Unique identifier for the category
|
|
620
|
+
name:
|
|
621
|
+
type: string
|
|
622
|
+
description: Display name of the category
|
|
623
|
+
slug:
|
|
624
|
+
type: string
|
|
625
|
+
description: URL-friendly slug for the category
|
|
626
|
+
required:
|
|
627
|
+
- id
|
|
628
|
+
- name
|
|
629
|
+
- slug
|
|
630
|
+
description: Categories the implementation belongs to
|
|
631
|
+
images:
|
|
632
|
+
type: object
|
|
633
|
+
properties:
|
|
634
|
+
url_16x16:
|
|
635
|
+
type: string
|
|
636
|
+
description: 16x16 pixel icon URL
|
|
637
|
+
url_32x32:
|
|
638
|
+
type: string
|
|
639
|
+
description: 32x32 pixel icon URL
|
|
640
|
+
url_64x64:
|
|
641
|
+
type: string
|
|
642
|
+
description: 64x64 pixel icon URL
|
|
643
|
+
url_128x128:
|
|
644
|
+
type: string
|
|
645
|
+
description: 128x128 pixel icon URL
|
|
646
|
+
description: Icon images at various sizes
|
|
647
|
+
popularity:
|
|
648
|
+
type: number
|
|
649
|
+
description: Popularity score for ranking apps
|
|
650
|
+
has_filters:
|
|
651
|
+
type: boolean
|
|
652
|
+
description: Whether the app has filter actions
|
|
653
|
+
has_reads:
|
|
654
|
+
type: boolean
|
|
655
|
+
description: Whether the app has read actions
|
|
656
|
+
has_searches:
|
|
657
|
+
type: boolean
|
|
658
|
+
description: Whether the app has search actions
|
|
659
|
+
has_searches_or_writes:
|
|
660
|
+
type: boolean
|
|
661
|
+
description: Whether the app has search or write actions
|
|
662
|
+
has_upfront_fields:
|
|
663
|
+
type: boolean
|
|
664
|
+
description: Whether the app has upfront input fields
|
|
665
|
+
has_writes:
|
|
666
|
+
type: boolean
|
|
667
|
+
description: Whether the app has write actions
|
|
668
|
+
is_beta:
|
|
669
|
+
type: boolean
|
|
670
|
+
description: Whether the app is in beta
|
|
671
|
+
is_built_in:
|
|
672
|
+
type: boolean
|
|
673
|
+
description: Whether the app is a built-in Zapier app
|
|
674
|
+
is_deprecated:
|
|
675
|
+
type: boolean
|
|
676
|
+
description: Whether the app is deprecated
|
|
677
|
+
is_featured:
|
|
678
|
+
type: boolean
|
|
679
|
+
description: Whether the app is featured
|
|
680
|
+
is_hidden:
|
|
681
|
+
type: boolean
|
|
682
|
+
description: Whether the app is hidden from listings
|
|
683
|
+
is_invite:
|
|
684
|
+
type: boolean
|
|
685
|
+
description: Whether the app is invite-only
|
|
686
|
+
is_premium:
|
|
687
|
+
type: boolean
|
|
688
|
+
description: Whether the app requires a premium plan
|
|
689
|
+
is_public:
|
|
690
|
+
type: boolean
|
|
691
|
+
description: Whether the app is publicly available
|
|
692
|
+
is_upcoming:
|
|
693
|
+
type: boolean
|
|
694
|
+
description: Whether the app is upcoming/not yet released
|
|
695
|
+
version:
|
|
696
|
+
type: string
|
|
697
|
+
description: App version
|
|
698
|
+
visibility:
|
|
699
|
+
type: string
|
|
700
|
+
description: Visibility status (e.g., public, private)
|
|
701
|
+
actions:
|
|
702
|
+
type: object
|
|
703
|
+
properties:
|
|
704
|
+
read:
|
|
705
|
+
type: number
|
|
706
|
+
description: Number of read actions
|
|
707
|
+
read_bulk:
|
|
708
|
+
type: number
|
|
709
|
+
description: Number of bulk read actions
|
|
710
|
+
write:
|
|
711
|
+
type: number
|
|
712
|
+
description: Number of write actions
|
|
713
|
+
search:
|
|
714
|
+
type: number
|
|
715
|
+
description: Number of search actions
|
|
716
|
+
search_or_write:
|
|
717
|
+
type: number
|
|
718
|
+
description: Number of search-or-write actions
|
|
719
|
+
search_and_write:
|
|
720
|
+
type: number
|
|
721
|
+
description: Number of search-and-write actions
|
|
722
|
+
filter:
|
|
723
|
+
type: number
|
|
724
|
+
description: Number of filter actions
|
|
725
|
+
description: Count of available actions by type
|
|
726
|
+
description:
|
|
727
|
+
type: string
|
|
728
|
+
description: Description of the app
|
|
729
|
+
primary_color:
|
|
730
|
+
type: string
|
|
731
|
+
description: Primary brand color (hex)
|
|
732
|
+
secondary_color:
|
|
733
|
+
type: string
|
|
734
|
+
description: Secondary brand color (hex)
|
|
735
|
+
classification:
|
|
736
|
+
type: string
|
|
737
|
+
description: App classification category
|
|
738
|
+
api_docs_url:
|
|
739
|
+
type: string
|
|
740
|
+
description: URL to API documentation
|
|
741
|
+
image:
|
|
742
|
+
type: string
|
|
743
|
+
description: Default image URL for the app
|
|
744
|
+
title:
|
|
745
|
+
type: string
|
|
746
|
+
description: Display name of the app
|
|
747
|
+
key:
|
|
748
|
+
type: string
|
|
749
|
+
description: App key (versionless implementation name)
|
|
750
|
+
implementation_id:
|
|
751
|
+
type: string
|
|
752
|
+
description: Full implementation ID including version
|
|
753
|
+
required:
|
|
754
|
+
- slug
|
|
755
|
+
- title
|
|
756
|
+
- key
|
|
757
|
+
- implementation_id
|
|
758
|
+
description: Array of app items
|
|
759
|
+
links:
|
|
760
|
+
type: object
|
|
761
|
+
properties:
|
|
762
|
+
next:
|
|
763
|
+
type:
|
|
764
|
+
- string
|
|
765
|
+
- "null"
|
|
766
|
+
description: Fully qualified URL for the next page of results (if available)
|
|
767
|
+
description: Pagination links for navigating through results
|
|
768
|
+
meta:
|
|
769
|
+
type: object
|
|
770
|
+
properties:
|
|
771
|
+
count:
|
|
772
|
+
type: number
|
|
773
|
+
description: Number of items in current page
|
|
774
|
+
limit:
|
|
775
|
+
type: number
|
|
776
|
+
description: Number of items per page
|
|
777
|
+
offset:
|
|
778
|
+
type: number
|
|
779
|
+
description: Offset of the current page
|
|
780
|
+
required:
|
|
781
|
+
- count
|
|
782
|
+
- limit
|
|
783
|
+
- offset
|
|
784
|
+
description: Metadata for the paginated result set
|
|
785
|
+
required:
|
|
786
|
+
- data
|
|
787
|
+
- links
|
|
788
|
+
- meta
|
|
789
|
+
"400":
|
|
790
|
+
description: Bad Request
|
|
791
|
+
content:
|
|
792
|
+
application/json: *a1
|
|
793
|
+
"401":
|
|
794
|
+
description: Unauthorized
|
|
795
|
+
content:
|
|
796
|
+
application/json: *a2
|
|
797
|
+
"429":
|
|
798
|
+
description: Too Many Requests
|
|
799
|
+
headers: *a3
|
|
800
|
+
content:
|
|
801
|
+
application/json: *a4
|
|
802
|
+
"500":
|
|
803
|
+
description: Server Error
|
|
804
|
+
content:
|
|
805
|
+
application/json: *a5
|
|
806
|
+
"503":
|
|
807
|
+
description: Service Unavailable
|
|
808
|
+
headers: *a6
|
|
809
|
+
content:
|
|
810
|
+
application/json: *a7
|
|
544
811
|
/api/v0/authentications:
|
|
545
812
|
get:
|
|
546
813
|
summary: List authentications
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zapier/zapier-sdk-core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Core schemas and TypeScript types for the Zapier SDK API",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"author": "Zapier, Inc.",
|
|
@@ -31,6 +31,16 @@
|
|
|
31
31
|
"import": "./dist/v0/schemas/authentications.js",
|
|
32
32
|
"require": "./dist/v0/schemas/authentications.cjs"
|
|
33
33
|
},
|
|
34
|
+
"./v0/schemas/apps": {
|
|
35
|
+
"types": "./dist/v0/schemas/apps.d.ts",
|
|
36
|
+
"import": "./dist/v0/schemas/apps.js",
|
|
37
|
+
"require": "./dist/v0/schemas/apps.cjs"
|
|
38
|
+
},
|
|
39
|
+
"./v0/schemas/implementations": {
|
|
40
|
+
"types": "./dist/v0/schemas/implementations.d.ts",
|
|
41
|
+
"import": "./dist/v0/schemas/implementations.js",
|
|
42
|
+
"require": "./dist/v0/schemas/implementations.cjs"
|
|
43
|
+
},
|
|
34
44
|
"./v0/schemas/errors": {
|
|
35
45
|
"types": "./dist/v0/schemas/errors.d.ts",
|
|
36
46
|
"import": "./dist/v0/schemas/errors.js",
|