@parra/parra-js-sdk 0.3.552 → 0.3.555
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/ParraAPI.d.ts +3 -1
- package/dist/ParraAPI.js +4 -0
- package/package.json +2 -2
package/dist/ParraAPI.d.ts
CHANGED
@@ -3195,7 +3195,6 @@ export interface CreateTicketRequestBody {
|
|
3195
3195
|
export interface TeamMemberStub {
|
3196
3196
|
id: string;
|
3197
3197
|
tenant_id: string;
|
3198
|
-
user_id?: string | null;
|
3199
3198
|
name: string;
|
3200
3199
|
avatar?: ImageAssetStub | null;
|
3201
3200
|
}
|
@@ -5445,6 +5444,9 @@ declare class ParraAPI {
|
|
5445
5444
|
getThemeById: (tenant_id: string, theme_id: string, options?: Options) => Promise<Theme>;
|
5446
5445
|
updateThemeById: (tenant_id: string, theme_id: string, body?: UpdateThemeRequestBody, options?: Options) => Promise<Theme>;
|
5447
5446
|
deleteThemeById: (tenant_id: string, theme_id: string, options?: Options) => Promise<Response>;
|
5447
|
+
listDesignTokensForTheme: (tenant_id: string, theme_id: string, query?: {
|
5448
|
+
type?: string;
|
5449
|
+
}, options?: Options) => Promise<Array<DesignToken>>;
|
5448
5450
|
createShareAsset: (tenant_id: string, body: CreateShareAssetRequestBody, options?: Options) => Promise<ShareAsset>;
|
5449
5451
|
listShareAssets: (tenant_id: string, query?: {
|
5450
5452
|
type?: string | null;
|
package/dist/ParraAPI.js
CHANGED
@@ -782,6 +782,10 @@ var ParraAPI = /** @class */ (function () {
|
|
782
782
|
if (options === void 0) { options = {}; }
|
783
783
|
return _this.http.execute(__assign({ path: "".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/brand/themes/").concat(theme_id), method: "delete" }, options));
|
784
784
|
};
|
785
|
+
this.listDesignTokensForTheme = function (tenant_id, theme_id, query, options) {
|
786
|
+
if (options === void 0) { options = {}; }
|
787
|
+
return _this.http.execute(__assign({ path: "".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/brand/themes/").concat(theme_id, "/tokens"), method: "get", query: query }, options));
|
788
|
+
};
|
785
789
|
this.createShareAsset = function (tenant_id, body, options) {
|
786
790
|
if (options === void 0) { options = {}; }
|
787
791
|
return _this.http.execute(__assign({ path: "".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/brand/share-assets"), method: "post", body: JSON.stringify(body), headers: {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@parra/parra-js-sdk",
|
3
|
-
"version": "0.3.
|
3
|
+
"version": "0.3.555",
|
4
4
|
"description": "",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"types": "dist/index.d.ts",
|
@@ -23,6 +23,6 @@
|
|
23
23
|
"typescript": "^5.7.3"
|
24
24
|
},
|
25
25
|
"dependencies": {
|
26
|
-
"@parra/http-client": "0.
|
26
|
+
"@parra/http-client": "0.8.0"
|
27
27
|
}
|
28
28
|
}
|