repzo 1.0.151 → 1.0.152

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/index.d.ts CHANGED
@@ -319,7 +319,7 @@ export default class Repzo {
319
319
  rep: {
320
320
  _path: "rep";
321
321
  find: (params?: Service.Rep.Find.Params) => Promise<Service.Rep.Find.Result>;
322
- get: (id: Service.Rep.Get.ID, params?: Service.Client.Get.Params) => Promise<Service.Rep.Get.Result>;
322
+ get: (id: Service.Rep.Get.ID, params?: Service.Rep.Get.Params) => Promise<Service.Rep.Get.Result>;
323
323
  create: (body: Service.Rep.Create.Body) => Promise<Service.Rep.Create.Result>;
324
324
  update: (id: Service.Rep.Update.ID, body: Service.Rep.Update.Body) => Promise<Service.Rep.Update.Result>;
325
325
  remove: (id: Service.Rep.Remove.ID) => Promise<Service.Rep.Remove.Result>;
@@ -2684,7 +2684,7 @@ export declare namespace Service {
2684
2684
  populatedKeys?: PopulatedKeys[];
2685
2685
  withProductLines?: boolean;
2686
2686
  }
2687
- type Result = RepSchema;
2687
+ type Result = RepWithPopulatedKeysSchema;
2688
2688
  }
2689
2689
  export namespace Create {
2690
2690
  interface Body extends RepBody {
@@ -7254,6 +7254,7 @@ export declare namespace Service {
7254
7254
  company_namespace: string[];
7255
7255
  sync_id: string;
7256
7256
  transaction_processed: boolean;
7257
+ media?: StringId[];
7257
7258
  createdAt: Date;
7258
7259
  updatedAt: Date;
7259
7260
  }
@@ -7283,12 +7284,14 @@ export declare namespace Service {
7283
7284
  company_namespace: string[];
7284
7285
  sync_id: string;
7285
7286
  transaction_processed: boolean;
7287
+ media?: StringId[];
7286
7288
  }
7287
7289
  type SettlementSchemaWithPopulatedKeys = SettlementSchema & {
7288
7290
  teams_populated?: string[] | Team.TeamSchema[];
7289
7291
  check_populated?: string | Check.CheckSchema;
7292
+ media_populated?: StringId[] | MediaPopulated[];
7290
7293
  };
7291
- type PopulatedKeys = "teams" | "check_id";
7294
+ type PopulatedKeys = "teams" | "check_id" | "media";
7292
7295
  export namespace Find {
7293
7296
  type Params = DefaultPaginationQueryParams & {
7294
7297
  _id?: StringId[] | StringId;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "repzo",
3
- "version": "1.0.151",
3
+ "version": "1.0.152",
4
4
  "description": "Repzo TypeScript SDK",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -3095,7 +3095,7 @@ export namespace Service {
3095
3095
  populatedKeys?: PopulatedKeys[];
3096
3096
  withProductLines?: boolean;
3097
3097
  }
3098
- export type Result = RepSchema;
3098
+ export type Result = RepWithPopulatedKeysSchema;
3099
3099
  }
3100
3100
 
3101
3101
  export namespace Create {
@@ -7753,6 +7753,7 @@ export namespace Service {
7753
7753
  company_namespace: string[];
7754
7754
  sync_id: string;
7755
7755
  transaction_processed: boolean;
7756
+ media?: StringId[];
7756
7757
  createdAt: Date;
7757
7758
  updatedAt: Date;
7758
7759
  }
@@ -7782,13 +7783,15 @@ export namespace Service {
7782
7783
  company_namespace: string[];
7783
7784
  sync_id: string;
7784
7785
  transaction_processed: boolean;
7786
+ media?: StringId[];
7785
7787
  }
7786
7788
 
7787
7789
  type SettlementSchemaWithPopulatedKeys = SettlementSchema & {
7788
7790
  teams_populated?: string[] | Team.TeamSchema[];
7789
7791
  check_populated?: string | Check.CheckSchema;
7792
+ media_populated?: StringId[] | MediaPopulated[];
7790
7793
  };
7791
- type PopulatedKeys = "teams" | "check_id";
7794
+ type PopulatedKeys = "teams" | "check_id" | "media";
7792
7795
  export namespace Find {
7793
7796
  export type Params = DefaultPaginationQueryParams & {
7794
7797
  _id?: StringId[] | StringId;