repzo 1.0.94 → 1.0.95
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/lib/types/index.d.ts +14 -0
- package/package.json +1 -1
- package/src/types/index.ts +13 -1
package/lib/types/index.d.ts
CHANGED
|
@@ -8539,6 +8539,7 @@ export declare namespace Service {
|
|
|
8539
8539
|
integration_meta?: {
|
|
8540
8540
|
[key: string]: any;
|
|
8541
8541
|
};
|
|
8542
|
+
workorder?: StringId;
|
|
8542
8543
|
company_namespace: string[];
|
|
8543
8544
|
createdAt: Date;
|
|
8544
8545
|
updatedAt: Date;
|
|
@@ -8583,6 +8584,7 @@ export declare namespace Service {
|
|
|
8583
8584
|
integration_meta?: {
|
|
8584
8585
|
[key: string]: any;
|
|
8585
8586
|
};
|
|
8587
|
+
workorder?: StringId | Workorder.WorkorderSchema;
|
|
8586
8588
|
company_namespace: string[];
|
|
8587
8589
|
createdAt: Date;
|
|
8588
8590
|
updatedAt: Date;
|
|
@@ -8616,6 +8618,7 @@ export declare namespace Service {
|
|
|
8616
8618
|
};
|
|
8617
8619
|
asset_parts_count?: number;
|
|
8618
8620
|
total_asset_parts_qty?: number;
|
|
8621
|
+
workorder?: StringId;
|
|
8619
8622
|
company_namespace: string[];
|
|
8620
8623
|
}
|
|
8621
8624
|
interface UpdateBody {
|
|
@@ -8626,6 +8629,7 @@ export declare namespace Service {
|
|
|
8626
8629
|
integration_meta?: {
|
|
8627
8630
|
[key: string]: any;
|
|
8628
8631
|
};
|
|
8632
|
+
workorder?: StringId;
|
|
8629
8633
|
}
|
|
8630
8634
|
namespace Find {
|
|
8631
8635
|
type Params = DefaultPaginationQueryParams & {
|
|
@@ -8653,6 +8657,7 @@ export declare namespace Service {
|
|
|
8653
8657
|
to_createdAt?: number;
|
|
8654
8658
|
from_updatedAt?: number;
|
|
8655
8659
|
to_updatedAt?: number;
|
|
8660
|
+
workorder?: StringId | StringId[];
|
|
8656
8661
|
populatesKeys?: (
|
|
8657
8662
|
| "asset_part"
|
|
8658
8663
|
| "client"
|
|
@@ -8661,6 +8666,7 @@ export declare namespace Service {
|
|
|
8661
8666
|
| "custom_status"
|
|
8662
8667
|
| "media"
|
|
8663
8668
|
| "signature"
|
|
8669
|
+
| "workorder"
|
|
8664
8670
|
)[];
|
|
8665
8671
|
sortBy?: {
|
|
8666
8672
|
field: "_id" | "time" | "createdAt" | "updatedAt";
|
|
@@ -8942,6 +8948,8 @@ export declare namespace Service {
|
|
|
8942
8948
|
| "warehouse"
|
|
8943
8949
|
| "teams"
|
|
8944
8950
|
| "custom_status"
|
|
8951
|
+
| "from"
|
|
8952
|
+
| "to"
|
|
8945
8953
|
)[];
|
|
8946
8954
|
sortBy?: {
|
|
8947
8955
|
field: "_id" | "time" | "createdAt" | "updatedAt";
|
|
@@ -9036,6 +9044,7 @@ export declare namespace Service {
|
|
|
9036
9044
|
message: string;
|
|
9037
9045
|
[key: string]: any;
|
|
9038
9046
|
}[];
|
|
9047
|
+
workorder?: StringId;
|
|
9039
9048
|
company_namespace: string[];
|
|
9040
9049
|
createdAt: Date;
|
|
9041
9050
|
updatedAt: Date;
|
|
@@ -9094,6 +9103,7 @@ export declare namespace Service {
|
|
|
9094
9103
|
message: string;
|
|
9095
9104
|
[key: string]: any;
|
|
9096
9105
|
}[];
|
|
9106
|
+
workorder?: StringId | Workorder.WorkorderSchema;
|
|
9097
9107
|
company_namespace: string[];
|
|
9098
9108
|
createdAt: Date;
|
|
9099
9109
|
updatedAt: Date;
|
|
@@ -9130,6 +9140,7 @@ export declare namespace Service {
|
|
|
9130
9140
|
};
|
|
9131
9141
|
asset_part_units_count?: number;
|
|
9132
9142
|
total_asset_part_units_qty?: number;
|
|
9143
|
+
workorder?: StringId;
|
|
9133
9144
|
company_namespace: string[];
|
|
9134
9145
|
}
|
|
9135
9146
|
interface UpdateBody {
|
|
@@ -9180,6 +9191,7 @@ export declare namespace Service {
|
|
|
9180
9191
|
isResubmitted?: boolean;
|
|
9181
9192
|
note?: string;
|
|
9182
9193
|
stage?: number;
|
|
9194
|
+
workorder?: StringId;
|
|
9183
9195
|
company_namespace?: string[];
|
|
9184
9196
|
createdAt?: Date;
|
|
9185
9197
|
updatedAt?: Date;
|
|
@@ -9210,6 +9222,7 @@ export declare namespace Service {
|
|
|
9210
9222
|
to_createdAt?: number;
|
|
9211
9223
|
from_updatedAt?: number;
|
|
9212
9224
|
to_updatedAt?: number;
|
|
9225
|
+
workorder?: StringId | StringId[];
|
|
9213
9226
|
populatesKeys?: (
|
|
9214
9227
|
| "client"
|
|
9215
9228
|
| "asset_part_unit"
|
|
@@ -9218,6 +9231,7 @@ export declare namespace Service {
|
|
|
9218
9231
|
| "custom_status"
|
|
9219
9232
|
| "meadia"
|
|
9220
9233
|
| "signature"
|
|
9234
|
+
| "workorder"
|
|
9221
9235
|
)[];
|
|
9222
9236
|
sortBy?: {
|
|
9223
9237
|
field: "_id" | "time" | "createdAt" | "updatedAt";
|
package/package.json
CHANGED
package/src/types/index.ts
CHANGED
|
@@ -8466,6 +8466,7 @@ export namespace Service {
|
|
|
8466
8466
|
asset_parts_count?: number;
|
|
8467
8467
|
total_asset_parts_qty?: number;
|
|
8468
8468
|
integration_meta?: { [key: string]: any };
|
|
8469
|
+
workorder?: StringId;
|
|
8469
8470
|
company_namespace: string[];
|
|
8470
8471
|
createdAt: Date;
|
|
8471
8472
|
updatedAt: Date;
|
|
@@ -8508,6 +8509,7 @@ export namespace Service {
|
|
|
8508
8509
|
asset_parts_count?: number;
|
|
8509
8510
|
total_asset_parts_qty?: number;
|
|
8510
8511
|
integration_meta?: { [key: string]: any };
|
|
8512
|
+
workorder?: StringId | Workorder.WorkorderSchema;
|
|
8511
8513
|
company_namespace: string[];
|
|
8512
8514
|
createdAt: Date;
|
|
8513
8515
|
updatedAt: Date;
|
|
@@ -8539,6 +8541,7 @@ export namespace Service {
|
|
|
8539
8541
|
integration_meta?: { [key: string]: any };
|
|
8540
8542
|
asset_parts_count?: number;
|
|
8541
8543
|
total_asset_parts_qty?: number;
|
|
8544
|
+
workorder?: StringId;
|
|
8542
8545
|
company_namespace: string[];
|
|
8543
8546
|
}
|
|
8544
8547
|
export interface UpdateBody {
|
|
@@ -8547,6 +8550,7 @@ export namespace Service {
|
|
|
8547
8550
|
custom_status?: StringId;
|
|
8548
8551
|
media?: StringId[];
|
|
8549
8552
|
integration_meta?: { [key: string]: any };
|
|
8553
|
+
workorder?: StringId;
|
|
8550
8554
|
}
|
|
8551
8555
|
|
|
8552
8556
|
export namespace Find {
|
|
@@ -8575,6 +8579,7 @@ export namespace Service {
|
|
|
8575
8579
|
to_createdAt?: number;
|
|
8576
8580
|
from_updatedAt?: number;
|
|
8577
8581
|
to_updatedAt?: number;
|
|
8582
|
+
workorder?: StringId | StringId[];
|
|
8578
8583
|
populatesKeys?: (
|
|
8579
8584
|
| "asset_part"
|
|
8580
8585
|
| "client"
|
|
@@ -8583,6 +8588,7 @@ export namespace Service {
|
|
|
8583
8588
|
| "custom_status"
|
|
8584
8589
|
| "media"
|
|
8585
8590
|
| "signature"
|
|
8591
|
+
| "workorder"
|
|
8586
8592
|
)[];
|
|
8587
8593
|
sortBy?: {
|
|
8588
8594
|
field: "_id" | "time" | "createdAt" | "updatedAt";
|
|
@@ -8903,6 +8909,7 @@ export namespace Service {
|
|
|
8903
8909
|
total_asset_part_units_qty?: number;
|
|
8904
8910
|
integration_meta?: { [key: string]: any };
|
|
8905
8911
|
failed_reasons?: { code: string; message: string; [key: string]: any }[];
|
|
8912
|
+
workorder?: StringId;
|
|
8906
8913
|
company_namespace: string[];
|
|
8907
8914
|
createdAt: Date;
|
|
8908
8915
|
updatedAt: Date;
|
|
@@ -8955,6 +8962,7 @@ export namespace Service {
|
|
|
8955
8962
|
total_asset_part_units_qty?: number;
|
|
8956
8963
|
integration_meta?: { [key: string]: any };
|
|
8957
8964
|
failed_reasons?: { code: string; message: string; [key: string]: any }[];
|
|
8965
|
+
workorder?: StringId | Workorder.WorkorderSchema;
|
|
8958
8966
|
company_namespace: string[];
|
|
8959
8967
|
createdAt: Date;
|
|
8960
8968
|
updatedAt: Date;
|
|
@@ -8989,6 +8997,7 @@ export namespace Service {
|
|
|
8989
8997
|
integration_meta?: { [key: string]: any };
|
|
8990
8998
|
asset_part_units_count?: number;
|
|
8991
8999
|
total_asset_part_units_qty?: number;
|
|
9000
|
+
workorder?: StringId;
|
|
8992
9001
|
company_namespace: string[];
|
|
8993
9002
|
}
|
|
8994
9003
|
export interface UpdateBody {
|
|
@@ -9033,6 +9042,7 @@ export namespace Service {
|
|
|
9033
9042
|
isResubmitted?: boolean;
|
|
9034
9043
|
note?: string;
|
|
9035
9044
|
stage?: number;
|
|
9045
|
+
workorder?: StringId;
|
|
9036
9046
|
company_namespace?: string[];
|
|
9037
9047
|
createdAt?: Date;
|
|
9038
9048
|
updatedAt?: Date;
|
|
@@ -9064,6 +9074,7 @@ export namespace Service {
|
|
|
9064
9074
|
to_createdAt?: number;
|
|
9065
9075
|
from_updatedAt?: number;
|
|
9066
9076
|
to_updatedAt?: number;
|
|
9077
|
+
workorder?: StringId | StringId[];
|
|
9067
9078
|
populatesKeys?: (
|
|
9068
9079
|
| "client"
|
|
9069
9080
|
| "asset_part_unit"
|
|
@@ -9072,6 +9083,7 @@ export namespace Service {
|
|
|
9072
9083
|
| "custom_status"
|
|
9073
9084
|
| "meadia"
|
|
9074
9085
|
| "signature"
|
|
9086
|
+
| "workorder"
|
|
9075
9087
|
)[];
|
|
9076
9088
|
sortBy?: {
|
|
9077
9089
|
field: "_id" | "time" | "createdAt" | "updatedAt";
|
|
@@ -10261,7 +10273,7 @@ export namespace Service {
|
|
|
10261
10273
|
total_amount?: number;
|
|
10262
10274
|
tax_amount?: number;
|
|
10263
10275
|
discount_amount?: number;
|
|
10264
|
-
}
|
|
10276
|
+
}
|
|
10265
10277
|
];
|
|
10266
10278
|
total_amount?: number;
|
|
10267
10279
|
total_tax?: number;
|