gumnut-sdk 0.87.0 → 0.89.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 +16 -0
- package/package.json +1 -1
- package/resources/api-keys.js +4 -4
- package/resources/api-keys.js.map +1 -1
- package/resources/api-keys.mjs +4 -4
- package/resources/api-keys.mjs.map +1 -1
- package/src/resources/api-keys.ts +4 -4
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.89.0 (2026-05-07)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.88.0...v0.89.0](https://github.com/gumnut-ai/photos-sdk-typescript/compare/v0.88.0...v0.89.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** update api keys endpoints ([ff65533](https://github.com/gumnut-ai/photos-sdk-typescript/commit/ff655333683cb1c2f04266695f7dace6fbf19c8e))
|
|
10
|
+
|
|
11
|
+
## 0.88.0 (2026-05-07)
|
|
12
|
+
|
|
13
|
+
Full Changelog: [v0.87.0...v0.88.0](https://github.com/gumnut-ai/photos-sdk-typescript/compare/v0.87.0...v0.88.0)
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **api:** api update ([a209950](https://github.com/gumnut-ai/photos-sdk-typescript/commit/a209950e5ca616e50337a7ed1783e3c047472854))
|
|
18
|
+
|
|
3
19
|
## 0.87.0 (2026-05-06)
|
|
4
20
|
|
|
5
21
|
Full Changelog: [v0.86.0...v0.87.0](https://github.com/gumnut-ai/photos-sdk-typescript/compare/v0.86.0...v0.87.0)
|
package/package.json
CHANGED
package/resources/api-keys.js
CHANGED
|
@@ -10,25 +10,25 @@ class APIKeys extends resource_1.APIResource {
|
|
|
10
10
|
* Creates a new API key for the current user
|
|
11
11
|
*/
|
|
12
12
|
create(body, options) {
|
|
13
|
-
return this._client.post('/api-keys/', { body, ...options });
|
|
13
|
+
return this._client.post('/api/api-keys/', { body, ...options });
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
16
16
|
* Updates the name of a specific API key
|
|
17
17
|
*/
|
|
18
18
|
update(keyID, body, options) {
|
|
19
|
-
return this._client.patch((0, path_1.path) `/api-keys/${keyID}`, { body, ...options });
|
|
19
|
+
return this._client.patch((0, path_1.path) `/api/api-keys/${keyID}`, { body, ...options });
|
|
20
20
|
}
|
|
21
21
|
/**
|
|
22
22
|
* Retrieves a list of all API keys for the current user
|
|
23
23
|
*/
|
|
24
24
|
list(options) {
|
|
25
|
-
return this._client.get('/api-keys/', options);
|
|
25
|
+
return this._client.get('/api/api-keys/', options);
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
28
28
|
* Deletes a specific API key
|
|
29
29
|
*/
|
|
30
30
|
delete(keyID, options) {
|
|
31
|
-
return this._client.delete((0, path_1.path) `/api-keys/${keyID}`, {
|
|
31
|
+
return this._client.delete((0, path_1.path) `/api/api-keys/${keyID}`, {
|
|
32
32
|
...options,
|
|
33
33
|
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
34
34
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api-keys.js","sourceRoot":"","sources":["../src/resources/api-keys.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,oDAAmD;AAEnD,oDAA8C;AAE9C,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;OAEG;IACH,MAAM,CAAC,IAAwB,EAAE,OAAwB;QACvD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"api-keys.js","sourceRoot":"","sources":["../src/resources/api-keys.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,oDAAmD;AAEnD,oDAA8C;AAE9C,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;OAEG;IACH,MAAM,CAAC,IAAwB,EAAE,OAAwB;QACvD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,gBAAgB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnE,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,KAAa,EAAE,IAAwB,EAAE,OAAwB;QACtE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,iBAAiB,KAAK,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;IAED;;OAEG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,gBAAgB,EAAE,OAAO,CAAC,CAAC;IACrD,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,KAAa,EAAE,OAAwB;QAC5C,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,iBAAiB,KAAK,EAAE,EAAE;YACvD,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;AA/BD,0BA+BC"}
|
package/resources/api-keys.mjs
CHANGED
|
@@ -7,25 +7,25 @@ export class APIKeys extends APIResource {
|
|
|
7
7
|
* Creates a new API key for the current user
|
|
8
8
|
*/
|
|
9
9
|
create(body, options) {
|
|
10
|
-
return this._client.post('/api-keys/', { body, ...options });
|
|
10
|
+
return this._client.post('/api/api-keys/', { body, ...options });
|
|
11
11
|
}
|
|
12
12
|
/**
|
|
13
13
|
* Updates the name of a specific API key
|
|
14
14
|
*/
|
|
15
15
|
update(keyID, body, options) {
|
|
16
|
-
return this._client.patch(path `/api-keys/${keyID}`, { body, ...options });
|
|
16
|
+
return this._client.patch(path `/api/api-keys/${keyID}`, { body, ...options });
|
|
17
17
|
}
|
|
18
18
|
/**
|
|
19
19
|
* Retrieves a list of all API keys for the current user
|
|
20
20
|
*/
|
|
21
21
|
list(options) {
|
|
22
|
-
return this._client.get('/api-keys/', options);
|
|
22
|
+
return this._client.get('/api/api-keys/', options);
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* Deletes a specific API key
|
|
26
26
|
*/
|
|
27
27
|
delete(keyID, options) {
|
|
28
|
-
return this._client.delete(path `/api-keys/${keyID}`, {
|
|
28
|
+
return this._client.delete(path `/api/api-keys/${keyID}`, {
|
|
29
29
|
...options,
|
|
30
30
|
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
31
31
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api-keys.mjs","sourceRoot":"","sources":["../src/resources/api-keys.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;OAEG;IACH,MAAM,CAAC,IAAwB,EAAE,OAAwB;QACvD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"api-keys.mjs","sourceRoot":"","sources":["../src/resources/api-keys.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;OAEG;IACH,MAAM,CAAC,IAAwB,EAAE,OAAwB;QACvD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,gBAAgB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnE,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,KAAa,EAAE,IAAwB,EAAE,OAAwB;QACtE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,iBAAiB,KAAK,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;IAED;;OAEG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,gBAAgB,EAAE,OAAO,CAAC,CAAC;IACrD,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,KAAa,EAAE,OAAwB;QAC5C,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,iBAAiB,KAAK,EAAE,EAAE;YACvD,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,28 +11,28 @@ export class APIKeys extends APIResource {
|
|
|
11
11
|
* Creates a new API key for the current user
|
|
12
12
|
*/
|
|
13
13
|
create(body: APIKeyCreateParams, options?: RequestOptions): APIPromise<APIKeyCreateResponse> {
|
|
14
|
-
return this._client.post('/api-keys/', { body, ...options });
|
|
14
|
+
return this._client.post('/api/api-keys/', { body, ...options });
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
18
|
* Updates the name of a specific API key
|
|
19
19
|
*/
|
|
20
20
|
update(keyID: string, body: APIKeyUpdateParams, options?: RequestOptions): APIPromise<APIKeyResponse> {
|
|
21
|
-
return this._client.patch(path`/api-keys/${keyID}`, { body, ...options });
|
|
21
|
+
return this._client.patch(path`/api/api-keys/${keyID}`, { body, ...options });
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
* Retrieves a list of all API keys for the current user
|
|
26
26
|
*/
|
|
27
27
|
list(options?: RequestOptions): APIPromise<APIKeyListResponse> {
|
|
28
|
-
return this._client.get('/api-keys/', options);
|
|
28
|
+
return this._client.get('/api/api-keys/', options);
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
/**
|
|
32
32
|
* Deletes a specific API key
|
|
33
33
|
*/
|
|
34
34
|
delete(keyID: string, options?: RequestOptions): APIPromise<void> {
|
|
35
|
-
return this._client.delete(path`/api-keys/${keyID}`, {
|
|
35
|
+
return this._client.delete(path`/api/api-keys/${keyID}`, {
|
|
36
36
|
...options,
|
|
37
37
|
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
38
38
|
});
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.89.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.89.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.89.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.89.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|