@seamapi/types 1.452.0 → 1.453.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/connect.cjs +38 -4
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +56 -0
- package/dist/index.cjs +38 -4
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.d.ts +43 -0
- package/lib/seam/connect/openapi.js +36 -2
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +13 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +40 -2
- package/src/lib/seam/connect/route-types.ts +13 -0
package/dist/connect.d.cts
CHANGED
|
@@ -43316,6 +43316,30 @@ declare const _default: {
|
|
|
43316
43316
|
description: string;
|
|
43317
43317
|
format: string;
|
|
43318
43318
|
type: string;
|
|
43319
|
+
default?: never;
|
|
43320
|
+
nullable?: never;
|
|
43321
|
+
};
|
|
43322
|
+
} | {
|
|
43323
|
+
in: string;
|
|
43324
|
+
name: string;
|
|
43325
|
+
required: boolean;
|
|
43326
|
+
schema: {
|
|
43327
|
+
description: string;
|
|
43328
|
+
type: string;
|
|
43329
|
+
format?: never;
|
|
43330
|
+
default?: never;
|
|
43331
|
+
nullable?: never;
|
|
43332
|
+
};
|
|
43333
|
+
} | {
|
|
43334
|
+
in: string;
|
|
43335
|
+
name: string;
|
|
43336
|
+
required: boolean;
|
|
43337
|
+
schema: {
|
|
43338
|
+
default: number;
|
|
43339
|
+
description: string;
|
|
43340
|
+
format: string;
|
|
43341
|
+
type: string;
|
|
43342
|
+
nullable?: never;
|
|
43319
43343
|
};
|
|
43320
43344
|
} | {
|
|
43321
43345
|
in: string;
|
|
@@ -43323,8 +43347,10 @@ declare const _default: {
|
|
|
43323
43347
|
required: boolean;
|
|
43324
43348
|
schema: {
|
|
43325
43349
|
description: string;
|
|
43350
|
+
nullable: boolean;
|
|
43326
43351
|
type: string;
|
|
43327
43352
|
format?: never;
|
|
43353
|
+
default?: never;
|
|
43328
43354
|
};
|
|
43329
43355
|
})[];
|
|
43330
43356
|
responses: {
|
|
@@ -43342,6 +43368,9 @@ declare const _default: {
|
|
|
43342
43368
|
ok: {
|
|
43343
43369
|
type: string;
|
|
43344
43370
|
};
|
|
43371
|
+
pagination: {
|
|
43372
|
+
$ref: string;
|
|
43373
|
+
};
|
|
43345
43374
|
};
|
|
43346
43375
|
required: string[];
|
|
43347
43376
|
type: string;
|
|
@@ -43399,6 +43428,17 @@ declare const _default: {
|
|
|
43399
43428
|
format: string;
|
|
43400
43429
|
type: string;
|
|
43401
43430
|
};
|
|
43431
|
+
limit: {
|
|
43432
|
+
default: number;
|
|
43433
|
+
description: string;
|
|
43434
|
+
format: string;
|
|
43435
|
+
type: string;
|
|
43436
|
+
};
|
|
43437
|
+
page_cursor: {
|
|
43438
|
+
description: string;
|
|
43439
|
+
nullable: boolean;
|
|
43440
|
+
type: string;
|
|
43441
|
+
};
|
|
43402
43442
|
user_identifier_key: {
|
|
43403
43443
|
description: string;
|
|
43404
43444
|
type: string;
|
|
@@ -43425,6 +43465,9 @@ declare const _default: {
|
|
|
43425
43465
|
ok: {
|
|
43426
43466
|
type: string;
|
|
43427
43467
|
};
|
|
43468
|
+
pagination: {
|
|
43469
|
+
$ref: string;
|
|
43470
|
+
};
|
|
43428
43471
|
};
|
|
43429
43472
|
required: string[];
|
|
43430
43473
|
type: string;
|
|
@@ -85109,6 +85152,10 @@ interface Routes {
|
|
|
85109
85152
|
device_id: string;
|
|
85110
85153
|
/** Your user ID for the user by which to filter unmanaged access codes. */
|
|
85111
85154
|
user_identifier_key?: string | undefined;
|
|
85155
|
+
/** Numerical limit on the number of unmanaged access codes to return. */
|
|
85156
|
+
limit?: number;
|
|
85157
|
+
/** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
|
|
85158
|
+
page_cursor?: (string | undefined) | null;
|
|
85112
85159
|
};
|
|
85113
85160
|
formData: {};
|
|
85114
85161
|
jsonResponse: {
|
|
@@ -85599,6 +85646,15 @@ interface Routes {
|
|
|
85599
85646
|
/** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. */
|
|
85600
85647
|
status: 'set';
|
|
85601
85648
|
}>;
|
|
85649
|
+
/** Information about the current page of results. */
|
|
85650
|
+
pagination: {
|
|
85651
|
+
/** Opaque value that can be used to select the next page of results via the `page_cursor` parameter. */
|
|
85652
|
+
next_page_cursor: string | null;
|
|
85653
|
+
/** Indicates whether there is another page of results after this one. */
|
|
85654
|
+
has_next_page: boolean;
|
|
85655
|
+
/** URL to get the next page of results. */
|
|
85656
|
+
next_page_url: string | null;
|
|
85657
|
+
};
|
|
85602
85658
|
};
|
|
85603
85659
|
};
|
|
85604
85660
|
'/access_codes/unmanaged/update': {
|
package/dist/index.cjs
CHANGED
|
@@ -29479,6 +29479,27 @@ var openapi_default = {
|
|
|
29479
29479
|
description: "Your user ID for the user by which to filter unmanaged access codes.",
|
|
29480
29480
|
type: "string"
|
|
29481
29481
|
}
|
|
29482
|
+
},
|
|
29483
|
+
{
|
|
29484
|
+
in: "query",
|
|
29485
|
+
name: "limit",
|
|
29486
|
+
required: false,
|
|
29487
|
+
schema: {
|
|
29488
|
+
default: 3e5,
|
|
29489
|
+
description: "Numerical limit on the number of unmanaged access codes to return.",
|
|
29490
|
+
format: "float",
|
|
29491
|
+
type: "number"
|
|
29492
|
+
}
|
|
29493
|
+
},
|
|
29494
|
+
{
|
|
29495
|
+
in: "query",
|
|
29496
|
+
name: "page_cursor",
|
|
29497
|
+
required: false,
|
|
29498
|
+
schema: {
|
|
29499
|
+
description: "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
|
|
29500
|
+
nullable: true,
|
|
29501
|
+
type: "string"
|
|
29502
|
+
}
|
|
29482
29503
|
}
|
|
29483
29504
|
],
|
|
29484
29505
|
responses: {
|
|
@@ -29493,9 +29514,10 @@ var openapi_default = {
|
|
|
29493
29514
|
},
|
|
29494
29515
|
type: "array"
|
|
29495
29516
|
},
|
|
29496
|
-
ok: { type: "boolean" }
|
|
29517
|
+
ok: { type: "boolean" },
|
|
29518
|
+
pagination: { $ref: "#/components/schemas/pagination" }
|
|
29497
29519
|
},
|
|
29498
|
-
required: ["access_codes", "ok"],
|
|
29520
|
+
required: ["access_codes", "pagination", "ok"],
|
|
29499
29521
|
type: "object"
|
|
29500
29522
|
}
|
|
29501
29523
|
}
|
|
@@ -29532,6 +29554,17 @@ var openapi_default = {
|
|
|
29532
29554
|
format: "uuid",
|
|
29533
29555
|
type: "string"
|
|
29534
29556
|
},
|
|
29557
|
+
limit: {
|
|
29558
|
+
default: 3e5,
|
|
29559
|
+
description: "Numerical limit on the number of unmanaged access codes to return.",
|
|
29560
|
+
format: "float",
|
|
29561
|
+
type: "number"
|
|
29562
|
+
},
|
|
29563
|
+
page_cursor: {
|
|
29564
|
+
description: "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
|
|
29565
|
+
nullable: true,
|
|
29566
|
+
type: "string"
|
|
29567
|
+
},
|
|
29535
29568
|
user_identifier_key: {
|
|
29536
29569
|
description: "Your user ID for the user by which to filter unmanaged access codes.",
|
|
29537
29570
|
type: "string"
|
|
@@ -29555,9 +29588,10 @@ var openapi_default = {
|
|
|
29555
29588
|
},
|
|
29556
29589
|
type: "array"
|
|
29557
29590
|
},
|
|
29558
|
-
ok: { type: "boolean" }
|
|
29591
|
+
ok: { type: "boolean" },
|
|
29592
|
+
pagination: { $ref: "#/components/schemas/pagination" }
|
|
29559
29593
|
},
|
|
29560
|
-
required: ["access_codes", "ok"],
|
|
29594
|
+
required: ["access_codes", "pagination", "ok"],
|
|
29561
29595
|
type: "object"
|
|
29562
29596
|
}
|
|
29563
29597
|
}
|