repzo 1.0.240 → 1.0.241
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 +13 -8
- package/package.json +1 -1
- package/src/types/index.ts +13 -8
package/lib/types/index.d.ts
CHANGED
|
@@ -17662,15 +17662,20 @@ export declare namespace Service {
|
|
|
17662
17662
|
}
|
|
17663
17663
|
}
|
|
17664
17664
|
namespace PromotionUsage {
|
|
17665
|
+
interface Data {
|
|
17666
|
+
usage_per: "promo" | "client" | "rep";
|
|
17667
|
+
promo: StringId;
|
|
17668
|
+
rep?: StringId;
|
|
17669
|
+
client?: StringId;
|
|
17670
|
+
count: number;
|
|
17671
|
+
}
|
|
17665
17672
|
namespace Find {
|
|
17666
|
-
type Params = {
|
|
17667
|
-
|
|
17668
|
-
|
|
17669
|
-
|
|
17670
|
-
|
|
17671
|
-
|
|
17672
|
-
count: number;
|
|
17673
|
-
}[];
|
|
17673
|
+
type Params = DefaultPaginationQueryParams & {
|
|
17674
|
+
[key: string]: any;
|
|
17675
|
+
};
|
|
17676
|
+
interface Result extends DefaultPaginationResult {
|
|
17677
|
+
data: Data[];
|
|
17678
|
+
}
|
|
17674
17679
|
}
|
|
17675
17680
|
}
|
|
17676
17681
|
}
|
package/package.json
CHANGED
package/src/types/index.ts
CHANGED
|
@@ -19737,15 +19737,20 @@ export namespace Service {
|
|
|
19737
19737
|
}
|
|
19738
19738
|
|
|
19739
19739
|
export namespace PromotionUsage {
|
|
19740
|
+
export interface Data {
|
|
19741
|
+
usage_per: "promo" | "client" | "rep";
|
|
19742
|
+
promo: StringId;
|
|
19743
|
+
rep?: StringId;
|
|
19744
|
+
client?: StringId;
|
|
19745
|
+
count: number;
|
|
19746
|
+
}
|
|
19740
19747
|
export namespace Find {
|
|
19741
|
-
export type Params = {
|
|
19742
|
-
|
|
19743
|
-
|
|
19744
|
-
|
|
19745
|
-
|
|
19746
|
-
|
|
19747
|
-
count: number;
|
|
19748
|
-
}[];
|
|
19748
|
+
export type Params = DefaultPaginationQueryParams & {
|
|
19749
|
+
[key: string]: any;
|
|
19750
|
+
};
|
|
19751
|
+
export interface Result extends DefaultPaginationResult {
|
|
19752
|
+
data: Data[];
|
|
19753
|
+
}
|
|
19749
19754
|
}
|
|
19750
19755
|
}
|
|
19751
19756
|
}
|