repzo 1.0.194 → 1.0.196
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 +67 -7
- package/package.json +1 -1
- package/src/types/index.ts +71 -7
package/lib/types/index.d.ts
CHANGED
|
@@ -452,7 +452,7 @@ export declare namespace Service {
|
|
|
452
452
|
};
|
|
453
453
|
paymentTerm?: StringId;
|
|
454
454
|
speciality?: StringId[];
|
|
455
|
-
company_namespace
|
|
455
|
+
company_namespace?: string[];
|
|
456
456
|
channel?: StringId;
|
|
457
457
|
isChain?: boolean;
|
|
458
458
|
chain?: StringId;
|
|
@@ -16093,8 +16093,7 @@ export declare namespace Service {
|
|
|
16093
16093
|
disabled?: boolean;
|
|
16094
16094
|
position?: number;
|
|
16095
16095
|
report_types?: ReportType | ReportType[];
|
|
16096
|
-
|
|
16097
|
-
to_updatedAt?: Date;
|
|
16096
|
+
search?: string;
|
|
16098
16097
|
};
|
|
16099
16098
|
interface Result extends DefaultPaginationResult {
|
|
16100
16099
|
data: Data[];
|
|
@@ -16166,11 +16165,13 @@ export declare namespace Service {
|
|
|
16166
16165
|
disabled?: boolean;
|
|
16167
16166
|
position?: number;
|
|
16168
16167
|
report_types?: ReportType | ReportType[];
|
|
16169
|
-
|
|
16170
|
-
|
|
16168
|
+
column_group?: StringId | StringId[];
|
|
16169
|
+
populatedKeys?: "column_group"[];
|
|
16171
16170
|
};
|
|
16172
16171
|
interface Result extends DefaultPaginationResult {
|
|
16173
|
-
data: Data
|
|
16172
|
+
data: (Data & {
|
|
16173
|
+
column_group_populated?: ReportColumnGroup.Data;
|
|
16174
|
+
})[];
|
|
16174
16175
|
}
|
|
16175
16176
|
}
|
|
16176
16177
|
namespace Get {
|
|
@@ -16294,6 +16295,7 @@ export declare namespace Service {
|
|
|
16294
16295
|
endpoint?: string;
|
|
16295
16296
|
static_data?: StaticData[];
|
|
16296
16297
|
group_data: GroupData[];
|
|
16298
|
+
filter_group: StringId;
|
|
16297
16299
|
createdAt?: Date;
|
|
16298
16300
|
updatedAt?: Date;
|
|
16299
16301
|
}
|
|
@@ -16303,6 +16305,7 @@ export declare namespace Service {
|
|
|
16303
16305
|
render_key: string;
|
|
16304
16306
|
filter_key: string;
|
|
16305
16307
|
report_types: ReportType[];
|
|
16308
|
+
filter_group: StringId;
|
|
16306
16309
|
type: DataType;
|
|
16307
16310
|
input_type: InputType;
|
|
16308
16311
|
is_multi_select?: boolean;
|
|
@@ -16319,6 +16322,7 @@ export declare namespace Service {
|
|
|
16319
16322
|
key?: string;
|
|
16320
16323
|
render_key?: string;
|
|
16321
16324
|
filter_key?: string;
|
|
16325
|
+
filter_group?: StringId;
|
|
16322
16326
|
report_types?: ReportType[];
|
|
16323
16327
|
type?: DataType;
|
|
16324
16328
|
input_type?: InputType;
|
|
@@ -16337,9 +16341,12 @@ export declare namespace Service {
|
|
|
16337
16341
|
from_createdAt?: Date;
|
|
16338
16342
|
to_updatedAt?: Date;
|
|
16339
16343
|
search?: string;
|
|
16344
|
+
populatedKeys?: ["filter_group"];
|
|
16340
16345
|
};
|
|
16341
16346
|
interface Result extends DefaultPaginationResult {
|
|
16342
|
-
data: Data
|
|
16347
|
+
data: (Data & {
|
|
16348
|
+
filter_group_populated?: ReportFilterGroup.Data;
|
|
16349
|
+
})[];
|
|
16343
16350
|
}
|
|
16344
16351
|
}
|
|
16345
16352
|
namespace Get {
|
|
@@ -16472,6 +16479,59 @@ export declare namespace Service {
|
|
|
16472
16479
|
}
|
|
16473
16480
|
export {};
|
|
16474
16481
|
}
|
|
16482
|
+
namespace ReportFilterGroup {
|
|
16483
|
+
interface Data {
|
|
16484
|
+
_id: StringId;
|
|
16485
|
+
name: string;
|
|
16486
|
+
position: number;
|
|
16487
|
+
disabled: boolean;
|
|
16488
|
+
report_types: ReportType[];
|
|
16489
|
+
createdAt: string;
|
|
16490
|
+
updatedAt?: string;
|
|
16491
|
+
}
|
|
16492
|
+
interface CreateBody {
|
|
16493
|
+
name: string;
|
|
16494
|
+
position?: number;
|
|
16495
|
+
report_types: ReportType[];
|
|
16496
|
+
}
|
|
16497
|
+
interface UpdateBody {
|
|
16498
|
+
name?: string;
|
|
16499
|
+
position?: number;
|
|
16500
|
+
report_types?: ReportType[];
|
|
16501
|
+
}
|
|
16502
|
+
namespace Find {
|
|
16503
|
+
type Params = DefaultPaginationQueryParams & {
|
|
16504
|
+
_id?: StringId | StringId[];
|
|
16505
|
+
name?: string | string[];
|
|
16506
|
+
disabled?: boolean;
|
|
16507
|
+
position?: number;
|
|
16508
|
+
search?: string;
|
|
16509
|
+
report_types?: ReportType | ReportType[];
|
|
16510
|
+
};
|
|
16511
|
+
interface Result extends DefaultPaginationResult {
|
|
16512
|
+
data: Data[];
|
|
16513
|
+
}
|
|
16514
|
+
}
|
|
16515
|
+
namespace Get {
|
|
16516
|
+
type ID = StringId;
|
|
16517
|
+
type Params = {};
|
|
16518
|
+
type Result = Data;
|
|
16519
|
+
}
|
|
16520
|
+
namespace Create {
|
|
16521
|
+
type Body = CreateBody;
|
|
16522
|
+
type Result = Data;
|
|
16523
|
+
}
|
|
16524
|
+
namespace Update {
|
|
16525
|
+
type ID = StringId;
|
|
16526
|
+
type Body = UpdateBody;
|
|
16527
|
+
type Result = Data;
|
|
16528
|
+
}
|
|
16529
|
+
namespace Remove {
|
|
16530
|
+
type ID = StringId;
|
|
16531
|
+
type Params = {};
|
|
16532
|
+
type Result = Data;
|
|
16533
|
+
}
|
|
16534
|
+
}
|
|
16475
16535
|
}
|
|
16476
16536
|
export type StringId = string;
|
|
16477
16537
|
export type NameSpaces = string[];
|
package/package.json
CHANGED
package/src/types/index.ts
CHANGED
|
@@ -610,7 +610,7 @@ export namespace Service {
|
|
|
610
610
|
customFields?: { [key: string]: string | number | boolean | StringId };
|
|
611
611
|
paymentTerm?: StringId;
|
|
612
612
|
speciality?: StringId[];
|
|
613
|
-
company_namespace
|
|
613
|
+
company_namespace?: string[];
|
|
614
614
|
channel?: StringId;
|
|
615
615
|
isChain?: boolean;
|
|
616
616
|
chain?: StringId;
|
|
@@ -18246,8 +18246,7 @@ export namespace Service {
|
|
|
18246
18246
|
disabled?: boolean;
|
|
18247
18247
|
position?: number;
|
|
18248
18248
|
report_types?: ReportType | ReportType[];
|
|
18249
|
-
|
|
18250
|
-
to_updatedAt?: Date;
|
|
18249
|
+
search?: string;
|
|
18251
18250
|
};
|
|
18252
18251
|
|
|
18253
18252
|
export interface Result extends DefaultPaginationResult {
|
|
@@ -18328,12 +18327,12 @@ export namespace Service {
|
|
|
18328
18327
|
disabled?: boolean;
|
|
18329
18328
|
position?: number;
|
|
18330
18329
|
report_types?: ReportType | ReportType[];
|
|
18331
|
-
|
|
18332
|
-
|
|
18330
|
+
column_group?: StringId | StringId[];
|
|
18331
|
+
populatedKeys?: "column_group"[];
|
|
18333
18332
|
};
|
|
18334
18333
|
|
|
18335
18334
|
export interface Result extends DefaultPaginationResult {
|
|
18336
|
-
data: Data[];
|
|
18335
|
+
data: (Data & { column_group_populated?: ReportColumnGroup.Data })[];
|
|
18337
18336
|
}
|
|
18338
18337
|
}
|
|
18339
18338
|
|
|
@@ -18526,6 +18525,7 @@ export namespace Service {
|
|
|
18526
18525
|
endpoint?: string;
|
|
18527
18526
|
static_data?: StaticData[];
|
|
18528
18527
|
group_data: GroupData[];
|
|
18528
|
+
filter_group: StringId;
|
|
18529
18529
|
createdAt?: Date;
|
|
18530
18530
|
updatedAt?: Date;
|
|
18531
18531
|
}
|
|
@@ -18536,6 +18536,7 @@ export namespace Service {
|
|
|
18536
18536
|
render_key: string;
|
|
18537
18537
|
filter_key: string;
|
|
18538
18538
|
report_types: ReportType[];
|
|
18539
|
+
filter_group: StringId;
|
|
18539
18540
|
type: DataType;
|
|
18540
18541
|
input_type: InputType;
|
|
18541
18542
|
is_multi_select?: boolean;
|
|
@@ -18553,6 +18554,7 @@ export namespace Service {
|
|
|
18553
18554
|
key?: string;
|
|
18554
18555
|
render_key?: string;
|
|
18555
18556
|
filter_key?: string;
|
|
18557
|
+
filter_group?: StringId;
|
|
18556
18558
|
report_types?: ReportType[];
|
|
18557
18559
|
type?: DataType;
|
|
18558
18560
|
input_type?: InputType;
|
|
@@ -18572,10 +18574,11 @@ export namespace Service {
|
|
|
18572
18574
|
from_createdAt?: Date;
|
|
18573
18575
|
to_updatedAt?: Date;
|
|
18574
18576
|
search?: string;
|
|
18577
|
+
populatedKeys?: ["filter_group"];
|
|
18575
18578
|
};
|
|
18576
18579
|
|
|
18577
18580
|
export interface Result extends DefaultPaginationResult {
|
|
18578
|
-
data: Data[];
|
|
18581
|
+
data: (Data & { filter_group_populated?: ReportFilterGroup.Data })[];
|
|
18579
18582
|
}
|
|
18580
18583
|
}
|
|
18581
18584
|
|
|
@@ -18707,6 +18710,67 @@ export namespace Service {
|
|
|
18707
18710
|
export type Result = Data;
|
|
18708
18711
|
}
|
|
18709
18712
|
}
|
|
18713
|
+
|
|
18714
|
+
export namespace ReportFilterGroup {
|
|
18715
|
+
export interface Data {
|
|
18716
|
+
_id: StringId;
|
|
18717
|
+
name: string;
|
|
18718
|
+
position: number;
|
|
18719
|
+
disabled: boolean;
|
|
18720
|
+
report_types: ReportType[];
|
|
18721
|
+
createdAt: string;
|
|
18722
|
+
updatedAt?: string;
|
|
18723
|
+
}
|
|
18724
|
+
|
|
18725
|
+
export interface CreateBody {
|
|
18726
|
+
name: string;
|
|
18727
|
+
position?: number;
|
|
18728
|
+
report_types: ReportType[];
|
|
18729
|
+
}
|
|
18730
|
+
|
|
18731
|
+
export interface UpdateBody {
|
|
18732
|
+
name?: string;
|
|
18733
|
+
position?: number;
|
|
18734
|
+
report_types?: ReportType[];
|
|
18735
|
+
}
|
|
18736
|
+
|
|
18737
|
+
export namespace Find {
|
|
18738
|
+
export type Params = DefaultPaginationQueryParams & {
|
|
18739
|
+
_id?: StringId | StringId[];
|
|
18740
|
+
name?: string | string[];
|
|
18741
|
+
disabled?: boolean;
|
|
18742
|
+
position?: number;
|
|
18743
|
+
search?: string;
|
|
18744
|
+
report_types?: ReportType | ReportType[];
|
|
18745
|
+
};
|
|
18746
|
+
export interface Result extends DefaultPaginationResult {
|
|
18747
|
+
data: Data[];
|
|
18748
|
+
}
|
|
18749
|
+
}
|
|
18750
|
+
|
|
18751
|
+
export namespace Get {
|
|
18752
|
+
export type ID = StringId;
|
|
18753
|
+
export type Params = {};
|
|
18754
|
+
export type Result = Data;
|
|
18755
|
+
}
|
|
18756
|
+
|
|
18757
|
+
export namespace Create {
|
|
18758
|
+
export type Body = CreateBody;
|
|
18759
|
+
export type Result = Data;
|
|
18760
|
+
}
|
|
18761
|
+
|
|
18762
|
+
export namespace Update {
|
|
18763
|
+
export type ID = StringId;
|
|
18764
|
+
export type Body = UpdateBody;
|
|
18765
|
+
export type Result = Data;
|
|
18766
|
+
}
|
|
18767
|
+
|
|
18768
|
+
export namespace Remove {
|
|
18769
|
+
export type ID = StringId;
|
|
18770
|
+
export type Params = {};
|
|
18771
|
+
export type Result = Data;
|
|
18772
|
+
}
|
|
18773
|
+
}
|
|
18710
18774
|
}
|
|
18711
18775
|
|
|
18712
18776
|
export type StringId = string;
|