repzo 1.0.204 → 1.0.206

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.
@@ -2433,6 +2433,8 @@ export declare namespace Service {
2433
2433
  rep_must_enter_invoice_external_serial_number?: boolean;
2434
2434
  rep_can_create_negative_invoices?: boolean;
2435
2435
  rep_must_end_day_after_specific_time: boolean;
2436
+ rep_can_upload_media_on_payment?: boolean;
2437
+ rep_can_access_sales_reports?: boolean;
2436
2438
  }
2437
2439
  interface TargetResults {
2438
2440
  totalPoints: number;
@@ -2683,6 +2685,8 @@ export declare namespace Service {
2683
2685
  "permissions.rep_must_enter_invoice_external_serial_number"?: boolean;
2684
2686
  "permissions.rep_must_end_day_after_specific_time"?: boolean;
2685
2687
  "permissions.rep_can_create_negative_invoices"?: boolean;
2688
+ "permissions.rep_can_upload_media_on_payment"?: boolean;
2689
+ "permissions.rep_can_access_sales_reports"?: boolean;
2686
2690
  "settings.rep_must_end_day_after"?: `${number}:${number}`;
2687
2691
  "settings.allowable_accuracy"?: number;
2688
2692
  "settings.is_item_status_per_visit_limited"?: boolean;
@@ -16880,6 +16884,11 @@ export declare namespace Service {
16880
16884
  export type UpdateBody = Partial<Data>;
16881
16885
  export type PopulatedDoc = Data & {
16882
16886
  teams_populated?: Pick<Team.TeamSchema, "name" | "_id">[];
16887
+ sequences_count?: number;
16888
+ slides_count?: number;
16889
+ cover_slide?: PopulatedMediaStorage & {
16890
+ ContentLength?: number;
16891
+ };
16883
16892
  };
16884
16893
  type PopulatedKeys = "teams";
16885
16894
  type SortingKeys = "_id" | "createdAt" | "updatedAt";
@@ -16899,6 +16908,8 @@ export declare namespace Service {
16899
16908
  to_updatedAt?: number;
16900
16909
  from_createdAt?: number;
16901
16910
  to_createdAt?: number;
16911
+ with_counts?: boolean;
16912
+ with_cover?: boolean;
16902
16913
  };
16903
16914
  interface Result extends DefaultPaginationResult {
16904
16915
  data: PopulatedDoc[];
@@ -16908,6 +16919,8 @@ export declare namespace Service {
16908
16919
  type ID = string;
16909
16920
  type Params = {
16910
16921
  populatedKeys?: PopulatedKeys[];
16922
+ with_counts?: boolean;
16923
+ with_cover?: boolean;
16911
16924
  };
16912
16925
  type Result = PopulatedDoc;
16913
16926
  }
@@ -16930,6 +16943,7 @@ export declare namespace Service {
16930
16943
  export interface Data {
16931
16944
  _id: StringId;
16932
16945
  company_namespace: string[];
16946
+ name: string;
16933
16947
  presentation: StringId;
16934
16948
  product: StringId;
16935
16949
  disabled: boolean;
@@ -16940,6 +16954,7 @@ export declare namespace Service {
16940
16954
  }
16941
16955
  export interface CreateBody {
16942
16956
  company_namespace?: string[];
16957
+ name: string;
16943
16958
  presentation: StringId;
16944
16959
  product: StringId;
16945
16960
  disabled?: boolean;
@@ -17000,11 +17015,13 @@ export declare namespace Service {
17000
17015
  _id: StringId;
17001
17016
  company_namespace: string[];
17002
17017
  sequence: StringId;
17018
+ presentation: StringId;
17003
17019
  photo_media: StringId;
17004
17020
  is_book_mark?: boolean;
17005
17021
  book_mark_key_message?: string;
17006
17022
  disabled: boolean;
17007
17023
  position: number;
17024
+ is_cover?: boolean;
17008
17025
  createdAt: string;
17009
17026
  updatedAt: string;
17010
17027
  __v?: number;
@@ -17012,16 +17029,20 @@ export declare namespace Service {
17012
17029
  export interface CreateBody {
17013
17030
  company_namespace?: string[];
17014
17031
  sequence: StringId;
17032
+ presentation?: StringId;
17015
17033
  photo_media: StringId;
17016
17034
  is_book_mark?: boolean;
17017
17035
  book_mark_key_message?: string;
17018
17036
  disabled?: boolean;
17019
17037
  position: number;
17038
+ is_cover?: boolean;
17020
17039
  }
17021
17040
  export type UpdateBody = Partial<Data>;
17022
17041
  export type PopulatedDoc = Data & {
17023
17042
  sequence_populated?: Pick<CLMSequence.Data, "position" | "_id" | "product" | "presentation">[];
17024
- photo_media_populated?: PopulatedMediaStorage;
17043
+ photo_media_populated?: PopulatedMediaStorage & {
17044
+ ContentLength?: number;
17045
+ };
17025
17046
  };
17026
17047
  type PopulatedKeys = "sequence" | "photo_media";
17027
17048
  type SortingKeys = "_id" | "position" | "is_book_mark";
@@ -17035,12 +17056,14 @@ export declare namespace Service {
17035
17056
  _id?: StringId | StringId[];
17036
17057
  search?: string;
17037
17058
  sequence?: StringId | StringId[];
17059
+ presentation?: StringId | StringId[];
17038
17060
  is_book_mark?: boolean | boolean[];
17039
17061
  disabled?: boolean;
17040
17062
  from_updatedAt?: number;
17041
17063
  to_updatedAt?: number;
17042
17064
  from_createdAt?: number;
17043
17065
  to_createdAt?: number;
17066
+ is_cover?: boolean;
17044
17067
  };
17045
17068
  interface Result extends DefaultPaginationResult {
17046
17069
  data: PopulatedDoc[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "repzo",
3
- "version": "1.0.204",
3
+ "version": "1.0.206",
4
4
  "description": "Repzo TypeScript SDK",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -2816,6 +2816,8 @@ export namespace Service {
2816
2816
  rep_must_enter_invoice_external_serial_number?: boolean;
2817
2817
  rep_can_create_negative_invoices?: boolean;
2818
2818
  rep_must_end_day_after_specific_time: boolean;
2819
+ rep_can_upload_media_on_payment?: boolean;
2820
+ rep_can_access_sales_reports?: boolean;
2819
2821
  }
2820
2822
  interface TargetResults {
2821
2823
  totalPoints: number;
@@ -3089,6 +3091,8 @@ export namespace Service {
3089
3091
  "permissions.rep_must_enter_invoice_external_serial_number"?: boolean;
3090
3092
  "permissions.rep_must_end_day_after_specific_time"?: boolean;
3091
3093
  "permissions.rep_can_create_negative_invoices"?: boolean;
3094
+ "permissions.rep_can_upload_media_on_payment"?: boolean;
3095
+ "permissions.rep_can_access_sales_reports"?: boolean;
3092
3096
  "settings.rep_must_end_day_after"?: `${number}:${number}`;
3093
3097
  "settings.allowable_accuracy"?: number;
3094
3098
  "settings.is_item_status_per_visit_limited"?: boolean;
@@ -19137,6 +19141,9 @@ export namespace Service {
19137
19141
 
19138
19142
  export type PopulatedDoc = Data & {
19139
19143
  teams_populated?: Pick<Team.TeamSchema, "name" | "_id">[];
19144
+ sequences_count?: number;
19145
+ slides_count?: number;
19146
+ cover_slide?: PopulatedMediaStorage & { ContentLength?: number };
19140
19147
  };
19141
19148
 
19142
19149
  type PopulatedKeys = "teams";
@@ -19155,6 +19162,8 @@ export namespace Service {
19155
19162
  to_updatedAt?: number;
19156
19163
  from_createdAt?: number;
19157
19164
  to_createdAt?: number;
19165
+ with_counts?: boolean;
19166
+ with_cover?: boolean;
19158
19167
  };
19159
19168
  export interface Result extends DefaultPaginationResult {
19160
19169
  data: PopulatedDoc[];
@@ -19162,7 +19171,11 @@ export namespace Service {
19162
19171
  }
19163
19172
  export namespace Get {
19164
19173
  export type ID = string;
19165
- export type Params = { populatedKeys?: PopulatedKeys[] };
19174
+ export type Params = {
19175
+ populatedKeys?: PopulatedKeys[];
19176
+ with_counts?: boolean;
19177
+ with_cover?: boolean;
19178
+ };
19166
19179
  export type Result = PopulatedDoc;
19167
19180
  }
19168
19181
  export namespace Create {
@@ -19184,6 +19197,7 @@ export namespace Service {
19184
19197
  export interface Data {
19185
19198
  _id: StringId;
19186
19199
  company_namespace: string[];
19200
+ name: string;
19187
19201
  presentation: StringId;
19188
19202
  product: StringId;
19189
19203
  disabled: boolean;
@@ -19194,6 +19208,7 @@ export namespace Service {
19194
19208
  }
19195
19209
  export interface CreateBody {
19196
19210
  company_namespace?: string[];
19211
+ name: string;
19197
19212
  presentation: StringId;
19198
19213
  product: StringId;
19199
19214
  disabled?: boolean;
@@ -19255,11 +19270,13 @@ export namespace Service {
19255
19270
  _id: StringId;
19256
19271
  company_namespace: string[];
19257
19272
  sequence: StringId;
19273
+ presentation: StringId;
19258
19274
  photo_media: StringId;
19259
19275
  is_book_mark?: boolean;
19260
19276
  book_mark_key_message?: string;
19261
19277
  disabled: boolean;
19262
19278
  position: number;
19279
+ is_cover?: boolean;
19263
19280
  createdAt: string;
19264
19281
  updatedAt: string;
19265
19282
  __v?: number;
@@ -19267,11 +19284,13 @@ export namespace Service {
19267
19284
  export interface CreateBody {
19268
19285
  company_namespace?: string[];
19269
19286
  sequence: StringId;
19287
+ presentation?: StringId;
19270
19288
  photo_media: StringId;
19271
19289
  is_book_mark?: boolean;
19272
19290
  book_mark_key_message?: string;
19273
19291
  disabled?: boolean;
19274
19292
  position: number;
19293
+ is_cover?: boolean;
19275
19294
  }
19276
19295
  export type UpdateBody = Partial<Data>;
19277
19296
 
@@ -19280,7 +19299,9 @@ export namespace Service {
19280
19299
  CLMSequence.Data,
19281
19300
  "position" | "_id" | "product" | "presentation"
19282
19301
  >[];
19283
- photo_media_populated?: PopulatedMediaStorage;
19302
+ photo_media_populated?: PopulatedMediaStorage & {
19303
+ ContentLength?: number;
19304
+ };
19284
19305
  };
19285
19306
 
19286
19307
  type PopulatedKeys = "sequence" | "photo_media";
@@ -19293,12 +19314,14 @@ export namespace Service {
19293
19314
  _id?: StringId | StringId[];
19294
19315
  search?: string;
19295
19316
  sequence?: StringId | StringId[];
19317
+ presentation?: StringId | StringId[];
19296
19318
  is_book_mark?: boolean | boolean[];
19297
19319
  disabled?: boolean;
19298
19320
  from_updatedAt?: number;
19299
19321
  to_updatedAt?: number;
19300
19322
  from_createdAt?: number;
19301
19323
  to_createdAt?: number;
19324
+ is_cover?: boolean;
19302
19325
  };
19303
19326
  export interface Result extends DefaultPaginationResult {
19304
19327
  data: PopulatedDoc[];