@smartbills/sdk 1.1.0-alpha.37 → 1.1.0-alpha.38
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/types/index.d.ts +6 -0
- package/package.json +2 -2
package/dist/types/index.d.ts
CHANGED
|
@@ -7008,6 +7008,12 @@ interface SBDepartment extends SBEntity, SBTimestamps {
|
|
|
7008
7008
|
/** Query parameters for listing departments with search support. */
|
|
7009
7009
|
interface DepartmentListRequest extends PaginationRequest {
|
|
7010
7010
|
search?: string;
|
|
7011
|
+
/**
|
|
7012
|
+
* Filter by status. Pass `true` from expense pickers so soft-archived ("inactive")
|
|
7013
|
+
* departments don't show up as new selections; settings views omit it to see the full
|
|
7014
|
+
* list (active + inactive) alongside the Status badge.
|
|
7015
|
+
*/
|
|
7016
|
+
isActive?: boolean;
|
|
7011
7017
|
}
|
|
7012
7018
|
/** Payload for creating a new department. */
|
|
7013
7019
|
interface DepartmentCreateRequest {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smartbills/sdk",
|
|
3
|
-
"version": "1.1.0-alpha.
|
|
3
|
+
"version": "1.1.0-alpha.38",
|
|
4
4
|
"description": "Smartbills SDK for JavaScript/TypeScript",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/cjs/index.cjs",
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"registry": "https://registry.npmjs.org/"
|
|
50
50
|
},
|
|
51
51
|
"packageManager": "yarn@4.7.0",
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "f88db5d21b88197f8f2f41f18473ac539c797829"
|
|
53
53
|
}
|