repzo 1.0.168 → 1.0.170

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
@@ -924,6 +924,7 @@ export default class Repzo {
924
924
  };
925
925
  resetCompanyNamespace: {
926
926
  _path: "reset-company-namespace";
927
+ options: () => Promise<Service.ResetCompanyNamespace.Options.Result>;
927
928
  find: (params?: Service.ResetCompanyNamespace.Find.Params) => Promise<Service.ResetCompanyNamespace.Find.Result>;
928
929
  get: (id: Service.ResetCompanyNamespace.Get.ID, params?: Service.ResetCompanyNamespace.Get.Params) => Promise<Service.ResetCompanyNamespace.Get.Result>;
929
930
  create: (body: Service.ResetCompanyNamespace.Create.Body) => Promise<Service.ResetCompanyNamespace.Create.Result>;
@@ -931,6 +932,13 @@ export default class Repzo {
931
932
  };
932
933
  testResetCompanyNamespace: {
933
934
  _path: "test-reset-company-namespace";
935
+ reset: ({ nameSpace, services, }: {
936
+ nameSpace: string;
937
+ services: {
938
+ [key: string]: boolean;
939
+ }[];
940
+ }) => Promise<Service.TestResetCompanyNamespace.Create.Result>;
941
+ options: () => Promise<Service.TestResetCompanyNamespace.Options.Result>;
934
942
  find: (params?: Service.TestResetCompanyNamespace.Find.Params) => Promise<Service.TestResetCompanyNamespace.Find.Result>;
935
943
  get: (id: Service.TestResetCompanyNamespace.Get.ID, params?: Service.TestResetCompanyNamespace.Get.Params) => Promise<Service.TestResetCompanyNamespace.Get.Result>;
936
944
  create: (body: Service.TestResetCompanyNamespace.Create.Body) => Promise<Service.TestResetCompanyNamespace.Create.Result>;
package/lib/index.js CHANGED
@@ -1858,6 +1858,13 @@ class Repzo {
1858
1858
  };
1859
1859
  this.resetCompanyNamespace = {
1860
1860
  _path: Repzo._end_points.RESET_COMPANY_NAMESPACE,
1861
+ options: async () => {
1862
+ const params = {
1863
+ options: true,
1864
+ };
1865
+ let res = await this._fetch(this.svAPIEndpoint, this.resetCompanyNamespace._path, params);
1866
+ return res;
1867
+ },
1861
1868
  find: async (params) => {
1862
1869
  let res = await this._fetch(this.svAPIEndpoint, this.resetCompanyNamespace._path, params);
1863
1870
  return res;
@@ -1876,6 +1883,35 @@ class Repzo {
1876
1883
  };
1877
1884
  this.testResetCompanyNamespace = {
1878
1885
  _path: Repzo._end_points.TEST_RESET_COMPANY_NAMESPACE,
1886
+ reset: async ({ nameSpace, services, }) => {
1887
+ try {
1888
+ const repzo_services = await this.testResetCompanyNamespace.options();
1889
+ for (let service in repzo_services) {
1890
+ const repzo_service = service;
1891
+ const match = services.find((s) => s[repzo_service]);
1892
+ if (match) {
1893
+ repzo_services[repzo_service].checked = match[repzo_service];
1894
+ }
1895
+ repzo_services[repzo_service].checked = true;
1896
+ }
1897
+ const body = {
1898
+ nameSpace,
1899
+ services: repzo_services,
1900
+ };
1901
+ return await this.testResetCompanyNamespace.create(body);
1902
+ }
1903
+ catch (e) {
1904
+ console.error(e);
1905
+ throw e;
1906
+ }
1907
+ },
1908
+ options: async () => {
1909
+ const params = {
1910
+ options: true,
1911
+ };
1912
+ let res = await this._fetch(this.svAPIEndpoint, this.testResetCompanyNamespace._path, params);
1913
+ return res;
1914
+ },
1879
1915
  find: async (params) => {
1880
1916
  let res = await this._fetch(this.svAPIEndpoint, this.testResetCompanyNamespace._path, params);
1881
1917
  return res;
@@ -7295,6 +7295,7 @@ export declare namespace Service {
7295
7295
  sync_id: string;
7296
7296
  transaction_processed: boolean;
7297
7297
  media?: StringId[];
7298
+ currency?: string;
7298
7299
  createdAt: Date;
7299
7300
  updatedAt: Date;
7300
7301
  }
@@ -14509,7 +14510,7 @@ export declare namespace Service {
14509
14510
  }
14510
14511
  export type VisitDetails = {
14511
14512
  activity_type: "visit";
14512
- activities: (ActivityAuditVisitDetails | ActivityPhotoVisitDetails | ActivityAvailabilityVisitDetails | ActivityNoteVisitDetails | ActivityTaskVisitDetails | ActivityPlanogramVisitDetails | ActivityShelfshareVisitDetails | ActivitySecondaryDisplayVisitDetails | ActivityCheckoutDisplayVisitDetails | ActivityItemStatusVisitDetails | ActivityFormResultVisitDetails | ActivityFormV2ResultVisitDetails | ActivityStorecheckVisitDetails | ActivityFeedbackVisitDetails | ApprovalRequestVisitDetails | AssetPartReceivalVisitDetails | AssetPartTransferVisitDetails | ReturnAssetPartUnitVisitDetails | StoreAssetPartUnitVisitDetails | PaymentVisitDetails | RefundVisitDetails | ConvertProformaVisitDetails | SettlementVisitDetails | FullInvoiceVisitDetails | ProformaVisitDetails | ReturnWholeInvoiceVisitDetails | VoidInvoiceVisitDetails)[];
14513
+ activities: (ActivityAuditVisitDetails | ActivityPhotoVisitDetails | ActivityAvailabilityVisitDetails | ActivityNoteVisitDetails | ActivityTaskVisitDetails | ActivityPlanogramVisitDetails | ActivityShelfshareVisitDetails | ActivitySecondaryDisplayVisitDetails | ActivityCheckoutDisplayVisitDetails | ActivityItemStatusVisitDetails | ActivityFormResultVisitDetails | ActivityFormV2ResultVisitDetails | ActivityStorecheckVisitDetails | ActivityFeedbackVisitDetails | ApprovalRequestVisitDetails | AssetPartReceivalVisitDetails | AssetPartTransferVisitDetails | ReturnAssetPartUnitVisitDetails | StoreAssetPartUnitVisitDetails | PaymentVisitDetails | RefundVisitDetails | ConvertProformaVisitDetails | FullInvoiceVisitDetails | ProformaVisitDetails | ReturnWholeInvoiceVisitDetails | VoidInvoiceVisitDetails)[];
14513
14514
  } & Pick<Visit.Data, "closed_by_system" | "geoPoint" | "start_time" | "end_time" | "total_time" | "battery_level" | "version_name" | "device_brand" | "start_out_of_geofence" | "end_out_of_geofence" | "auto_closed_by_geofence" | "auto_closed_by_geofence_reason" | "client_geo_location" | "delta_distance">;
14514
14515
  export type ActivityPhotoDetails = {
14515
14516
  activity_type: "activity-photo";
@@ -14720,11 +14721,7 @@ export declare namespace Service {
14720
14721
  } & Pick<Refund.Data, "amount" | "serial_number" | "currency" | "transaction_type" | "time">;
14721
14722
  export type SettlementDetails = {
14722
14723
  activity_type: "settlement";
14723
- } & Pick<Settlement.Data, "amount" | "serial_number" | "paytime" | "origin" | "payment_type">;
14724
- export type SettlementVisitDetails = {
14725
- activity_type: "settlement";
14726
- activity_id: StringId;
14727
- } & Pick<Settlement.Data, "amount" | "serial_number" | "origin" | "payment_type" | "time">;
14724
+ } & Pick<Settlement.Data, "amount" | "serial_number" | "paytime" | "origin" | "payment_type" | "currency">;
14728
14725
  export type ConvertProformaDetails = {
14729
14726
  activity_type: "convert-proforma";
14730
14727
  proforma_reference: FullInvoice.Data["proforma_reference"];
@@ -15090,7 +15087,6 @@ export declare namespace Service {
15090
15087
  export interface CreateBody {
15091
15088
  creator?: Admin;
15092
15089
  nameSpace: string;
15093
- company_namespace: string[];
15094
15090
  services: ServiceOptionMap;
15095
15091
  is_test_reset?: boolean;
15096
15092
  }
@@ -15129,14 +15125,12 @@ export declare namespace Service {
15129
15125
  field: "_id" | "status";
15130
15126
  type: "asc" | "desc";
15131
15127
  }[];
15132
- options?: boolean;
15133
15128
  };
15134
- interface PaginatedResult extends DefaultPaginationResult {
15129
+ interface Result extends DefaultPaginationResult {
15135
15130
  data: (Data & {
15136
15131
  expired?: boolean;
15137
15132
  })[];
15138
15133
  }
15139
- type Result = PaginatedResult | ServiceOptionMap;
15140
15134
  }
15141
15135
  export namespace Get {
15142
15136
  type ID = string;
@@ -15155,9 +15149,19 @@ export declare namespace Service {
15155
15149
  type ID = string;
15156
15150
  type Result = Data;
15157
15151
  }
15152
+ export namespace Options {
15153
+ type Params = {
15154
+ options: true;
15155
+ };
15156
+ type Result = ServiceOptionMap;
15157
+ }
15158
15158
  export {};
15159
15159
  }
15160
15160
  namespace TestResetCompanyNamespace {
15161
+ namespace Options {
15162
+ type Params = ResetCompanyNamespace.Options.Params;
15163
+ type Result = ResetCompanyNamespace.Options.Result;
15164
+ }
15161
15165
  namespace Find {
15162
15166
  type Params = ResetCompanyNamespace.Find.Params;
15163
15167
  type Result = ResetCompanyNamespace.Find.Result;
@@ -15168,7 +15172,7 @@ export declare namespace Service {
15168
15172
  type Result = ResetCompanyNamespace.Get.Result;
15169
15173
  }
15170
15174
  namespace Create {
15171
- type Body = ResetCompanyNamespace.Create.Body;
15175
+ type Body = Omit<ResetCompanyNamespace.Create.Body, "is_test_reset">;
15172
15176
  type Result = ResetCompanyNamespace.Create.Result;
15173
15177
  }
15174
15178
  namespace Update {
@@ -15218,7 +15222,7 @@ export declare namespace Service {
15218
15222
  }
15219
15223
  export type VisitDetails = {
15220
15224
  activity_type: "visit";
15221
- activities: (ActivityAuditVisitDetails | ActivityPhotoVisitDetails | ActivityAvailabilityVisitDetails | ActivityNoteVisitDetails | ActivityTaskVisitDetails | ActivityPlanogramVisitDetails | ActivityShelfshareVisitDetails | ActivitySecondaryDisplayVisitDetails | ActivityCheckoutDisplayVisitDetails | ActivityItemStatusVisitDetails | ActivityFormResultVisitDetails | ActivityFormV2ResultVisitDetails | ActivityStorecheckVisitDetails | ActivityFeedbackVisitDetails | ApprovalRequestVisitDetails | AssetPartReceivalVisitDetails | AssetPartTransferVisitDetails | ReturnAssetPartUnitVisitDetails | StoreAssetPartUnitVisitDetails | PaymentVisitDetails | RefundVisitDetails | ConvertProformaVisitDetails | SettlementVisitDetails | FullInvoiceVisitDetails | ProformaVisitDetails | ReturnWholeInvoiceVisitDetails | VoidInvoiceVisitDetails)[];
15225
+ activities: (ActivityAuditVisitDetails | ActivityPhotoVisitDetails | ActivityAvailabilityVisitDetails | ActivityNoteVisitDetails | ActivityTaskVisitDetails | ActivityPlanogramVisitDetails | ActivityShelfshareVisitDetails | ActivitySecondaryDisplayVisitDetails | ActivityCheckoutDisplayVisitDetails | ActivityItemStatusVisitDetails | ActivityFormResultVisitDetails | ActivityFormV2ResultVisitDetails | ActivityStorecheckVisitDetails | ActivityFeedbackVisitDetails | ApprovalRequestVisitDetails | AssetPartReceivalVisitDetails | AssetPartTransferVisitDetails | ReturnAssetPartUnitVisitDetails | StoreAssetPartUnitVisitDetails | PaymentVisitDetails | RefundVisitDetails | ConvertProformaVisitDetails | FullInvoiceVisitDetails | ProformaVisitDetails | ReturnWholeInvoiceVisitDetails | VoidInvoiceVisitDetails)[];
15222
15226
  feed_back_option?: StringId;
15223
15227
  feed_back_option_label?: string;
15224
15228
  } & Pick<Visit.Data, "closed_by_system" | "geoPoint" | "start_time" | "end_time" | "total_time" | "start_out_of_geofence" | "end_out_of_geofence" | "auto_closed_by_geofence" | "auto_closed_by_geofence_reason" | "client_geo_location" | "delta_distance">;
@@ -15442,11 +15446,7 @@ export declare namespace Service {
15442
15446
  } & Pick<Refund.Data, "amount" | "serial_number" | "currency" | "transaction_type" | "time">;
15443
15447
  export type SettlementDetails = {
15444
15448
  activity_type: "settlement";
15445
- } & Pick<Settlement.Data, "amount" | "serial_number" | "paytime" | "origin" | "payment_type">;
15446
- export type SettlementVisitDetails = {
15447
- activity_type: "settlement";
15448
- activity_id: StringId;
15449
- } & Pick<Settlement.Data, "amount" | "serial_number" | "origin" | "payment_type" | "time">;
15449
+ } & Pick<Settlement.Data, "amount" | "serial_number" | "paytime" | "origin" | "payment_type" | "currency">;
15450
15450
  export type ConvertProformaDetails = {
15451
15451
  activity_type: "convert-proforma";
15452
15452
  proforma_reference: FullInvoice.Data["proforma_reference"];
@@ -15473,7 +15473,8 @@ export declare namespace Service {
15473
15473
  export type ReceivingMaterialDetails = {
15474
15474
  activity_type: "receiving-material";
15475
15475
  to_name: string;
15476
- } & Pick<ReceivingMaterial.Data, "serial_number" | "to" | "items_count" | "comment">;
15476
+ supplier_name?: string;
15477
+ } & Pick<ReceivingMaterial.Data, "serial_number" | "to" | "items_count" | "comment" | "supplier">;
15477
15478
  export type FullInvoiceDetails = {
15478
15479
  activity_type: "fullinvoices";
15479
15480
  } & Pick<FullInvoice.Data, "total" | "serial_number" | "currency" | "issue_date" | "due_date" | "external_serial_number">;
@@ -15739,7 +15740,7 @@ export declare namespace Service {
15739
15740
  creator: AdminCreator;
15740
15741
  editor?: AdminCreator;
15741
15742
  _id?: string;
15742
- module: Model;
15743
+ module: RepzoModel;
15743
15744
  key: string;
15744
15745
  origin_type: "system_field" | "custom_field";
15745
15746
  disabled: boolean;
@@ -15766,7 +15767,7 @@ export declare namespace Service {
15766
15767
  export type Data = ReferenceData | NumberData | TextData;
15767
15768
  export interface BasicCreateBody {
15768
15769
  creator: AdminCreator;
15769
- module: Model;
15770
+ module: RepzoModel;
15770
15771
  key: string;
15771
15772
  origin_type: "system_field" | "custom_field";
15772
15773
  scope: "all" | "rep" | "admin";
@@ -15777,7 +15778,7 @@ export declare namespace Service {
15777
15778
  export type CreateBody = BasicCreateBody & (ReferenceData | NumberData | TextData);
15778
15779
  export interface BasicUpdateBody {
15779
15780
  editor?: AdminCreator;
15780
- module?: Model;
15781
+ module?: RepzoModel;
15781
15782
  key?: string;
15782
15783
  origin_type?: "system_field" | "custom_field";
15783
15784
  scope?: "all" | "rep" | "admin";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "repzo",
3
- "version": "1.0.168",
3
+ "version": "1.0.170",
4
4
  "description": "Repzo TypeScript SDK",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
package/src/index.ts CHANGED
@@ -4781,6 +4781,19 @@ export default class Repzo {
4781
4781
 
4782
4782
  resetCompanyNamespace = {
4783
4783
  _path: Repzo._end_points.RESET_COMPANY_NAMESPACE,
4784
+ options:
4785
+ async (): Promise<Service.ResetCompanyNamespace.Options.Result> => {
4786
+ const params: Service.ResetCompanyNamespace.Options.Params = {
4787
+ options: true,
4788
+ };
4789
+ let res: Service.ResetCompanyNamespace.Options.Result =
4790
+ await this._fetch(
4791
+ this.svAPIEndpoint,
4792
+ this.resetCompanyNamespace._path,
4793
+ params,
4794
+ );
4795
+ return res;
4796
+ },
4784
4797
  find: async (
4785
4798
  params?: Service.ResetCompanyNamespace.Find.Params,
4786
4799
  ): Promise<Service.ResetCompanyNamespace.Find.Result> => {
@@ -4825,6 +4838,48 @@ export default class Repzo {
4825
4838
 
4826
4839
  testResetCompanyNamespace = {
4827
4840
  _path: Repzo._end_points.TEST_RESET_COMPANY_NAMESPACE,
4841
+ reset: async ({
4842
+ nameSpace,
4843
+ services,
4844
+ }: {
4845
+ nameSpace: string;
4846
+ services: { [key: string]: boolean }[];
4847
+ }): Promise<Service.TestResetCompanyNamespace.Create.Result> => {
4848
+ try {
4849
+ const repzo_services = await this.testResetCompanyNamespace.options();
4850
+ for (let service in repzo_services) {
4851
+ const repzo_service =
4852
+ service as Service.ResetCompanyNamespace.Services;
4853
+ const match = services.find((s) => s[repzo_service]);
4854
+ if (match) {
4855
+ repzo_services[repzo_service].checked = match[repzo_service];
4856
+ }
4857
+ repzo_services[repzo_service].checked = true;
4858
+ }
4859
+ const body: Service.TestResetCompanyNamespace.Create.Body = {
4860
+ nameSpace,
4861
+ services: repzo_services,
4862
+ };
4863
+ return await this.testResetCompanyNamespace.create(body);
4864
+ } catch (e) {
4865
+ console.error(e);
4866
+ throw e;
4867
+ }
4868
+ },
4869
+
4870
+ options:
4871
+ async (): Promise<Service.TestResetCompanyNamespace.Options.Result> => {
4872
+ const params: Service.TestResetCompanyNamespace.Options.Params = {
4873
+ options: true,
4874
+ };
4875
+ let res: Service.TestResetCompanyNamespace.Options.Result =
4876
+ await this._fetch(
4877
+ this.svAPIEndpoint,
4878
+ this.testResetCompanyNamespace._path,
4879
+ params,
4880
+ );
4881
+ return res;
4882
+ },
4828
4883
  find: async (
4829
4884
  params?: Service.TestResetCompanyNamespace.Find.Params,
4830
4885
  ): Promise<Service.TestResetCompanyNamespace.Find.Result> => {
@@ -7805,6 +7805,7 @@ export namespace Service {
7805
7805
  sync_id: string;
7806
7806
  transaction_processed: boolean;
7807
7807
  media?: StringId[];
7808
+ currency?: string;
7808
7809
  createdAt: Date;
7809
7810
  updatedAt: Date;
7810
7811
  }
@@ -15569,7 +15570,6 @@ export namespace Service {
15569
15570
  | PaymentVisitDetails
15570
15571
  | RefundVisitDetails
15571
15572
  | ConvertProformaVisitDetails
15572
- | SettlementVisitDetails
15573
15573
  | FullInvoiceVisitDetails
15574
15574
  | ProformaVisitDetails
15575
15575
  | ReturnWholeInvoiceVisitDetails
@@ -15941,14 +15941,12 @@ export namespace Service {
15941
15941
  // Settlement ********************************************************************
15942
15942
  export type SettlementDetails = { activity_type: "settlement" } & Pick<
15943
15943
  Settlement.Data,
15944
- "amount" | "serial_number" | "paytime" | "origin" | "payment_type"
15945
- >;
15946
- export type SettlementVisitDetails = {
15947
- activity_type: "settlement";
15948
- activity_id: StringId;
15949
- } & Pick<
15950
- Settlement.Data,
15951
- "amount" | "serial_number" | "origin" | "payment_type" | "time"
15944
+ | "amount"
15945
+ | "serial_number"
15946
+ | "paytime"
15947
+ | "origin"
15948
+ | "payment_type"
15949
+ | "currency"
15952
15950
  >;
15953
15951
 
15954
15952
  // ConvertProforma ********************************************************************
@@ -16733,7 +16731,7 @@ export namespace Service {
16733
16731
  export interface CreateBody {
16734
16732
  creator?: Admin;
16735
16733
  nameSpace: string;
16736
- company_namespace: string[];
16734
+ // company_namespace: string[];
16737
16735
  services: ServiceOptionMap;
16738
16736
  is_test_reset?: boolean;
16739
16737
  }
@@ -16773,12 +16771,10 @@ export namespace Service {
16773
16771
  field: "_id" | "status";
16774
16772
  type: "asc" | "desc";
16775
16773
  }[];
16776
- options?: boolean;
16777
16774
  };
16778
- export interface PaginatedResult extends DefaultPaginationResult {
16775
+ export interface Result extends DefaultPaginationResult {
16779
16776
  data: (Data & { expired?: boolean })[];
16780
16777
  }
16781
- export type Result = PaginatedResult | ServiceOptionMap;
16782
16778
  }
16783
16779
  export namespace Get {
16784
16780
  export type ID = string;
@@ -16793,9 +16789,17 @@ export namespace Service {
16793
16789
  export type ID = string;
16794
16790
  export type Result = Data;
16795
16791
  }
16792
+ export namespace Options {
16793
+ export type Params = { options: true };
16794
+ export type Result = ServiceOptionMap;
16795
+ }
16796
16796
  }
16797
16797
 
16798
16798
  export namespace TestResetCompanyNamespace {
16799
+ export namespace Options {
16800
+ export type Params = ResetCompanyNamespace.Options.Params;
16801
+ export type Result = ResetCompanyNamespace.Options.Result;
16802
+ }
16799
16803
  export namespace Find {
16800
16804
  export type Params = ResetCompanyNamespace.Find.Params;
16801
16805
  export type Result = ResetCompanyNamespace.Find.Result;
@@ -16806,7 +16810,10 @@ export namespace Service {
16806
16810
  export type Result = ResetCompanyNamespace.Get.Result;
16807
16811
  }
16808
16812
  export namespace Create {
16809
- export type Body = ResetCompanyNamespace.Create.Body;
16813
+ export type Body = Omit<
16814
+ ResetCompanyNamespace.Create.Body,
16815
+ "is_test_reset"
16816
+ >;
16810
16817
  export type Result = ResetCompanyNamespace.Create.Result;
16811
16818
  }
16812
16819
  export namespace Update {
@@ -16958,7 +16965,6 @@ export namespace Service {
16958
16965
  | PaymentVisitDetails
16959
16966
  | RefundVisitDetails
16960
16967
  | ConvertProformaVisitDetails
16961
- | SettlementVisitDetails
16962
16968
  | FullInvoiceVisitDetails
16963
16969
  | ProformaVisitDetails
16964
16970
  | ReturnWholeInvoiceVisitDetails
@@ -17347,14 +17353,12 @@ export namespace Service {
17347
17353
  // Settlement ********************************************************************
17348
17354
  export type SettlementDetails = { activity_type: "settlement" } & Pick<
17349
17355
  Settlement.Data,
17350
- "amount" | "serial_number" | "paytime" | "origin" | "payment_type"
17351
- >;
17352
- export type SettlementVisitDetails = {
17353
- activity_type: "settlement";
17354
- activity_id: StringId;
17355
- } & Pick<
17356
- Settlement.Data,
17357
- "amount" | "serial_number" | "origin" | "payment_type" | "time"
17356
+ | "amount"
17357
+ | "serial_number"
17358
+ | "paytime"
17359
+ | "origin"
17360
+ | "payment_type"
17361
+ | "currency"
17358
17362
  >;
17359
17363
 
17360
17364
  // ConvertProforma ********************************************************************
@@ -17391,9 +17395,10 @@ export namespace Service {
17391
17395
  export type ReceivingMaterialDetails = {
17392
17396
  activity_type: "receiving-material";
17393
17397
  to_name: string;
17398
+ supplier_name?: string;
17394
17399
  } & Pick<
17395
17400
  ReceivingMaterial.Data,
17396
- "serial_number" | "to" | "items_count" | "comment"
17401
+ "serial_number" | "to" | "items_count" | "comment" | "supplier"
17397
17402
  >;
17398
17403
 
17399
17404
  // FullInvoice ********************************************************************
@@ -17755,7 +17760,7 @@ export namespace Service {
17755
17760
  creator: AdminCreator;
17756
17761
  editor?: AdminCreator;
17757
17762
  _id?: string;
17758
- module: Model;
17763
+ module: RepzoModel;
17759
17764
  key: string;
17760
17765
  origin_type: "system_field" | "custom_field";
17761
17766
  disabled: boolean;
@@ -17785,7 +17790,7 @@ export namespace Service {
17785
17790
 
17786
17791
  export interface BasicCreateBody {
17787
17792
  creator: AdminCreator;
17788
- module: Model;
17793
+ module: RepzoModel;
17789
17794
  key: string;
17790
17795
  origin_type: "system_field" | "custom_field";
17791
17796
  scope: "all" | "rep" | "admin";
@@ -17799,7 +17804,7 @@ export namespace Service {
17799
17804
 
17800
17805
  export interface BasicUpdateBody {
17801
17806
  editor?: AdminCreator;
17802
- module?: Model;
17807
+ module?: RepzoModel;
17803
17808
  key?: string;
17804
17809
  origin_type?: "system_field" | "custom_field";
17805
17810
  scope?: "all" | "rep" | "admin";