@juhuu/sdk-ts 1.2.186 → 1.2.188

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/index.d.mts CHANGED
@@ -216,6 +216,7 @@ interface Party extends Person {
216
216
  }
217
217
  type TaxCode = {
218
218
  code: string;
219
+ verified: boolean;
219
220
  type: "VAT" | "GST" | "CNPJ" | "ABN" | "TIN";
220
221
  countryCode: CountryCode;
221
222
  };
@@ -1036,6 +1037,7 @@ declare namespace JUHUU {
1036
1037
  createdAt: Date;
1037
1038
  terminatedAt: Date | null;
1038
1039
  terminatedBy: string | null;
1040
+ terminatedByUserId: string | null;
1039
1041
  scheduledTerminationAt: Date;
1040
1042
  scheduledTerminationHandler: "cloudFunction" | "cloudTask";
1041
1043
  reminderEnabled: boolean | null;
@@ -3221,6 +3223,7 @@ declare namespace JUHUU {
3221
3223
  export namespace List {
3222
3224
  type Params = {
3223
3225
  propertyId?: string;
3226
+ statusArray?: JUHUU.Incident.Object["status"][];
3224
3227
  };
3225
3228
  type Options = {
3226
3229
  limit?: number;
package/dist/index.d.ts CHANGED
@@ -216,6 +216,7 @@ interface Party extends Person {
216
216
  }
217
217
  type TaxCode = {
218
218
  code: string;
219
+ verified: boolean;
219
220
  type: "VAT" | "GST" | "CNPJ" | "ABN" | "TIN";
220
221
  countryCode: CountryCode;
221
222
  };
@@ -1036,6 +1037,7 @@ declare namespace JUHUU {
1036
1037
  createdAt: Date;
1037
1038
  terminatedAt: Date | null;
1038
1039
  terminatedBy: string | null;
1040
+ terminatedByUserId: string | null;
1039
1041
  scheduledTerminationAt: Date;
1040
1042
  scheduledTerminationHandler: "cloudFunction" | "cloudTask";
1041
1043
  reminderEnabled: boolean | null;
@@ -3221,6 +3223,7 @@ declare namespace JUHUU {
3221
3223
  export namespace List {
3222
3224
  type Params = {
3223
3225
  propertyId?: string;
3226
+ statusArray?: JUHUU.Incident.Object["status"][];
3224
3227
  };
3225
3228
  type Options = {
3226
3229
  limit?: number;
package/dist/index.js CHANGED
@@ -2925,7 +2925,8 @@ var ApiKeysService = class extends Service {
2925
2925
  method: "PATCH",
2926
2926
  url: "apiKeys/" + ApiKeyUpdateParams.apiKeyId,
2927
2927
  body: {
2928
- status: ApiKeyUpdateParams.status
2928
+ status: ApiKeyUpdateParams.status,
2929
+ name: ApiKeyUpdateParams.name
2929
2930
  },
2930
2931
  authenticationNotOptional: true
2931
2932
  },
@@ -3155,6 +3156,11 @@ var IncidentsService = class extends Service {
3155
3156
  if (IncidentListParams?.propertyId !== void 0) {
3156
3157
  queryArray.push("propertyId=" + IncidentListParams.propertyId);
3157
3158
  }
3159
+ if (IncidentListParams.statusArray !== void 0) {
3160
+ queryArray.push(
3161
+ "statusArray=" + IncidentListParams.statusArray.join(",")
3162
+ );
3163
+ }
3158
3164
  if (IncidentListOptions?.skip !== void 0) {
3159
3165
  queryArray.push("skip=" + IncidentListOptions.skip);
3160
3166
  }
package/dist/index.mjs CHANGED
@@ -2881,7 +2881,8 @@ var ApiKeysService = class extends Service {
2881
2881
  method: "PATCH",
2882
2882
  url: "apiKeys/" + ApiKeyUpdateParams.apiKeyId,
2883
2883
  body: {
2884
- status: ApiKeyUpdateParams.status
2884
+ status: ApiKeyUpdateParams.status,
2885
+ name: ApiKeyUpdateParams.name
2885
2886
  },
2886
2887
  authenticationNotOptional: true
2887
2888
  },
@@ -3111,6 +3112,11 @@ var IncidentsService = class extends Service {
3111
3112
  if (IncidentListParams?.propertyId !== void 0) {
3112
3113
  queryArray.push("propertyId=" + IncidentListParams.propertyId);
3113
3114
  }
3115
+ if (IncidentListParams.statusArray !== void 0) {
3116
+ queryArray.push(
3117
+ "statusArray=" + IncidentListParams.statusArray.join(",")
3118
+ );
3119
+ }
3114
3120
  if (IncidentListOptions?.skip !== void 0) {
3115
3121
  queryArray.push("skip=" + IncidentListOptions.skip);
3116
3122
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juhuu/sdk-ts",
3
- "version": "1.2.186",
3
+ "version": "1.2.188",
4
4
  "description": "Typescript wrapper for JUHUU services",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",