@meshery/schemas 1.3.60 → 1.3.62
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/README.md +9 -1
- package/dist/cloudApi.d.mts +19666 -6714
- package/dist/cloudApi.d.ts +19666 -6714
- package/dist/cloudApi.js +1 -1
- package/dist/cloudApi.mjs +1 -1
- package/dist/constructs/v1beta1/organization_smtp/OrganizationSmtp.d.ts +2 -2
- package/dist/constructs/v1beta1/organization_smtp/OrganizationSmtpSchema.js +1 -1
- package/dist/constructs/v1beta1/organization_smtp/OrganizationSmtpSchema.mjs +1 -1
- package/dist/constructs/v1beta1/registry/Registry.d.ts +6 -6
- package/dist/constructs/v1beta1/registry/RegistrySchema.js +3 -3
- package/dist/constructs/v1beta1/registry/RegistrySchema.mjs +3 -3
- package/dist/constructs/v1beta3/academy/Academy.d.ts +18 -0
- package/dist/constructs/v1beta3/academy/AcademySchema.js +2 -2
- package/dist/constructs/v1beta3/academy/AcademySchema.mjs +2 -2
- package/dist/constructs/v1beta3/blowhorn_binding/BlowhornBinding.d.ts +462 -0
- package/dist/constructs/v1beta3/blowhorn_binding/BlowhornBinding.js +1 -0
- package/dist/constructs/v1beta3/blowhorn_binding/BlowhornBinding.mjs +0 -0
- package/dist/constructs/v1beta3/blowhorn_binding/BlowhornBindingSchema.d.ts +2 -0
- package/dist/constructs/v1beta3/blowhorn_binding/BlowhornBindingSchema.js +23 -0
- package/dist/constructs/v1beta3/blowhorn_binding/BlowhornBindingSchema.mjs +23 -0
- package/dist/constructs/v1beta3/blowhorn_content/BlowhornContent.d.ts +719 -0
- package/dist/constructs/v1beta3/blowhorn_content/BlowhornContent.js +1 -0
- package/dist/constructs/v1beta3/blowhorn_content/BlowhornContent.mjs +0 -0
- package/dist/constructs/v1beta3/blowhorn_content/BlowhornContentSchema.d.ts +2 -0
- package/dist/constructs/v1beta3/blowhorn_content/BlowhornContentSchema.js +43 -0
- package/dist/constructs/v1beta3/blowhorn_content/BlowhornContentSchema.mjs +43 -0
- package/dist/constructs/v1beta3/blowhorn_destination/BlowhornDestination.d.ts +516 -0
- package/dist/constructs/v1beta3/blowhorn_destination/BlowhornDestination.js +1 -0
- package/dist/constructs/v1beta3/blowhorn_destination/BlowhornDestination.mjs +0 -0
- package/dist/constructs/v1beta3/blowhorn_destination/BlowhornDestinationSchema.d.ts +2 -0
- package/dist/constructs/v1beta3/blowhorn_destination/BlowhornDestinationSchema.js +23 -0
- package/dist/constructs/v1beta3/blowhorn_destination/BlowhornDestinationSchema.mjs +23 -0
- package/dist/constructs/v1beta3/blowhorn_health/BlowhornHealth.d.ts +131 -0
- package/dist/constructs/v1beta3/blowhorn_health/BlowhornHealth.js +1 -0
- package/dist/constructs/v1beta3/blowhorn_health/BlowhornHealth.mjs +0 -0
- package/dist/constructs/v1beta3/blowhorn_health/BlowhornHealthSchema.d.ts +2 -0
- package/dist/constructs/v1beta3/blowhorn_health/BlowhornHealthSchema.js +7 -0
- package/dist/constructs/v1beta3/blowhorn_health/BlowhornHealthSchema.mjs +7 -0
- package/dist/constructs/v1beta3/blowhorn_ledger/BlowhornLedger.d.ts +1546 -0
- package/dist/constructs/v1beta3/blowhorn_ledger/BlowhornLedger.js +1 -0
- package/dist/constructs/v1beta3/blowhorn_ledger/BlowhornLedger.mjs +0 -0
- package/dist/constructs/v1beta3/blowhorn_ledger/BlowhornLedgerSchema.d.ts +2 -0
- package/dist/constructs/v1beta3/blowhorn_ledger/BlowhornLedgerSchema.js +69 -0
- package/dist/constructs/v1beta3/blowhorn_ledger/BlowhornLedgerSchema.mjs +69 -0
- package/dist/constructs/v1beta3/blowhorn_profile/BlowhornProfile.d.ts +776 -0
- package/dist/constructs/v1beta3/blowhorn_profile/BlowhornProfile.js +1 -0
- package/dist/constructs/v1beta3/blowhorn_profile/BlowhornProfile.mjs +0 -0
- package/dist/constructs/v1beta3/blowhorn_profile/BlowhornProfileSchema.d.ts +2 -0
- package/dist/constructs/v1beta3/blowhorn_profile/BlowhornProfileSchema.js +45 -0
- package/dist/constructs/v1beta3/blowhorn_profile/BlowhornProfileSchema.mjs +45 -0
- package/dist/constructs/v1beta3/blowhorn_run/BlowhornRun.d.ts +784 -0
- package/dist/constructs/v1beta3/blowhorn_run/BlowhornRun.js +1 -0
- package/dist/constructs/v1beta3/blowhorn_run/BlowhornRun.mjs +0 -0
- package/dist/constructs/v1beta3/blowhorn_run/BlowhornRunSchema.d.ts +2 -0
- package/dist/constructs/v1beta3/blowhorn_run/BlowhornRunSchema.js +51 -0
- package/dist/constructs/v1beta3/blowhorn_run/BlowhornRunSchema.mjs +51 -0
- package/dist/constructs/v1beta3/connection/Connection.d.ts +14 -14
- package/dist/constructs/v1beta3/connection/ConnectionSchema.js +1 -1
- package/dist/constructs/v1beta3/connection/ConnectionSchema.mjs +1 -1
- package/dist/constructs/v1beta3/environment/Environment.d.ts +12 -12
- package/dist/constructs/v1beta3/environment/EnvironmentSchema.js +1 -1
- package/dist/constructs/v1beta3/environment/EnvironmentSchema.mjs +1 -1
- package/dist/constructs/v1beta3/invitation/Invitation.d.ts +66 -0
- package/dist/constructs/v1beta3/invitation/InvitationSchema.js +1 -1
- package/dist/constructs/v1beta3/invitation/InvitationSchema.mjs +1 -1
- package/dist/constructs/v1beta3/job_lease/JobLease.d.ts +2570 -0
- package/dist/constructs/v1beta3/job_lease/JobLease.js +1 -0
- package/dist/constructs/v1beta3/job_lease/JobLease.mjs +0 -0
- package/dist/constructs/v1beta3/job_lease/JobLeaseSchema.d.ts +2 -0
- package/dist/constructs/v1beta3/job_lease/JobLeaseSchema.js +83 -0
- package/dist/constructs/v1beta3/job_lease/JobLeaseSchema.mjs +83 -0
- package/dist/constructs/v1beta3/token/Token.d.ts +4 -2
- package/dist/constructs/v1beta3/token/TokenSchema.js +1 -1
- package/dist/constructs/v1beta3/token/TokenSchema.mjs +1 -1
- package/dist/constructs/v1beta3/workspace/Workspace.d.ts +2 -2
- package/dist/constructs/v1beta3/workspace/WorkspaceSchema.js +1 -1
- package/dist/constructs/v1beta3/workspace/WorkspaceSchema.mjs +1 -1
- package/dist/mesheryApi.d.mts +24 -24
- package/dist/mesheryApi.d.ts +24 -24
- package/dist/mesheryApi.js +1 -1
- package/dist/mesheryApi.mjs +1 -1
- package/package.json +2 -1
|
@@ -0,0 +1,516 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by openapi-typescript.
|
|
3
|
+
* Do not make direct changes to the file.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
export interface paths {
|
|
7
|
+
"/api/blowhorn/destinations": {
|
|
8
|
+
parameters: {
|
|
9
|
+
query?: never;
|
|
10
|
+
header?: never;
|
|
11
|
+
path?: never;
|
|
12
|
+
cookie?: never;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* List Blowhorn destinations
|
|
16
|
+
* @description Returns a paginated list of Blowhorn destinations in the organization of the authenticated session.
|
|
17
|
+
*/
|
|
18
|
+
get: operations["listBlowhornDestinations"];
|
|
19
|
+
put?: never;
|
|
20
|
+
/**
|
|
21
|
+
* Upsert Blowhorn destination
|
|
22
|
+
* @description Creates a new Blowhorn destination when no `id` is supplied, or
|
|
23
|
+
* updates the entry matching the provided `id`. Ownership is
|
|
24
|
+
* derived from the authenticated session; any client-supplied
|
|
25
|
+
* owner is ignored.
|
|
26
|
+
*/
|
|
27
|
+
post: operations["upsertBlowhornDestination"];
|
|
28
|
+
delete?: never;
|
|
29
|
+
options?: never;
|
|
30
|
+
head?: never;
|
|
31
|
+
patch?: never;
|
|
32
|
+
trace?: never;
|
|
33
|
+
};
|
|
34
|
+
"/api/blowhorn/destinations/{blowhornDestinationId}": {
|
|
35
|
+
parameters: {
|
|
36
|
+
query?: never;
|
|
37
|
+
header?: never;
|
|
38
|
+
path?: never;
|
|
39
|
+
cookie?: never;
|
|
40
|
+
};
|
|
41
|
+
/** Get Blowhorn destination by ID */
|
|
42
|
+
get: operations["getBlowhornDestination"];
|
|
43
|
+
put?: never;
|
|
44
|
+
post?: never;
|
|
45
|
+
delete?: never;
|
|
46
|
+
options?: never;
|
|
47
|
+
head?: never;
|
|
48
|
+
patch?: never;
|
|
49
|
+
trace?: never;
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
export type webhooks = Record<string, never>;
|
|
53
|
+
export interface components {
|
|
54
|
+
schemas: {
|
|
55
|
+
/**
|
|
56
|
+
* Blowhorn Destination Schema
|
|
57
|
+
* @description Server-returned Blowhorn destination as persisted by meshery-cloud. A
|
|
58
|
+
* destination names where an organization publishes on a platform. An
|
|
59
|
+
* environment reference may be attached later; destinations do not carry
|
|
60
|
+
* one in this version.
|
|
61
|
+
*/
|
|
62
|
+
BlowhornDestination: {
|
|
63
|
+
/**
|
|
64
|
+
* Format: uuid
|
|
65
|
+
* @description Server-generated Blowhorn destination ID.
|
|
66
|
+
*/
|
|
67
|
+
id: string;
|
|
68
|
+
/**
|
|
69
|
+
* Format: uuid
|
|
70
|
+
* @description Owning organization ID. Derived from the authenticated session, never client-settable.
|
|
71
|
+
*/
|
|
72
|
+
organizationId: string;
|
|
73
|
+
/** @description Human-readable destination name. */
|
|
74
|
+
name?: string;
|
|
75
|
+
/** @description Target platform for the destination (e.g. linkedin). */
|
|
76
|
+
platform: string;
|
|
77
|
+
/** @description Platform-side publishing target (page, group or channel identifier). */
|
|
78
|
+
target?: string;
|
|
79
|
+
/** @description Destination settings, stored as a JSON blob. */
|
|
80
|
+
settings?: Record<string, never>;
|
|
81
|
+
/**
|
|
82
|
+
* Format: date-time
|
|
83
|
+
* @description Timestamp of Blowhorn destination creation.
|
|
84
|
+
*/
|
|
85
|
+
createdAt: string;
|
|
86
|
+
/**
|
|
87
|
+
* Format: date-time
|
|
88
|
+
* @description Timestamp of last Blowhorn destination modification.
|
|
89
|
+
*/
|
|
90
|
+
updatedAt: string;
|
|
91
|
+
/**
|
|
92
|
+
* Format: date-time
|
|
93
|
+
* @description Timestamp when the Blowhorn destination was soft-deleted.
|
|
94
|
+
*/
|
|
95
|
+
deletedAt?: string | null;
|
|
96
|
+
};
|
|
97
|
+
/**
|
|
98
|
+
* @description Payload for creating or updating a Blowhorn destination. Contains
|
|
99
|
+
* only client-settable fields; the owning `organizationId` (derived
|
|
100
|
+
* from the authenticated session) and the server-generated
|
|
101
|
+
* `createdAt` / `updatedAt` timestamps are intentionally excluded.
|
|
102
|
+
*/
|
|
103
|
+
BlowhornDestinationPayload: {
|
|
104
|
+
/**
|
|
105
|
+
* Format: uuid
|
|
106
|
+
* @description Existing Blowhorn destination ID for updates; omit on create.
|
|
107
|
+
*/
|
|
108
|
+
id?: string;
|
|
109
|
+
/** @description Human-readable destination name. */
|
|
110
|
+
name?: string;
|
|
111
|
+
/** @description Target platform for the destination (e.g. linkedin). */
|
|
112
|
+
platform: string;
|
|
113
|
+
/** @description Platform-side publishing target (page, group or channel identifier). */
|
|
114
|
+
target?: string;
|
|
115
|
+
/** @description Destination settings, stored as a JSON blob. */
|
|
116
|
+
settings?: Record<string, never>;
|
|
117
|
+
};
|
|
118
|
+
/** @description Paginated collection of Blowhorn destinations. */
|
|
119
|
+
BlowhornDestinationPage: {
|
|
120
|
+
/** @description Current page number of the result set. */
|
|
121
|
+
page?: number;
|
|
122
|
+
/** @description Number of items per page. */
|
|
123
|
+
pageSize?: number;
|
|
124
|
+
/** @description Total number of items available. */
|
|
125
|
+
totalCount?: number;
|
|
126
|
+
/** @description Blowhorn destinations included on this page of results. */
|
|
127
|
+
blowhornDestinations?: {
|
|
128
|
+
/**
|
|
129
|
+
* Format: uuid
|
|
130
|
+
* @description Server-generated Blowhorn destination ID.
|
|
131
|
+
*/
|
|
132
|
+
id: string;
|
|
133
|
+
/**
|
|
134
|
+
* Format: uuid
|
|
135
|
+
* @description Owning organization ID. Derived from the authenticated session, never client-settable.
|
|
136
|
+
*/
|
|
137
|
+
organizationId: string;
|
|
138
|
+
/** @description Human-readable destination name. */
|
|
139
|
+
name?: string;
|
|
140
|
+
/** @description Target platform for the destination (e.g. linkedin). */
|
|
141
|
+
platform: string;
|
|
142
|
+
/** @description Platform-side publishing target (page, group or channel identifier). */
|
|
143
|
+
target?: string;
|
|
144
|
+
/** @description Destination settings, stored as a JSON blob. */
|
|
145
|
+
settings?: Record<string, never>;
|
|
146
|
+
/**
|
|
147
|
+
* Format: date-time
|
|
148
|
+
* @description Timestamp of Blowhorn destination creation.
|
|
149
|
+
*/
|
|
150
|
+
createdAt: string;
|
|
151
|
+
/**
|
|
152
|
+
* Format: date-time
|
|
153
|
+
* @description Timestamp of last Blowhorn destination modification.
|
|
154
|
+
*/
|
|
155
|
+
updatedAt: string;
|
|
156
|
+
/**
|
|
157
|
+
* Format: date-time
|
|
158
|
+
* @description Timestamp when the Blowhorn destination was soft-deleted.
|
|
159
|
+
*/
|
|
160
|
+
deletedAt?: string | null;
|
|
161
|
+
}[];
|
|
162
|
+
};
|
|
163
|
+
};
|
|
164
|
+
responses: {
|
|
165
|
+
/** @description Invalid request body or request param */
|
|
166
|
+
400: {
|
|
167
|
+
headers: {
|
|
168
|
+
[name: string]: unknown;
|
|
169
|
+
};
|
|
170
|
+
content: {
|
|
171
|
+
"text/plain": string;
|
|
172
|
+
};
|
|
173
|
+
};
|
|
174
|
+
/** @description Expired JWT token used or insufficient privilege */
|
|
175
|
+
401: {
|
|
176
|
+
headers: {
|
|
177
|
+
[name: string]: unknown;
|
|
178
|
+
};
|
|
179
|
+
content: {
|
|
180
|
+
"text/plain": string;
|
|
181
|
+
};
|
|
182
|
+
};
|
|
183
|
+
/** @description Result not found */
|
|
184
|
+
404: {
|
|
185
|
+
headers: {
|
|
186
|
+
[name: string]: unknown;
|
|
187
|
+
};
|
|
188
|
+
content: {
|
|
189
|
+
"text/plain": string;
|
|
190
|
+
};
|
|
191
|
+
};
|
|
192
|
+
/** @description Internal server error */
|
|
193
|
+
500: {
|
|
194
|
+
headers: {
|
|
195
|
+
[name: string]: unknown;
|
|
196
|
+
};
|
|
197
|
+
content: {
|
|
198
|
+
"text/plain": string;
|
|
199
|
+
};
|
|
200
|
+
};
|
|
201
|
+
};
|
|
202
|
+
parameters: {
|
|
203
|
+
/** @description Blowhorn destination ID */
|
|
204
|
+
blowhornDestinationId: string;
|
|
205
|
+
/** @description Get responses by page */
|
|
206
|
+
page: number;
|
|
207
|
+
/** @description Number of items per page (canonical camelCase form). */
|
|
208
|
+
pageSize: number;
|
|
209
|
+
/**
|
|
210
|
+
* @deprecated
|
|
211
|
+
* @description Number of items per page. Deprecated alias of pageSize;
|
|
212
|
+
* canonical `pageSize` wins when both are present.
|
|
213
|
+
*/
|
|
214
|
+
pagesize: number;
|
|
215
|
+
/** @description Get responses that match search param value */
|
|
216
|
+
search: string;
|
|
217
|
+
/** @description Get ordered responses */
|
|
218
|
+
order: string;
|
|
219
|
+
};
|
|
220
|
+
requestBodies: never;
|
|
221
|
+
headers: never;
|
|
222
|
+
pathItems: never;
|
|
223
|
+
}
|
|
224
|
+
export type $defs = Record<string, never>;
|
|
225
|
+
export interface operations {
|
|
226
|
+
listBlowhornDestinations: {
|
|
227
|
+
parameters: {
|
|
228
|
+
query?: {
|
|
229
|
+
/** @description Get responses by page */
|
|
230
|
+
page?: number;
|
|
231
|
+
/** @description Number of items per page (canonical camelCase form). */
|
|
232
|
+
pageSize?: number;
|
|
233
|
+
/**
|
|
234
|
+
* @deprecated
|
|
235
|
+
* @description Number of items per page. Deprecated alias of pageSize;
|
|
236
|
+
* canonical `pageSize` wins when both are present.
|
|
237
|
+
*/
|
|
238
|
+
pagesize?: number;
|
|
239
|
+
/** @description Get responses that match search param value */
|
|
240
|
+
search?: string;
|
|
241
|
+
/** @description Get ordered responses */
|
|
242
|
+
order?: string;
|
|
243
|
+
/** @description Filter by target platform (e.g. linkedin). */
|
|
244
|
+
platform?: string;
|
|
245
|
+
};
|
|
246
|
+
header?: never;
|
|
247
|
+
path?: never;
|
|
248
|
+
cookie?: never;
|
|
249
|
+
};
|
|
250
|
+
requestBody?: never;
|
|
251
|
+
responses: {
|
|
252
|
+
/** @description Blowhorn destinations page */
|
|
253
|
+
200: {
|
|
254
|
+
headers: {
|
|
255
|
+
[name: string]: unknown;
|
|
256
|
+
};
|
|
257
|
+
content: {
|
|
258
|
+
"application/json": {
|
|
259
|
+
/** @description Current page number of the result set. */
|
|
260
|
+
page?: number;
|
|
261
|
+
/** @description Number of items per page. */
|
|
262
|
+
pageSize?: number;
|
|
263
|
+
/** @description Total number of items available. */
|
|
264
|
+
totalCount?: number;
|
|
265
|
+
/** @description Blowhorn destinations included on this page of results. */
|
|
266
|
+
blowhornDestinations?: {
|
|
267
|
+
/**
|
|
268
|
+
* Format: uuid
|
|
269
|
+
* @description Server-generated Blowhorn destination ID.
|
|
270
|
+
*/
|
|
271
|
+
id: string;
|
|
272
|
+
/**
|
|
273
|
+
* Format: uuid
|
|
274
|
+
* @description Owning organization ID. Derived from the authenticated session, never client-settable.
|
|
275
|
+
*/
|
|
276
|
+
organizationId: string;
|
|
277
|
+
/** @description Human-readable destination name. */
|
|
278
|
+
name?: string;
|
|
279
|
+
/** @description Target platform for the destination (e.g. linkedin). */
|
|
280
|
+
platform: string;
|
|
281
|
+
/** @description Platform-side publishing target (page, group or channel identifier). */
|
|
282
|
+
target?: string;
|
|
283
|
+
/** @description Destination settings, stored as a JSON blob. */
|
|
284
|
+
settings?: Record<string, never>;
|
|
285
|
+
/**
|
|
286
|
+
* Format: date-time
|
|
287
|
+
* @description Timestamp of Blowhorn destination creation.
|
|
288
|
+
*/
|
|
289
|
+
createdAt: string;
|
|
290
|
+
/**
|
|
291
|
+
* Format: date-time
|
|
292
|
+
* @description Timestamp of last Blowhorn destination modification.
|
|
293
|
+
*/
|
|
294
|
+
updatedAt: string;
|
|
295
|
+
/**
|
|
296
|
+
* Format: date-time
|
|
297
|
+
* @description Timestamp when the Blowhorn destination was soft-deleted.
|
|
298
|
+
*/
|
|
299
|
+
deletedAt?: string | null;
|
|
300
|
+
}[];
|
|
301
|
+
};
|
|
302
|
+
};
|
|
303
|
+
};
|
|
304
|
+
/** @description Expired JWT token used or insufficient privilege */
|
|
305
|
+
401: {
|
|
306
|
+
headers: {
|
|
307
|
+
[name: string]: unknown;
|
|
308
|
+
};
|
|
309
|
+
content: {
|
|
310
|
+
"text/plain": string;
|
|
311
|
+
};
|
|
312
|
+
};
|
|
313
|
+
/** @description Internal server error */
|
|
314
|
+
500: {
|
|
315
|
+
headers: {
|
|
316
|
+
[name: string]: unknown;
|
|
317
|
+
};
|
|
318
|
+
content: {
|
|
319
|
+
"text/plain": string;
|
|
320
|
+
};
|
|
321
|
+
};
|
|
322
|
+
};
|
|
323
|
+
};
|
|
324
|
+
upsertBlowhornDestination: {
|
|
325
|
+
parameters: {
|
|
326
|
+
query?: never;
|
|
327
|
+
header?: never;
|
|
328
|
+
path?: never;
|
|
329
|
+
cookie?: never;
|
|
330
|
+
};
|
|
331
|
+
requestBody: {
|
|
332
|
+
content: {
|
|
333
|
+
"application/json": {
|
|
334
|
+
/**
|
|
335
|
+
* Format: uuid
|
|
336
|
+
* @description Existing Blowhorn destination ID for updates; omit on create.
|
|
337
|
+
*/
|
|
338
|
+
id?: string;
|
|
339
|
+
/** @description Human-readable destination name. */
|
|
340
|
+
name?: string;
|
|
341
|
+
/** @description Target platform for the destination (e.g. linkedin). */
|
|
342
|
+
platform: string;
|
|
343
|
+
/** @description Platform-side publishing target (page, group or channel identifier). */
|
|
344
|
+
target?: string;
|
|
345
|
+
/** @description Destination settings, stored as a JSON blob. */
|
|
346
|
+
settings?: Record<string, never>;
|
|
347
|
+
};
|
|
348
|
+
};
|
|
349
|
+
};
|
|
350
|
+
responses: {
|
|
351
|
+
/** @description Blowhorn destination saved */
|
|
352
|
+
200: {
|
|
353
|
+
headers: {
|
|
354
|
+
[name: string]: unknown;
|
|
355
|
+
};
|
|
356
|
+
content: {
|
|
357
|
+
"application/json": {
|
|
358
|
+
/**
|
|
359
|
+
* Format: uuid
|
|
360
|
+
* @description Server-generated Blowhorn destination ID.
|
|
361
|
+
*/
|
|
362
|
+
id: string;
|
|
363
|
+
/**
|
|
364
|
+
* Format: uuid
|
|
365
|
+
* @description Owning organization ID. Derived from the authenticated session, never client-settable.
|
|
366
|
+
*/
|
|
367
|
+
organizationId: string;
|
|
368
|
+
/** @description Human-readable destination name. */
|
|
369
|
+
name?: string;
|
|
370
|
+
/** @description Target platform for the destination (e.g. linkedin). */
|
|
371
|
+
platform: string;
|
|
372
|
+
/** @description Platform-side publishing target (page, group or channel identifier). */
|
|
373
|
+
target?: string;
|
|
374
|
+
/** @description Destination settings, stored as a JSON blob. */
|
|
375
|
+
settings?: Record<string, never>;
|
|
376
|
+
/**
|
|
377
|
+
* Format: date-time
|
|
378
|
+
* @description Timestamp of Blowhorn destination creation.
|
|
379
|
+
*/
|
|
380
|
+
createdAt: string;
|
|
381
|
+
/**
|
|
382
|
+
* Format: date-time
|
|
383
|
+
* @description Timestamp of last Blowhorn destination modification.
|
|
384
|
+
*/
|
|
385
|
+
updatedAt: string;
|
|
386
|
+
/**
|
|
387
|
+
* Format: date-time
|
|
388
|
+
* @description Timestamp when the Blowhorn destination was soft-deleted.
|
|
389
|
+
*/
|
|
390
|
+
deletedAt?: string | null;
|
|
391
|
+
};
|
|
392
|
+
};
|
|
393
|
+
};
|
|
394
|
+
/** @description Invalid request body or request param */
|
|
395
|
+
400: {
|
|
396
|
+
headers: {
|
|
397
|
+
[name: string]: unknown;
|
|
398
|
+
};
|
|
399
|
+
content: {
|
|
400
|
+
"text/plain": string;
|
|
401
|
+
};
|
|
402
|
+
};
|
|
403
|
+
/** @description Expired JWT token used or insufficient privilege */
|
|
404
|
+
401: {
|
|
405
|
+
headers: {
|
|
406
|
+
[name: string]: unknown;
|
|
407
|
+
};
|
|
408
|
+
content: {
|
|
409
|
+
"text/plain": string;
|
|
410
|
+
};
|
|
411
|
+
};
|
|
412
|
+
/** @description Internal server error */
|
|
413
|
+
500: {
|
|
414
|
+
headers: {
|
|
415
|
+
[name: string]: unknown;
|
|
416
|
+
};
|
|
417
|
+
content: {
|
|
418
|
+
"text/plain": string;
|
|
419
|
+
};
|
|
420
|
+
};
|
|
421
|
+
};
|
|
422
|
+
};
|
|
423
|
+
getBlowhornDestination: {
|
|
424
|
+
parameters: {
|
|
425
|
+
query?: never;
|
|
426
|
+
header?: never;
|
|
427
|
+
path: {
|
|
428
|
+
/** @description Blowhorn destination ID */
|
|
429
|
+
blowhornDestinationId: string;
|
|
430
|
+
};
|
|
431
|
+
cookie?: never;
|
|
432
|
+
};
|
|
433
|
+
requestBody?: never;
|
|
434
|
+
responses: {
|
|
435
|
+
/** @description Blowhorn destination response */
|
|
436
|
+
200: {
|
|
437
|
+
headers: {
|
|
438
|
+
[name: string]: unknown;
|
|
439
|
+
};
|
|
440
|
+
content: {
|
|
441
|
+
"application/json": {
|
|
442
|
+
/**
|
|
443
|
+
* Format: uuid
|
|
444
|
+
* @description Server-generated Blowhorn destination ID.
|
|
445
|
+
*/
|
|
446
|
+
id: string;
|
|
447
|
+
/**
|
|
448
|
+
* Format: uuid
|
|
449
|
+
* @description Owning organization ID. Derived from the authenticated session, never client-settable.
|
|
450
|
+
*/
|
|
451
|
+
organizationId: string;
|
|
452
|
+
/** @description Human-readable destination name. */
|
|
453
|
+
name?: string;
|
|
454
|
+
/** @description Target platform for the destination (e.g. linkedin). */
|
|
455
|
+
platform: string;
|
|
456
|
+
/** @description Platform-side publishing target (page, group or channel identifier). */
|
|
457
|
+
target?: string;
|
|
458
|
+
/** @description Destination settings, stored as a JSON blob. */
|
|
459
|
+
settings?: Record<string, never>;
|
|
460
|
+
/**
|
|
461
|
+
* Format: date-time
|
|
462
|
+
* @description Timestamp of Blowhorn destination creation.
|
|
463
|
+
*/
|
|
464
|
+
createdAt: string;
|
|
465
|
+
/**
|
|
466
|
+
* Format: date-time
|
|
467
|
+
* @description Timestamp of last Blowhorn destination modification.
|
|
468
|
+
*/
|
|
469
|
+
updatedAt: string;
|
|
470
|
+
/**
|
|
471
|
+
* Format: date-time
|
|
472
|
+
* @description Timestamp when the Blowhorn destination was soft-deleted.
|
|
473
|
+
*/
|
|
474
|
+
deletedAt?: string | null;
|
|
475
|
+
};
|
|
476
|
+
};
|
|
477
|
+
};
|
|
478
|
+
/** @description Invalid request body or request param */
|
|
479
|
+
400: {
|
|
480
|
+
headers: {
|
|
481
|
+
[name: string]: unknown;
|
|
482
|
+
};
|
|
483
|
+
content: {
|
|
484
|
+
"text/plain": string;
|
|
485
|
+
};
|
|
486
|
+
};
|
|
487
|
+
/** @description Expired JWT token used or insufficient privilege */
|
|
488
|
+
401: {
|
|
489
|
+
headers: {
|
|
490
|
+
[name: string]: unknown;
|
|
491
|
+
};
|
|
492
|
+
content: {
|
|
493
|
+
"text/plain": string;
|
|
494
|
+
};
|
|
495
|
+
};
|
|
496
|
+
/** @description Result not found */
|
|
497
|
+
404: {
|
|
498
|
+
headers: {
|
|
499
|
+
[name: string]: unknown;
|
|
500
|
+
};
|
|
501
|
+
content: {
|
|
502
|
+
"text/plain": string;
|
|
503
|
+
};
|
|
504
|
+
};
|
|
505
|
+
/** @description Internal server error */
|
|
506
|
+
500: {
|
|
507
|
+
headers: {
|
|
508
|
+
[name: string]: unknown;
|
|
509
|
+
};
|
|
510
|
+
content: {
|
|
511
|
+
"text/plain": string;
|
|
512
|
+
};
|
|
513
|
+
};
|
|
514
|
+
};
|
|
515
|
+
};
|
|
516
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';
|
|
File without changes
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
'use strict';var e={openapi:"3.0.0",info:{title:"BlowhornDestination",description:`OpenAPI schema for Blowhorn destinations - named publishing targets
|
|
2
|
+
per platform, scoped by organization.
|
|
3
|
+
`,version:"v1beta3",contact:{name:"Meshery Maintainers",email:"maintainers@meshery.io",url:"https://meshery.io"},license:{name:"Apache 2.0",url:"https://www.apache.org/licenses/LICENSE-2.0.html"}},security:[{jwt:[]}],tags:[{name:"blowhornDestinations",description:"Operations related to Blowhorn destinations."}],paths:{"/api/blowhorn/destinations":{get:{"x-internal":["cloud"],tags:["blowhornDestinations"],summary:"List Blowhorn destinations",operationId:"listBlowhornDestinations",description:"Returns a paginated list of Blowhorn destinations in the organization of the authenticated session.",parameters:[{name:"page",in:"query",description:"Get responses by page",schema:{type:"integer",minimum:0}},{name:"pageSize",in:"query",description:"Number of items per page (canonical camelCase form).",schema:{type:"integer",minimum:1}},{name:"pagesize",in:"query",description:"Number of items per page. Deprecated alias of pageSize;\ncanonical `pageSize` wins when both are present.\n",deprecated:true,schema:{type:"integer",minimum:1}},{name:"search",in:"query",description:"Get responses that match search param value",schema:{type:"string"}},{name:"order",in:"query",description:"Get ordered responses",schema:{type:"string"}},{name:"platform",in:"query",required:false,description:"Filter by target platform (e.g. linkedin).",schema:{type:"string"}}],responses:{200:{description:"Blowhorn destinations page",content:{"application/json":{schema:{type:"object",description:"Paginated collection of Blowhorn destinations.",properties:{page:{type:"integer",description:"Current page number of the result set.",minimum:0},pageSize:{type:"integer",description:"Number of items per page.",minimum:1},totalCount:{type:"integer",description:"Total number of items available.",minimum:0},blowhornDestinations:{type:"array",items:{"x-go-type":"BlowhornDestination",$schema:"http://json-schema.org/draft-07/schema#",title:"Blowhorn Destination Schema",description:`Server-returned Blowhorn destination as persisted by meshery-cloud. A
|
|
4
|
+
destination names where an organization publishes on a platform. An
|
|
5
|
+
environment reference may be attached later; destinations do not carry
|
|
6
|
+
one in this version.
|
|
7
|
+
`,type:"object",additionalProperties:false,required:["id","organizationId","platform","createdAt","updatedAt"],properties:{id:{description:"Server-generated Blowhorn destination ID.","x-order":1,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},organizationId:{description:"Owning organization ID. Derived from the authenticated session, never client-settable.","x-go-name":"OrganizationID","x-oapi-codegen-extra-tags":{db:"organization_id"},"x-order":2,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},name:{type:"string",description:"Human-readable destination name.",maxLength:255,"x-oapi-codegen-extra-tags":{db:"name"},"x-order":3},platform:{type:"string",description:"Target platform for the destination (e.g. linkedin).",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"platform"},"x-order":4},target:{type:"string",description:"Platform-side publishing target (page, group or channel identifier).",maxLength:1024,"x-oapi-codegen-extra-tags":{db:"target"},"x-order":5},settings:{type:"object",description:"Destination settings, stored as a JSON blob.","x-go-type":"core.Map","x-go-type-import":{path:"github.com/meshery/schemas/models/core",name:"core"},"x-go-type-skip-optional-pointer":true,"x-oapi-codegen-extra-tags":{db:"settings"},"x-order":6},createdAt:{description:"Timestamp of Blowhorn destination creation.","x-oapi-codegen-extra-tags":{db:"created_at"},"x-order":7,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updatedAt:{description:"Timestamp of last Blowhorn destination modification.","x-oapi-codegen-extra-tags":{db:"updated_at"},"x-order":8,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deletedAt:{type:"string",format:"date-time",description:"Timestamp when the Blowhorn destination was soft-deleted.",nullable:true,"x-go-type":"core.NullTime","x-go-type-import":{path:"github.com/meshery/schemas/models/core",name:"core"},"x-oapi-codegen-extra-tags":{db:"deleted_at",json:"deletedAt,omitempty"},"x-order":9}}},description:"Blowhorn destinations included on this page of results."}}}}}},401:{description:"Expired JWT token used or insufficient privilege",content:{"text/plain":{schema:{type:"string"}}}},500:{description:"Internal server error",content:{"text/plain":{schema:{type:"string"}}}}}},post:{"x-internal":["cloud"],tags:["blowhornDestinations"],summary:"Upsert Blowhorn destination",operationId:"upsertBlowhornDestination",description:"Creates a new Blowhorn destination when no `id` is supplied, or\nupdates the entry matching the provided `id`. Ownership is\nderived from the authenticated session; any client-supplied\nowner is ignored.\n",requestBody:{required:true,content:{"application/json":{schema:{type:"object",description:"Payload for creating or updating a Blowhorn destination. Contains\nonly client-settable fields; the owning `organizationId` (derived\nfrom the authenticated session) and the server-generated\n`createdAt` / `updatedAt` timestamps are intentionally excluded.\n",required:["platform"],properties:{id:{description:"Existing Blowhorn destination ID for updates; omit on create.","x-oapi-codegen-extra-tags":{json:"id,omitempty"},type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},name:{type:"string",description:"Human-readable destination name.",maxLength:255},platform:{type:"string",description:"Target platform for the destination (e.g. linkedin).",minLength:1,maxLength:255},target:{type:"string",description:"Platform-side publishing target (page, group or channel identifier).",maxLength:1024},settings:{type:"object",description:"Destination settings, stored as a JSON blob.","x-go-type":"core.Map","x-go-type-import":{path:"github.com/meshery/schemas/models/core",name:"core"},"x-go-type-skip-optional-pointer":true}}}}}},responses:{200:{description:"Blowhorn destination saved",content:{"application/json":{schema:{$schema:"http://json-schema.org/draft-07/schema#",title:"Blowhorn Destination Schema",description:`Server-returned Blowhorn destination as persisted by meshery-cloud. A
|
|
8
|
+
destination names where an organization publishes on a platform. An
|
|
9
|
+
environment reference may be attached later; destinations do not carry
|
|
10
|
+
one in this version.
|
|
11
|
+
`,type:"object",additionalProperties:false,required:["id","organizationId","platform","createdAt","updatedAt"],properties:{id:{description:"Server-generated Blowhorn destination ID.","x-order":1,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},organizationId:{description:"Owning organization ID. Derived from the authenticated session, never client-settable.","x-go-name":"OrganizationID","x-oapi-codegen-extra-tags":{db:"organization_id"},"x-order":2,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},name:{type:"string",description:"Human-readable destination name.",maxLength:255,"x-oapi-codegen-extra-tags":{db:"name"},"x-order":3},platform:{type:"string",description:"Target platform for the destination (e.g. linkedin).",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"platform"},"x-order":4},target:{type:"string",description:"Platform-side publishing target (page, group or channel identifier).",maxLength:1024,"x-oapi-codegen-extra-tags":{db:"target"},"x-order":5},settings:{type:"object",description:"Destination settings, stored as a JSON blob.","x-go-type":"core.Map","x-go-type-import":{path:"github.com/meshery/schemas/models/core",name:"core"},"x-go-type-skip-optional-pointer":true,"x-oapi-codegen-extra-tags":{db:"settings"},"x-order":6},createdAt:{description:"Timestamp of Blowhorn destination creation.","x-oapi-codegen-extra-tags":{db:"created_at"},"x-order":7,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updatedAt:{description:"Timestamp of last Blowhorn destination modification.","x-oapi-codegen-extra-tags":{db:"updated_at"},"x-order":8,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deletedAt:{type:"string",format:"date-time",description:"Timestamp when the Blowhorn destination was soft-deleted.",nullable:true,"x-go-type":"core.NullTime","x-go-type-import":{path:"github.com/meshery/schemas/models/core",name:"core"},"x-oapi-codegen-extra-tags":{db:"deleted_at",json:"deletedAt,omitempty"},"x-order":9}}}}}},400:{description:"Invalid request body or request param",content:{"text/plain":{schema:{type:"string"}}}},401:{description:"Expired JWT token used or insufficient privilege",content:{"text/plain":{schema:{type:"string"}}}},500:{description:"Internal server error",content:{"text/plain":{schema:{type:"string"}}}}}}},"/api/blowhorn/destinations/{blowhornDestinationId}":{get:{"x-internal":["cloud"],tags:["blowhornDestinations"],summary:"Get Blowhorn destination by ID",operationId:"getBlowhornDestination",parameters:[{name:"blowhornDestinationId",in:"path",description:"Blowhorn destination ID",required:true,schema:{type:"string",format:"uuid",description:"A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}}}],responses:{200:{description:"Blowhorn destination response",content:{"application/json":{schema:{$schema:"http://json-schema.org/draft-07/schema#",title:"Blowhorn Destination Schema",description:`Server-returned Blowhorn destination as persisted by meshery-cloud. A
|
|
12
|
+
destination names where an organization publishes on a platform. An
|
|
13
|
+
environment reference may be attached later; destinations do not carry
|
|
14
|
+
one in this version.
|
|
15
|
+
`,type:"object",additionalProperties:false,required:["id","organizationId","platform","createdAt","updatedAt"],properties:{id:{description:"Server-generated Blowhorn destination ID.","x-order":1,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},organizationId:{description:"Owning organization ID. Derived from the authenticated session, never client-settable.","x-go-name":"OrganizationID","x-oapi-codegen-extra-tags":{db:"organization_id"},"x-order":2,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},name:{type:"string",description:"Human-readable destination name.",maxLength:255,"x-oapi-codegen-extra-tags":{db:"name"},"x-order":3},platform:{type:"string",description:"Target platform for the destination (e.g. linkedin).",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"platform"},"x-order":4},target:{type:"string",description:"Platform-side publishing target (page, group or channel identifier).",maxLength:1024,"x-oapi-codegen-extra-tags":{db:"target"},"x-order":5},settings:{type:"object",description:"Destination settings, stored as a JSON blob.","x-go-type":"core.Map","x-go-type-import":{path:"github.com/meshery/schemas/models/core",name:"core"},"x-go-type-skip-optional-pointer":true,"x-oapi-codegen-extra-tags":{db:"settings"},"x-order":6},createdAt:{description:"Timestamp of Blowhorn destination creation.","x-oapi-codegen-extra-tags":{db:"created_at"},"x-order":7,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updatedAt:{description:"Timestamp of last Blowhorn destination modification.","x-oapi-codegen-extra-tags":{db:"updated_at"},"x-order":8,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deletedAt:{type:"string",format:"date-time",description:"Timestamp when the Blowhorn destination was soft-deleted.",nullable:true,"x-go-type":"core.NullTime","x-go-type-import":{path:"github.com/meshery/schemas/models/core",name:"core"},"x-oapi-codegen-extra-tags":{db:"deleted_at",json:"deletedAt,omitempty"},"x-order":9}}}}}},400:{description:"Invalid request body or request param",content:{"text/plain":{schema:{type:"string"}}}},401:{description:"Expired JWT token used or insufficient privilege",content:{"text/plain":{schema:{type:"string"}}}},404:{description:"Result not found",content:{"text/plain":{schema:{type:"string"}}}},500:{description:"Internal server error",content:{"text/plain":{schema:{type:"string"}}}}}}}},components:{securitySchemes:{jwt:{type:"http",scheme:"Bearer [REDACTED]",bearerFormat:"JWT"}},responses:{400:{description:"Invalid request body or request param",content:{"text/plain":{schema:{type:"string"}}}},401:{description:"Expired JWT token used or insufficient privilege",content:{"text/plain":{schema:{type:"string"}}}},404:{description:"Result not found",content:{"text/plain":{schema:{type:"string"}}}},500:{description:"Internal server error",content:{"text/plain":{schema:{type:"string"}}}}},parameters:{blowhornDestinationId:{name:"blowhornDestinationId",in:"path",description:"Blowhorn destination ID",required:true,schema:{type:"string",format:"uuid",description:"A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}}},page:{name:"page",in:"query",description:"Get responses by page",schema:{type:"integer",minimum:0}},pageSize:{name:"pageSize",in:"query",description:"Number of items per page (canonical camelCase form).",schema:{type:"integer",minimum:1}},pagesize:{name:"pagesize",in:"query",description:"Number of items per page. Deprecated alias of pageSize;\ncanonical `pageSize` wins when both are present.\n",deprecated:true,schema:{type:"integer",minimum:1}},search:{name:"search",in:"query",description:"Get responses that match search param value",schema:{type:"string"}},order:{name:"order",in:"query",description:"Get ordered responses",schema:{type:"string"}}},schemas:{BlowhornDestination:{$schema:"http://json-schema.org/draft-07/schema#",title:"Blowhorn Destination Schema",description:`Server-returned Blowhorn destination as persisted by meshery-cloud. A
|
|
16
|
+
destination names where an organization publishes on a platform. An
|
|
17
|
+
environment reference may be attached later; destinations do not carry
|
|
18
|
+
one in this version.
|
|
19
|
+
`,type:"object",additionalProperties:false,required:["id","organizationId","platform","createdAt","updatedAt"],properties:{id:{description:"Server-generated Blowhorn destination ID.","x-order":1,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},organizationId:{description:"Owning organization ID. Derived from the authenticated session, never client-settable.","x-go-name":"OrganizationID","x-oapi-codegen-extra-tags":{db:"organization_id"},"x-order":2,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},name:{type:"string",description:"Human-readable destination name.",maxLength:255,"x-oapi-codegen-extra-tags":{db:"name"},"x-order":3},platform:{type:"string",description:"Target platform for the destination (e.g. linkedin).",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"platform"},"x-order":4},target:{type:"string",description:"Platform-side publishing target (page, group or channel identifier).",maxLength:1024,"x-oapi-codegen-extra-tags":{db:"target"},"x-order":5},settings:{type:"object",description:"Destination settings, stored as a JSON blob.","x-go-type":"core.Map","x-go-type-import":{path:"github.com/meshery/schemas/models/core",name:"core"},"x-go-type-skip-optional-pointer":true,"x-oapi-codegen-extra-tags":{db:"settings"},"x-order":6},createdAt:{description:"Timestamp of Blowhorn destination creation.","x-oapi-codegen-extra-tags":{db:"created_at"},"x-order":7,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updatedAt:{description:"Timestamp of last Blowhorn destination modification.","x-oapi-codegen-extra-tags":{db:"updated_at"},"x-order":8,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deletedAt:{type:"string",format:"date-time",description:"Timestamp when the Blowhorn destination was soft-deleted.",nullable:true,"x-go-type":"core.NullTime","x-go-type-import":{path:"github.com/meshery/schemas/models/core",name:"core"},"x-oapi-codegen-extra-tags":{db:"deleted_at",json:"deletedAt,omitempty"},"x-order":9}}},BlowhornDestinationPayload:{type:"object",description:"Payload for creating or updating a Blowhorn destination. Contains\nonly client-settable fields; the owning `organizationId` (derived\nfrom the authenticated session) and the server-generated\n`createdAt` / `updatedAt` timestamps are intentionally excluded.\n",required:["platform"],properties:{id:{description:"Existing Blowhorn destination ID for updates; omit on create.","x-oapi-codegen-extra-tags":{json:"id,omitempty"},type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},name:{type:"string",description:"Human-readable destination name.",maxLength:255},platform:{type:"string",description:"Target platform for the destination (e.g. linkedin).",minLength:1,maxLength:255},target:{type:"string",description:"Platform-side publishing target (page, group or channel identifier).",maxLength:1024},settings:{type:"object",description:"Destination settings, stored as a JSON blob.","x-go-type":"core.Map","x-go-type-import":{path:"github.com/meshery/schemas/models/core",name:"core"},"x-go-type-skip-optional-pointer":true}}},BlowhornDestinationPage:{type:"object",description:"Paginated collection of Blowhorn destinations.",properties:{page:{type:"integer",description:"Current page number of the result set.",minimum:0},pageSize:{type:"integer",description:"Number of items per page.",minimum:1},totalCount:{type:"integer",description:"Total number of items available.",minimum:0},blowhornDestinations:{type:"array",items:{"x-go-type":"BlowhornDestination",$schema:"http://json-schema.org/draft-07/schema#",title:"Blowhorn Destination Schema",description:`Server-returned Blowhorn destination as persisted by meshery-cloud. A
|
|
20
|
+
destination names where an organization publishes on a platform. An
|
|
21
|
+
environment reference may be attached later; destinations do not carry
|
|
22
|
+
one in this version.
|
|
23
|
+
`,type:"object",additionalProperties:false,required:["id","organizationId","platform","createdAt","updatedAt"],properties:{id:{description:"Server-generated Blowhorn destination ID.","x-order":1,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},organizationId:{description:"Owning organization ID. Derived from the authenticated session, never client-settable.","x-go-name":"OrganizationID","x-oapi-codegen-extra-tags":{db:"organization_id"},"x-order":2,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},name:{type:"string",description:"Human-readable destination name.",maxLength:255,"x-oapi-codegen-extra-tags":{db:"name"},"x-order":3},platform:{type:"string",description:"Target platform for the destination (e.g. linkedin).",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"platform"},"x-order":4},target:{type:"string",description:"Platform-side publishing target (page, group or channel identifier).",maxLength:1024,"x-oapi-codegen-extra-tags":{db:"target"},"x-order":5},settings:{type:"object",description:"Destination settings, stored as a JSON blob.","x-go-type":"core.Map","x-go-type-import":{path:"github.com/meshery/schemas/models/core",name:"core"},"x-go-type-skip-optional-pointer":true,"x-oapi-codegen-extra-tags":{db:"settings"},"x-order":6},createdAt:{description:"Timestamp of Blowhorn destination creation.","x-oapi-codegen-extra-tags":{db:"created_at"},"x-order":7,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updatedAt:{description:"Timestamp of last Blowhorn destination modification.","x-oapi-codegen-extra-tags":{db:"updated_at"},"x-order":8,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deletedAt:{type:"string",format:"date-time",description:"Timestamp when the Blowhorn destination was soft-deleted.",nullable:true,"x-go-type":"core.NullTime","x-go-type-import":{path:"github.com/meshery/schemas/models/core",name:"core"},"x-oapi-codegen-extra-tags":{db:"deleted_at",json:"deletedAt,omitempty"},"x-order":9}}},description:"Blowhorn destinations included on this page of results."}}}}}},t=e;module.exports=t;
|