@parra/parra-js-sdk 0.3.107 → 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.
@@ -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,8 +1415,13 @@ 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
  }
1421
+ export interface TenantOnboarding {
1422
+ skipped?: boolean | null;
1423
+ goal?: string | null;
1424
+ }
1418
1425
  export interface Entitlement {
1419
1426
  }
1420
1427
  export interface TenantMetrics {
@@ -1439,6 +1446,7 @@ export interface Tenant {
1439
1446
  name: string;
1440
1447
  is_test: boolean;
1441
1448
  parent_tenant_id?: string | null;
1449
+ onboarding?: TenantOnboarding | null;
1442
1450
  logo?: ImageAssetStub | null;
1443
1451
  entitlements?: Array<Entitlement> | null;
1444
1452
  metrics?: TenantMetrics | null;
@@ -1684,8 +1692,9 @@ export interface TenantUserCollectionResponse {
1684
1692
  }
1685
1693
  export interface UpdateTenantRequestBody {
1686
1694
  name?: string;
1687
- new_project?: boolean;
1688
- skipped_onboarding?: boolean;
1695
+ onboarding_skipped?: boolean;
1696
+ onboarding_goal?: string | null;
1697
+ application_onboarding_skipped?: boolean;
1689
1698
  logo?: ImageAssetStub | null;
1690
1699
  }
1691
1700
  export interface CreateTenantForUserRequestBody {
@@ -1942,7 +1951,15 @@ declare class ParraAPI {
1942
1951
  updateChannelForNotificationTemplate: (tenant_id: string, notification_template_id: string, channel_id: string, body: UpdateChannelRequestBody) => Promise<Channel>;
1943
1952
  deleteChannelForNotificationTemplate: (tenant_id: string, notification_template_id: string, channel_id: string) => Promise<Response>;
1944
1953
  createApplicationForTenantById: (tenant_id: string, body: CreateApplicationRequestBody) => Promise<Application>;
1945
- paginateApplicationsForTenantById: (tenant_id: string) => Promise<ApplicationCollectionResponse>;
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>;
1946
1963
  getApplicationByIdForTenantById: (tenant_id: string, application_id: string) => Promise<Application>;
1947
1964
  updateApplicationByIdForTenantById: (tenant_id: string, application_id: string, body?: UpdateApplicationRequestBody) => Promise<Application>;
1948
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) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parra/parra-js-sdk",
3
- "version": "0.3.107",
3
+ "version": "0.3.109",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",