@layer-drone/protocol 2.5.0 → 2.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -3909,7 +3909,7 @@ type MissionsControllerGetMissionsV2V2Data = {
3909
3909
  flight_plan_id?: string;
3910
3910
  campaign_id?: string;
3911
3911
  chain_mission_id?: string;
3912
- status?: "pending" | "submitted" | "scheduled" | "active" | "hold" | "cancelled" | "expired" | "completed";
3912
+ status?: Array<"pending" | "submitted" | "scheduled" | "active" | "hold" | "cancelled" | "expired" | "completed"> | "pending" | "submitted" | "scheduled" | "active" | "hold" | "cancelled" | "expired" | "completed";
3913
3913
  created_at_gt?: Date;
3914
3914
  created_at_lt?: Date;
3915
3915
  updated_at_gt?: Date;
package/dist/index.d.ts CHANGED
@@ -3909,7 +3909,7 @@ type MissionsControllerGetMissionsV2V2Data = {
3909
3909
  flight_plan_id?: string;
3910
3910
  campaign_id?: string;
3911
3911
  chain_mission_id?: string;
3912
- status?: "pending" | "submitted" | "scheduled" | "active" | "hold" | "cancelled" | "expired" | "completed";
3912
+ status?: Array<"pending" | "submitted" | "scheduled" | "active" | "hold" | "cancelled" | "expired" | "completed"> | "pending" | "submitted" | "scheduled" | "active" | "hold" | "cancelled" | "expired" | "completed";
3913
3913
  created_at_gt?: Date;
3914
3914
  created_at_lt?: Date;
3915
3915
  updated_at_gt?: Date;
package/dist/index.js CHANGED
@@ -3418,6 +3418,10 @@ var campaignsControllerGetCampaignZonesV2V2 = /* @__PURE__ */ __name((options) =
3418
3418
  var flightPlansControllerGetManyV2V2 = /* @__PURE__ */ __name((options) => {
3419
3419
  return (options?.client ?? client).get({
3420
3420
  security: [
3421
+ {
3422
+ name: "x-api-token",
3423
+ type: "apiKey"
3424
+ },
3421
3425
  {
3422
3426
  name: "x-api-token",
3423
3427
  type: "apiKey"
@@ -3448,6 +3452,10 @@ var flightPlansControllerCreateV2V2 = /* @__PURE__ */ __name((options) => {
3448
3452
  var flightPlansControllerGetV2V2 = /* @__PURE__ */ __name((options) => {
3449
3453
  return (options.client ?? client).get({
3450
3454
  security: [
3455
+ {
3456
+ name: "x-api-token",
3457
+ type: "apiKey"
3458
+ },
3451
3459
  {
3452
3460
  name: "x-api-token",
3453
3461
  type: "apiKey"
package/dist/index.mjs CHANGED
@@ -3224,6 +3224,10 @@ var campaignsControllerGetCampaignZonesV2V2 = /* @__PURE__ */ __name((options) =
3224
3224
  var flightPlansControllerGetManyV2V2 = /* @__PURE__ */ __name((options) => {
3225
3225
  return (options?.client ?? client).get({
3226
3226
  security: [
3227
+ {
3228
+ name: "x-api-token",
3229
+ type: "apiKey"
3230
+ },
3227
3231
  {
3228
3232
  name: "x-api-token",
3229
3233
  type: "apiKey"
@@ -3254,6 +3258,10 @@ var flightPlansControllerCreateV2V2 = /* @__PURE__ */ __name((options) => {
3254
3258
  var flightPlansControllerGetV2V2 = /* @__PURE__ */ __name((options) => {
3255
3259
  return (options.client ?? client).get({
3256
3260
  security: [
3261
+ {
3262
+ name: "x-api-token",
3263
+ type: "apiKey"
3264
+ },
3257
3265
  {
3258
3266
  name: "x-api-token",
3259
3267
  type: "apiKey"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@layer-drone/protocol",
3
3
  "description": "Layer Drone protocol SDK with typed API client and event parsing",
4
- "version": "2.5.0",
4
+ "version": "2.6.0",
5
5
  "license": "MIT",
6
6
  "files": [
7
7
  "dist",
@@ -34,8 +34,8 @@
34
34
  "typescript": "5.5.4",
35
35
  "zod": "^3.24.2",
36
36
  "zod-to-json-schema": "^3.24.5",
37
- "@layer-drone/eslint-config": "0.0.0",
38
37
  "@layer-drone/event-schema": "0.0.0",
38
+ "@layer-drone/eslint-config": "0.0.0",
39
39
  "@layer-drone/typescript-config": "0.0.0"
40
40
  },
41
41
  "peerDependencies": {
@@ -3958,6 +3958,10 @@ export const flightPlansControllerGetManyV2V2 = <
3958
3958
  name: "x-api-token",
3959
3959
  type: "apiKey",
3960
3960
  },
3961
+ {
3962
+ name: "x-api-token",
3963
+ type: "apiKey",
3964
+ },
3961
3965
  ],
3962
3966
  responseTransformer: flightPlansControllerGetManyV2V2ResponseTransformer,
3963
3967
  url: "/v2/flight-plans",
@@ -4014,6 +4018,10 @@ export const flightPlansControllerGetV2V2 = <
4014
4018
  name: "x-api-token",
4015
4019
  type: "apiKey",
4016
4020
  },
4021
+ {
4022
+ name: "x-api-token",
4023
+ type: "apiKey",
4024
+ },
4017
4025
  ],
4018
4026
  responseTransformer: flightPlansControllerGetV2V2ResponseTransformer,
4019
4027
  url: "/v2/flight-plans/{id}",
@@ -5408,6 +5408,16 @@ export type MissionsControllerGetMissionsV2V2Data = {
5408
5408
  campaign_id?: string;
5409
5409
  chain_mission_id?: string;
5410
5410
  status?:
5411
+ | Array<
5412
+ | "pending"
5413
+ | "submitted"
5414
+ | "scheduled"
5415
+ | "active"
5416
+ | "hold"
5417
+ | "cancelled"
5418
+ | "expired"
5419
+ | "completed"
5420
+ >
5411
5421
  | "pending"
5412
5422
  | "submitted"
5413
5423
  | "scheduled"