@apteva/integrations 0.15.9 → 0.15.10

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.
@@ -0,0 +1,266 @@
1
+ {
2
+ "slug": "lulu-print",
3
+ "name": "Lulu Print API",
4
+ "description": "Lulu Print API for print-on-demand validation, pricing, shipping options, print jobs, status, cancellation, and webhooks.",
5
+ "logo": "https://www.google.com/s2/favicons?domain=lulu.com&sz=128",
6
+ "categories": ["books", "print-on-demand", "publishing", "fulfillment", "shipping"],
7
+ "base_url": "https://api.lulu.com",
8
+ "auth": {
9
+ "types": ["bearer", "basic"],
10
+ "headers": {
11
+ "Authorization": "Bearer {{token}}",
12
+ "Accept": "application/json"
13
+ },
14
+ "credential_fields": [
15
+ {
16
+ "name": "token",
17
+ "label": "Bearer access token",
18
+ "description": "OAuth access token from Lulu's client-credentials token endpoint."
19
+ },
20
+ {
21
+ "name": "basic",
22
+ "label": "Basic auth value",
23
+ "description": "Base64 client_key:client_secret value used only with lulu_token_create.",
24
+ "required": false
25
+ }
26
+ ]
27
+ },
28
+ "tools": [
29
+ {
30
+ "name": "token_create",
31
+ "description": "Create a Lulu OAuth token using Basic client_key:client_secret credentials. Store the returned access_token as this connection's bearer token.",
32
+ "method": "POST",
33
+ "path": "https://api.lulu.com/auth/realms/glasstree/protocol/openid-connect/token",
34
+ "headers": {
35
+ "Authorization": "Basic {{basic}}",
36
+ "Content-Type": "application/x-www-form-urlencoded"
37
+ },
38
+ "input_schema": {
39
+ "type": "object",
40
+ "properties": {
41
+ "grant_type": { "type": "string", "description": "Use client_credentials." }
42
+ },
43
+ "required": ["grant_type"]
44
+ }
45
+ },
46
+ {
47
+ "name": "calculate_print_job_cost",
48
+ "description": "Create a Print-Job cost calculation.",
49
+ "method": "POST",
50
+ "path": "/print-job-cost-calculations/",
51
+ "body_root_param": "body",
52
+ "input_schema": {
53
+ "type": "object",
54
+ "properties": {
55
+ "body": { "type": "object", "description": "Lulu print-job cost calculation payload." }
56
+ },
57
+ "required": ["body"]
58
+ }
59
+ },
60
+ {
61
+ "name": "list_print_jobs",
62
+ "description": "Retrieve a list of Lulu Print-Jobs.",
63
+ "method": "GET",
64
+ "path": "/print-jobs/",
65
+ "query_params": ["page", "page_size", "status", "created_min", "created_max"],
66
+ "input_schema": {
67
+ "type": "object",
68
+ "properties": {
69
+ "page": { "type": "integer" },
70
+ "page_size": { "type": "integer" },
71
+ "status": { "type": "string" },
72
+ "created_min": { "type": "string" },
73
+ "created_max": { "type": "string" }
74
+ }
75
+ }
76
+ },
77
+ {
78
+ "name": "create_print_job",
79
+ "description": "Create a new Lulu Print-Job.",
80
+ "method": "POST",
81
+ "path": "/print-jobs/",
82
+ "body_root_param": "body",
83
+ "timeout_ms": 120000,
84
+ "input_schema": {
85
+ "type": "object",
86
+ "properties": {
87
+ "body": { "type": "object", "description": "Lulu Print-Job payload including line_items, shipping_address, contact_email, and external_id." }
88
+ },
89
+ "required": ["body"]
90
+ }
91
+ },
92
+ {
93
+ "name": "get_print_job",
94
+ "description": "Retrieve a single Lulu Print-Job.",
95
+ "method": "GET",
96
+ "path": "/print-jobs/{id}/",
97
+ "input_schema": {
98
+ "type": "object",
99
+ "properties": {
100
+ "id": { "type": "string" }
101
+ },
102
+ "required": ["id"]
103
+ }
104
+ },
105
+ {
106
+ "name": "get_print_job_status",
107
+ "description": "Retrieve Lulu Print-Job status.",
108
+ "method": "GET",
109
+ "path": "/print-jobs/{id}/status/",
110
+ "input_schema": {
111
+ "type": "object",
112
+ "properties": {
113
+ "id": { "type": "string" }
114
+ },
115
+ "required": ["id"]
116
+ }
117
+ },
118
+ {
119
+ "name": "cancel_print_job",
120
+ "description": "Cancel a Lulu Print-Job.",
121
+ "method": "DELETE",
122
+ "path": "/print-jobs/{id}/status/",
123
+ "input_schema": {
124
+ "type": "object",
125
+ "properties": {
126
+ "id": { "type": "string" }
127
+ },
128
+ "required": ["id"]
129
+ }
130
+ },
131
+ {
132
+ "name": "get_print_job_costs",
133
+ "description": "Retrieve costs for a Lulu Print-Job.",
134
+ "method": "GET",
135
+ "path": "/print-jobs/{id}/costs/",
136
+ "input_schema": {
137
+ "type": "object",
138
+ "properties": {
139
+ "id": { "type": "string" }
140
+ },
141
+ "required": ["id"]
142
+ }
143
+ },
144
+ {
145
+ "name": "get_shipping_options",
146
+ "description": "Retrieve shipping options for a Lulu print order.",
147
+ "method": "POST",
148
+ "path": "/shipping-options/",
149
+ "body_root_param": "body",
150
+ "input_schema": {
151
+ "type": "object",
152
+ "properties": {
153
+ "body": { "type": "object", "description": "Lulu shipping-options payload." }
154
+ },
155
+ "required": ["body"]
156
+ }
157
+ },
158
+ {
159
+ "name": "validate_interior",
160
+ "description": "Validate an interior PDF file by URL.",
161
+ "method": "POST",
162
+ "path": "/validate-interior/",
163
+ "body_root_param": "body",
164
+ "timeout_ms": 120000,
165
+ "input_schema": {
166
+ "type": "object",
167
+ "properties": {
168
+ "body": { "type": "object", "description": "Lulu validate-interior payload." }
169
+ },
170
+ "required": ["body"]
171
+ }
172
+ },
173
+ {
174
+ "name": "get_interior_validation",
175
+ "description": "Retrieve a Lulu interior file validation record.",
176
+ "method": "GET",
177
+ "path": "/validate-interior/{id}/",
178
+ "input_schema": {
179
+ "type": "object",
180
+ "properties": {
181
+ "id": { "type": "string" }
182
+ },
183
+ "required": ["id"]
184
+ }
185
+ },
186
+ {
187
+ "name": "calculate_cover_dimensions",
188
+ "description": "Calculate cover dimensions from product package and page count.",
189
+ "method": "POST",
190
+ "path": "/cover-dimensions/",
191
+ "body_root_param": "body",
192
+ "input_schema": {
193
+ "type": "object",
194
+ "properties": {
195
+ "body": { "type": "object", "description": "Lulu cover-dimensions payload." }
196
+ },
197
+ "required": ["body"]
198
+ }
199
+ },
200
+ {
201
+ "name": "validate_cover",
202
+ "description": "Validate a cover PDF file by URL.",
203
+ "method": "POST",
204
+ "path": "/validate-cover/",
205
+ "body_root_param": "body",
206
+ "timeout_ms": 120000,
207
+ "input_schema": {
208
+ "type": "object",
209
+ "properties": {
210
+ "body": { "type": "object", "description": "Lulu validate-cover payload." }
211
+ },
212
+ "required": ["body"]
213
+ }
214
+ },
215
+ {
216
+ "name": "get_cover_validation",
217
+ "description": "Retrieve a Lulu cover validation record.",
218
+ "method": "GET",
219
+ "path": "/validate-cover/{id}/",
220
+ "input_schema": {
221
+ "type": "object",
222
+ "properties": {
223
+ "id": { "type": "string" }
224
+ },
225
+ "required": ["id"]
226
+ }
227
+ },
228
+ {
229
+ "name": "list_webhooks",
230
+ "description": "Retrieve Lulu webhook subscriptions.",
231
+ "method": "GET",
232
+ "path": "/webhooks/",
233
+ "input_schema": {
234
+ "type": "object",
235
+ "properties": {}
236
+ }
237
+ },
238
+ {
239
+ "name": "create_webhook",
240
+ "description": "Subscribe to Lulu webhooks.",
241
+ "method": "POST",
242
+ "path": "/webhooks/",
243
+ "body_root_param": "body",
244
+ "input_schema": {
245
+ "type": "object",
246
+ "properties": {
247
+ "body": { "type": "object", "description": "Lulu webhook subscription payload." }
248
+ },
249
+ "required": ["body"]
250
+ }
251
+ },
252
+ {
253
+ "name": "delete_webhook",
254
+ "description": "Delete a Lulu webhook subscription.",
255
+ "method": "DELETE",
256
+ "path": "/webhooks/{id}/",
257
+ "input_schema": {
258
+ "type": "object",
259
+ "properties": {
260
+ "id": { "type": "string" }
261
+ },
262
+ "required": ["id"]
263
+ }
264
+ }
265
+ ]
266
+ }
@@ -0,0 +1,132 @@
1
+ {
2
+ "slug": "publishdrive",
3
+ "name": "PublishDrive",
4
+ "description": "PublishDrive publisher API for book distribution, metadata updates, store availability, sales, and royalty reporting. API access is partner/sales-gated; endpoint shapes may vary by account contract.",
5
+ "logo": "https://www.google.com/s2/favicons?domain=publishdrive.com&sz=128",
6
+ "categories": ["books", "publishing", "distribution", "ebooks", "royalties"],
7
+ "base_url": "https://api.publishdrive.com/v1",
8
+ "auth": {
9
+ "types": ["bearer"],
10
+ "headers": {
11
+ "Authorization": "Bearer {{token}}",
12
+ "Accept": "application/json"
13
+ },
14
+ "credential_fields": [
15
+ {
16
+ "name": "token",
17
+ "label": "API token",
18
+ "description": "PublishDrive API token. API access may need to be enabled by PublishDrive support."
19
+ }
20
+ ]
21
+ },
22
+ "tools": [
23
+ {
24
+ "name": "list_books",
25
+ "description": "List books in the PublishDrive account.",
26
+ "method": "GET",
27
+ "path": "/books",
28
+ "query_params": ["page", "limit", "status"],
29
+ "input_schema": {
30
+ "type": "object",
31
+ "properties": {
32
+ "page": { "type": "integer" },
33
+ "limit": { "type": "integer", "description": "Maximum page size; PublishDrive may cap this." },
34
+ "status": { "type": "string", "description": "Optional provider status filter, for example draft, pending, published, rejected." }
35
+ }
36
+ }
37
+ },
38
+ {
39
+ "name": "get_book",
40
+ "description": "Fetch one PublishDrive book by provider book ID.",
41
+ "method": "GET",
42
+ "path": "/books/{book_id}",
43
+ "input_schema": {
44
+ "type": "object",
45
+ "properties": {
46
+ "book_id": { "type": "string" }
47
+ },
48
+ "required": ["book_id"]
49
+ }
50
+ },
51
+ {
52
+ "name": "create_book",
53
+ "description": "Create/upload a book package. The body should follow the PublishDrive contract enabled for the account.",
54
+ "method": "POST",
55
+ "path": "/books",
56
+ "body_root_param": "body",
57
+ "timeout_ms": 120000,
58
+ "input_schema": {
59
+ "type": "object",
60
+ "properties": {
61
+ "body": {
62
+ "type": "object",
63
+ "description": "PublishDrive book payload including metadata, contributors, prices, territories, ebook/audiobook/cover asset URLs, and distribution settings."
64
+ }
65
+ },
66
+ "required": ["body"]
67
+ }
68
+ },
69
+ {
70
+ "name": "update_book",
71
+ "description": "Update PublishDrive metadata or distribution settings for a book.",
72
+ "method": "PUT",
73
+ "path": "/books/{book_id}",
74
+ "body_root_param": "body",
75
+ "timeout_ms": 120000,
76
+ "input_schema": {
77
+ "type": "object",
78
+ "properties": {
79
+ "book_id": { "type": "string" },
80
+ "body": { "type": "object", "description": "PublishDrive book update payload." }
81
+ },
82
+ "required": ["book_id", "body"]
83
+ }
84
+ },
85
+ {
86
+ "name": "list_stores",
87
+ "description": "List distribution stores/retailers available to the PublishDrive account.",
88
+ "method": "GET",
89
+ "path": "/stores",
90
+ "input_schema": {
91
+ "type": "object",
92
+ "properties": {}
93
+ }
94
+ },
95
+ {
96
+ "name": "get_sales",
97
+ "description": "Fetch PublishDrive sales reports for a date range.",
98
+ "method": "GET",
99
+ "path": "/reports/sales",
100
+ "query_params": ["from", "to", "book_id", "store_id", "page", "limit"],
101
+ "input_schema": {
102
+ "type": "object",
103
+ "properties": {
104
+ "from": { "type": "string", "description": "Start date, YYYY-MM-DD." },
105
+ "to": { "type": "string", "description": "End date, YYYY-MM-DD." },
106
+ "book_id": { "type": "string" },
107
+ "store_id": { "type": "string" },
108
+ "page": { "type": "integer" },
109
+ "limit": { "type": "integer" }
110
+ }
111
+ }
112
+ },
113
+ {
114
+ "name": "get_royalties",
115
+ "description": "Fetch PublishDrive royalty reports for a date range.",
116
+ "method": "GET",
117
+ "path": "/reports/royalties",
118
+ "query_params": ["from", "to", "book_id", "store_id", "page", "limit"],
119
+ "input_schema": {
120
+ "type": "object",
121
+ "properties": {
122
+ "from": { "type": "string", "description": "Start date, YYYY-MM-DD." },
123
+ "to": { "type": "string", "description": "End date, YYYY-MM-DD." },
124
+ "book_id": { "type": "string" },
125
+ "store_id": { "type": "string" },
126
+ "page": { "type": "integer" },
127
+ "limit": { "type": "integer" }
128
+ }
129
+ }
130
+ }
131
+ ]
132
+ }
@@ -0,0 +1,60 @@
1
+ {
2
+ "slug": "streetlib",
3
+ "name": "StreetLib",
4
+ "description": "StreetLib partner API for book-publishing partner workflows. Public partner docs expose account onboarding and reference data; distribution/book-submission endpoints may require StreetLib partner enablement.",
5
+ "logo": "https://www.google.com/s2/favicons?domain=streetlib.com&sz=128",
6
+ "categories": ["books", "publishing", "distribution", "ebooks", "audiobooks"],
7
+ "base_url": "https://api.streetlib.com/partners",
8
+ "auth": {
9
+ "types": ["api_key"],
10
+ "headers": {
11
+ "x-api-key": "{{api_key}}"
12
+ },
13
+ "credential_fields": [
14
+ {
15
+ "name": "api_key",
16
+ "label": "Partner API key",
17
+ "description": "StreetLib partner API key. Partner/distribution access may need to be enabled by StreetLib."
18
+ }
19
+ ]
20
+ },
21
+ "tools": [
22
+ {
23
+ "name": "list_countries",
24
+ "description": "Get StreetLib country IDs for partner user signup.",
25
+ "method": "GET",
26
+ "path": "/countries",
27
+ "input_schema": {
28
+ "type": "object",
29
+ "properties": {}
30
+ }
31
+ },
32
+ {
33
+ "name": "list_timezones",
34
+ "description": "Get StreetLib timezone values for partner user signup.",
35
+ "method": "GET",
36
+ "path": "/timezones",
37
+ "input_schema": {
38
+ "type": "object",
39
+ "properties": {}
40
+ }
41
+ },
42
+ {
43
+ "name": "affiliate_signup",
44
+ "description": "Create a new StreetLib user under a partner account.",
45
+ "method": "POST",
46
+ "path": "/affiliate/signup",
47
+ "body_root_param": "body",
48
+ "input_schema": {
49
+ "type": "object",
50
+ "properties": {
51
+ "body": {
52
+ "type": "object",
53
+ "description": "StreetLib UserRequest payload from the partner API documentation."
54
+ }
55
+ },
56
+ "required": ["body"]
57
+ }
58
+ }
59
+ ]
60
+ }