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.
@@ -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
- type Result = {
17668
- usage_per: "promo" | "client" | "rep";
17669
- promo: StringId;
17670
- rep?: StringId;
17671
- client?: StringId;
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "repzo",
3
- "version": "1.0.240",
3
+ "version": "1.0.241",
4
4
  "description": "Repzo TypeScript SDK",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -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
- export type Result = {
19743
- usage_per: "promo" | "client" | "rep";
19744
- promo: StringId;
19745
- rep?: StringId;
19746
- client?: StringId;
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
  }