repzo 1.0.54 → 1.0.56

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.
@@ -60,7 +60,9 @@ interface PaymentData {
60
60
  view_serial_number?: SerialNumber;
61
61
  type?: "invoice" | "payment" | "return_invoice" | "refund" | "adjustment";
62
62
  amount: number;
63
+ account_index?: number;
63
64
  is_linked_txn?: boolean;
65
+ is_original?: boolean;
64
66
  }
65
67
  interface Check {
66
68
  _id: string;
@@ -2680,6 +2682,7 @@ export declare namespace Service {
2680
2682
  type Params = DefaultPaginationQueryParams & {
2681
2683
  _id?: string[] | string;
2682
2684
  search?: string;
2685
+ from_updatedAt?: number;
2683
2686
  [key: string]: any;
2684
2687
  };
2685
2688
  interface Result extends DefaultPaginationResult {
@@ -4347,6 +4350,7 @@ export declare namespace Service {
4347
4350
  client_name: string;
4348
4351
  comment?: string;
4349
4352
  creator: AdminCreator | RepCreator | ClientCreator;
4353
+ implemented_by?: AdminCreator | RepCreator;
4350
4354
  latest: boolean;
4351
4355
  version?: number;
4352
4356
  time?: number;
@@ -4459,6 +4463,7 @@ export declare namespace Service {
4459
4463
  comment?: string;
4460
4464
  class: "proforma" | "return";
4461
4465
  creator: AdminCreator | RepCreator | ClientCreator;
4466
+ implemented_by?: AdminCreator | RepCreator;
4462
4467
  version?: number;
4463
4468
  time?: number;
4464
4469
  issue_date: string;
@@ -4561,6 +4566,7 @@ export declare namespace Service {
4561
4566
  client_name?: string;
4562
4567
  comment?: string;
4563
4568
  creator?: AdminCreator | RepCreator | ClientCreator;
4569
+ implemented_by?: AdminCreator | RepCreator;
4564
4570
  latest?: boolean;
4565
4571
  version?: number;
4566
4572
  time?: number;
@@ -4922,6 +4928,10 @@ export declare namespace Service {
4922
4928
  Txn_invoice_total: number;
4923
4929
  TxnType: "refund" | "invoice";
4924
4930
  };
4931
+ client_geo_location?: {
4932
+ lat?: number;
4933
+ lng?: number;
4934
+ };
4925
4935
  company_namespace: string[];
4926
4936
  integration_meta?: {
4927
4937
  [key: string]: any;
@@ -4957,6 +4967,10 @@ export declare namespace Service {
4957
4967
  Txn_invoice_total: number;
4958
4968
  TxnType: "refund" | "invoice";
4959
4969
  };
4970
+ client_geo_location?: {
4971
+ lat?: number;
4972
+ lng?: number;
4973
+ };
4960
4974
  company_namespace?: string[];
4961
4975
  integration_meta?: {
4962
4976
  [key: string]: any;
@@ -4984,9 +4998,11 @@ export declare namespace Service {
4984
4998
  original_amount: number;
4985
4999
  payment: number;
4986
5000
  };
5001
+ teams?: string[] | Team.TeamSchema[];
5002
+ route?: string | Route.RouteSchema;
4987
5003
  };
4988
5004
  type PaymentType = "check" | "cash";
4989
- type PopulatedKeys = "custom_status";
5005
+ type PopulatedKeys = "custom_status" | "teams" | "route";
4990
5006
  type PaymentStatus = "consumed" | "unconsumed" | "partially_consumed";
4991
5007
  export namespace Find {
4992
5008
  type Params = DefaultPaginationQueryParams & {
@@ -5000,6 +5016,7 @@ export declare namespace Service {
5000
5016
  creator?: string[] | string;
5001
5017
  clients?: string[] | string;
5002
5018
  withPrintDetails?: boolean;
5019
+ from_updatedAt?: number;
5003
5020
  "serial_number.formatted"?: string[] | string;
5004
5021
  [key: string]: any;
5005
5022
  populatedKeys?: PopulatedKeys[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "repzo",
3
- "version": "1.0.54",
3
+ "version": "1.0.56",
4
4
  "description": "Repzo TypeScript SDK",
5
5
  "main": "./lib/index.js",
6
6
  "type": "module",
@@ -61,7 +61,9 @@ interface PaymentData {
61
61
  view_serial_number?: SerialNumber;
62
62
  type?: "invoice" | "payment" | "return_invoice" | "refund" | "adjustment";
63
63
  amount: number;
64
+ account_index?: number;
64
65
  is_linked_txn?: boolean;
66
+ is_original?: boolean;
65
67
  }
66
68
  interface Check {
67
69
  _id: string;
@@ -2728,6 +2730,7 @@ export namespace Service {
2728
2730
  export type Params = DefaultPaginationQueryParams & {
2729
2731
  _id?: string[] | string;
2730
2732
  search?: string;
2733
+ from_updatedAt?: number;
2731
2734
  [key: string]: any; // integration_meta.
2732
2735
  };
2733
2736
  export interface Result extends DefaultPaginationResult {
@@ -4399,6 +4402,7 @@ export namespace Service {
4399
4402
  client_name: string;
4400
4403
  comment?: string;
4401
4404
  creator: AdminCreator | RepCreator | ClientCreator;
4405
+ implemented_by?: AdminCreator | RepCreator;
4402
4406
  latest: boolean;
4403
4407
  version?: number;
4404
4408
  time?: number;
@@ -4503,6 +4507,7 @@ export namespace Service {
4503
4507
  comment?: string;
4504
4508
  class: "proforma" | "return";
4505
4509
  creator: AdminCreator | RepCreator | ClientCreator;
4510
+ implemented_by?: AdminCreator | RepCreator;
4506
4511
  version?: number;
4507
4512
  time?: number;
4508
4513
  issue_date: string;
@@ -4597,6 +4602,7 @@ export namespace Service {
4597
4602
  client_name?: string;
4598
4603
  comment?: string;
4599
4604
  creator?: AdminCreator | RepCreator | ClientCreator;
4605
+ implemented_by?: AdminCreator | RepCreator;
4600
4606
  latest?: boolean;
4601
4607
  version?: number;
4602
4608
  time?: number;
@@ -4932,6 +4938,10 @@ export namespace Service {
4932
4938
  Txn_invoice_total: number;
4933
4939
  TxnType: "refund" | "invoice";
4934
4940
  };
4941
+ client_geo_location?: {
4942
+ lat?: number;
4943
+ lng?: number;
4944
+ };
4935
4945
  company_namespace: string[];
4936
4946
  integration_meta?: { [key: string]: any };
4937
4947
  sync_id: string;
@@ -4965,6 +4975,10 @@ export namespace Service {
4965
4975
  Txn_invoice_total: number;
4966
4976
  TxnType: "refund" | "invoice";
4967
4977
  };
4978
+ client_geo_location?: {
4979
+ lat?: number;
4980
+ lng?: number;
4981
+ };
4968
4982
  company_namespace?: string[];
4969
4983
  integration_meta?: { [key: string]: any };
4970
4984
  sync_id: string;
@@ -4987,9 +5001,11 @@ export namespace Service {
4987
5001
  original_amount: number;
4988
5002
  payment: number;
4989
5003
  };
5004
+ teams?: string[] | Team.TeamSchema[];
5005
+ route?: string | Route.RouteSchema;
4990
5006
  };
4991
5007
  type PaymentType = "check" | "cash";
4992
- type PopulatedKeys = "custom_status";
5008
+ type PopulatedKeys = "custom_status" | "teams" | "route";
4993
5009
  type PaymentStatus = "consumed" | "unconsumed" | "partially_consumed";
4994
5010
  export namespace Find {
4995
5011
  export type Params = DefaultPaginationQueryParams & {
@@ -5003,6 +5019,7 @@ export namespace Service {
5003
5019
  creator?: string[] | string;
5004
5020
  clients?: string[] | string;
5005
5021
  withPrintDetails?: boolean;
5022
+ from_updatedAt?: number;
5006
5023
  "serial_number.formatted"?: string[] | string;
5007
5024
  [key: string]: any; // integration_meta.
5008
5025
  populatedKeys?: PopulatedKeys[];