@parra/parra-js-sdk 0.2.137 → 0.2.138

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.
@@ -959,6 +959,7 @@ export interface Application {
959
959
  description?: string | null;
960
960
  type: ApplicationType;
961
961
  tenant_id: string;
962
+ apns?: ApnsConfiguration | null;
962
963
  }
963
964
  export interface ApplicationCollectionResponse {
964
965
  page: number;
@@ -1256,7 +1257,9 @@ declare class ParraAPI {
1256
1257
  } | undefined) => Promise<TenantUserCollectionResponse>;
1257
1258
  createApplicationForTenantById: (tenant_id: string, body?: CreateApplicationRequestBody | undefined) => Promise<Application>;
1258
1259
  paginateApplicationsForTenantById: (tenant_id: string) => Promise<ApplicationCollectionResponse>;
1259
- getApplicationByIdForTenantById: (tenant_id: string, application_id: string) => Promise<Application>;
1260
+ getApplicationByIdForTenantById: (tenant_id: string, application_id: string, query?: {
1261
+ include?: string | undefined;
1262
+ } | undefined) => Promise<Application>;
1260
1263
  updateApplicationByIdForTenantById: (tenant_id: string, application_id: string, body?: UpdateApplicationRequestBody | undefined) => Promise<Application>;
1261
1264
  deleteApplicationByIdForTenantById: (tenant_id: string, application_id: string) => Promise<Response>;
1262
1265
  updateApnsConfigurationForTenantApplication: (tenant_id: string, application_id: string, body?: UpdateApnsConfigurationRequestBody | undefined) => Promise<ApnsConfiguration>;
package/dist/ParraAPI.js CHANGED
@@ -538,9 +538,10 @@ var ParraAPI = /** @class */ (function () {
538
538
  method: "get",
539
539
  });
540
540
  };
541
- this.getApplicationByIdForTenantById = function (tenant_id, application_id) {
541
+ this.getApplicationByIdForTenantById = function (tenant_id, application_id, query) {
542
542
  return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/applications/").concat(application_id), {
543
543
  method: "get",
544
+ query: query,
544
545
  });
545
546
  };
546
547
  this.updateApplicationByIdForTenantById = function (tenant_id, application_id, body) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parra/parra-js-sdk",
3
- "version": "0.2.137",
3
+ "version": "0.2.138",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",