@juhuu/sdk-ts 1.2.187 → 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 +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +5 -0
- package/dist/index.mjs +5 -0
- package/package.json +1 -1
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
@@ -3156,6 +3156,11 @@ var IncidentsService = class extends Service {
|
|
3156
3156
|
if (IncidentListParams?.propertyId !== void 0) {
|
3157
3157
|
queryArray.push("propertyId=" + IncidentListParams.propertyId);
|
3158
3158
|
}
|
3159
|
+
if (IncidentListParams.statusArray !== void 0) {
|
3160
|
+
queryArray.push(
|
3161
|
+
"statusArray=" + IncidentListParams.statusArray.join(",")
|
3162
|
+
);
|
3163
|
+
}
|
3159
3164
|
if (IncidentListOptions?.skip !== void 0) {
|
3160
3165
|
queryArray.push("skip=" + IncidentListOptions.skip);
|
3161
3166
|
}
|
package/dist/index.mjs
CHANGED
@@ -3112,6 +3112,11 @@ var IncidentsService = class extends Service {
|
|
3112
3112
|
if (IncidentListParams?.propertyId !== void 0) {
|
3113
3113
|
queryArray.push("propertyId=" + IncidentListParams.propertyId);
|
3114
3114
|
}
|
3115
|
+
if (IncidentListParams.statusArray !== void 0) {
|
3116
|
+
queryArray.push(
|
3117
|
+
"statusArray=" + IncidentListParams.statusArray.join(",")
|
3118
|
+
);
|
3119
|
+
}
|
3115
3120
|
if (IncidentListOptions?.skip !== void 0) {
|
3116
3121
|
queryArray.push("skip=" + IncidentListOptions.skip);
|
3117
3122
|
}
|