gumnut-sdk 0.85.0 → 0.86.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/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.86.0 (2026-05-06)
4
+
5
+ Full Changelog: [v0.85.0...v0.86.0](https://github.com/gumnut-ai/photos-sdk-typescript/compare/v0.85.0...v0.86.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([af5f1f9](https://github.com/gumnut-ai/photos-sdk-typescript/commit/af5f1f920be84934927d847215479f4844630931))
10
+
3
11
  ## 0.85.0 (2026-05-04)
4
12
 
5
13
  Full Changelog: [v0.84.0...v0.85.0](https://github.com/gumnut-ai/photos-sdk-typescript/compare/v0.84.0...v0.85.0)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gumnut-sdk",
3
- "version": "0.85.0",
3
+ "version": "0.86.0",
4
4
  "description": "The official TypeScript library for the Gumnut API",
5
5
  "author": "Gumnut <tedmao@gmail.com>",
6
6
  "types": "./index.d.ts",
@@ -6,7 +6,8 @@ export declare class AssetsAssociations extends APIResource {
6
6
  * Adds one or more existing assets to the specified album. Assets must already be
7
7
  * in the same library as the album (this tool does not upload new assets). Assets
8
8
  * already in the album are silently skipped and returned separately as
9
- * `duplicate_assets`. Idempotent: calling with the same IDs twice leaves the album
9
+ * `duplicate_assets`; missing or different-library IDs are skipped and returned as
10
+ * `not_found_assets`. Idempotent: calling with the same IDs twice leaves the album
10
11
  * in the same state.
11
12
  *
12
13
  * Up to 100 ids per request; over-cap requests return 422.
@@ -41,6 +42,11 @@ export interface AssetsAssociationAddResponse {
41
42
  * an error).
42
43
  */
43
44
  duplicate_assets: Array<string>;
45
+ /**
46
+ * Asset IDs that were skipped because they do not exist or do not belong to the
47
+ * album's library.
48
+ */
49
+ not_found_assets: Array<string>;
44
50
  }
45
51
  export interface AssetsAssociationAddParams {
46
52
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"assets-associations.d.mts","sourceRoot":"","sources":["../../src/resources/albums/assets-associations.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB,qBAAa,kBAAmB,SAAQ,WAAW;IACjD;;;;;;;;OAQG;IACH,GAAG,CACD,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,0BAA0B,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,4BAA4B,CAAC;IAI3C;;;;;;;;OAQG;IACH,MAAM,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,6BAA6B,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAOzG;AAED,MAAM,WAAW,qBAAqB;IACpC;;;;OAIG;IACH,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC1B;AAED,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,YAAY,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAE5B;;;OAGG;IACH,gBAAgB,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACjC;AAED,MAAM,WAAW,0BAA0B;IACzC;;;;OAIG;IACH,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC1B;AAED,MAAM,WAAW,6BAA6B;IAC5C;;;;OAIG;IACH,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC1B;AAED,MAAM,CAAC,OAAO,WAAW,kBAAkB,CAAC;IAC1C,OAAO,EACL,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,6BAA6B,IAAI,6BAA6B,GACpE,CAAC;CACH"}
1
+ {"version":3,"file":"assets-associations.d.mts","sourceRoot":"","sources":["../../src/resources/albums/assets-associations.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB,qBAAa,kBAAmB,SAAQ,WAAW;IACjD;;;;;;;;;OASG;IACH,GAAG,CACD,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,0BAA0B,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,4BAA4B,CAAC;IAI3C;;;;;;;;OAQG;IACH,MAAM,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,6BAA6B,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAOzG;AAED,MAAM,WAAW,qBAAqB;IACpC;;;;OAIG;IACH,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC1B;AAED,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,YAAY,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAE5B;;;OAGG;IACH,gBAAgB,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAEhC;;;OAGG;IACH,gBAAgB,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACjC;AAED,MAAM,WAAW,0BAA0B;IACzC;;;;OAIG;IACH,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC1B;AAED,MAAM,WAAW,6BAA6B;IAC5C;;;;OAIG;IACH,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC1B;AAED,MAAM,CAAC,OAAO,WAAW,kBAAkB,CAAC;IAC1C,OAAO,EACL,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,6BAA6B,IAAI,6BAA6B,GACpE,CAAC;CACH"}
@@ -6,7 +6,8 @@ export declare class AssetsAssociations extends APIResource {
6
6
  * Adds one or more existing assets to the specified album. Assets must already be
7
7
  * in the same library as the album (this tool does not upload new assets). Assets
8
8
  * already in the album are silently skipped and returned separately as
9
- * `duplicate_assets`. Idempotent: calling with the same IDs twice leaves the album
9
+ * `duplicate_assets`; missing or different-library IDs are skipped and returned as
10
+ * `not_found_assets`. Idempotent: calling with the same IDs twice leaves the album
10
11
  * in the same state.
11
12
  *
12
13
  * Up to 100 ids per request; over-cap requests return 422.
@@ -41,6 +42,11 @@ export interface AssetsAssociationAddResponse {
41
42
  * an error).
42
43
  */
43
44
  duplicate_assets: Array<string>;
45
+ /**
46
+ * Asset IDs that were skipped because they do not exist or do not belong to the
47
+ * album's library.
48
+ */
49
+ not_found_assets: Array<string>;
44
50
  }
45
51
  export interface AssetsAssociationAddParams {
46
52
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"assets-associations.d.ts","sourceRoot":"","sources":["../../src/resources/albums/assets-associations.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB,qBAAa,kBAAmB,SAAQ,WAAW;IACjD;;;;;;;;OAQG;IACH,GAAG,CACD,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,0BAA0B,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,4BAA4B,CAAC;IAI3C;;;;;;;;OAQG;IACH,MAAM,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,6BAA6B,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAOzG;AAED,MAAM,WAAW,qBAAqB;IACpC;;;;OAIG;IACH,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC1B;AAED,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,YAAY,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAE5B;;;OAGG;IACH,gBAAgB,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACjC;AAED,MAAM,WAAW,0BAA0B;IACzC;;;;OAIG;IACH,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC1B;AAED,MAAM,WAAW,6BAA6B;IAC5C;;;;OAIG;IACH,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC1B;AAED,MAAM,CAAC,OAAO,WAAW,kBAAkB,CAAC;IAC1C,OAAO,EACL,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,6BAA6B,IAAI,6BAA6B,GACpE,CAAC;CACH"}
1
+ {"version":3,"file":"assets-associations.d.ts","sourceRoot":"","sources":["../../src/resources/albums/assets-associations.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB,qBAAa,kBAAmB,SAAQ,WAAW;IACjD;;;;;;;;;OASG;IACH,GAAG,CACD,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,0BAA0B,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,4BAA4B,CAAC;IAI3C;;;;;;;;OAQG;IACH,MAAM,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,6BAA6B,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAOzG;AAED,MAAM,WAAW,qBAAqB;IACpC;;;;OAIG;IACH,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC1B;AAED,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,YAAY,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAE5B;;;OAGG;IACH,gBAAgB,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAEhC;;;OAGG;IACH,gBAAgB,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACjC;AAED,MAAM,WAAW,0BAA0B;IACzC;;;;OAIG;IACH,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC1B;AAED,MAAM,WAAW,6BAA6B;IAC5C;;;;OAIG;IACH,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC1B;AAED,MAAM,CAAC,OAAO,WAAW,kBAAkB,CAAC;IAC1C,OAAO,EACL,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,6BAA6B,IAAI,6BAA6B,GACpE,CAAC;CACH"}
@@ -10,7 +10,8 @@ class AssetsAssociations extends resource_1.APIResource {
10
10
  * Adds one or more existing assets to the specified album. Assets must already be
11
11
  * in the same library as the album (this tool does not upload new assets). Assets
12
12
  * already in the album are silently skipped and returned separately as
13
- * `duplicate_assets`. Idempotent: calling with the same IDs twice leaves the album
13
+ * `duplicate_assets`; missing or different-library IDs are skipped and returned as
14
+ * `not_found_assets`. Idempotent: calling with the same IDs twice leaves the album
14
15
  * in the same state.
15
16
  *
16
17
  * Up to 100 ids per request; over-cap requests return 422.
@@ -1 +1 @@
1
- {"version":3,"file":"assets-associations.js","sourceRoot":"","sources":["../../src/resources/albums/assets-associations.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAElD,uDAAsD;AAEtD,uDAAiD;AAEjD,MAAa,kBAAmB,SAAQ,sBAAW;IACjD;;;;;;;;OAQG;IACH,GAAG,CACD,OAAe,EACf,IAAgC,EAChC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,eAAe,OAAO,SAAS,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtF,CAAC;IAED;;;;;;;;OAQG;IACH,MAAM,CAAC,OAAe,EAAE,IAAmC,EAAE,OAAwB;QACnF,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,eAAe,OAAO,SAAS,EAAE;YAC9D,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AAlCD,gDAkCC"}
1
+ {"version":3,"file":"assets-associations.js","sourceRoot":"","sources":["../../src/resources/albums/assets-associations.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAElD,uDAAsD;AAEtD,uDAAiD;AAEjD,MAAa,kBAAmB,SAAQ,sBAAW;IACjD;;;;;;;;;OASG;IACH,GAAG,CACD,OAAe,EACf,IAAgC,EAChC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,eAAe,OAAO,SAAS,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtF,CAAC;IAED;;;;;;;;OAQG;IACH,MAAM,CAAC,OAAe,EAAE,IAAmC,EAAE,OAAwB;QACnF,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,eAAe,OAAO,SAAS,EAAE;YAC9D,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AAnCD,gDAmCC"}
@@ -7,7 +7,8 @@ export class AssetsAssociations extends APIResource {
7
7
  * Adds one or more existing assets to the specified album. Assets must already be
8
8
  * in the same library as the album (this tool does not upload new assets). Assets
9
9
  * already in the album are silently skipped and returned separately as
10
- * `duplicate_assets`. Idempotent: calling with the same IDs twice leaves the album
10
+ * `duplicate_assets`; missing or different-library IDs are skipped and returned as
11
+ * `not_found_assets`. Idempotent: calling with the same IDs twice leaves the album
11
12
  * in the same state.
12
13
  *
13
14
  * Up to 100 ids per request; over-cap requests return 422.
@@ -1 +1 @@
1
- {"version":3,"file":"assets-associations.mjs","sourceRoot":"","sources":["../../src/resources/albums/assets-associations.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,kBAAmB,SAAQ,WAAW;IACjD;;;;;;;;OAQG;IACH,GAAG,CACD,OAAe,EACf,IAAgC,EAChC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,eAAe,OAAO,SAAS,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtF,CAAC;IAED;;;;;;;;OAQG;IACH,MAAM,CAAC,OAAe,EAAE,IAAmC,EAAE,OAAwB;QACnF,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,eAAe,OAAO,SAAS,EAAE;YAC9D,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF"}
1
+ {"version":3,"file":"assets-associations.mjs","sourceRoot":"","sources":["../../src/resources/albums/assets-associations.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,kBAAmB,SAAQ,WAAW;IACjD;;;;;;;;;OASG;IACH,GAAG,CACD,OAAe,EACf,IAAgC,EAChC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,eAAe,OAAO,SAAS,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtF,CAAC;IAED;;;;;;;;OAQG;IACH,MAAM,CAAC,OAAe,EAAE,IAAmC,EAAE,OAAwB;QACnF,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,eAAe,OAAO,SAAS,EAAE;YAC9D,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -11,7 +11,8 @@ export class AssetsAssociations extends APIResource {
11
11
  * Adds one or more existing assets to the specified album. Assets must already be
12
12
  * in the same library as the album (this tool does not upload new assets). Assets
13
13
  * already in the album are silently skipped and returned separately as
14
- * `duplicate_assets`. Idempotent: calling with the same IDs twice leaves the album
14
+ * `duplicate_assets`; missing or different-library IDs are skipped and returned as
15
+ * `not_found_assets`. Idempotent: calling with the same IDs twice leaves the album
15
16
  * in the same state.
16
17
  *
17
18
  * Up to 100 ids per request; over-cap requests return 422.
@@ -62,6 +63,12 @@ export interface AssetsAssociationAddResponse {
62
63
  * an error).
63
64
  */
64
65
  duplicate_assets: Array<string>;
66
+
67
+ /**
68
+ * Asset IDs that were skipped because they do not exist or do not belong to the
69
+ * album's library.
70
+ */
71
+ not_found_assets: Array<string>;
65
72
  }
66
73
 
67
74
  export interface AssetsAssociationAddParams {
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.85.0'; // x-release-please-version
1
+ export const VERSION = '0.86.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.85.0";
1
+ export declare const VERSION = "0.86.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.85.0";
1
+ export declare const VERSION = "0.86.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.85.0'; // x-release-please-version
4
+ exports.VERSION = '0.86.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.85.0'; // x-release-please-version
1
+ export const VERSION = '0.86.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map