repzo 1.0.150 → 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 +1 -1
- package/lib/types/index.d.ts +53 -29
- package/package.json +1 -1
- package/src/types/index.ts +33 -29
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.
|
|
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>;
|
package/lib/types/index.d.ts
CHANGED
|
@@ -363,7 +363,7 @@ export declare namespace Service {
|
|
|
363
363
|
verifiedUntil?: number;
|
|
364
364
|
financials?: Financials;
|
|
365
365
|
customFields?: {
|
|
366
|
-
[key: string]:
|
|
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]:
|
|
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,
|
|
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,
|
|
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;
|
|
@@ -2684,7 +2684,7 @@ export declare namespace Service {
|
|
|
2684
2684
|
populatedKeys?: PopulatedKeys[];
|
|
2685
2685
|
withProductLines?: boolean;
|
|
2686
2686
|
}
|
|
2687
|
-
type Result =
|
|
2687
|
+
type Result = RepWithPopulatedKeysSchema;
|
|
2688
2688
|
}
|
|
2689
2689
|
export namespace Create {
|
|
2690
2690
|
interface Body extends RepBody {
|
|
@@ -5049,7 +5049,7 @@ export declare namespace Service {
|
|
|
5049
5049
|
contract?: StringId;
|
|
5050
5050
|
status: Status;
|
|
5051
5051
|
customFields?: {
|
|
5052
|
-
[key: string]:
|
|
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]:
|
|
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]:
|
|
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]:
|
|
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]:
|
|
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 {
|
|
@@ -7253,6 +7254,7 @@ export declare namespace Service {
|
|
|
7253
7254
|
company_namespace: string[];
|
|
7254
7255
|
sync_id: string;
|
|
7255
7256
|
transaction_processed: boolean;
|
|
7257
|
+
media?: StringId[];
|
|
7256
7258
|
createdAt: Date;
|
|
7257
7259
|
updatedAt: Date;
|
|
7258
7260
|
}
|
|
@@ -7282,12 +7284,14 @@ export declare namespace Service {
|
|
|
7282
7284
|
company_namespace: string[];
|
|
7283
7285
|
sync_id: string;
|
|
7284
7286
|
transaction_processed: boolean;
|
|
7287
|
+
media?: StringId[];
|
|
7285
7288
|
}
|
|
7286
7289
|
type SettlementSchemaWithPopulatedKeys = SettlementSchema & {
|
|
7287
7290
|
teams_populated?: string[] | Team.TeamSchema[];
|
|
7288
7291
|
check_populated?: string | Check.CheckSchema;
|
|
7292
|
+
media_populated?: StringId[] | MediaPopulated[];
|
|
7289
7293
|
};
|
|
7290
|
-
type PopulatedKeys = "teams" | "check_id";
|
|
7294
|
+
type PopulatedKeys = "teams" | "check_id" | "media";
|
|
7291
7295
|
export namespace Find {
|
|
7292
7296
|
type Params = DefaultPaginationQueryParams & {
|
|
7293
7297
|
_id?: StringId[] | StringId;
|
|
@@ -9215,7 +9219,7 @@ export declare namespace Service {
|
|
|
9215
9219
|
assets?: StringId[];
|
|
9216
9220
|
asset_units?: StringId[];
|
|
9217
9221
|
customFields?: {
|
|
9218
|
-
[key: string]: string | number | boolean;
|
|
9222
|
+
[key: string]: string | number | boolean | StringId;
|
|
9219
9223
|
};
|
|
9220
9224
|
disabled: boolean;
|
|
9221
9225
|
integration_meta?: {
|
|
@@ -9242,7 +9246,7 @@ export declare namespace Service {
|
|
|
9242
9246
|
assets?: StringId[];
|
|
9243
9247
|
asset_units?: StringId[];
|
|
9244
9248
|
customFields?: {
|
|
9245
|
-
[key: string]: string | number | boolean;
|
|
9249
|
+
[key: string]: string | number | boolean | StringId;
|
|
9246
9250
|
};
|
|
9247
9251
|
disabled: boolean;
|
|
9248
9252
|
integration_meta?: {
|
|
@@ -9267,7 +9271,7 @@ export declare namespace Service {
|
|
|
9267
9271
|
assets?: StringId[];
|
|
9268
9272
|
asset_units?: StringId[];
|
|
9269
9273
|
customFields?: {
|
|
9270
|
-
[key: string]: string | number | boolean;
|
|
9274
|
+
[key: string]: string | number | boolean | StringId;
|
|
9271
9275
|
};
|
|
9272
9276
|
media?: StringId[];
|
|
9273
9277
|
cover_photo?: StringId;
|
|
@@ -9292,7 +9296,7 @@ export declare namespace Service {
|
|
|
9292
9296
|
assets?: StringId[];
|
|
9293
9297
|
asset_units?: StringId[];
|
|
9294
9298
|
customFields?: {
|
|
9295
|
-
[key: string]: string | number | boolean;
|
|
9299
|
+
[key: string]: string | number | boolean | StringId;
|
|
9296
9300
|
};
|
|
9297
9301
|
disabled?: boolean;
|
|
9298
9302
|
integration_meta?: {
|
|
@@ -12544,7 +12548,9 @@ export declare namespace Service {
|
|
|
12544
12548
|
address?: string;
|
|
12545
12549
|
contacts?: StringId[];
|
|
12546
12550
|
disabled: boolean;
|
|
12547
|
-
customFields?: {
|
|
12551
|
+
customFields?: {
|
|
12552
|
+
[key: string]: string | number | boolean | StringId;
|
|
12553
|
+
};
|
|
12548
12554
|
media?: StringId[];
|
|
12549
12555
|
cover_photo?: StringId;
|
|
12550
12556
|
integration_meta?: {
|
|
@@ -12564,7 +12570,9 @@ export declare namespace Service {
|
|
|
12564
12570
|
address?: string;
|
|
12565
12571
|
contacts?: StringId[];
|
|
12566
12572
|
disabled: boolean;
|
|
12567
|
-
customFields?: {
|
|
12573
|
+
customFields?: {
|
|
12574
|
+
[key: string]: string | number | boolean | StringId;
|
|
12575
|
+
};
|
|
12568
12576
|
media?: StringId[];
|
|
12569
12577
|
cover_photo?: StringId;
|
|
12570
12578
|
integration_meta?: {
|
|
@@ -12580,7 +12588,9 @@ export declare namespace Service {
|
|
|
12580
12588
|
description?: string;
|
|
12581
12589
|
address?: string;
|
|
12582
12590
|
contacts?: StringId[];
|
|
12583
|
-
customFields?: {
|
|
12591
|
+
customFields?: {
|
|
12592
|
+
[key: string]: string | number | boolean | StringId;
|
|
12593
|
+
};
|
|
12584
12594
|
media?: StringId[];
|
|
12585
12595
|
cover_photo?: StringId;
|
|
12586
12596
|
integration_meta?: {
|
|
@@ -12601,7 +12611,9 @@ export declare namespace Service {
|
|
|
12601
12611
|
address?: string;
|
|
12602
12612
|
contacts?: StringId[] | ClientContact.ClientContactSchema[];
|
|
12603
12613
|
disabled: boolean;
|
|
12604
|
-
customFields?: {
|
|
12614
|
+
customFields?: {
|
|
12615
|
+
[key: string]: string | number | boolean | StringId;
|
|
12616
|
+
};
|
|
12605
12617
|
media?: StringId[] | PopulatedMediaStorage[];
|
|
12606
12618
|
cover_photo?: StringId | PopulatedMediaStorage;
|
|
12607
12619
|
integration_meta?: {
|
|
@@ -12877,7 +12889,7 @@ export declare namespace Service {
|
|
|
12877
12889
|
asset_types: StringId[];
|
|
12878
12890
|
location: StringId;
|
|
12879
12891
|
customFields?: {
|
|
12880
|
-
[key: string]: string | number | boolean;
|
|
12892
|
+
[key: string]: string | number | boolean | StringId;
|
|
12881
12893
|
};
|
|
12882
12894
|
disabled: boolean;
|
|
12883
12895
|
integration_meta?: {
|
|
@@ -12900,7 +12912,9 @@ export declare namespace Service {
|
|
|
12900
12912
|
year?: string;
|
|
12901
12913
|
asset_types: StringId[];
|
|
12902
12914
|
location: StringId;
|
|
12903
|
-
customFields?: {
|
|
12915
|
+
customFields?: {
|
|
12916
|
+
[key: string]: string | number | boolean | StringId;
|
|
12917
|
+
};
|
|
12904
12918
|
disabled?: boolean;
|
|
12905
12919
|
media?: StringId[];
|
|
12906
12920
|
cover_photo?: StringId;
|
|
@@ -12919,7 +12933,9 @@ export declare namespace Service {
|
|
|
12919
12933
|
year?: string;
|
|
12920
12934
|
asset_types?: StringId[];
|
|
12921
12935
|
location?: StringId;
|
|
12922
|
-
customFields?: {
|
|
12936
|
+
customFields?: {
|
|
12937
|
+
[key: string]: string | number | boolean | StringId;
|
|
12938
|
+
};
|
|
12923
12939
|
disabled?: boolean;
|
|
12924
12940
|
media?: StringId[];
|
|
12925
12941
|
cover_photo?: StringId;
|
|
@@ -12945,7 +12961,7 @@ export declare namespace Service {
|
|
|
12945
12961
|
media?: StringId[] | PopulatedMediaStorage[];
|
|
12946
12962
|
cover_photo?: StringId | PopulatedMediaStorage;
|
|
12947
12963
|
customFields?: {
|
|
12948
|
-
[key: string]: string | number | boolean;
|
|
12964
|
+
[key: string]: string | number | boolean | StringId;
|
|
12949
12965
|
};
|
|
12950
12966
|
disabled: boolean;
|
|
12951
12967
|
integration_meta?: {
|
|
@@ -13013,7 +13029,9 @@ export declare namespace Service {
|
|
|
13013
13029
|
local_name?: string;
|
|
13014
13030
|
description?: string;
|
|
13015
13031
|
serial_nu?: string;
|
|
13016
|
-
customFields?: {
|
|
13032
|
+
customFields?: {
|
|
13033
|
+
[key: string]: string | number | boolean | StringId;
|
|
13034
|
+
};
|
|
13017
13035
|
disabled: boolean;
|
|
13018
13036
|
integration_meta?: {
|
|
13019
13037
|
[key: string]: any;
|
|
@@ -13032,7 +13050,9 @@ export declare namespace Service {
|
|
|
13032
13050
|
local_name?: string;
|
|
13033
13051
|
description?: string;
|
|
13034
13052
|
serial_nu?: string;
|
|
13035
|
-
customFields?: {
|
|
13053
|
+
customFields?: {
|
|
13054
|
+
[key: string]: string | number | boolean | StringId;
|
|
13055
|
+
};
|
|
13036
13056
|
integration_meta?: {
|
|
13037
13057
|
[key: string]: any;
|
|
13038
13058
|
};
|
|
@@ -13047,7 +13067,9 @@ export declare namespace Service {
|
|
|
13047
13067
|
local_name?: string;
|
|
13048
13068
|
description?: string;
|
|
13049
13069
|
serial_nu?: string;
|
|
13050
|
-
customFields?: {
|
|
13070
|
+
customFields?: {
|
|
13071
|
+
[key: string]: string | number | boolean | StringId;
|
|
13072
|
+
};
|
|
13051
13073
|
integration_meta?: {
|
|
13052
13074
|
[key: string]: any;
|
|
13053
13075
|
};
|
|
@@ -13074,7 +13096,9 @@ export declare namespace Service {
|
|
|
13074
13096
|
local_name?: string;
|
|
13075
13097
|
description?: string;
|
|
13076
13098
|
serial_nu?: string;
|
|
13077
|
-
customFields?: {
|
|
13099
|
+
customFields?: {
|
|
13100
|
+
[key: string]: string | number | boolean | StringId;
|
|
13101
|
+
};
|
|
13078
13102
|
disabled: boolean;
|
|
13079
13103
|
integration_meta?: {
|
|
13080
13104
|
[key: string]: any;
|
package/package.json
CHANGED
package/src/types/index.ts
CHANGED
|
@@ -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]:
|
|
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]:
|
|
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,
|
|
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,
|
|
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;
|
|
@@ -3095,7 +3095,7 @@ export namespace Service {
|
|
|
3095
3095
|
populatedKeys?: PopulatedKeys[];
|
|
3096
3096
|
withProductLines?: boolean;
|
|
3097
3097
|
}
|
|
3098
|
-
export type Result =
|
|
3098
|
+
export type Result = RepWithPopulatedKeysSchema;
|
|
3099
3099
|
}
|
|
3100
3100
|
|
|
3101
3101
|
export namespace Create {
|
|
@@ -5606,7 +5606,7 @@ export namespace Service {
|
|
|
5606
5606
|
workorder?: StringId;
|
|
5607
5607
|
contract?: StringId;
|
|
5608
5608
|
status: Status;
|
|
5609
|
-
customFields?: { [key: string]:
|
|
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]:
|
|
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]:
|
|
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]:
|
|
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]:
|
|
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 {
|
|
@@ -7752,6 +7753,7 @@ export namespace Service {
|
|
|
7752
7753
|
company_namespace: string[];
|
|
7753
7754
|
sync_id: string;
|
|
7754
7755
|
transaction_processed: boolean;
|
|
7756
|
+
media?: StringId[];
|
|
7755
7757
|
createdAt: Date;
|
|
7756
7758
|
updatedAt: Date;
|
|
7757
7759
|
}
|
|
@@ -7781,13 +7783,15 @@ export namespace Service {
|
|
|
7781
7783
|
company_namespace: string[];
|
|
7782
7784
|
sync_id: string;
|
|
7783
7785
|
transaction_processed: boolean;
|
|
7786
|
+
media?: StringId[];
|
|
7784
7787
|
}
|
|
7785
7788
|
|
|
7786
7789
|
type SettlementSchemaWithPopulatedKeys = SettlementSchema & {
|
|
7787
7790
|
teams_populated?: string[] | Team.TeamSchema[];
|
|
7788
7791
|
check_populated?: string | Check.CheckSchema;
|
|
7792
|
+
media_populated?: StringId[] | MediaPopulated[];
|
|
7789
7793
|
};
|
|
7790
|
-
type PopulatedKeys = "teams" | "check_id";
|
|
7794
|
+
type PopulatedKeys = "teams" | "check_id" | "media";
|
|
7791
7795
|
export namespace Find {
|
|
7792
7796
|
export type Params = DefaultPaginationQueryParams & {
|
|
7793
7797
|
_id?: StringId[] | StringId;
|
|
@@ -9740,7 +9744,7 @@ export namespace Service {
|
|
|
9740
9744
|
asset_part_types: StringId[];
|
|
9741
9745
|
assets?: StringId[];
|
|
9742
9746
|
asset_units?: StringId[];
|
|
9743
|
-
customFields?: { [key: string]: string | number | boolean };
|
|
9747
|
+
customFields?: { [key: string]: string | number | boolean | StringId };
|
|
9744
9748
|
disabled: boolean;
|
|
9745
9749
|
integration_meta?: { [key: string]: any };
|
|
9746
9750
|
media?: StringId[];
|
|
@@ -9765,7 +9769,7 @@ export namespace Service {
|
|
|
9765
9769
|
| Pick<AssetPartType.Data, "_id" | "color" | "name" | "local_name">[];
|
|
9766
9770
|
assets?: StringId[]; // | Asset[];
|
|
9767
9771
|
asset_units?: StringId[]; // | AssetUnit[];
|
|
9768
|
-
customFields?: { [key: string]: string | number | boolean };
|
|
9772
|
+
customFields?: { [key: string]: string | number | boolean | StringId };
|
|
9769
9773
|
disabled: boolean;
|
|
9770
9774
|
integration_meta?: { [key: string]: any };
|
|
9771
9775
|
media?: StringId[] | PopulatedMediaStorage[];
|
|
@@ -9786,7 +9790,7 @@ export namespace Service {
|
|
|
9786
9790
|
year?: string;
|
|
9787
9791
|
assets?: StringId[];
|
|
9788
9792
|
asset_units?: StringId[];
|
|
9789
|
-
customFields?: { [key: string]: string | number | boolean };
|
|
9793
|
+
customFields?: { [key: string]: string | number | boolean | StringId };
|
|
9790
9794
|
media?: StringId[];
|
|
9791
9795
|
cover_photo?: StringId;
|
|
9792
9796
|
disabled?: boolean;
|
|
@@ -9807,7 +9811,7 @@ export namespace Service {
|
|
|
9807
9811
|
asset_part_types?: StringId[];
|
|
9808
9812
|
assets?: StringId[];
|
|
9809
9813
|
asset_units?: StringId[];
|
|
9810
|
-
customFields?: { [key: string]: string | number | boolean };
|
|
9814
|
+
customFields?: { [key: string]: string | number | boolean | StringId };
|
|
9811
9815
|
disabled?: boolean;
|
|
9812
9816
|
integration_meta?: { [key: string]: any };
|
|
9813
9817
|
media?: StringId[];
|
|
@@ -13230,7 +13234,7 @@ export namespace Service {
|
|
|
13230
13234
|
address?: string;
|
|
13231
13235
|
contacts?: StringId[];
|
|
13232
13236
|
disabled: boolean;
|
|
13233
|
-
customFields?: {};
|
|
13237
|
+
customFields?: { [key: string]: string | number | boolean | StringId };
|
|
13234
13238
|
media?: StringId[];
|
|
13235
13239
|
cover_photo?: StringId;
|
|
13236
13240
|
integration_meta?: { [key: string]: any };
|
|
@@ -13249,7 +13253,7 @@ export namespace Service {
|
|
|
13249
13253
|
address?: string;
|
|
13250
13254
|
contacts?: StringId[];
|
|
13251
13255
|
disabled: boolean;
|
|
13252
|
-
customFields?: {};
|
|
13256
|
+
customFields?: { [key: string]: string | number | boolean | StringId };
|
|
13253
13257
|
media?: StringId[];
|
|
13254
13258
|
cover_photo?: StringId;
|
|
13255
13259
|
integration_meta?: { [key: string]: any };
|
|
@@ -13263,7 +13267,7 @@ export namespace Service {
|
|
|
13263
13267
|
description?: string;
|
|
13264
13268
|
address?: string;
|
|
13265
13269
|
contacts?: StringId[];
|
|
13266
|
-
customFields?: {};
|
|
13270
|
+
customFields?: { [key: string]: string | number | boolean | StringId };
|
|
13267
13271
|
media?: StringId[];
|
|
13268
13272
|
cover_photo?: StringId;
|
|
13269
13273
|
integration_meta?: { [key: string]: any };
|
|
@@ -13290,7 +13294,7 @@ export namespace Service {
|
|
|
13290
13294
|
address?: string;
|
|
13291
13295
|
contacts?: StringId[] | ClientContact.ClientContactSchema[];
|
|
13292
13296
|
disabled: boolean;
|
|
13293
|
-
customFields?: {};
|
|
13297
|
+
customFields?: { [key: string]: string | number | boolean | StringId };
|
|
13294
13298
|
media?: StringId[] | PopulatedMediaStorage[];
|
|
13295
13299
|
cover_photo?: StringId | PopulatedMediaStorage;
|
|
13296
13300
|
integration_meta?: { [key: string]: any };
|
|
@@ -13580,7 +13584,7 @@ export namespace Service {
|
|
|
13580
13584
|
year?: string;
|
|
13581
13585
|
asset_types: StringId[];
|
|
13582
13586
|
location: StringId;
|
|
13583
|
-
customFields?: { [key: string]: string | number | boolean };
|
|
13587
|
+
customFields?: { [key: string]: string | number | boolean | StringId };
|
|
13584
13588
|
disabled: boolean;
|
|
13585
13589
|
integration_meta?: { [key: string]: any };
|
|
13586
13590
|
media?: StringId[];
|
|
@@ -13601,7 +13605,7 @@ export namespace Service {
|
|
|
13601
13605
|
year?: string;
|
|
13602
13606
|
asset_types: StringId[];
|
|
13603
13607
|
location: StringId;
|
|
13604
|
-
customFields?: {};
|
|
13608
|
+
customFields?: { [key: string]: string | number | boolean | StringId };
|
|
13605
13609
|
disabled?: boolean;
|
|
13606
13610
|
media?: StringId[];
|
|
13607
13611
|
cover_photo?: StringId;
|
|
@@ -13618,7 +13622,7 @@ export namespace Service {
|
|
|
13618
13622
|
year?: string;
|
|
13619
13623
|
asset_types?: StringId[];
|
|
13620
13624
|
location?: StringId;
|
|
13621
|
-
customFields?: {};
|
|
13625
|
+
customFields?: { [key: string]: string | number | boolean | StringId };
|
|
13622
13626
|
disabled?: boolean;
|
|
13623
13627
|
media?: StringId[];
|
|
13624
13628
|
cover_photo?: StringId;
|
|
@@ -13648,7 +13652,7 @@ export namespace Service {
|
|
|
13648
13652
|
});
|
|
13649
13653
|
media?: StringId[] | PopulatedMediaStorage[];
|
|
13650
13654
|
cover_photo?: StringId | PopulatedMediaStorage;
|
|
13651
|
-
customFields?: { [key: string]: string | number | boolean };
|
|
13655
|
+
customFields?: { [key: string]: string | number | boolean | StringId };
|
|
13652
13656
|
disabled: boolean;
|
|
13653
13657
|
integration_meta?: { [key: string]: any };
|
|
13654
13658
|
company_namespace: string[];
|
|
@@ -13721,7 +13725,7 @@ export namespace Service {
|
|
|
13721
13725
|
local_name?: string;
|
|
13722
13726
|
description?: string;
|
|
13723
13727
|
serial_nu?: string;
|
|
13724
|
-
customFields?: {};
|
|
13728
|
+
customFields?: { [key: string]: string | number | boolean | StringId };
|
|
13725
13729
|
disabled: boolean;
|
|
13726
13730
|
integration_meta?: { [key: string]: any };
|
|
13727
13731
|
media?: StringId[];
|
|
@@ -13739,7 +13743,7 @@ export namespace Service {
|
|
|
13739
13743
|
local_name?: string;
|
|
13740
13744
|
description?: string;
|
|
13741
13745
|
serial_nu?: string;
|
|
13742
|
-
customFields?: {};
|
|
13746
|
+
customFields?: { [key: string]: string | number | boolean | StringId };
|
|
13743
13747
|
integration_meta?: { [key: string]: any };
|
|
13744
13748
|
media?: StringId[];
|
|
13745
13749
|
cover_photo?: StringId;
|
|
@@ -13752,7 +13756,7 @@ export namespace Service {
|
|
|
13752
13756
|
local_name?: string;
|
|
13753
13757
|
description?: string;
|
|
13754
13758
|
serial_nu?: string;
|
|
13755
|
-
customFields?: {};
|
|
13759
|
+
customFields?: { [key: string]: string | number | boolean | StringId };
|
|
13756
13760
|
integration_meta?: { [key: string]: any };
|
|
13757
13761
|
media?: StringId[] | string[];
|
|
13758
13762
|
cover_photo?: StringId;
|
|
@@ -13790,7 +13794,7 @@ export namespace Service {
|
|
|
13790
13794
|
local_name?: string;
|
|
13791
13795
|
description?: string;
|
|
13792
13796
|
serial_nu?: string;
|
|
13793
|
-
customFields?: {};
|
|
13797
|
+
customFields?: { [key: string]: string | number | boolean | StringId };
|
|
13794
13798
|
disabled: boolean;
|
|
13795
13799
|
integration_meta?: { [key: string]: any };
|
|
13796
13800
|
media?: StringId[] | PopulatedMediaStorage[];
|