@parra/parra-js-sdk 0.3.108 → 0.3.110

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,7 +1390,12 @@ 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;
1395
+ ios_bundle_id?: string | null;
1396
+ }
1397
+ export interface ApplicationIosConfig {
1398
+ bundle_id: string;
1394
1399
  }
1395
1400
  export interface Application {
1396
1401
  id: string;
@@ -1399,9 +1404,11 @@ export interface Application {
1399
1404
  deleted_at?: string | null;
1400
1405
  name: string;
1401
1406
  description?: string | null;
1407
+ is_new_project: boolean;
1402
1408
  type: ApplicationType;
1403
1409
  tenant_id: string;
1404
1410
  icon?: ImageAssetStub | null;
1411
+ ios?: ApplicationIosConfig | null;
1405
1412
  }
1406
1413
  export interface ApplicationCollectionResponse {
1407
1414
  page: number;
@@ -1413,6 +1420,8 @@ export interface ApplicationCollectionResponse {
1413
1420
  export interface UpdateApplicationRequestBody {
1414
1421
  name?: string;
1415
1422
  description?: string | null;
1423
+ is_new_project?: boolean;
1424
+ ios_bundle_id?: string | null;
1416
1425
  icon?: ImageAssetStub | null;
1417
1426
  }
1418
1427
  export interface TenantOnboarding {
@@ -1948,7 +1957,15 @@ declare class ParraAPI {
1948
1957
  updateChannelForNotificationTemplate: (tenant_id: string, notification_template_id: string, channel_id: string, body: UpdateChannelRequestBody) => Promise<Channel>;
1949
1958
  deleteChannelForNotificationTemplate: (tenant_id: string, notification_template_id: string, channel_id: string) => Promise<Response>;
1950
1959
  createApplicationForTenantById: (tenant_id: string, body: CreateApplicationRequestBody) => Promise<Application>;
1951
- paginateApplicationsForTenantById: (tenant_id: string) => Promise<ApplicationCollectionResponse>;
1960
+ paginateApplicationsForTenantById: (tenant_id: string, query?: {
1961
+ $select?: string;
1962
+ $top?: number;
1963
+ $skip?: number;
1964
+ $orderby?: string;
1965
+ $filter?: string;
1966
+ $expand?: string;
1967
+ $search?: string;
1968
+ }) => Promise<ApplicationCollectionResponse>;
1952
1969
  getApplicationByIdForTenantById: (tenant_id: string, application_id: string) => Promise<Application>;
1953
1970
  updateApplicationByIdForTenantById: (tenant_id: string, application_id: string, body?: UpdateApplicationRequestBody) => Promise<Application>;
1954
1971
  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.108",
3
+ "version": "0.3.110",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",