repzo 1.0.150 → 1.0.151

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.
@@ -363,7 +363,7 @@ export declare namespace Service {
363
363
  verifiedUntil?: number;
364
364
  financials?: Financials;
365
365
  customFields?: {
366
- [key: string]: any;
366
+ [key: string]: string | number | boolean | StringId;
367
367
  };
368
368
  paymentTerm?: StringId;
369
369
  speciality?: StringId[];
@@ -444,7 +444,7 @@ export declare namespace Service {
444
444
  verifiedUntil?: number;
445
445
  financials?: Financials;
446
446
  customFields?: {
447
- [key: string]: any;
447
+ [key: string]: string | number | boolean | StringId;
448
448
  };
449
449
  paymentTerm?: StringId;
450
450
  speciality?: StringId[];
@@ -541,7 +541,7 @@ export declare namespace Service {
541
541
  field: "_id";
542
542
  type: "asc" | "desc";
543
543
  }[];
544
- customFields?: Record<string, any>;
544
+ customFields?: Record<string, string | number | boolean | StringId>;
545
545
  integration_meta?: Record<string, any>;
546
546
  [key: string]: any;
547
547
  };
@@ -572,7 +572,7 @@ export declare namespace Service {
572
572
  /**
573
573
  * @type {any} with dynamic keys supporting integration_meta. and customFields.
574
574
  */
575
- customFields?: Record<string, any>;
575
+ customFields?: Record<string, string | number | boolean | StringId>;
576
576
  integration_meta?: Record<string, any>;
577
577
  [key: `integration_meta.${string}`]: any;
578
578
  [key: `customFields.${string}`]: any;
@@ -2483,7 +2483,7 @@ export declare namespace Service {
2483
2483
  retail_execution_template_option?: "all" | "client_assigned" | "assigned" | "none";
2484
2484
  assigned_retail_execution_templates?: string[];
2485
2485
  customFields?: {
2486
- [key: string]: boolean | string | number;
2486
+ [key: string]: boolean | string | number | StringId;
2487
2487
  };
2488
2488
  media?: string[];
2489
2489
  cover_photo?: string;
@@ -2537,7 +2537,7 @@ export declare namespace Service {
2537
2537
  retail_execution_template_option?: "all" | "client_assigned" | "assigned" | "none";
2538
2538
  assigned_retail_execution_templates?: string[];
2539
2539
  customFields?: {
2540
- [key: string]: boolean | string | number;
2540
+ [key: string]: boolean | string | number | StringId;
2541
2541
  };
2542
2542
  media?: string[];
2543
2543
  cover_photo?: string;
@@ -5049,7 +5049,7 @@ export declare namespace Service {
5049
5049
  contract?: StringId;
5050
5050
  status: Status;
5051
5051
  customFields?: {
5052
- [key: string]: any;
5052
+ [key: string]: string | number | boolean | StringId;
5053
5053
  };
5054
5054
  media?: StringId[];
5055
5055
  workorder_portal?: StringId;
@@ -5078,7 +5078,7 @@ export declare namespace Service {
5078
5078
  contract?: StringId;
5079
5079
  status: Status;
5080
5080
  customFields?: {
5081
- [key: string]: any;
5081
+ [key: string]: string | number | boolean | StringId;
5082
5082
  };
5083
5083
  media?: StringId[];
5084
5084
  workorder_portal?: StringId;
@@ -5113,7 +5113,7 @@ export declare namespace Service {
5113
5113
  contract?: StringId;
5114
5114
  status?: Status;
5115
5115
  customFields?: {
5116
- [key: string]: any;
5116
+ [key: string]: string | number | boolean | StringId;
5117
5117
  };
5118
5118
  media?: StringId[];
5119
5119
  workorder_portal?: StringId;
@@ -5139,7 +5139,7 @@ export declare namespace Service {
5139
5139
  contract?: StringId;
5140
5140
  status?: Status;
5141
5141
  customFields?: {
5142
- [key: string]: any;
5142
+ [key: string]: string | number | boolean | StringId;
5143
5143
  };
5144
5144
  media?: StringId[];
5145
5145
  workorder_portal?: StringId;
@@ -5268,7 +5268,7 @@ export declare namespace Service {
5268
5268
  default_priority?: Default_Priority;
5269
5269
  default_workorder_categories?: StringId[];
5270
5270
  customFields?: {
5271
- [key: string]: any;
5271
+ [key: string]: string | number | boolean | StringId;
5272
5272
  };
5273
5273
  teams?: StringId[];
5274
5274
  allow_media_upload?: "optional" | "required" | "hidden";
@@ -6968,6 +6968,7 @@ export declare namespace Service {
6968
6968
  };
6969
6969
  createdAt: string;
6970
6970
  updatedAt: string;
6971
+ ending_balance?: number;
6971
6972
  __v: number;
6972
6973
  }
6973
6974
  export interface CreateBody {
@@ -9215,7 +9216,7 @@ export declare namespace Service {
9215
9216
  assets?: StringId[];
9216
9217
  asset_units?: StringId[];
9217
9218
  customFields?: {
9218
- [key: string]: string | number | boolean;
9219
+ [key: string]: string | number | boolean | StringId;
9219
9220
  };
9220
9221
  disabled: boolean;
9221
9222
  integration_meta?: {
@@ -9242,7 +9243,7 @@ export declare namespace Service {
9242
9243
  assets?: StringId[];
9243
9244
  asset_units?: StringId[];
9244
9245
  customFields?: {
9245
- [key: string]: string | number | boolean;
9246
+ [key: string]: string | number | boolean | StringId;
9246
9247
  };
9247
9248
  disabled: boolean;
9248
9249
  integration_meta?: {
@@ -9267,7 +9268,7 @@ export declare namespace Service {
9267
9268
  assets?: StringId[];
9268
9269
  asset_units?: StringId[];
9269
9270
  customFields?: {
9270
- [key: string]: string | number | boolean;
9271
+ [key: string]: string | number | boolean | StringId;
9271
9272
  };
9272
9273
  media?: StringId[];
9273
9274
  cover_photo?: StringId;
@@ -9292,7 +9293,7 @@ export declare namespace Service {
9292
9293
  assets?: StringId[];
9293
9294
  asset_units?: StringId[];
9294
9295
  customFields?: {
9295
- [key: string]: string | number | boolean;
9296
+ [key: string]: string | number | boolean | StringId;
9296
9297
  };
9297
9298
  disabled?: boolean;
9298
9299
  integration_meta?: {
@@ -12544,7 +12545,9 @@ export declare namespace Service {
12544
12545
  address?: string;
12545
12546
  contacts?: StringId[];
12546
12547
  disabled: boolean;
12547
- customFields?: {};
12548
+ customFields?: {
12549
+ [key: string]: string | number | boolean | StringId;
12550
+ };
12548
12551
  media?: StringId[];
12549
12552
  cover_photo?: StringId;
12550
12553
  integration_meta?: {
@@ -12564,7 +12567,9 @@ export declare namespace Service {
12564
12567
  address?: string;
12565
12568
  contacts?: StringId[];
12566
12569
  disabled: boolean;
12567
- customFields?: {};
12570
+ customFields?: {
12571
+ [key: string]: string | number | boolean | StringId;
12572
+ };
12568
12573
  media?: StringId[];
12569
12574
  cover_photo?: StringId;
12570
12575
  integration_meta?: {
@@ -12580,7 +12585,9 @@ export declare namespace Service {
12580
12585
  description?: string;
12581
12586
  address?: string;
12582
12587
  contacts?: StringId[];
12583
- customFields?: {};
12588
+ customFields?: {
12589
+ [key: string]: string | number | boolean | StringId;
12590
+ };
12584
12591
  media?: StringId[];
12585
12592
  cover_photo?: StringId;
12586
12593
  integration_meta?: {
@@ -12601,7 +12608,9 @@ export declare namespace Service {
12601
12608
  address?: string;
12602
12609
  contacts?: StringId[] | ClientContact.ClientContactSchema[];
12603
12610
  disabled: boolean;
12604
- customFields?: {};
12611
+ customFields?: {
12612
+ [key: string]: string | number | boolean | StringId;
12613
+ };
12605
12614
  media?: StringId[] | PopulatedMediaStorage[];
12606
12615
  cover_photo?: StringId | PopulatedMediaStorage;
12607
12616
  integration_meta?: {
@@ -12877,7 +12886,7 @@ export declare namespace Service {
12877
12886
  asset_types: StringId[];
12878
12887
  location: StringId;
12879
12888
  customFields?: {
12880
- [key: string]: string | number | boolean;
12889
+ [key: string]: string | number | boolean | StringId;
12881
12890
  };
12882
12891
  disabled: boolean;
12883
12892
  integration_meta?: {
@@ -12900,7 +12909,9 @@ export declare namespace Service {
12900
12909
  year?: string;
12901
12910
  asset_types: StringId[];
12902
12911
  location: StringId;
12903
- customFields?: {};
12912
+ customFields?: {
12913
+ [key: string]: string | number | boolean | StringId;
12914
+ };
12904
12915
  disabled?: boolean;
12905
12916
  media?: StringId[];
12906
12917
  cover_photo?: StringId;
@@ -12919,7 +12930,9 @@ export declare namespace Service {
12919
12930
  year?: string;
12920
12931
  asset_types?: StringId[];
12921
12932
  location?: StringId;
12922
- customFields?: {};
12933
+ customFields?: {
12934
+ [key: string]: string | number | boolean | StringId;
12935
+ };
12923
12936
  disabled?: boolean;
12924
12937
  media?: StringId[];
12925
12938
  cover_photo?: StringId;
@@ -12945,7 +12958,7 @@ export declare namespace Service {
12945
12958
  media?: StringId[] | PopulatedMediaStorage[];
12946
12959
  cover_photo?: StringId | PopulatedMediaStorage;
12947
12960
  customFields?: {
12948
- [key: string]: string | number | boolean;
12961
+ [key: string]: string | number | boolean | StringId;
12949
12962
  };
12950
12963
  disabled: boolean;
12951
12964
  integration_meta?: {
@@ -13013,7 +13026,9 @@ export declare namespace Service {
13013
13026
  local_name?: string;
13014
13027
  description?: string;
13015
13028
  serial_nu?: string;
13016
- customFields?: {};
13029
+ customFields?: {
13030
+ [key: string]: string | number | boolean | StringId;
13031
+ };
13017
13032
  disabled: boolean;
13018
13033
  integration_meta?: {
13019
13034
  [key: string]: any;
@@ -13032,7 +13047,9 @@ export declare namespace Service {
13032
13047
  local_name?: string;
13033
13048
  description?: string;
13034
13049
  serial_nu?: string;
13035
- customFields?: {};
13050
+ customFields?: {
13051
+ [key: string]: string | number | boolean | StringId;
13052
+ };
13036
13053
  integration_meta?: {
13037
13054
  [key: string]: any;
13038
13055
  };
@@ -13047,7 +13064,9 @@ export declare namespace Service {
13047
13064
  local_name?: string;
13048
13065
  description?: string;
13049
13066
  serial_nu?: string;
13050
- customFields?: {};
13067
+ customFields?: {
13068
+ [key: string]: string | number | boolean | StringId;
13069
+ };
13051
13070
  integration_meta?: {
13052
13071
  [key: string]: any;
13053
13072
  };
@@ -13074,7 +13093,9 @@ export declare namespace Service {
13074
13093
  local_name?: string;
13075
13094
  description?: string;
13076
13095
  serial_nu?: string;
13077
- customFields?: {};
13096
+ customFields?: {
13097
+ [key: string]: string | number | boolean | StringId;
13098
+ };
13078
13099
  disabled: boolean;
13079
13100
  integration_meta?: {
13080
13101
  [key: string]: any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "repzo",
3
- "version": "1.0.150",
3
+ "version": "1.0.151",
4
4
  "description": "Repzo TypeScript SDK",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -518,7 +518,7 @@ export namespace Service {
518
518
  assigned_product_groups?: StringId[];
519
519
  verifiedUntil?: number;
520
520
  financials?: Financials;
521
- customFields?: { [key: string]: any };
521
+ customFields?: { [key: string]: string | number | boolean | StringId };
522
522
  paymentTerm?: StringId;
523
523
  speciality?: StringId[];
524
524
  company_namespace: string[];
@@ -596,7 +596,7 @@ export namespace Service {
596
596
  assigned_product_groups?: StringId[];
597
597
  verifiedUntil?: number;
598
598
  financials?: Financials;
599
- customFields?: { [key: string]: any };
599
+ customFields?: { [key: string]: string | number | boolean | StringId };
600
600
  paymentTerm?: StringId;
601
601
  speciality?: StringId[];
602
602
  company_namespace: string[];
@@ -729,7 +729,7 @@ export namespace Service {
729
729
  field: "_id";
730
730
  type: "asc" | "desc";
731
731
  }[];
732
- customFields?: Record<string, any>;
732
+ customFields?: Record<string, string | number | boolean | StringId>;
733
733
  integration_meta?: Record<string, any>;
734
734
  // Index signatures for dynamic keys
735
735
  // [key: `integration_meta.${string}`]: any;
@@ -767,7 +767,7 @@ export namespace Service {
767
767
  * @type {any} with dynamic keys supporting integration_meta. and customFields.
768
768
  */
769
769
  // [key: string]: any; // integration_meta & customFields.
770
- customFields?: Record<string, any>;
770
+ customFields?: Record<string, string | number | boolean | StringId>;
771
771
  integration_meta?: Record<string, any>;
772
772
  [key: `integration_meta.${string}`]: any;
773
773
  [key: `customFields.${string}`]: any;
@@ -2859,7 +2859,7 @@ export namespace Service {
2859
2859
  | "assigned"
2860
2860
  | "none";
2861
2861
  assigned_retail_execution_templates?: string[];
2862
- customFields?: { [key: string]: boolean | string | number };
2862
+ customFields?: { [key: string]: boolean | string | number | StringId };
2863
2863
  media?: string[];
2864
2864
  cover_photo?: string;
2865
2865
  last_login_time?: number;
@@ -2913,7 +2913,7 @@ export namespace Service {
2913
2913
  | "assigned"
2914
2914
  | "none";
2915
2915
  assigned_retail_execution_templates?: string[];
2916
- customFields?: { [key: string]: boolean | string | number };
2916
+ customFields?: { [key: string]: boolean | string | number | StringId };
2917
2917
  media?: string[];
2918
2918
  cover_photo?: string;
2919
2919
  last_login_time?: number;
@@ -5606,7 +5606,7 @@ export namespace Service {
5606
5606
  workorder?: StringId;
5607
5607
  contract?: StringId;
5608
5608
  status: Status;
5609
- customFields?: { [key: string]: any };
5609
+ customFields?: { [key: string]: string | number | boolean | StringId };
5610
5610
  media?: StringId[];
5611
5611
  workorder_portal?: StringId;
5612
5612
  workorder_portal_link?: StringId;
@@ -5633,7 +5633,7 @@ export namespace Service {
5633
5633
  workorder?: StringId;
5634
5634
  contract?: StringId;
5635
5635
  status: Status;
5636
- customFields?: { [key: string]: any };
5636
+ customFields?: { [key: string]: string | number | boolean | StringId };
5637
5637
  media?: StringId[];
5638
5638
  workorder_portal?: StringId;
5639
5639
  workorder_portal_link?: StringId;
@@ -5669,7 +5669,7 @@ export namespace Service {
5669
5669
  workorder?: StringId;
5670
5670
  contract?: StringId;
5671
5671
  status?: Status;
5672
- customFields?: { [key: string]: any };
5672
+ customFields?: { [key: string]: string | number | boolean | StringId };
5673
5673
  media?: StringId[];
5674
5674
  workorder_portal?: StringId;
5675
5675
  workorder_portal_link?: StringId;
@@ -5693,7 +5693,7 @@ export namespace Service {
5693
5693
  workorder?: StringId;
5694
5694
  contract?: StringId;
5695
5695
  status?: Status;
5696
- customFields?: { [key: string]: any };
5696
+ customFields?: { [key: string]: string | number | boolean | StringId };
5697
5697
  media?: StringId[];
5698
5698
  workorder_portal?: StringId;
5699
5699
  workorder_portal_link?: StringId;
@@ -5825,7 +5825,7 @@ export namespace Service {
5825
5825
  default_priority_human?: Default_Priority_human;
5826
5826
  default_priority?: Default_Priority;
5827
5827
  default_workorder_categories?: StringId[];
5828
- customFields?: { [key: string]: any };
5828
+ customFields?: { [key: string]: string | number | boolean | StringId };
5829
5829
  teams?: StringId[];
5830
5830
  allow_media_upload?: "optional" | "required" | "hidden";
5831
5831
  allow_signature?: "optional" | "required" | "hidden";
@@ -7474,6 +7474,7 @@ export namespace Service {
7474
7474
  };
7475
7475
  createdAt: string;
7476
7476
  updatedAt: string;
7477
+ ending_balance?: number;
7477
7478
  __v: number;
7478
7479
  }
7479
7480
  export interface CreateBody {
@@ -9740,7 +9741,7 @@ export namespace Service {
9740
9741
  asset_part_types: StringId[];
9741
9742
  assets?: StringId[];
9742
9743
  asset_units?: StringId[];
9743
- customFields?: { [key: string]: string | number | boolean };
9744
+ customFields?: { [key: string]: string | number | boolean | StringId };
9744
9745
  disabled: boolean;
9745
9746
  integration_meta?: { [key: string]: any };
9746
9747
  media?: StringId[];
@@ -9765,7 +9766,7 @@ export namespace Service {
9765
9766
  | Pick<AssetPartType.Data, "_id" | "color" | "name" | "local_name">[];
9766
9767
  assets?: StringId[]; // | Asset[];
9767
9768
  asset_units?: StringId[]; // | AssetUnit[];
9768
- customFields?: { [key: string]: string | number | boolean };
9769
+ customFields?: { [key: string]: string | number | boolean | StringId };
9769
9770
  disabled: boolean;
9770
9771
  integration_meta?: { [key: string]: any };
9771
9772
  media?: StringId[] | PopulatedMediaStorage[];
@@ -9786,7 +9787,7 @@ export namespace Service {
9786
9787
  year?: string;
9787
9788
  assets?: StringId[];
9788
9789
  asset_units?: StringId[];
9789
- customFields?: { [key: string]: string | number | boolean };
9790
+ customFields?: { [key: string]: string | number | boolean | StringId };
9790
9791
  media?: StringId[];
9791
9792
  cover_photo?: StringId;
9792
9793
  disabled?: boolean;
@@ -9807,7 +9808,7 @@ export namespace Service {
9807
9808
  asset_part_types?: StringId[];
9808
9809
  assets?: StringId[];
9809
9810
  asset_units?: StringId[];
9810
- customFields?: { [key: string]: string | number | boolean };
9811
+ customFields?: { [key: string]: string | number | boolean | StringId };
9811
9812
  disabled?: boolean;
9812
9813
  integration_meta?: { [key: string]: any };
9813
9814
  media?: StringId[];
@@ -13230,7 +13231,7 @@ export namespace Service {
13230
13231
  address?: string;
13231
13232
  contacts?: StringId[];
13232
13233
  disabled: boolean;
13233
- customFields?: {};
13234
+ customFields?: { [key: string]: string | number | boolean | StringId };
13234
13235
  media?: StringId[];
13235
13236
  cover_photo?: StringId;
13236
13237
  integration_meta?: { [key: string]: any };
@@ -13249,7 +13250,7 @@ export namespace Service {
13249
13250
  address?: string;
13250
13251
  contacts?: StringId[];
13251
13252
  disabled: boolean;
13252
- customFields?: {};
13253
+ customFields?: { [key: string]: string | number | boolean | StringId };
13253
13254
  media?: StringId[];
13254
13255
  cover_photo?: StringId;
13255
13256
  integration_meta?: { [key: string]: any };
@@ -13263,7 +13264,7 @@ export namespace Service {
13263
13264
  description?: string;
13264
13265
  address?: string;
13265
13266
  contacts?: StringId[];
13266
- customFields?: {};
13267
+ customFields?: { [key: string]: string | number | boolean | StringId };
13267
13268
  media?: StringId[];
13268
13269
  cover_photo?: StringId;
13269
13270
  integration_meta?: { [key: string]: any };
@@ -13290,7 +13291,7 @@ export namespace Service {
13290
13291
  address?: string;
13291
13292
  contacts?: StringId[] | ClientContact.ClientContactSchema[];
13292
13293
  disabled: boolean;
13293
- customFields?: {};
13294
+ customFields?: { [key: string]: string | number | boolean | StringId };
13294
13295
  media?: StringId[] | PopulatedMediaStorage[];
13295
13296
  cover_photo?: StringId | PopulatedMediaStorage;
13296
13297
  integration_meta?: { [key: string]: any };
@@ -13580,7 +13581,7 @@ export namespace Service {
13580
13581
  year?: string;
13581
13582
  asset_types: StringId[];
13582
13583
  location: StringId;
13583
- customFields?: { [key: string]: string | number | boolean };
13584
+ customFields?: { [key: string]: string | number | boolean | StringId };
13584
13585
  disabled: boolean;
13585
13586
  integration_meta?: { [key: string]: any };
13586
13587
  media?: StringId[];
@@ -13601,7 +13602,7 @@ export namespace Service {
13601
13602
  year?: string;
13602
13603
  asset_types: StringId[];
13603
13604
  location: StringId;
13604
- customFields?: {};
13605
+ customFields?: { [key: string]: string | number | boolean | StringId };
13605
13606
  disabled?: boolean;
13606
13607
  media?: StringId[];
13607
13608
  cover_photo?: StringId;
@@ -13618,7 +13619,7 @@ export namespace Service {
13618
13619
  year?: string;
13619
13620
  asset_types?: StringId[];
13620
13621
  location?: StringId;
13621
- customFields?: {};
13622
+ customFields?: { [key: string]: string | number | boolean | StringId };
13622
13623
  disabled?: boolean;
13623
13624
  media?: StringId[];
13624
13625
  cover_photo?: StringId;
@@ -13648,7 +13649,7 @@ export namespace Service {
13648
13649
  });
13649
13650
  media?: StringId[] | PopulatedMediaStorage[];
13650
13651
  cover_photo?: StringId | PopulatedMediaStorage;
13651
- customFields?: { [key: string]: string | number | boolean };
13652
+ customFields?: { [key: string]: string | number | boolean | StringId };
13652
13653
  disabled: boolean;
13653
13654
  integration_meta?: { [key: string]: any };
13654
13655
  company_namespace: string[];
@@ -13721,7 +13722,7 @@ export namespace Service {
13721
13722
  local_name?: string;
13722
13723
  description?: string;
13723
13724
  serial_nu?: string;
13724
- customFields?: {};
13725
+ customFields?: { [key: string]: string | number | boolean | StringId };
13725
13726
  disabled: boolean;
13726
13727
  integration_meta?: { [key: string]: any };
13727
13728
  media?: StringId[];
@@ -13739,7 +13740,7 @@ export namespace Service {
13739
13740
  local_name?: string;
13740
13741
  description?: string;
13741
13742
  serial_nu?: string;
13742
- customFields?: {};
13743
+ customFields?: { [key: string]: string | number | boolean | StringId };
13743
13744
  integration_meta?: { [key: string]: any };
13744
13745
  media?: StringId[];
13745
13746
  cover_photo?: StringId;
@@ -13752,7 +13753,7 @@ export namespace Service {
13752
13753
  local_name?: string;
13753
13754
  description?: string;
13754
13755
  serial_nu?: string;
13755
- customFields?: {};
13756
+ customFields?: { [key: string]: string | number | boolean | StringId };
13756
13757
  integration_meta?: { [key: string]: any };
13757
13758
  media?: StringId[] | string[];
13758
13759
  cover_photo?: StringId;
@@ -13790,7 +13791,7 @@ export namespace Service {
13790
13791
  local_name?: string;
13791
13792
  description?: string;
13792
13793
  serial_nu?: string;
13793
- customFields?: {};
13794
+ customFields?: { [key: string]: string | number | boolean | StringId };
13794
13795
  disabled: boolean;
13795
13796
  integration_meta?: { [key: string]: any };
13796
13797
  media?: StringId[] | PopulatedMediaStorage[];