@short.io/client-node 2.2.0 → 3.0.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 (74) hide show
  1. package/README.md +747 -28
  2. package/dist/generated/client/client.d.ts +2 -0
  3. package/dist/generated/client/client.gen.d.ts +2 -0
  4. package/dist/generated/client/client.gen.js +225 -0
  5. package/dist/generated/client/client.gen.js.map +1 -0
  6. package/dist/generated/client/client.js +141 -0
  7. package/dist/generated/client/client.js.map +1 -0
  8. package/dist/generated/client/index.d.ts +8 -4
  9. package/dist/generated/client/index.js +5 -115
  10. package/dist/generated/client/index.js.map +1 -1
  11. package/dist/generated/client/types.d.ts +48 -56
  12. package/dist/generated/client/types.gen.d.ts +68 -0
  13. package/dist/generated/client/types.gen.js +2 -0
  14. package/dist/generated/client/types.gen.js.map +1 -0
  15. package/dist/generated/client/types.js.map +1 -1
  16. package/dist/generated/client/utils.d.ts +15 -30
  17. package/dist/generated/client/utils.gen.d.ts +30 -0
  18. package/dist/generated/client/utils.gen.js +224 -0
  19. package/dist/generated/client/utils.gen.js.map +1 -0
  20. package/dist/generated/client/utils.js +101 -206
  21. package/dist/generated/client/utils.js.map +1 -1
  22. package/dist/generated/client.gen.d.ts +4 -0
  23. package/dist/generated/client.gen.js +3 -0
  24. package/dist/generated/client.gen.js.map +1 -0
  25. package/dist/generated/core/auth.d.ts +8 -0
  26. package/dist/generated/core/auth.gen.d.ts +8 -0
  27. package/dist/generated/core/auth.gen.js +14 -0
  28. package/dist/generated/core/auth.gen.js.map +1 -0
  29. package/dist/generated/core/auth.js +14 -0
  30. package/dist/generated/core/auth.js.map +1 -0
  31. package/dist/generated/core/bodySerializer.d.ts +17 -0
  32. package/dist/generated/core/bodySerializer.gen.d.ts +21 -0
  33. package/dist/generated/core/bodySerializer.gen.js +57 -0
  34. package/dist/generated/core/bodySerializer.gen.js.map +1 -0
  35. package/dist/generated/core/bodySerializer.js +54 -0
  36. package/dist/generated/core/bodySerializer.js.map +1 -0
  37. package/dist/generated/core/params.d.ts +23 -0
  38. package/dist/generated/core/params.gen.d.ts +26 -0
  39. package/dist/generated/core/params.gen.js +100 -0
  40. package/dist/generated/core/params.gen.js.map +1 -0
  41. package/dist/generated/core/params.js +88 -0
  42. package/dist/generated/core/params.js.map +1 -0
  43. package/dist/generated/core/pathSerializer.d.ts +30 -0
  44. package/dist/generated/core/pathSerializer.gen.d.ts +30 -0
  45. package/dist/generated/core/pathSerializer.gen.js +114 -0
  46. package/dist/generated/core/pathSerializer.gen.js.map +1 -0
  47. package/dist/generated/core/pathSerializer.js +114 -0
  48. package/dist/generated/core/pathSerializer.js.map +1 -0
  49. package/dist/generated/core/queryKeySerializer.gen.d.ts +6 -0
  50. package/dist/generated/core/queryKeySerializer.gen.js +84 -0
  51. package/dist/generated/core/queryKeySerializer.gen.js.map +1 -0
  52. package/dist/generated/core/serverSentEvents.gen.d.ts +23 -0
  53. package/dist/generated/core/serverSentEvents.gen.js +131 -0
  54. package/dist/generated/core/serverSentEvents.gen.js.map +1 -0
  55. package/dist/generated/core/types.d.ts +32 -0
  56. package/dist/generated/core/types.gen.d.ts +32 -0
  57. package/dist/generated/core/types.gen.js +2 -0
  58. package/dist/generated/core/types.gen.js.map +1 -0
  59. package/dist/generated/core/types.js +2 -0
  60. package/dist/generated/core/types.js.map +1 -0
  61. package/dist/generated/core/utils.gen.d.ts +19 -0
  62. package/dist/generated/core/utils.gen.js +84 -0
  63. package/dist/generated/core/utils.gen.js.map +1 -0
  64. package/dist/generated/index.d.ts +2 -2
  65. package/dist/generated/index.js +1 -2
  66. package/dist/generated/index.js.map +1 -1
  67. package/dist/generated/sdk.gen.d.ts +48 -474
  68. package/dist/generated/sdk.gen.js +299 -322
  69. package/dist/generated/sdk.gen.js.map +1 -1
  70. package/dist/generated/types.gen.d.ts +699 -190
  71. package/dist/generated/types.gen.js.map +1 -1
  72. package/dist/index.js +1 -1
  73. package/dist/index.js.map +1 -1
  74. package/package.json +11 -11
@@ -1,323 +1,300 @@
1
- import { createClient, createConfig } from './client/index.js';
2
- export const client = createClient(createConfig());
3
- export const getLinksOpengraphByDomainIdByLinkId = (options) => {
4
- return (options?.client ?? client).get({
5
- ...options,
6
- url: '/links/opengraph/{domainId}/{linkId}'
7
- });
8
- };
9
- export const putLinksOpengraphByDomainIdByLinkId = (options) => {
10
- return (options?.client ?? client).put({
11
- ...options,
12
- headers: {
13
- 'Content-Type': 'application/json',
14
- ...options?.headers
15
- },
16
- url: '/links/opengraph/{domainId}/{linkId}'
17
- });
18
- };
19
- export const getLinkCountryByLinkId = (options) => {
20
- return (options?.client ?? client).get({
21
- ...options,
22
- url: '/link_country/{linkId}'
23
- });
24
- };
25
- export const postLinkCountryByLinkId = (options) => {
26
- return (options?.client ?? client).post({
27
- ...options,
28
- headers: {
29
- 'Content-Type': 'application/json',
30
- ...options?.headers
31
- },
32
- url: '/link_country/{linkId}'
33
- });
34
- };
35
- export const postLinkCountryBulkByLinkId = (options) => {
36
- return (options?.client ?? client).post({
37
- ...options,
38
- headers: {
39
- 'Content-Type': 'application/json',
40
- ...options?.headers
41
- },
42
- url: '/link_country/bulk/{linkId}'
43
- });
44
- };
45
- export const deleteLinkCountryByLinkIdByCountry = (options) => {
46
- return (options?.client ?? client).delete({
47
- ...options,
48
- url: '/link_country/{linkId}/{country}'
49
- });
50
- };
51
- export const getLinkRegionByLinkId = (options) => {
52
- return (options?.client ?? client).get({
53
- ...options,
54
- url: '/link_region/{linkId}'
55
- });
56
- };
57
- export const postLinkRegionByLinkId = (options) => {
58
- return (options?.client ?? client).post({
59
- ...options,
60
- headers: {
61
- 'Content-Type': 'application/json',
62
- ...options?.headers
63
- },
64
- url: '/link_region/{linkId}'
65
- });
66
- };
67
- export const getLinkRegionListByCountry = (options) => {
68
- return (options?.client ?? client).get({
69
- ...options,
70
- url: '/link_region/list/{country}'
71
- });
72
- };
73
- export const postLinkRegionBulkByLinkId = (options) => {
74
- return (options?.client ?? client).post({
75
- ...options,
76
- headers: {
77
- 'Content-Type': 'application/json',
78
- ...options?.headers
79
- },
80
- url: '/link_region/bulk/{linkId}'
81
- });
82
- };
83
- export const deleteLinkRegionByLinkIdByCountryByRegion = (options) => {
84
- return (options?.client ?? client).delete({
85
- ...options,
86
- url: '/link_region/{linkId}/{country}/{region}'
87
- });
88
- };
89
- export const getLinksPermissionsByDomainIdByLinkId = (options) => {
90
- return (options?.client ?? client).get({
91
- ...options,
92
- url: '/links/permissions/{domainId}/{linkId}'
93
- });
94
- };
95
- export const deleteLinksPermissionsByDomainIdByLinkIdByUserId = (options) => {
96
- return (options?.client ?? client).delete({
97
- ...options,
98
- url: '/links/permissions/{domainId}/{linkId}/{userId}'
99
- });
100
- };
101
- export const postLinksPermissionsByDomainIdByLinkIdByUserId = (options) => {
102
- return (options?.client ?? client).post({
103
- ...options,
104
- url: '/links/permissions/{domainId}/{linkId}/{userId}'
105
- });
106
- };
107
- export const getApiLinks = (options) => {
108
- return (options?.client ?? client).get({
109
- ...options,
110
- url: '/api/links'
111
- });
112
- };
113
- export const postLinksQrByLinkIdString = (options) => {
114
- return (options?.client ?? client).post({
115
- ...options,
116
- headers: {
117
- 'Content-Type': 'application/json',
118
- ...options?.headers
119
- },
120
- url: '/links/qr/{linkIdString}'
121
- });
122
- };
123
- export const postLinksQrBulk = (options) => {
124
- return (options?.client ?? client).post({
125
- ...options,
126
- headers: {
127
- 'Content-Type': 'application/json',
128
- ...options?.headers
129
- },
130
- url: '/links/qr/bulk'
131
- });
132
- };
133
- export const deleteLinksByLinkId = (options) => {
134
- return (options?.client ?? client).delete({
135
- ...options,
136
- url: '/links/{link_id}'
137
- });
138
- };
139
- export const deleteLinksDeleteBulk = (options) => {
140
- return (options?.client ?? client).delete({
141
- ...options,
142
- headers: {
143
- 'Content-Type': 'application/json',
144
- ...options?.headers
145
- },
146
- url: '/links/delete_bulk'
147
- });
148
- };
149
- export const postLinksArchive = (options) => {
150
- return (options?.client ?? client).post({
151
- ...options,
152
- headers: {
153
- 'Content-Type': 'application/json',
154
- ...options?.headers
155
- },
156
- url: '/links/archive'
157
- });
158
- };
159
- export const postLinksArchiveBulk = (options) => {
160
- return (options?.client ?? client).post({
161
- ...options,
162
- headers: {
163
- 'Content-Type': 'application/json',
164
- ...options?.headers
165
- },
166
- url: '/links/archive_bulk'
167
- });
168
- };
169
- export const postLinksUnarchive = (options) => {
170
- return (options?.client ?? client).post({
171
- ...options,
172
- headers: {
173
- 'Content-Type': 'application/json',
174
- ...options?.headers
175
- },
176
- url: '/links/unarchive'
177
- });
178
- };
179
- export const postLinksUnarchiveBulk = (options) => {
180
- return (options?.client ?? client).post({
181
- ...options,
182
- headers: {
183
- 'Content-Type': 'application/json',
184
- ...options?.headers
185
- },
186
- url: '/links/unarchive_bulk'
187
- });
188
- };
189
- export const getLinksByLinkId = (options) => {
190
- return (options?.client ?? client).get({
191
- ...options,
192
- url: '/links/{linkId}'
193
- });
194
- };
195
- export const postLinksByLinkId = (options) => {
196
- return (options?.client ?? client).post({
197
- ...options,
198
- headers: {
199
- 'Content-Type': 'application/json',
200
- ...options?.headers
201
- },
202
- url: '/links/{linkId}'
203
- });
204
- };
205
- export const getLinksExpand = (options) => {
206
- return (options?.client ?? client).get({
207
- ...options,
208
- url: '/links/expand'
209
- });
210
- };
211
- export const getLinksByOriginalUrl = (options) => {
212
- return (options?.client ?? client).get({
213
- ...options,
214
- url: '/links/by-original-url'
215
- });
216
- };
217
- export const getLinksMultipleByUrl = (options) => {
218
- return (options?.client ?? client).get({
219
- ...options,
220
- url: '/links/multiple-by-url'
221
- });
222
- };
223
- export const postLinks = (options) => {
224
- return (options?.client ?? client).post({
225
- ...options,
226
- headers: {
227
- 'Content-Type': 'application/json',
228
- ...options?.headers
229
- },
230
- url: '/links'
231
- });
232
- };
233
- export const getLinksTweetbot = (options) => {
234
- return (options?.client ?? client).get({
235
- ...options,
236
- url: '/links/tweetbot'
237
- });
238
- };
239
- export const postLinksPublic = (options) => {
240
- return (options?.client ?? client).post({
241
- ...options,
242
- headers: {
243
- 'Content-Type': 'application/json',
244
- ...options?.headers
245
- },
246
- url: '/links/public'
247
- });
248
- };
249
- export const postLinksBulk = (options) => {
250
- return (options?.client ?? client).post({
251
- ...options,
252
- headers: {
253
- 'Content-Type': 'application/json',
254
- ...options?.headers
255
- },
256
- url: '/links/bulk'
257
- });
258
- };
259
- export const getApiDomains = (options) => {
260
- return (options?.client ?? client).get({
261
- ...options,
262
- url: '/api/domains'
263
- });
264
- };
265
- export const getDomainsByDomainId = (options) => {
266
- return (options?.client ?? client).get({
267
- ...options,
268
- url: '/domains/{domainId}'
269
- });
270
- };
271
- export const postDomains = (options) => {
272
- return (options?.client ?? client).post({
273
- ...options,
274
- headers: {
275
- 'Content-Type': 'application/json',
276
- ...options?.headers
277
- },
278
- url: '/domains'
279
- });
280
- };
281
- export const postDomainsSettingsByDomainId = (options) => {
282
- return (options?.client ?? client).post({
283
- ...options,
284
- headers: {
285
- 'Content-Type': 'application/json',
286
- ...options?.headers
287
- },
288
- url: '/domains/settings/{domainId}'
289
- });
290
- };
291
- export const postTagsBulk = (options) => {
292
- return (options?.client ?? client).post({
293
- ...options,
294
- headers: {
295
- 'Content-Type': 'application/json',
296
- ...options?.headers
297
- },
298
- url: '/tags/bulk'
299
- });
300
- };
301
- export const getLinksFoldersByDomainId = (options) => {
302
- return (options?.client ?? client).get({
303
- ...options,
304
- url: '/links/folders/{domainId}'
305
- });
306
- };
307
- export const getLinksFoldersByDomainIdByFolderId = (options) => {
308
- return (options?.client ?? client).get({
309
- ...options,
310
- url: '/links/folders/{domainId}/{folderId}'
311
- });
312
- };
313
- export const postLinksFolders = (options) => {
314
- return (options?.client ?? client).post({
315
- ...options,
316
- headers: {
317
- 'Content-Type': 'application/json',
318
- ...options?.headers
319
- },
320
- url: '/links/folders'
321
- });
322
- };
1
+ import { client } from './client.gen.js';
2
+ export const getLinkOpengraph = (options) => (options.client ?? client).get({
3
+ security: [{ name: 'Authorization', type: 'apiKey' }],
4
+ url: '/links/opengraph/{domainId}/{linkId}',
5
+ ...options
6
+ });
7
+ export const updateLinkOpengraph = (options) => (options.client ?? client).put({
8
+ security: [{ name: 'Authorization', type: 'apiKey' }],
9
+ url: '/links/opengraph/{domainId}/{linkId}',
10
+ ...options,
11
+ headers: {
12
+ 'Content-Type': 'application/json',
13
+ ...options.headers
14
+ }
15
+ });
16
+ export const getLinkCountries = (options) => (options.client ?? client).get({
17
+ security: [{ name: 'Authorization', type: 'apiKey' }],
18
+ url: '/link_country/{linkId}',
19
+ ...options
20
+ });
21
+ export const createLinkCountry = (options) => (options.client ?? client).post({
22
+ security: [{ name: 'Authorization', type: 'apiKey' }],
23
+ url: '/link_country/{linkId}',
24
+ ...options,
25
+ headers: {
26
+ 'Content-Type': 'application/json',
27
+ ...options.headers
28
+ }
29
+ });
30
+ export const createLinkCountriesBulk = (options) => (options.client ?? client).post({
31
+ security: [{ name: 'Authorization', type: 'apiKey' }],
32
+ url: '/link_country/bulk/{linkId}',
33
+ ...options,
34
+ headers: {
35
+ 'Content-Type': 'application/json',
36
+ ...options.headers
37
+ }
38
+ });
39
+ export const deleteLinkCountry = (options) => (options.client ?? client).delete({
40
+ security: [{ name: 'Authorization', type: 'apiKey' }],
41
+ url: '/link_country/{linkId}/{country}',
42
+ ...options
43
+ });
44
+ export const getLinkRegions = (options) => (options.client ?? client).get({
45
+ security: [{ name: 'Authorization', type: 'apiKey' }],
46
+ url: '/link_region/{linkId}',
47
+ ...options
48
+ });
49
+ export const createLinkRegion = (options) => (options.client ?? client).post({
50
+ security: [{ name: 'Authorization', type: 'apiKey' }],
51
+ url: '/link_region/{linkId}',
52
+ ...options,
53
+ headers: {
54
+ 'Content-Type': 'application/json',
55
+ ...options.headers
56
+ }
57
+ });
58
+ export const getRegionsByCountry = (options) => (options.client ?? client).get({
59
+ security: [{ name: 'Authorization', type: 'apiKey' }],
60
+ url: '/link_region/list/{country}',
61
+ ...options
62
+ });
63
+ export const createLinkRegionsBulk = (options) => (options.client ?? client).post({
64
+ security: [{ name: 'Authorization', type: 'apiKey' }],
65
+ url: '/link_region/bulk/{linkId}',
66
+ ...options,
67
+ headers: {
68
+ 'Content-Type': 'application/json',
69
+ ...options.headers
70
+ }
71
+ });
72
+ export const deleteLinkRegion = (options) => (options.client ?? client).delete({
73
+ security: [{ name: 'Authorization', type: 'apiKey' }],
74
+ url: '/link_region/{linkId}/{country}/{region}',
75
+ ...options
76
+ });
77
+ export const getLinkPermissions = (options) => (options.client ?? client).get({
78
+ security: [{ name: 'Authorization', type: 'apiKey' }],
79
+ url: '/links/permissions/{domainId}/{linkId}',
80
+ ...options
81
+ });
82
+ export const deleteLinkPermission = (options) => (options.client ?? client).delete({
83
+ security: [{ name: 'Authorization', type: 'apiKey' }],
84
+ url: '/links/permissions/{domainId}/{linkId}/{userId}',
85
+ ...options
86
+ });
87
+ export const addLinkPermission = (options) => (options.client ?? client).post({
88
+ security: [{ name: 'Authorization', type: 'apiKey' }],
89
+ url: '/links/permissions/{domainId}/{linkId}/{userId}',
90
+ ...options
91
+ });
92
+ export const listLinks = (options) => (options.client ?? client).get({
93
+ security: [{ name: 'Authorization', type: 'apiKey' }],
94
+ url: '/api/links',
95
+ ...options
96
+ });
97
+ export const generateQrCode = (options) => (options.client ?? client).post({
98
+ security: [{ name: 'Authorization', type: 'apiKey' }],
99
+ url: '/links/qr/{linkIdString}',
100
+ ...options,
101
+ headers: {
102
+ 'Content-Type': 'application/json',
103
+ ...options.headers
104
+ }
105
+ });
106
+ export const generateQrCodesBulk = (options) => (options.client ?? client).post({
107
+ security: [{ name: 'Authorization', type: 'apiKey' }],
108
+ url: '/links/qr/bulk',
109
+ ...options,
110
+ headers: {
111
+ 'Content-Type': 'application/json',
112
+ ...options.headers
113
+ }
114
+ });
115
+ export const deleteLink = (options) => (options.client ?? client).delete({
116
+ security: [{ name: 'Authorization', type: 'apiKey' }],
117
+ url: '/links/{link_id}',
118
+ ...options
119
+ });
120
+ export const deleteLinksBulk = (options) => (options.client ?? client).delete({
121
+ security: [{ name: 'Authorization', type: 'apiKey' }],
122
+ url: '/links/delete_bulk',
123
+ ...options,
124
+ headers: {
125
+ 'Content-Type': 'application/json',
126
+ ...options.headers
127
+ }
128
+ });
129
+ export const archiveLink = (options) => (options.client ?? client).post({
130
+ security: [{ name: 'Authorization', type: 'apiKey' }],
131
+ url: '/links/archive',
132
+ ...options,
133
+ headers: {
134
+ 'Content-Type': 'application/json',
135
+ ...options.headers
136
+ }
137
+ });
138
+ export const archiveLinksBulk = (options) => (options.client ?? client).post({
139
+ security: [{ name: 'Authorization', type: 'apiKey' }],
140
+ url: '/links/archive_bulk',
141
+ ...options,
142
+ headers: {
143
+ 'Content-Type': 'application/json',
144
+ ...options.headers
145
+ }
146
+ });
147
+ export const unarchiveLink = (options) => (options.client ?? client).post({
148
+ security: [{ name: 'Authorization', type: 'apiKey' }],
149
+ url: '/links/unarchive',
150
+ ...options,
151
+ headers: {
152
+ 'Content-Type': 'application/json',
153
+ ...options.headers
154
+ }
155
+ });
156
+ export const unarchiveLinksBulk = (options) => (options.client ?? client).post({
157
+ security: [{ name: 'Authorization', type: 'apiKey' }],
158
+ url: '/links/unarchive_bulk',
159
+ ...options,
160
+ headers: {
161
+ 'Content-Type': 'application/json',
162
+ ...options.headers
163
+ }
164
+ });
165
+ export const getLink = (options) => (options.client ?? client).get({
166
+ security: [{ name: 'Authorization', type: 'apiKey' }],
167
+ url: '/links/{linkId}',
168
+ ...options
169
+ });
170
+ export const updateLink = (options) => (options.client ?? client).post({
171
+ security: [{ name: 'Authorization', type: 'apiKey' }],
172
+ url: '/links/{linkId}',
173
+ ...options,
174
+ headers: {
175
+ 'Content-Type': 'application/json',
176
+ ...options.headers
177
+ }
178
+ });
179
+ export const expandLink = (options) => (options.client ?? client).get({
180
+ security: [{ name: 'Authorization', type: 'apiKey' }],
181
+ url: '/links/expand',
182
+ ...options
183
+ });
184
+ export const getLinkByOriginalUrl = (options) => (options.client ?? client).get({
185
+ security: [{ name: 'Authorization', type: 'apiKey' }],
186
+ url: '/links/by-original-url',
187
+ ...options
188
+ });
189
+ export const getLinksByUrl = (options) => (options.client ?? client).get({
190
+ security: [{ name: 'Authorization', type: 'apiKey' }],
191
+ url: '/links/multiple-by-url',
192
+ ...options
193
+ });
194
+ export const createLink = (options) => (options?.client ?? client).post({
195
+ security: [{ name: 'Authorization', type: 'apiKey' }],
196
+ url: '/links',
197
+ ...options,
198
+ headers: {
199
+ 'Content-Type': 'application/json',
200
+ ...options?.headers
201
+ }
202
+ });
203
+ export const createLinkSimple = (options) => (options.client ?? client).get({
204
+ security: [{ name: 'Authorization', type: 'apiKey' }],
205
+ url: '/links/tweetbot',
206
+ ...options
207
+ });
208
+ export const createLinkPublic = (options) => (options.client ?? client).post({
209
+ security: [{ name: 'Authorization', type: 'apiKey' }],
210
+ url: '/links/public',
211
+ ...options,
212
+ headers: {
213
+ 'Content-Type': 'application/json',
214
+ ...options.headers
215
+ }
216
+ });
217
+ export const createLinksBulk = (options) => (options.client ?? client).post({
218
+ security: [{ name: 'Authorization', type: 'apiKey' }],
219
+ url: '/links/bulk',
220
+ ...options,
221
+ headers: {
222
+ 'Content-Type': 'application/json',
223
+ ...options.headers
224
+ }
225
+ });
226
+ export const createExampleLinks = (options) => (options.client ?? client).post({
227
+ security: [{ name: 'Authorization', type: 'apiKey' }],
228
+ url: '/links/examples',
229
+ ...options,
230
+ headers: {
231
+ 'Content-Type': 'application/json',
232
+ ...options.headers
233
+ }
234
+ });
235
+ export const duplicateLink = (options) => (options.client ?? client).post({
236
+ security: [{ name: 'Authorization', type: 'apiKey' }],
237
+ url: '/links/duplicate/{linkId}',
238
+ ...options,
239
+ headers: {
240
+ 'Content-Type': 'application/json',
241
+ ...options.headers
242
+ }
243
+ });
244
+ export const listDomains = (options) => (options?.client ?? client).get({
245
+ security: [{ name: 'Authorization', type: 'apiKey' }],
246
+ url: '/api/domains',
247
+ ...options
248
+ });
249
+ export const getDomain = (options) => (options.client ?? client).get({
250
+ security: [{ name: 'Authorization', type: 'apiKey' }],
251
+ url: '/domains/{domainId}',
252
+ ...options
253
+ });
254
+ export const updateDomainSettings = (options) => (options.client ?? client).post({
255
+ security: [{ name: 'Authorization', type: 'apiKey' }],
256
+ url: '/domains/settings/{domainId}',
257
+ ...options,
258
+ headers: {
259
+ 'Content-Type': 'application/json',
260
+ ...options.headers
261
+ }
262
+ });
263
+ export const addTagsBulk = (options) => (options.client ?? client).post({
264
+ security: [{ name: 'Authorization', type: 'apiKey' }],
265
+ url: '/tags/bulk',
266
+ ...options,
267
+ headers: {
268
+ 'Content-Type': 'application/json',
269
+ ...options.headers
270
+ }
271
+ });
272
+ export const createDomain = (options) => (options.client ?? client).post({
273
+ security: [{ name: 'Authorization', type: 'apiKey' }],
274
+ url: '/domains',
275
+ ...options,
276
+ headers: {
277
+ 'Content-Type': 'application/json',
278
+ ...options.headers
279
+ }
280
+ });
281
+ export const listFolders = (options) => (options.client ?? client).get({
282
+ security: [{ name: 'Authorization', type: 'apiKey' }],
283
+ url: '/links/folders/{domainId}',
284
+ ...options
285
+ });
286
+ export const getFolder = (options) => (options.client ?? client).get({
287
+ security: [{ name: 'Authorization', type: 'apiKey' }],
288
+ url: '/links/folders/{domainId}/{folderId}',
289
+ ...options
290
+ });
291
+ export const createFolder = (options) => (options.client ?? client).post({
292
+ security: [{ name: 'Authorization', type: 'apiKey' }],
293
+ url: '/links/folders',
294
+ ...options,
295
+ headers: {
296
+ 'Content-Type': 'application/json',
297
+ ...options.headers
298
+ }
299
+ });
323
300
  //# sourceMappingURL=sdk.gen.js.map