@meshery/schemas 1.3.100 → 1.3.102
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/dist/cloudApi.d.mts +4160 -5454
- package/dist/cloudApi.d.ts +4160 -5454
- package/dist/cloudApi.js +1 -1
- package/dist/cloudApi.mjs +1 -1
- package/dist/constructs/v1beta3/risk_profile/RiskProfile.d.ts +35 -0
- package/dist/constructs/v1beta3/risk_profile/RiskProfileSchema.d.ts +2 -0
- package/dist/constructs/v1beta3/risk_profile/RiskProfileSchema.js +22 -0
- package/dist/constructs/v1beta3/risk_profile/RiskProfileSchema.mjs +22 -0
- package/dist/constructs/v1beta3/schedule/Schedule.d.ts +118 -0
- package/dist/constructs/v1beta3/schedule/ScheduleSchema.js +67 -4
- package/dist/constructs/v1beta3/schedule/ScheduleSchema.mjs +67 -4
- package/dist/constructs/v1beta3/schedule_stop/ScheduleStop.d.ts +66 -0
- package/dist/constructs/v1beta3/schedule_stop/ScheduleStopSchema.d.ts +2 -0
- package/dist/constructs/v1beta3/schedule_stop/ScheduleStopSchema.js +12 -0
- package/dist/constructs/v1beta3/schedule_stop/ScheduleStopSchema.mjs +12 -0
- package/package.json +1 -1
- package/dist/constructs/v1beta3/blowhorn_destination/BlowhornDestination.d.ts +0 -516
- package/dist/constructs/v1beta3/blowhorn_destination/BlowhornDestinationSchema.d.ts +0 -2
- package/dist/constructs/v1beta3/blowhorn_destination/BlowhornDestinationSchema.js +0 -23
- package/dist/constructs/v1beta3/blowhorn_destination/BlowhornDestinationSchema.mjs +0 -23
- package/dist/constructs/v1beta3/blowhorn_profile/BlowhornProfile.d.ts +0 -692
- package/dist/constructs/v1beta3/blowhorn_profile/BlowhornProfileSchema.d.ts +0 -2
- package/dist/constructs/v1beta3/blowhorn_profile/BlowhornProfileSchema.js +0 -41
- package/dist/constructs/v1beta3/blowhorn_profile/BlowhornProfileSchema.mjs +0 -41
- package/dist/constructs/v1beta3/blowhorn_run/BlowhornRun.d.ts +0 -784
- package/dist/constructs/v1beta3/blowhorn_run/BlowhornRun.js +0 -1
- package/dist/constructs/v1beta3/blowhorn_run/BlowhornRun.mjs +0 -0
- package/dist/constructs/v1beta3/blowhorn_run/BlowhornRunSchema.d.ts +0 -2
- package/dist/constructs/v1beta3/blowhorn_run/BlowhornRunSchema.js +0 -51
- package/dist/constructs/v1beta3/blowhorn_run/BlowhornRunSchema.mjs +0 -51
- /package/dist/constructs/v1beta3/{blowhorn_destination/BlowhornDestination.js → risk_profile/RiskProfile.js} +0 -0
- /package/dist/constructs/v1beta3/{blowhorn_destination/BlowhornDestination.mjs → risk_profile/RiskProfile.mjs} +0 -0
- /package/dist/constructs/v1beta3/{blowhorn_profile/BlowhornProfile.js → schedule_stop/ScheduleStop.js} +0 -0
- /package/dist/constructs/v1beta3/{blowhorn_profile/BlowhornProfile.mjs → schedule_stop/ScheduleStop.mjs} +0 -0
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by openapi-typescript.
|
|
3
|
+
* Do not make direct changes to the file.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
export type paths = Record<string, never>;
|
|
7
|
+
export type webhooks = Record<string, never>;
|
|
8
|
+
export interface components {
|
|
9
|
+
schemas: {
|
|
10
|
+
/**
|
|
11
|
+
* Schedule Stop Schema
|
|
12
|
+
* @description The organization-wide stop of scheduled work - the kill switch beside
|
|
13
|
+
* the schedule pause - stored in organization.metadata.preferences under
|
|
14
|
+
* `scheduleStop`. While `stopped` is true, every acting process in the
|
|
15
|
+
* organization stops at its next safe point, and the pause the stop raised
|
|
16
|
+
* holds new claims; a pause alone only holds claims and lets the work in
|
|
17
|
+
* flight finish, which is why the stop is a record of its own and not a
|
|
18
|
+
* member of SchedulePause. Set or lift it by updating the organization's
|
|
19
|
+
* preferences; there is no stop route. Unset is treated as not stopped.
|
|
20
|
+
* Lifting the stop (`stopped` false) clears `reason`, `raisedPause`,
|
|
21
|
+
* `stoppedAt` and `stoppedBy` on the server, so a stored `stopped` false
|
|
22
|
+
* never carries a stale stop time or identity. `raisedPause` records
|
|
23
|
+
* whether this stop raised the organization pause: the client that lifts
|
|
24
|
+
* the stop reads it to lift only the pause the stop itself set, never one
|
|
25
|
+
* that predates the stop or was re-set while the stop stood.
|
|
26
|
+
*/
|
|
27
|
+
ScheduleStop: {
|
|
28
|
+
/** @description Whether every acting process in the organization is stopped. */
|
|
29
|
+
stopped: boolean;
|
|
30
|
+
/** @description Reason given for the stop. Cleared when the stop is lifted. */
|
|
31
|
+
reason?: string;
|
|
32
|
+
/** @description Whether this stop raised the organization-wide schedule pause. Recorded by the client that set the stop; cleared when the stop is lifted. */
|
|
33
|
+
raisedPause?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Format: date-time
|
|
36
|
+
* @description Time the stop was set. Server-managed; recorded when `stopped` turns true and cleared when it is lifted.
|
|
37
|
+
*/
|
|
38
|
+
stoppedAt?: string;
|
|
39
|
+
/** @description Identity that set the stop. Server-managed; recorded when `stopped` turns true and cleared when it is lifted. */
|
|
40
|
+
stoppedBy?: string;
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* Schedule Stop Payload Schema
|
|
44
|
+
* @description Client-settable organization stop: the member a client sends under
|
|
45
|
+
* `scheduleStop` in an organization preferences patch. Carries only
|
|
46
|
+
* `stopped`, `reason` and `raisedPause`; `stoppedAt` and `stoppedBy` are
|
|
47
|
+
* recorded by the server and refused here. `stopped` is required whenever
|
|
48
|
+
* `scheduleStop` is sent, so a write can never lift the stop by omission.
|
|
49
|
+
*/
|
|
50
|
+
ScheduleStopPayload: {
|
|
51
|
+
/** @description Whether every acting process in the organization is stopped. */
|
|
52
|
+
stopped: boolean;
|
|
53
|
+
/** @description Reason given for the stop. Cleared when the stop is lifted. */
|
|
54
|
+
reason?: string;
|
|
55
|
+
/** @description Whether this stop raised the organization-wide schedule pause. Recorded by the client that set the stop; cleared when the stop is lifted. */
|
|
56
|
+
raisedPause?: boolean;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
responses: never;
|
|
60
|
+
parameters: never;
|
|
61
|
+
requestBodies: never;
|
|
62
|
+
headers: never;
|
|
63
|
+
pathItems: never;
|
|
64
|
+
}
|
|
65
|
+
export type $defs = Record<string, never>;
|
|
66
|
+
export type operations = Record<string, never>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';var e={openapi:"3.0.0",info:{title:"Schedule Stop",description:`OpenAPI schema for the organization-wide stop of scheduled work,
|
|
2
|
+
consumed by Blowhorn's kill switch (\`blowhorn stop --all\`). The stop
|
|
3
|
+
has no endpoints of its own: it is read and written as the
|
|
4
|
+
\`scheduleStop\` member of the organization's preferences (the
|
|
5
|
+
organization construct's getOrgPreferences and patchOrgPreferences
|
|
6
|
+
on /api/identity/orgs/{orgId}/preferences), beside \`schedulePause\`,
|
|
7
|
+
so this file declares the components only and the paths stay with
|
|
8
|
+
the organization construct. Only organization admins may set or
|
|
9
|
+
lift it, as with the pause; a preferences patch that omits
|
|
10
|
+
\`scheduleStop\` keeps the current stop unchanged.
|
|
11
|
+
`,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"}},paths:{},components:{securitySchemes:{jwt:{type:"http",scheme:"bearer",bearerFormat:"JWT"}},schemas:{ScheduleStop:{$schema:"http://json-schema.org/draft-07/schema#",title:"Schedule Stop Schema",description:"The organization-wide stop of scheduled work - the kill switch beside\nthe schedule pause - stored in organization.metadata.preferences under\n`scheduleStop`. While `stopped` is true, every acting process in the\norganization stops at its next safe point, and the pause the stop raised\nholds new claims; a pause alone only holds claims and lets the work in\nflight finish, which is why the stop is a record of its own and not a\nmember of SchedulePause. Set or lift it by updating the organization's\npreferences; there is no stop route. Unset is treated as not stopped.\nLifting the stop (`stopped` false) clears `reason`, `raisedPause`,\n`stoppedAt` and `stoppedBy` on the server, so a stored `stopped` false\nnever carries a stale stop time or identity. `raisedPause` records\nwhether this stop raised the organization pause: the client that lifts\nthe stop reads it to lift only the pause the stop itself set, never one\nthat predates the stop or was re-set while the stop stood.\n",type:"object",additionalProperties:false,required:["stopped"],properties:{stopped:{type:"boolean",description:"Whether every acting process in the organization is stopped.","x-order":1},reason:{type:"string",maxLength:1e3,description:"Reason given for the stop. Cleared when the stop is lifted.","x-oapi-codegen-extra-tags":{db:"stop_reason"},"x-order":2},raisedPause:{type:"boolean",description:"Whether this stop raised the organization-wide schedule pause. Recorded by the client that set the stop; cleared when the stop is lifted.","x-oapi-codegen-extra-tags":{db:"stop_raised_pause"},"x-order":3},stoppedAt:{type:"string",format:"date-time",description:"Time the stop was set. Server-managed; recorded when `stopped` turns true and cleared when it is lifted.","x-oapi-codegen-extra-tags":{db:"stopped_at"},"x-order":4},stoppedBy:{type:"string",maxLength:255,description:"Identity that set the stop. Server-managed; recorded when `stopped` turns true and cleared when it is lifted.","x-oapi-codegen-extra-tags":{db:"stopped_by"},"x-order":5}}},ScheduleStopPayload:{$schema:"http://json-schema.org/draft-07/schema#",title:"Schedule Stop Payload Schema",description:"Client-settable organization stop: the member a client sends under\n`scheduleStop` in an organization preferences patch. Carries only\n`stopped`, `reason` and `raisedPause`; `stoppedAt` and `stoppedBy` are\nrecorded by the server and refused here. `stopped` is required whenever\n`scheduleStop` is sent, so a write can never lift the stop by omission.\n",type:"object",additionalProperties:false,required:["stopped"],properties:{stopped:{type:"boolean",description:"Whether every acting process in the organization is stopped.","x-order":1},reason:{type:"string",maxLength:1e3,description:"Reason given for the stop. Cleared when the stop is lifted.","x-oapi-codegen-extra-tags":{db:"stop_reason"},"x-order":2},raisedPause:{type:"boolean",description:"Whether this stop raised the organization-wide schedule pause. Recorded by the client that set the stop; cleared when the stop is lifted.","x-oapi-codegen-extra-tags":{db:"stop_raised_pause"},"x-order":3}}}}}},t=e;
|
|
12
|
+
module.exports=t;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
var e={openapi:"3.0.0",info:{title:"Schedule Stop",description:`OpenAPI schema for the organization-wide stop of scheduled work,
|
|
2
|
+
consumed by Blowhorn's kill switch (\`blowhorn stop --all\`). The stop
|
|
3
|
+
has no endpoints of its own: it is read and written as the
|
|
4
|
+
\`scheduleStop\` member of the organization's preferences (the
|
|
5
|
+
organization construct's getOrgPreferences and patchOrgPreferences
|
|
6
|
+
on /api/identity/orgs/{orgId}/preferences), beside \`schedulePause\`,
|
|
7
|
+
so this file declares the components only and the paths stay with
|
|
8
|
+
the organization construct. Only organization admins may set or
|
|
9
|
+
lift it, as with the pause; a preferences patch that omits
|
|
10
|
+
\`scheduleStop\` keeps the current stop unchanged.
|
|
11
|
+
`,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"}},paths:{},components:{securitySchemes:{jwt:{type:"http",scheme:"bearer",bearerFormat:"JWT"}},schemas:{ScheduleStop:{$schema:"http://json-schema.org/draft-07/schema#",title:"Schedule Stop Schema",description:"The organization-wide stop of scheduled work - the kill switch beside\nthe schedule pause - stored in organization.metadata.preferences under\n`scheduleStop`. While `stopped` is true, every acting process in the\norganization stops at its next safe point, and the pause the stop raised\nholds new claims; a pause alone only holds claims and lets the work in\nflight finish, which is why the stop is a record of its own and not a\nmember of SchedulePause. Set or lift it by updating the organization's\npreferences; there is no stop route. Unset is treated as not stopped.\nLifting the stop (`stopped` false) clears `reason`, `raisedPause`,\n`stoppedAt` and `stoppedBy` on the server, so a stored `stopped` false\nnever carries a stale stop time or identity. `raisedPause` records\nwhether this stop raised the organization pause: the client that lifts\nthe stop reads it to lift only the pause the stop itself set, never one\nthat predates the stop or was re-set while the stop stood.\n",type:"object",additionalProperties:false,required:["stopped"],properties:{stopped:{type:"boolean",description:"Whether every acting process in the organization is stopped.","x-order":1},reason:{type:"string",maxLength:1e3,description:"Reason given for the stop. Cleared when the stop is lifted.","x-oapi-codegen-extra-tags":{db:"stop_reason"},"x-order":2},raisedPause:{type:"boolean",description:"Whether this stop raised the organization-wide schedule pause. Recorded by the client that set the stop; cleared when the stop is lifted.","x-oapi-codegen-extra-tags":{db:"stop_raised_pause"},"x-order":3},stoppedAt:{type:"string",format:"date-time",description:"Time the stop was set. Server-managed; recorded when `stopped` turns true and cleared when it is lifted.","x-oapi-codegen-extra-tags":{db:"stopped_at"},"x-order":4},stoppedBy:{type:"string",maxLength:255,description:"Identity that set the stop. Server-managed; recorded when `stopped` turns true and cleared when it is lifted.","x-oapi-codegen-extra-tags":{db:"stopped_by"},"x-order":5}}},ScheduleStopPayload:{$schema:"http://json-schema.org/draft-07/schema#",title:"Schedule Stop Payload Schema",description:"Client-settable organization stop: the member a client sends under\n`scheduleStop` in an organization preferences patch. Carries only\n`stopped`, `reason` and `raisedPause`; `stoppedAt` and `stoppedBy` are\nrecorded by the server and refused here. `stopped` is required whenever\n`scheduleStop` is sent, so a write can never lift the stop by omission.\n",type:"object",additionalProperties:false,required:["stopped"],properties:{stopped:{type:"boolean",description:"Whether every acting process in the organization is stopped.","x-order":1},reason:{type:"string",maxLength:1e3,description:"Reason given for the stop. Cleared when the stop is lifted.","x-oapi-codegen-extra-tags":{db:"stop_reason"},"x-order":2},raisedPause:{type:"boolean",description:"Whether this stop raised the organization-wide schedule pause. Recorded by the client that set the stop; cleared when the stop is lifted.","x-oapi-codegen-extra-tags":{db:"stop_raised_pause"},"x-order":3}}}}}},t=e;
|
|
12
|
+
export{t as default};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meshery/schemas",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.102",
|
|
4
4
|
"description": "<p style=\"text-align:center;\" align=\"center\"><a href=\"https://meshery.io\"><picture> <source media=\"(prefers-color-scheme: dark)\" srcset=\"https://raw.githubusercontent.com/meshery/meshery/master/.github/assets/images/readme/meshery-logo-light-text-side.svg\"> <source media=\"(prefers-color-scheme: light)\" srcset=\"https://raw.githubusercontent.com/meshery/meshery/master/.github/assets/images/readme/meshery-logo-dark-text-side.svg\"> <img src=\"https://raw.githubusercontent.com/meshery/meshery/master/.github/assets/images/readme/meshery-logo-dark-text-side.svg\" alt=\"Meshery Logo\" width=\"70%\" /></picture></a><br /><br /></p> <p align=\"center\"> <a href=\"https://hub.docker.com/r/meshery/meshery\" alt=\"Docker pulls\"> <img src=\"https://img.shields.io/docker/pulls/meshery/meshery.svg\" /></a> <a href=\"https://github.com/issues?q=is%3Aopen+is%3Aissue+archived%3Afalse+org%meshery+org%3Ameshery+org%3Aservice-mesh-performance+org%3Aservice-mesh-patterns+org%3A+label%3A%22help+wanted%22+\" alt=\"GitHub issues by-label\"> <img src=\"https://img.shields.io/github/issues/meshery/meshery/help%20wanted.svg?color=informational\" /></a> <a href=\"https://github.com/meshery/meshery/blob/master/LICENSE\" alt=\"LICENSE\"> <img src=\"https://img.shields.io/github/license/meshery/meshery?color=brightgreen\" /></a> <a href=\"https://artifacthub.io/packages/helm/meshery/meshery\" alt=\"Artifact Hub Meshery\"> <img src=\"https://img.shields.io/endpoint?color=brightgreen&label=Helm%20Chart&style=plastic&url=https%3A%2F%2Fartifacthub.io%2Fbadge%2Frepository%2Fartifact-hub\" /></a> <a href=\"https://goreportcard.com/report/github.com/meshery/meshery\" alt=\"Go Report Card\"> <img src=\"https://goreportcard.com/badge/github.com/meshery/meshery\" /></a> <a href=\"https://github.com/meshery/meshery/actions\" alt=\"Build Status\"> <img src=\"https://img.shields.io/github/actions/workflow/status/meshery/meshery/release-drafter.yml\" /></a> <a href=\"https://bestpractices.coreinfrastructure.org/projects/3564\" alt=\"CLI Best Practices\"> <img src=\"https://bestpractices.coreinfrastructure.org/projects/3564/badge\" /></a> <a href=\"http://discuss.meshery.io\" alt=\"Discuss Users\"> <img src=\"https://img.shields.io/discourse/users?label=discuss&logo=discourse&server=https%3A%2F%2Fdiscuss.meshery.io\" /></a> <a href=\"https://slack.meshery.io\" alt=\"Join Slack\"> <img src=\"https://img.shields.io/badge/Slack-@meshery.svg?logo=slack\" /></a> <a href=\"https://twitter.com/intent/follow?screen_name=mesheryio\" alt=\"Twitter Follow\"> <img src=\"https://img.shields.io/twitter/follow/mesheryio.svg?label=Follow+Meshery&style=social\" /></a> <a href=\"https://github.com/meshery/meshery/releases\" alt=\"Meshery Downloads\"> <img src=\"https://img.shields.io/github/downloads/meshery/meshery/total\" /></a> <!-- <a href=\"https://app.fossa.com/projects/git%2Bgithub.com%2Fmeshery%2Fmeshery?ref=badge_shield\" alt=\"License Scan Report\"> <img src=\"https://app.fossa.com/api/projects/git%2Bgithub.com%2Fmeshery%2Fmeshery.svg?type=shield\"/></a> --> </p>",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -1,516 +0,0 @@
|
|
|
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
|
-
}
|