@parra/parra-js-sdk 0.3.108 → 0.3.109
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 +12 -1
- package/dist/ParraAPI.js +2 -1
- package/package.json +1 -1
package/dist/ParraAPI.d.ts
CHANGED
|
@@ -1390,6 +1390,7 @@ export declare enum ApplicationType {
|
|
|
1390
1390
|
export interface CreateApplicationRequestBody {
|
|
1391
1391
|
name: string;
|
|
1392
1392
|
description?: string | null;
|
|
1393
|
+
is_new_project: boolean;
|
|
1393
1394
|
type: ApplicationType;
|
|
1394
1395
|
}
|
|
1395
1396
|
export interface Application {
|
|
@@ -1399,6 +1400,7 @@ export interface Application {
|
|
|
1399
1400
|
deleted_at?: string | null;
|
|
1400
1401
|
name: string;
|
|
1401
1402
|
description?: string | null;
|
|
1403
|
+
is_new_project: boolean;
|
|
1402
1404
|
type: ApplicationType;
|
|
1403
1405
|
tenant_id: string;
|
|
1404
1406
|
icon?: ImageAssetStub | null;
|
|
@@ -1413,6 +1415,7 @@ export interface ApplicationCollectionResponse {
|
|
|
1413
1415
|
export interface UpdateApplicationRequestBody {
|
|
1414
1416
|
name?: string;
|
|
1415
1417
|
description?: string | null;
|
|
1418
|
+
is_new_project?: boolean;
|
|
1416
1419
|
icon?: ImageAssetStub | null;
|
|
1417
1420
|
}
|
|
1418
1421
|
export interface TenantOnboarding {
|
|
@@ -1948,7 +1951,15 @@ declare class ParraAPI {
|
|
|
1948
1951
|
updateChannelForNotificationTemplate: (tenant_id: string, notification_template_id: string, channel_id: string, body: UpdateChannelRequestBody) => Promise<Channel>;
|
|
1949
1952
|
deleteChannelForNotificationTemplate: (tenant_id: string, notification_template_id: string, channel_id: string) => Promise<Response>;
|
|
1950
1953
|
createApplicationForTenantById: (tenant_id: string, body: CreateApplicationRequestBody) => Promise<Application>;
|
|
1951
|
-
paginateApplicationsForTenantById: (tenant_id: string
|
|
1954
|
+
paginateApplicationsForTenantById: (tenant_id: string, query?: {
|
|
1955
|
+
$select?: string;
|
|
1956
|
+
$top?: number;
|
|
1957
|
+
$skip?: number;
|
|
1958
|
+
$orderby?: string;
|
|
1959
|
+
$filter?: string;
|
|
1960
|
+
$expand?: string;
|
|
1961
|
+
$search?: string;
|
|
1962
|
+
}) => Promise<ApplicationCollectionResponse>;
|
|
1952
1963
|
getApplicationByIdForTenantById: (tenant_id: string, application_id: string) => Promise<Application>;
|
|
1953
1964
|
updateApplicationByIdForTenantById: (tenant_id: string, application_id: string, body?: UpdateApplicationRequestBody) => Promise<Application>;
|
|
1954
1965
|
deleteApplicationByIdForTenantById: (tenant_id: string, application_id: string) => Promise<Response>;
|
package/dist/ParraAPI.js
CHANGED
|
@@ -912,9 +912,10 @@ var ParraAPI = /** @class */ (function () {
|
|
|
912
912
|
},
|
|
913
913
|
});
|
|
914
914
|
};
|
|
915
|
-
this.paginateApplicationsForTenantById = function (tenant_id) {
|
|
915
|
+
this.paginateApplicationsForTenantById = function (tenant_id, query) {
|
|
916
916
|
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/applications"), {
|
|
917
917
|
method: "get",
|
|
918
|
+
query: query,
|
|
918
919
|
});
|
|
919
920
|
};
|
|
920
921
|
this.getApplicationByIdForTenantById = function (tenant_id, application_id) {
|