repzo 1.0.154 → 1.0.156
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/changelog.md +1 -0
- package/lib/index.d.ts +18 -0
- package/lib/index.js +38 -0
- package/lib/types/index.d.ts +462 -198
- package/lib/types/index.js +2 -1
- package/package.json +2 -2
- package/src/index.ts +4890 -0
- package/src/oas/activity-ai-sales-order.yaml +623 -0
- package/src/oas/activity-feedback-v2.yaml +753 -0
- package/src/oas/activity-feedback.yaml +645 -0
- package/src/oas/activity-storecheck.yaml +379 -0
- package/src/oas/adjust-account.yaml +241 -0
- package/src/oas/adjust-inventory.yaml +133 -0
- package/src/oas/approval-request.yaml +211 -0
- package/src/oas/approvals.yaml +176 -0
- package/src/oas/asset-part-receival.yaml +591 -0
- package/src/oas/asset-part-transfer.yaml +618 -0
- package/src/oas/asset-part-type.yaml +383 -0
- package/src/oas/asset-part-unit.yaml +722 -0
- package/src/oas/asset-part.yaml +485 -0
- package/src/oas/asset-type.yaml +180 -0
- package/src/oas/asset-unit.yaml +705 -0
- package/src/oas/asset.yaml +204 -0
- package/src/oas/banks.yaml +168 -0
- package/src/oas/bankslists.yaml +168 -0
- package/src/oas/brand.yaml +246 -0
- package/src/oas/category.yaml +285 -0
- package/src/oas/checks.yaml +247 -0
- package/src/oas/client-channel.yaml +480 -0
- package/src/oas/client-contact.yaml +665 -0
- package/src/oas/client-location.yaml +687 -0
- package/src/oas/client.yaml +669 -0
- package/src/oas/contract-installment.yaml +740 -0
- package/src/oas/contract.yaml +210 -0
- package/src/oas/custom-list-item.yaml +168 -0
- package/src/oas/custom-list.yaml +168 -0
- package/src/oas/custom-status.yaml +168 -0
- package/src/oas/day.yaml +246 -0
- package/src/oas/feedback-options.yaml +802 -0
- package/src/oas/fullinvoices.yaml +584 -0
- package/src/oas/integration-action-log.yaml +361 -0
- package/src/oas/integration-app.yaml +303 -0
- package/src/oas/integration-command-log.yaml +381 -0
- package/src/oas/inventory-adjustment-reason.yaml +165 -0
- package/src/oas/inventory.yaml +64 -0
- package/src/oas/mail-unsubscribe.yaml +463 -0
- package/src/oas/measureunit-family.yaml +354 -0
- package/src/oas/measureunit.yaml +366 -0
- package/src/oas/media-storage.yaml +329 -0
- package/src/oas/media.yaml +472 -0
- package/src/oas/msl-products.yaml +180 -0
- package/src/oas/msl.yaml +186 -0
- package/src/oas/ocr-invoice-job-group.yaml +528 -0
- package/src/oas/ocr-invoice-job-page.yaml +602 -0
- package/src/oas/ocr-invoice-job-template.yaml +628 -0
- package/src/oas/ocr-invoice-job.yaml +603 -0
- package/src/oas/patch-action.yaml +421 -0
- package/src/oas/payment-terms.yaml +235 -0
- package/src/oas/payments.yaml +536 -0
- package/src/oas/pricelist-item.yaml +369 -0
- package/src/oas/pricelist.yaml +287 -0
- package/src/oas/product-group.yaml +278 -0
- package/src/oas/product-modifiers-group.yaml +524 -0
- package/src/oas/product.yaml +578 -0
- package/src/oas/proforma.yaml +180 -0
- package/src/oas/quick-convert-to-pdf.yaml +95 -0
- package/src/oas/receiving-material.yaml +336 -0
- package/src/oas/refund.yaml +281 -0
- package/src/oas/rep-balance-summary.yaml +135 -0
- package/src/oas/rep.yaml +1824 -0
- package/src/oas/return-asset-part-unit.yaml +573 -0
- package/src/oas/return-reason.yaml +286 -0
- package/src/oas/route.yaml +337 -0
- package/src/oas/safe-invoice-serial-counter.yaml +525 -0
- package/src/oas/settings.yaml +123 -0
- package/src/oas/settlement.yaml +505 -0
- package/src/oas/speciality.yaml +447 -0
- package/src/oas/store-asset-part-unit.yaml +658 -0
- package/src/oas/storecheck-template.yaml +415 -0
- package/src/oas/subcategory.yaml +355 -0
- package/src/oas/supplier.yaml +183 -0
- package/src/oas/svix-integration.yaml +335 -0
- package/src/oas/tag.yaml +272 -0
- package/src/oas/tax.yaml +303 -0
- package/src/oas/team.yaml +268 -0
- package/src/oas/transfer.yaml +347 -0
- package/src/oas/update-integration-meta.yaml +387 -0
- package/src/oas/variant.yaml +569 -0
- package/src/oas/visit.yaml +174 -0
- package/src/oas/warehouse.yaml +311 -0
- package/src/oas/workorder-category.yaml +751 -0
- package/src/oas/workorder-portal-link.yaml +811 -0
- package/src/oas/workorder-portal.yaml +650 -0
- package/src/oas/workorder-request.yaml +193 -0
- package/src/oas/workorder.yaml +204 -0
- package/src/types/index.ts +1175 -223
package/src/types/index.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import type { EndPoints } from "../index";
|
|
2
|
+
|
|
1
3
|
export interface Params {
|
|
2
4
|
[key: string]: any;
|
|
3
5
|
}
|
|
@@ -2315,7 +2317,7 @@ export namespace Service {
|
|
|
2315
2317
|
}
|
|
2316
2318
|
|
|
2317
2319
|
export namespace ActivityStorecheck {
|
|
2318
|
-
interface Field {
|
|
2320
|
+
export interface Field {
|
|
2319
2321
|
_id?: string;
|
|
2320
2322
|
name: string;
|
|
2321
2323
|
type: FieldType;
|
|
@@ -2335,12 +2337,12 @@ export namespace Service {
|
|
|
2335
2337
|
export interface Division {
|
|
2336
2338
|
fields: Field[];
|
|
2337
2339
|
}
|
|
2338
|
-
interface Result {
|
|
2340
|
+
export interface Result {
|
|
2339
2341
|
source_id: string;
|
|
2340
2342
|
source_name: string;
|
|
2341
2343
|
divisions: Division[];
|
|
2342
2344
|
}
|
|
2343
|
-
interface Entry {
|
|
2345
|
+
export interface Entry {
|
|
2344
2346
|
entry_id: string;
|
|
2345
2347
|
source:
|
|
2346
2348
|
| "product"
|
|
@@ -2442,7 +2444,7 @@ export namespace Service {
|
|
|
2442
2444
|
job_end_time?: number;
|
|
2443
2445
|
job_duration?: number;
|
|
2444
2446
|
}
|
|
2445
|
-
type PopulatedKeys =
|
|
2447
|
+
export type PopulatedKeys =
|
|
2446
2448
|
| "teams"
|
|
2447
2449
|
| "tags"
|
|
2448
2450
|
| "client"
|
|
@@ -2880,6 +2882,7 @@ export namespace Service {
|
|
|
2880
2882
|
updatedAt: string;
|
|
2881
2883
|
__v: number;
|
|
2882
2884
|
}
|
|
2885
|
+
export type Data = RepSchema;
|
|
2883
2886
|
export interface RepBody {
|
|
2884
2887
|
username?: string;
|
|
2885
2888
|
name?: string;
|
|
@@ -5146,7 +5149,7 @@ export namespace Service {
|
|
|
5146
5149
|
| "visit_id"
|
|
5147
5150
|
| "feed_back_option";
|
|
5148
5151
|
|
|
5149
|
-
type ActivityFeedbackV2SchemaWithPopulatedKeys =
|
|
5152
|
+
export type ActivityFeedbackV2SchemaWithPopulatedKeys =
|
|
5150
5153
|
ActivityFeedbackV2Schema & {
|
|
5151
5154
|
teams_populated?: string[] | Team.TeamSchema[];
|
|
5152
5155
|
route_populated?: string | Route.RouteSchema;
|
|
@@ -8045,6 +8048,7 @@ export namespace Service {
|
|
|
8045
8048
|
createdAt: Date;
|
|
8046
8049
|
updatedAt: Date;
|
|
8047
8050
|
}
|
|
8051
|
+
export type Data = DaySchema;
|
|
8048
8052
|
|
|
8049
8053
|
export interface CreateBody {
|
|
8050
8054
|
startTime: string[];
|
|
@@ -14532,7 +14536,7 @@ export namespace Service {
|
|
|
14532
14536
|
}
|
|
14533
14537
|
|
|
14534
14538
|
export namespace ActivityAudit {
|
|
14535
|
-
interface Inventory {
|
|
14539
|
+
export interface Inventory {
|
|
14536
14540
|
store_qun?: number;
|
|
14537
14541
|
shelf_qun?: number;
|
|
14538
14542
|
shelf_price?: number;
|
|
@@ -14548,7 +14552,7 @@ export namespace Service {
|
|
|
14548
14552
|
note?: string;
|
|
14549
14553
|
}
|
|
14550
14554
|
|
|
14551
|
-
interface AuditItem {
|
|
14555
|
+
export interface AuditItem {
|
|
14552
14556
|
product_name: string;
|
|
14553
14557
|
product_id: string;
|
|
14554
14558
|
product_sub_category?: string;
|
|
@@ -14640,6 +14644,8 @@ export namespace Service {
|
|
|
14640
14644
|
product_id: string;
|
|
14641
14645
|
available: boolean;
|
|
14642
14646
|
}[];
|
|
14647
|
+
photos?: string[];
|
|
14648
|
+
media?: StringId[];
|
|
14643
14649
|
createdAt: string;
|
|
14644
14650
|
updatedAt: string;
|
|
14645
14651
|
}
|
|
@@ -14814,7 +14820,7 @@ export namespace Service {
|
|
|
14814
14820
|
}
|
|
14815
14821
|
|
|
14816
14822
|
export namespace FormV2 {
|
|
14817
|
-
interface Visibility {
|
|
14823
|
+
export interface Visibility {
|
|
14818
14824
|
operator: "and" | "or";
|
|
14819
14825
|
conditions: {
|
|
14820
14826
|
division_id: string;
|
|
@@ -14998,7 +15004,7 @@ export namespace Service {
|
|
|
14998
15004
|
}
|
|
14999
15005
|
|
|
15000
15006
|
export namespace ActivityFormV2Result {
|
|
15001
|
-
const fieldType_enums = [
|
|
15007
|
+
export const fieldType_enums = [
|
|
15002
15008
|
"Text", // Long Text
|
|
15003
15009
|
"String", // Short Text
|
|
15004
15010
|
"Phone", // phone
|
|
@@ -15017,9 +15023,9 @@ export namespace Service {
|
|
|
15017
15023
|
"BarcodeScan", // String
|
|
15018
15024
|
"GeoPoint", // { coordinates: [0, 0], type: "Point" }
|
|
15019
15025
|
] as const;
|
|
15020
|
-
type FormV2FieldType = (typeof fieldType_enums)[number];
|
|
15026
|
+
export type FormV2FieldType = (typeof fieldType_enums)[number];
|
|
15021
15027
|
|
|
15022
|
-
interface FieldResult {
|
|
15028
|
+
export interface FieldResult {
|
|
15023
15029
|
_id?: string;
|
|
15024
15030
|
field_id: string;
|
|
15025
15031
|
name: string;
|
|
@@ -15049,7 +15055,7 @@ export namespace Service {
|
|
|
15049
15055
|
}[];
|
|
15050
15056
|
}
|
|
15051
15057
|
|
|
15052
|
-
interface DivisionResult {
|
|
15058
|
+
export interface DivisionResult {
|
|
15053
15059
|
_id: string;
|
|
15054
15060
|
division_id: string;
|
|
15055
15061
|
name: string;
|
|
@@ -15102,14 +15108,14 @@ export namespace Service {
|
|
|
15102
15108
|
}
|
|
15103
15109
|
|
|
15104
15110
|
export namespace ActivityItemStatus {
|
|
15105
|
-
type ItemStatus =
|
|
15111
|
+
export type ItemStatus =
|
|
15106
15112
|
| "current_user"
|
|
15107
15113
|
| "non_user"
|
|
15108
15114
|
| "generic_user"
|
|
15109
15115
|
| "competitor_user"
|
|
15110
15116
|
| "other";
|
|
15111
15117
|
|
|
15112
|
-
interface Item {
|
|
15118
|
+
export interface Item {
|
|
15113
15119
|
product: string;
|
|
15114
15120
|
product_name: string;
|
|
15115
15121
|
status: ItemStatus;
|
|
@@ -15290,106 +15296,107 @@ export namespace Service {
|
|
|
15290
15296
|
}
|
|
15291
15297
|
}
|
|
15292
15298
|
|
|
15293
|
-
export namespace ActivityStorecheck {
|
|
15294
|
-
|
|
15295
|
-
|
|
15296
|
-
|
|
15297
|
-
|
|
15298
|
-
|
|
15299
|
-
|
|
15300
|
-
|
|
15301
|
-
|
|
15302
|
-
|
|
15303
|
-
|
|
15304
|
-
|
|
15305
|
-
|
|
15306
|
-
|
|
15307
|
-
|
|
15308
|
-
|
|
15309
|
-
|
|
15310
|
-
|
|
15311
|
-
|
|
15312
|
-
|
|
15313
|
-
|
|
15314
|
-
|
|
15315
|
-
|
|
15316
|
-
|
|
15317
|
-
|
|
15318
|
-
|
|
15319
|
-
|
|
15320
|
-
|
|
15321
|
-
|
|
15322
|
-
|
|
15323
|
-
|
|
15324
|
-
|
|
15325
|
-
|
|
15326
|
-
|
|
15327
|
-
|
|
15328
|
-
|
|
15329
|
-
|
|
15330
|
-
|
|
15331
|
-
|
|
15332
|
-
|
|
15333
|
-
|
|
15334
|
-
|
|
15335
|
-
|
|
15336
|
-
|
|
15337
|
-
|
|
15338
|
-
|
|
15339
|
-
|
|
15340
|
-
|
|
15341
|
-
|
|
15342
|
-
|
|
15343
|
-
|
|
15344
|
-
|
|
15345
|
-
|
|
15346
|
-
|
|
15347
|
-
|
|
15348
|
-
|
|
15349
|
-
|
|
15350
|
-
|
|
15351
|
-
|
|
15352
|
-
|
|
15353
|
-
|
|
15354
|
-
|
|
15355
|
-
|
|
15356
|
-
|
|
15357
|
-
|
|
15358
|
-
|
|
15359
|
-
|
|
15360
|
-
|
|
15361
|
-
|
|
15362
|
-
|
|
15363
|
-
|
|
15364
|
-
|
|
15365
|
-
|
|
15366
|
-
|
|
15367
|
-
|
|
15368
|
-
|
|
15369
|
-
|
|
15370
|
-
|
|
15371
|
-
|
|
15372
|
-
|
|
15373
|
-
|
|
15374
|
-
|
|
15375
|
-
|
|
15376
|
-
|
|
15377
|
-
|
|
15378
|
-
|
|
15379
|
-
|
|
15380
|
-
|
|
15381
|
-
|
|
15382
|
-
|
|
15383
|
-
|
|
15384
|
-
|
|
15385
|
-
|
|
15386
|
-
|
|
15387
|
-
|
|
15388
|
-
|
|
15389
|
-
|
|
15390
|
-
|
|
15391
|
-
|
|
15392
|
-
}
|
|
15299
|
+
// export namespace ActivityStorecheck {
|
|
15300
|
+
// export type FieldType =
|
|
15301
|
+
// | "Text"
|
|
15302
|
+
// | "String"
|
|
15303
|
+
// | "Date"
|
|
15304
|
+
// | "Image"
|
|
15305
|
+
// | "Boolean"
|
|
15306
|
+
// | "Number"
|
|
15307
|
+
// | "List"
|
|
15308
|
+
// | "Separator"
|
|
15309
|
+
// | "Heading"
|
|
15310
|
+
// | "Media";
|
|
15311
|
+
|
|
15312
|
+
// export type Source =
|
|
15313
|
+
// | "product"
|
|
15314
|
+
// | "variant"
|
|
15315
|
+
// | "product-category"
|
|
15316
|
+
// | "product-sub-category"
|
|
15317
|
+
// | "product-brand"
|
|
15318
|
+
// | "product-group";
|
|
15319
|
+
|
|
15320
|
+
// export interface GeoTag {
|
|
15321
|
+
// lat?: number;
|
|
15322
|
+
// lng?: number;
|
|
15323
|
+
// formatted_address?: string;
|
|
15324
|
+
// }
|
|
15325
|
+
|
|
15326
|
+
// export interface GeoPoint {
|
|
15327
|
+
// type: "Point";
|
|
15328
|
+
// coordinates: [number, number];
|
|
15329
|
+
// }
|
|
15330
|
+
|
|
15331
|
+
// interface Result {
|
|
15332
|
+
// source_id: string;
|
|
15333
|
+
// source_name: string;
|
|
15334
|
+
// divisions: Division[];
|
|
15335
|
+
// }
|
|
15336
|
+
// export interface Entry {
|
|
15337
|
+
// entry_id: string;
|
|
15338
|
+
// source: Source;
|
|
15339
|
+
// results: Result[];
|
|
15340
|
+
// }
|
|
15341
|
+
|
|
15342
|
+
// interface Division {
|
|
15343
|
+
// fields: Field[];
|
|
15344
|
+
// }
|
|
15345
|
+
// interface Field {
|
|
15346
|
+
// _id?: string;
|
|
15347
|
+
// name: string;
|
|
15348
|
+
// type: FieldType;
|
|
15349
|
+
// isArray: boolean;
|
|
15350
|
+
// isRequired?: boolean;
|
|
15351
|
+
// is_calculated_field?: boolean;
|
|
15352
|
+
// formula_key?: string;
|
|
15353
|
+
// parent_field?: string;
|
|
15354
|
+
// custom_list?: string | CustomList.Data | StringId;
|
|
15355
|
+
// field_id: string | StringId;
|
|
15356
|
+
// result: any[];
|
|
15357
|
+
// result_custom_list_ids?: any[];
|
|
15358
|
+
// calculation_status?: "success" | "failed";
|
|
15359
|
+
// calculation_error?: string | any[];
|
|
15360
|
+
// company_namespace?: string[];
|
|
15361
|
+
// }
|
|
15362
|
+
// export interface Data {
|
|
15363
|
+
// _id: string;
|
|
15364
|
+
// company_namespace: string[];
|
|
15365
|
+
// client: string;
|
|
15366
|
+
// client_name: string;
|
|
15367
|
+
// sync_id: string;
|
|
15368
|
+
// time_zone: string;
|
|
15369
|
+
// template_id: string;
|
|
15370
|
+
// visit?: string;
|
|
15371
|
+
// visit_id?: string;
|
|
15372
|
+
// battery_level?: number;
|
|
15373
|
+
// user: string;
|
|
15374
|
+
// user_name: string;
|
|
15375
|
+
// time: number;
|
|
15376
|
+
// geo_tag?: GeoTag;
|
|
15377
|
+
// geoPoint: GeoPoint;
|
|
15378
|
+
// teams?: string[];
|
|
15379
|
+
// route?: string;
|
|
15380
|
+
// tags?: string[];
|
|
15381
|
+
// entries: Entry[];
|
|
15382
|
+
// platform?: string;
|
|
15383
|
+
// version_name?: string;
|
|
15384
|
+
// device_brand?: string;
|
|
15385
|
+
// device_os?: string;
|
|
15386
|
+
// device_os_version?: string;
|
|
15387
|
+
// device_model?: string;
|
|
15388
|
+
// identifier?: number;
|
|
15389
|
+
// device_id?: string;
|
|
15390
|
+
// device_unique_id?: string;
|
|
15391
|
+
// network_state?: number;
|
|
15392
|
+
// serial_number?: SerialNumber;
|
|
15393
|
+
// job_start_time?: number;
|
|
15394
|
+
// job_end_time?: number;
|
|
15395
|
+
// job_duration?: number;
|
|
15396
|
+
// createdAt: Date;
|
|
15397
|
+
// updatedAt: Date;
|
|
15398
|
+
// }
|
|
15399
|
+
// }
|
|
15393
15400
|
|
|
15394
15401
|
export namespace Reminder {
|
|
15395
15402
|
export interface Data {
|
|
@@ -15415,6 +15422,7 @@ export namespace Service {
|
|
|
15415
15422
|
|
|
15416
15423
|
export namespace TimelineReport {
|
|
15417
15424
|
export const activity_types = [
|
|
15425
|
+
"day",
|
|
15418
15426
|
"client",
|
|
15419
15427
|
"visit",
|
|
15420
15428
|
"payment",
|
|
@@ -15460,7 +15468,7 @@ export namespace Service {
|
|
|
15460
15468
|
_id: StringId;
|
|
15461
15469
|
company_namespace: string[];
|
|
15462
15470
|
activity_type: ActivityType;
|
|
15463
|
-
activity_id: StringId;
|
|
15471
|
+
activity_id: StringId | StringId[];
|
|
15464
15472
|
time: number;
|
|
15465
15473
|
business_day?: string;
|
|
15466
15474
|
user: {
|
|
@@ -15479,6 +15487,7 @@ export namespace Service {
|
|
|
15479
15487
|
geoPoint?: { coordinates: [number, number]; type: "Point" };
|
|
15480
15488
|
details:
|
|
15481
15489
|
| VisitDetails
|
|
15490
|
+
| DayDetails
|
|
15482
15491
|
| PaymentDetails
|
|
15483
15492
|
| RefundDetails
|
|
15484
15493
|
| ActivityPhotoDetails
|
|
@@ -15520,7 +15529,7 @@ export namespace Service {
|
|
|
15520
15529
|
updatedAt: Date;
|
|
15521
15530
|
}
|
|
15522
15531
|
|
|
15523
|
-
type VisitDetails = {
|
|
15532
|
+
export type VisitDetails = {
|
|
15524
15533
|
activity_type: "visit";
|
|
15525
15534
|
activities: (
|
|
15526
15535
|
| ActivityAuditVisitDetails
|
|
@@ -15561,68 +15570,72 @@ export namespace Service {
|
|
|
15561
15570
|
| "battery_level"
|
|
15562
15571
|
| "version_name"
|
|
15563
15572
|
| "device_brand"
|
|
15573
|
+
| "start_out_of_geofence"
|
|
15574
|
+
| "end_out_of_geofence"
|
|
15575
|
+
| "auto_closed_by_geofence"
|
|
15576
|
+
| "auto_closed_by_geofence_reason"
|
|
15577
|
+
| "client_geo_location"
|
|
15564
15578
|
>;
|
|
15565
15579
|
|
|
15566
15580
|
// ActivityPhoto ********************************************************************
|
|
15567
|
-
type ActivityPhotoDetails = {
|
|
15568
|
-
|
|
15569
|
-
|
|
15570
|
-
|
|
15571
|
-
type ActivityPhotoVisitDetails = {
|
|
15581
|
+
export type ActivityPhotoDetails = {
|
|
15582
|
+
activity_type: "activity-photo";
|
|
15583
|
+
} & Pick<ActivityPhoto.Data, "media">;
|
|
15584
|
+
export type ActivityPhotoVisitDetails = {
|
|
15572
15585
|
activity_type: "activity-photo";
|
|
15573
15586
|
activity_id: StringId;
|
|
15574
15587
|
} & Pick<ActivityPhoto.Data, "media" | "time">;
|
|
15575
15588
|
|
|
15576
15589
|
// ActivityAudit ********************************************************************
|
|
15577
|
-
type ActivityAuditDetails = {
|
|
15590
|
+
export type ActivityAuditDetails = {
|
|
15578
15591
|
activity_type: "activity-audit";
|
|
15579
15592
|
audits_length: number;
|
|
15580
15593
|
};
|
|
15581
|
-
type ActivityAuditVisitDetails = {
|
|
15594
|
+
export type ActivityAuditVisitDetails = {
|
|
15582
15595
|
activity_type: "activity-audit";
|
|
15583
15596
|
activity_id: StringId;
|
|
15584
15597
|
audits_length: number;
|
|
15585
15598
|
} & Pick<ActivityAudit.Data, "time">;
|
|
15586
15599
|
|
|
15587
15600
|
// ActivityAvailability ********************************************************************
|
|
15588
|
-
type ActivityAvailabilityDetails = {
|
|
15601
|
+
export type ActivityAvailabilityDetails = {
|
|
15589
15602
|
activity_type: "activity-availability";
|
|
15590
15603
|
products_available_length: number;
|
|
15591
15604
|
msl_name: string;
|
|
15592
|
-
} & Pick<ActivityAvailability.Data, "msl_id">;
|
|
15593
|
-
type ActivityAvailabilityVisitDetails = {
|
|
15605
|
+
} & Pick<ActivityAvailability.Data, "msl_id" | "media">;
|
|
15606
|
+
export type ActivityAvailabilityVisitDetails = {
|
|
15594
15607
|
activity_type: "activity-availability";
|
|
15595
15608
|
activity_id: StringId;
|
|
15596
15609
|
products_available_length: number;
|
|
15597
15610
|
msl_name: string;
|
|
15598
|
-
} & Pick<ActivityAvailability.Data, "time" | "msl_id">;
|
|
15611
|
+
} & Pick<ActivityAvailability.Data, "time" | "msl_id" | "media">;
|
|
15599
15612
|
|
|
15600
15613
|
// ActivityNote ********************************************************************
|
|
15601
|
-
type ActivityNoteDetails = { activity_type: "activity-note" } & Pick<
|
|
15614
|
+
export type ActivityNoteDetails = { activity_type: "activity-note" } & Pick<
|
|
15602
15615
|
ActivityNote.Data,
|
|
15603
15616
|
"content"
|
|
15604
15617
|
>;
|
|
15605
|
-
type ActivityNoteVisitDetails = {
|
|
15618
|
+
export type ActivityNoteVisitDetails = {
|
|
15606
15619
|
activity_type: "activity-note";
|
|
15607
15620
|
activity_id: StringId;
|
|
15608
15621
|
} & Pick<ActivityNote.Data, "content" | "time">;
|
|
15609
15622
|
|
|
15610
15623
|
// ActivityTask ********************************************************************
|
|
15611
|
-
type ActivityTaskDetails = { activity_type: "activity-task" } & Pick<
|
|
15624
|
+
export type ActivityTaskDetails = { activity_type: "activity-task" } & Pick<
|
|
15612
15625
|
ActivityTask.Data,
|
|
15613
15626
|
"start_media" | "end_media"
|
|
15614
15627
|
>;
|
|
15615
|
-
type ActivityTaskVisitDetails = {
|
|
15628
|
+
export type ActivityTaskVisitDetails = {
|
|
15616
15629
|
activity_type: "activity-task";
|
|
15617
15630
|
activity_id: StringId;
|
|
15618
15631
|
} & Pick<ActivityTask.Data, "start_media" | "end_media" | "time">;
|
|
15619
15632
|
|
|
15620
15633
|
// ActivityPlanogram ********************************************************************
|
|
15621
|
-
type ActivityPlanogramDetails = {
|
|
15634
|
+
export type ActivityPlanogramDetails = {
|
|
15622
15635
|
activity_type: "activity-planogram";
|
|
15623
15636
|
msl_name: string;
|
|
15624
15637
|
} & Pick<ActivityPlanogram.Data, "media" | "planogram_reason" | "msl_id">;
|
|
15625
|
-
type ActivityPlanogramVisitDetails = {
|
|
15638
|
+
export type ActivityPlanogramVisitDetails = {
|
|
15626
15639
|
activity_type: "activity-planogram";
|
|
15627
15640
|
activity_id: StringId;
|
|
15628
15641
|
msl_name: string;
|
|
@@ -15632,100 +15645,115 @@ export namespace Service {
|
|
|
15632
15645
|
>;
|
|
15633
15646
|
|
|
15634
15647
|
// ActivityShelfshare ********************************************************************
|
|
15635
|
-
type ActivityShelfshareDetails = {
|
|
15648
|
+
export type ActivityShelfshareDetails = {
|
|
15636
15649
|
activity_type: "activity-shelfshare";
|
|
15637
|
-
|
|
15638
|
-
|
|
15639
|
-
|
|
15640
|
-
|
|
15641
|
-
|
|
15642
|
-
type ActivityShelfshareVisitDetails = {
|
|
15650
|
+
results: (Pick<
|
|
15651
|
+
ActivityShelfshare.Data,
|
|
15652
|
+
"msl_length" | "total_msl_length" | "msl_id"
|
|
15653
|
+
> & { activity_id: StringId; msl_name: string })[];
|
|
15654
|
+
};
|
|
15655
|
+
export type ActivityShelfshareVisitDetails = {
|
|
15643
15656
|
activity_type: "activity-shelfshare";
|
|
15644
|
-
activity_id: StringId;
|
|
15645
|
-
|
|
15646
|
-
|
|
15647
|
-
|
|
15648
|
-
|
|
15649
|
-
|
|
15657
|
+
activity_id: StringId[];
|
|
15658
|
+
time: number;
|
|
15659
|
+
results: (Pick<
|
|
15660
|
+
ActivityShelfshare.Data,
|
|
15661
|
+
"msl_length" | "total_msl_length" | "msl_id"
|
|
15662
|
+
> & { activity_id: StringId; msl_name: string })[];
|
|
15663
|
+
};
|
|
15650
15664
|
|
|
15651
15665
|
// ActivitySecondaryDisplay ********************************************************************
|
|
15652
|
-
type ActivitySecondaryDisplayDetails = {
|
|
15666
|
+
export type ActivitySecondaryDisplayDetails = {
|
|
15653
15667
|
activity_type: "activity-secondary-display";
|
|
15654
|
-
|
|
15655
|
-
|
|
15656
|
-
|
|
15668
|
+
results: (Pick<
|
|
15669
|
+
ActivitySecondaryDisplay.Data,
|
|
15670
|
+
"secondary_count" | "msl_id"
|
|
15671
|
+
> & { activity_id: StringId; msl_name: string })[];
|
|
15672
|
+
};
|
|
15673
|
+
export type ActivitySecondaryDisplayVisitDetails = {
|
|
15657
15674
|
activity_type: "activity-secondary-display";
|
|
15658
|
-
activity_id: StringId;
|
|
15659
|
-
|
|
15660
|
-
|
|
15661
|
-
|
|
15662
|
-
|
|
15663
|
-
|
|
15675
|
+
activity_id: StringId[];
|
|
15676
|
+
time: number;
|
|
15677
|
+
results: (Pick<
|
|
15678
|
+
ActivitySecondaryDisplay.Data,
|
|
15679
|
+
"secondary_count" | "msl_id"
|
|
15680
|
+
> & { activity_id: StringId; msl_name: string })[];
|
|
15681
|
+
};
|
|
15664
15682
|
|
|
15665
15683
|
// ActivityCheckoutDisplay ********************************************************************
|
|
15666
|
-
type ActivityCheckoutDisplayDetails = {
|
|
15684
|
+
export type ActivityCheckoutDisplayDetails = {
|
|
15667
15685
|
activity_type: "activity-checkout-display";
|
|
15668
|
-
|
|
15669
|
-
|
|
15670
|
-
|
|
15686
|
+
results: (Pick<
|
|
15687
|
+
ActivityCheckoutDisplay.Data,
|
|
15688
|
+
"checkout_count" | "msl_id"
|
|
15689
|
+
> & { activity_id: StringId; msl_name: string })[];
|
|
15690
|
+
};
|
|
15691
|
+
export type ActivityCheckoutDisplayVisitDetails = {
|
|
15671
15692
|
activity_type: "activity-checkout-display";
|
|
15672
|
-
activity_id: StringId;
|
|
15673
|
-
|
|
15674
|
-
|
|
15675
|
-
|
|
15676
|
-
|
|
15677
|
-
|
|
15693
|
+
activity_id: StringId[];
|
|
15694
|
+
time: number;
|
|
15695
|
+
results: (Pick<
|
|
15696
|
+
ActivityCheckoutDisplay.Data,
|
|
15697
|
+
"checkout_count" | "msl_id"
|
|
15698
|
+
> & { activity_id: StringId; msl_name: string })[];
|
|
15699
|
+
};
|
|
15678
15700
|
|
|
15679
15701
|
// ActivityItemStatus ********************************************************************
|
|
15680
|
-
type ActivityItemStatusDetails = {
|
|
15702
|
+
export type ActivityItemStatusDetails = {
|
|
15681
15703
|
activity_type: "activity-item-status";
|
|
15682
15704
|
items_length?: number;
|
|
15683
15705
|
};
|
|
15684
|
-
type ActivityItemStatusVisitDetails = {
|
|
15706
|
+
export type ActivityItemStatusVisitDetails = {
|
|
15685
15707
|
activity_type: "activity-item-status";
|
|
15686
15708
|
activity_id: StringId;
|
|
15687
15709
|
items_length?: number;
|
|
15688
15710
|
} & Pick<ActivityItemStatus.Data, "time">;
|
|
15689
15711
|
|
|
15690
15712
|
// ActivityFormResult ********************************************************************
|
|
15691
|
-
type ActivityFormResultDetails = {
|
|
15713
|
+
export type ActivityFormResultDetails = {
|
|
15692
15714
|
activity_type: "activity-form-result";
|
|
15693
15715
|
form_name?: string;
|
|
15694
15716
|
} & Pick<ActivityFormResult.Data, "form_id">;
|
|
15695
|
-
type ActivityFormResultVisitDetails = {
|
|
15717
|
+
export type ActivityFormResultVisitDetails = {
|
|
15696
15718
|
activity_type: "activity-form-result";
|
|
15697
15719
|
activity_id: StringId;
|
|
15698
15720
|
form_name?: string;
|
|
15699
15721
|
} & Pick<ActivityFormResult.Data, "form_id" | "time">;
|
|
15700
15722
|
|
|
15701
15723
|
// ActivityFormV2Result ********************************************************************
|
|
15702
|
-
type ActivityFormV2ResultDetails = {
|
|
15724
|
+
export type ActivityFormV2ResultDetails = {
|
|
15703
15725
|
activity_type: "activity-form-v2-result";
|
|
15704
15726
|
form_name?: string;
|
|
15705
15727
|
} & Pick<ActivityFormV2Result.Data, "form_id" | "serial_number">;
|
|
15706
|
-
type ActivityFormV2ResultVisitDetails = {
|
|
15728
|
+
export type ActivityFormV2ResultVisitDetails = {
|
|
15707
15729
|
activity_type: "activity-form-v2-result";
|
|
15708
15730
|
activity_id: StringId;
|
|
15709
15731
|
form_name?: string;
|
|
15710
15732
|
} & Pick<ActivityFormV2Result.Data, "form_id" | "serial_number" | "time">;
|
|
15711
15733
|
|
|
15712
15734
|
// ActivityStorecheck ********************************************************************
|
|
15713
|
-
type ActivityStorecheckDetails = {
|
|
15735
|
+
export type ActivityStorecheckDetails = {
|
|
15714
15736
|
activity_type: "activity-storecheck";
|
|
15715
15737
|
template_name?: string;
|
|
15716
|
-
} & Pick<
|
|
15717
|
-
|
|
15738
|
+
} & Pick<
|
|
15739
|
+
ActivityStorecheck.ActivityStoreCheckWithPopulatedKeysSchema,
|
|
15740
|
+
"template_id" | "serial_number"
|
|
15741
|
+
>;
|
|
15742
|
+
export type ActivityStorecheckVisitDetails = {
|
|
15718
15743
|
activity_type: "activity-storecheck";
|
|
15719
15744
|
activity_id: StringId;
|
|
15720
15745
|
template_name?: string;
|
|
15721
|
-
} & Pick<
|
|
15746
|
+
} & Pick<
|
|
15747
|
+
ActivityStorecheck.ActivityStoreCheckWithPopulatedKeysSchema,
|
|
15748
|
+
"template_id" | "serial_number" | "time"
|
|
15749
|
+
>;
|
|
15722
15750
|
|
|
15723
15751
|
// ActivityFeedback ********************************************************************
|
|
15724
|
-
type ActivityFeedbackDetails = {
|
|
15752
|
+
export type ActivityFeedbackDetails = {
|
|
15725
15753
|
activity_type: "activity-feedback";
|
|
15726
15754
|
feed_back_option_label?: string;
|
|
15727
15755
|
} & Pick<ActivityFeedback.Data, "feed_back_option">;
|
|
15728
|
-
type ActivityFeedbackVisitDetails = {
|
|
15756
|
+
export type ActivityFeedbackVisitDetails = {
|
|
15729
15757
|
activity_type: "activity-feedback";
|
|
15730
15758
|
activity_id: StringId;
|
|
15731
15759
|
time?: number;
|
|
@@ -15733,11 +15761,10 @@ export namespace Service {
|
|
|
15733
15761
|
} & Pick<ActivityFeedback.Data, "feed_back_option">;
|
|
15734
15762
|
|
|
15735
15763
|
// ApprovalRequest ********************************************************************
|
|
15736
|
-
type ApprovalRequestDetails = {
|
|
15737
|
-
|
|
15738
|
-
|
|
15739
|
-
|
|
15740
|
-
type ApprovalRequestVisitDetails = {
|
|
15764
|
+
export type ApprovalRequestDetails = {
|
|
15765
|
+
activity_type: "approval-request";
|
|
15766
|
+
} & Pick<ApprovalRequest.Data, "serial_number" | "type" | "subtype">;
|
|
15767
|
+
export type ApprovalRequestVisitDetails = {
|
|
15741
15768
|
activity_type: "approval-request";
|
|
15742
15769
|
activity_id: StringId;
|
|
15743
15770
|
} & Pick<
|
|
@@ -15746,28 +15773,31 @@ export namespace Service {
|
|
|
15746
15773
|
>;
|
|
15747
15774
|
|
|
15748
15775
|
// Reminder ********************************************************************
|
|
15749
|
-
type ReminderDetails = { activity_type: "reminders" } & Pick<
|
|
15776
|
+
export type ReminderDetails = { activity_type: "reminders" } & Pick<
|
|
15750
15777
|
Reminder.Data,
|
|
15751
|
-
"content" | "cover_photo"
|
|
15778
|
+
"content" | "cover_photo" | "from" | "to" | "name"
|
|
15752
15779
|
>;
|
|
15753
15780
|
|
|
15754
15781
|
// Asset ********************************************************************
|
|
15755
|
-
type AssetDetails = {
|
|
15782
|
+
export type AssetDetails = {
|
|
15783
|
+
activity_type: "asset";
|
|
15784
|
+
asset_types?: string;
|
|
15785
|
+
} & Pick<Asset.Data, "name">;
|
|
15756
15786
|
|
|
15757
15787
|
// AssetUnit ********************************************************************
|
|
15758
|
-
type AssetUnitDetails = {
|
|
15759
|
-
|
|
15760
|
-
|
|
15761
|
-
>;
|
|
15788
|
+
export type AssetUnitDetails = {
|
|
15789
|
+
activity_type: "asset-unit";
|
|
15790
|
+
asset?: string;
|
|
15791
|
+
} & Pick<AssetUnit.Data, "name">;
|
|
15762
15792
|
|
|
15763
15793
|
// AssetPart ********************************************************************
|
|
15764
|
-
type AssetPartDetails = { activity_type: "asset-part" } & Pick<
|
|
15794
|
+
export type AssetPartDetails = { activity_type: "asset-part" } & Pick<
|
|
15765
15795
|
AssetPart.Data,
|
|
15766
15796
|
"name"
|
|
15767
15797
|
>;
|
|
15768
15798
|
|
|
15769
15799
|
// AssetPartReceival ********************************************************************
|
|
15770
|
-
type AssetPartReceivalDetails = {
|
|
15800
|
+
export type AssetPartReceivalDetails = {
|
|
15771
15801
|
activity_type: "asset-part-receival";
|
|
15772
15802
|
} & Pick<
|
|
15773
15803
|
AssetPartReceival.Data,
|
|
@@ -15777,7 +15807,7 @@ export namespace Service {
|
|
|
15777
15807
|
| "asset_parts_count"
|
|
15778
15808
|
| "total_asset_parts_qty"
|
|
15779
15809
|
>;
|
|
15780
|
-
type AssetPartReceivalVisitDetails = {
|
|
15810
|
+
export type AssetPartReceivalVisitDetails = {
|
|
15781
15811
|
activity_type: "asset-part-receival";
|
|
15782
15812
|
activity_id: StringId;
|
|
15783
15813
|
} & Pick<
|
|
@@ -15791,7 +15821,7 @@ export namespace Service {
|
|
|
15791
15821
|
>;
|
|
15792
15822
|
|
|
15793
15823
|
// AssetPartTransfer ********************************************************************
|
|
15794
|
-
type AssetPartTransferDetails = {
|
|
15824
|
+
export type AssetPartTransferDetails = {
|
|
15795
15825
|
activity_type: "asset-part-transfer";
|
|
15796
15826
|
} & Pick<
|
|
15797
15827
|
AssetPartTransfer.Data,
|
|
@@ -15803,7 +15833,7 @@ export namespace Service {
|
|
|
15803
15833
|
| "asset_part_units_count"
|
|
15804
15834
|
| "total_asset_part_units_qty"
|
|
15805
15835
|
>;
|
|
15806
|
-
type AssetPartTransferVisitDetails = {
|
|
15836
|
+
export type AssetPartTransferVisitDetails = {
|
|
15807
15837
|
activity_type: "asset-part-transfer";
|
|
15808
15838
|
activity_id: StringId;
|
|
15809
15839
|
} & Pick<
|
|
@@ -15819,7 +15849,7 @@ export namespace Service {
|
|
|
15819
15849
|
>;
|
|
15820
15850
|
|
|
15821
15851
|
// ReturnAssetPartUnit ********************************************************************
|
|
15822
|
-
type ReturnAssetPartUnitDetails = {
|
|
15852
|
+
export type ReturnAssetPartUnitDetails = {
|
|
15823
15853
|
activity_type: "return-asset-part-unit";
|
|
15824
15854
|
} & Pick<
|
|
15825
15855
|
ReturnAssetPartUnit.Data,
|
|
@@ -15829,7 +15859,7 @@ export namespace Service {
|
|
|
15829
15859
|
| "asset_part_units_count"
|
|
15830
15860
|
| "total_asset_part_units_qty"
|
|
15831
15861
|
>;
|
|
15832
|
-
type ReturnAssetPartUnitVisitDetails = {
|
|
15862
|
+
export type ReturnAssetPartUnitVisitDetails = {
|
|
15833
15863
|
activity_type: "return-asset-part-unit";
|
|
15834
15864
|
activity_id: StringId;
|
|
15835
15865
|
} & Pick<
|
|
@@ -15843,7 +15873,7 @@ export namespace Service {
|
|
|
15843
15873
|
>;
|
|
15844
15874
|
|
|
15845
15875
|
// StoreAssetPartUnit ********************************************************************
|
|
15846
|
-
type StoreAssetPartUnitDetails = {
|
|
15876
|
+
export type StoreAssetPartUnitDetails = {
|
|
15847
15877
|
activity_type: "store-asset-part-unit";
|
|
15848
15878
|
} & Pick<
|
|
15849
15879
|
StoreAssetPartUnit.Data,
|
|
@@ -15853,7 +15883,7 @@ export namespace Service {
|
|
|
15853
15883
|
| "asset_part_units_count"
|
|
15854
15884
|
| "total_asset_part_units_qty"
|
|
15855
15885
|
>;
|
|
15856
|
-
type StoreAssetPartUnitVisitDetails = {
|
|
15886
|
+
export type StoreAssetPartUnitVisitDetails = {
|
|
15857
15887
|
activity_type: "store-asset-part-unit";
|
|
15858
15888
|
activity_id: StringId;
|
|
15859
15889
|
} & Pick<
|
|
@@ -15867,11 +15897,11 @@ export namespace Service {
|
|
|
15867
15897
|
>;
|
|
15868
15898
|
|
|
15869
15899
|
// Payment ********************************************************************
|
|
15870
|
-
type PaymentDetails = { activity_type: "payment" } & Pick<
|
|
15900
|
+
export type PaymentDetails = { activity_type: "payment" } & Pick<
|
|
15871
15901
|
Payment.Data,
|
|
15872
15902
|
"amount" | "serial_number" | "paytime" | "currency" | "payment_type"
|
|
15873
15903
|
>;
|
|
15874
|
-
type PaymentVisitDetails = {
|
|
15904
|
+
export type PaymentVisitDetails = {
|
|
15875
15905
|
activity_type: "payment";
|
|
15876
15906
|
activity_id: StringId;
|
|
15877
15907
|
} & Pick<
|
|
@@ -15880,11 +15910,11 @@ export namespace Service {
|
|
|
15880
15910
|
>;
|
|
15881
15911
|
|
|
15882
15912
|
// Refund ********************************************************************
|
|
15883
|
-
type RefundDetails = { activity_type: "refund" } & Pick<
|
|
15913
|
+
export type RefundDetails = { activity_type: "refund" } & Pick<
|
|
15884
15914
|
Refund.Data,
|
|
15885
15915
|
"amount" | "serial_number" | "paytime" | "currency" | "transaction_type"
|
|
15886
15916
|
>;
|
|
15887
|
-
type RefundVisitDetails = {
|
|
15917
|
+
export type RefundVisitDetails = {
|
|
15888
15918
|
activity_type: "refund";
|
|
15889
15919
|
activity_id: StringId;
|
|
15890
15920
|
} & Pick<
|
|
@@ -15893,11 +15923,11 @@ export namespace Service {
|
|
|
15893
15923
|
>;
|
|
15894
15924
|
|
|
15895
15925
|
// Settlement ********************************************************************
|
|
15896
|
-
type SettlementDetails = { activity_type: "settlement" } & Pick<
|
|
15926
|
+
export type SettlementDetails = { activity_type: "settlement" } & Pick<
|
|
15897
15927
|
Settlement.Data,
|
|
15898
15928
|
"amount" | "serial_number" | "paytime" | "origin" | "payment_type"
|
|
15899
15929
|
>;
|
|
15900
|
-
type SettlementVisitDetails = {
|
|
15930
|
+
export type SettlementVisitDetails = {
|
|
15901
15931
|
activity_type: "settlement";
|
|
15902
15932
|
activity_id: StringId;
|
|
15903
15933
|
} & Pick<
|
|
@@ -15906,23 +15936,27 @@ export namespace Service {
|
|
|
15906
15936
|
>;
|
|
15907
15937
|
|
|
15908
15938
|
// ConvertProforma ********************************************************************
|
|
15909
|
-
type ConvertProformaDetails = {
|
|
15939
|
+
export type ConvertProformaDetails = {
|
|
15910
15940
|
activity_type: "convert-proforma";
|
|
15911
15941
|
proforma_reference: FullInvoice.Data["proforma_reference"];
|
|
15912
15942
|
proforma_serial_number: Proforma.Data["serial_number"];
|
|
15913
15943
|
invoice_serial_number: FullInvoice.Data["serial_number"];
|
|
15944
|
+
total: FullInvoice.Data["total"];
|
|
15945
|
+
currency: FullInvoice.Data["currency"];
|
|
15914
15946
|
};
|
|
15915
|
-
type ConvertProformaVisitDetails = {
|
|
15947
|
+
export type ConvertProformaVisitDetails = {
|
|
15916
15948
|
activity_type: "convert-proforma";
|
|
15917
15949
|
activity_id: StringId;
|
|
15918
15950
|
proforma_serial_number: Proforma.Data["serial_number"];
|
|
15919
15951
|
invoice_serial_number: FullInvoice.Data["serial_number"];
|
|
15920
15952
|
time: number;
|
|
15921
15953
|
proforma_reference: FullInvoice.Data["proforma_reference"];
|
|
15954
|
+
total: FullInvoice.Data["total"];
|
|
15955
|
+
currency: FullInvoice.Data["currency"];
|
|
15922
15956
|
};
|
|
15923
15957
|
|
|
15924
15958
|
// Transfer ********************************************************************
|
|
15925
|
-
type TransferDetails = {
|
|
15959
|
+
export type TransferDetails = {
|
|
15926
15960
|
activity_type: "transfer";
|
|
15927
15961
|
from_name: string;
|
|
15928
15962
|
to_name: string;
|
|
@@ -15932,7 +15966,7 @@ export namespace Service {
|
|
|
15932
15966
|
>;
|
|
15933
15967
|
|
|
15934
15968
|
// ReceivingMaterial ********************************************************************
|
|
15935
|
-
type ReceivingMaterialDetails = {
|
|
15969
|
+
export type ReceivingMaterialDetails = {
|
|
15936
15970
|
activity_type: "receiving-material";
|
|
15937
15971
|
to_name: string;
|
|
15938
15972
|
} & Pick<
|
|
@@ -15941,7 +15975,7 @@ export namespace Service {
|
|
|
15941
15975
|
>;
|
|
15942
15976
|
|
|
15943
15977
|
// FullInvoice ********************************************************************
|
|
15944
|
-
type FullInvoiceDetails = { activity_type: "fullinvoices" } & Pick<
|
|
15978
|
+
export type FullInvoiceDetails = { activity_type: "fullinvoices" } & Pick<
|
|
15945
15979
|
FullInvoice.Data,
|
|
15946
15980
|
| "total"
|
|
15947
15981
|
| "serial_number"
|
|
@@ -15950,7 +15984,7 @@ export namespace Service {
|
|
|
15950
15984
|
| "due_date"
|
|
15951
15985
|
| "external_serial_number"
|
|
15952
15986
|
>;
|
|
15953
|
-
type FullInvoiceVisitDetails = {
|
|
15987
|
+
export type FullInvoiceVisitDetails = {
|
|
15954
15988
|
activity_type: "fullinvoices";
|
|
15955
15989
|
activity_id: StringId;
|
|
15956
15990
|
} & Pick<
|
|
@@ -15965,7 +15999,7 @@ export namespace Service {
|
|
|
15965
15999
|
>;
|
|
15966
16000
|
|
|
15967
16001
|
// Proforma ********************************************************************
|
|
15968
|
-
type ProformaDetails = { activity_type: "proforma" } & Pick<
|
|
16002
|
+
export type ProformaDetails = { activity_type: "proforma" } & Pick<
|
|
15969
16003
|
Proforma.Data,
|
|
15970
16004
|
| "total"
|
|
15971
16005
|
| "serial_number"
|
|
@@ -15973,7 +16007,7 @@ export namespace Service {
|
|
|
15973
16007
|
| "issue_date"
|
|
15974
16008
|
| "external_serial_number"
|
|
15975
16009
|
>;
|
|
15976
|
-
type ProformaVisitDetails = {
|
|
16010
|
+
export type ProformaVisitDetails = {
|
|
15977
16011
|
activity_type: "proforma";
|
|
15978
16012
|
activity_id: StringId;
|
|
15979
16013
|
} & Pick<
|
|
@@ -15987,22 +16021,22 @@ export namespace Service {
|
|
|
15987
16021
|
>;
|
|
15988
16022
|
|
|
15989
16023
|
// Workorder ********************************************************************
|
|
15990
|
-
type WorkorderDetails = { activity_type: "workorder" } & Pick<
|
|
16024
|
+
export type WorkorderDetails = { activity_type: "workorder" } & Pick<
|
|
15991
16025
|
Workorder.Data,
|
|
15992
16026
|
"name" | "serial_number" | "due_date"
|
|
15993
16027
|
>;
|
|
15994
16028
|
|
|
15995
16029
|
// WorkorderRequest ********************************************************************
|
|
15996
|
-
type WorkorderRequestDetails = {
|
|
16030
|
+
export type WorkorderRequestDetails = {
|
|
15997
16031
|
activity_type: "workorder-request";
|
|
15998
16032
|
} & Pick<WorkorderRequest.Data, "name">;
|
|
15999
16033
|
|
|
16000
16034
|
// ReturnWholeInvoice ********************************************************************
|
|
16001
|
-
type ReturnWholeInvoiceDetails = {
|
|
16035
|
+
export type ReturnWholeInvoiceDetails = {
|
|
16002
16036
|
activity_type: "return-whole-invoice";
|
|
16003
16037
|
returned_from_serial_number: FullInvoice.Data["returned_from_serial_number"];
|
|
16004
16038
|
} & Pick<FullInvoice.Data, "returned_from" | "returned_to_serial_number">;
|
|
16005
|
-
type ReturnWholeInvoiceVisitDetails = {
|
|
16039
|
+
export type ReturnWholeInvoiceVisitDetails = {
|
|
16006
16040
|
activity_type: "return-whole-invoice";
|
|
16007
16041
|
activity_id: StringId;
|
|
16008
16042
|
returned_from_serial_number: FullInvoice.Data["returned_from_serial_number"];
|
|
@@ -16012,11 +16046,11 @@ export namespace Service {
|
|
|
16012
16046
|
>;
|
|
16013
16047
|
|
|
16014
16048
|
// VoidInvoice ********************************************************************
|
|
16015
|
-
type VoidInvoiceDetails = {
|
|
16049
|
+
export type VoidInvoiceDetails = {
|
|
16016
16050
|
activity_type: "void-invoice";
|
|
16017
16051
|
returned_from_serial_number: FullInvoice.Data["returned_from_serial_number"];
|
|
16018
16052
|
} & Pick<FullInvoice.Data, "returned_from" | "returned_to_serial_number">;
|
|
16019
|
-
type VoidInvoiceVisitDetails = {
|
|
16053
|
+
export type VoidInvoiceVisitDetails = {
|
|
16020
16054
|
activity_type: "void-invoice";
|
|
16021
16055
|
activity_id: StringId;
|
|
16022
16056
|
returned_from_serial_number: FullInvoice.Data["returned_from_serial_number"];
|
|
@@ -16026,21 +16060,62 @@ export namespace Service {
|
|
|
16026
16060
|
>;
|
|
16027
16061
|
|
|
16028
16062
|
// Cycle ********************************************************************
|
|
16029
|
-
type CycleDetails = {
|
|
16063
|
+
export type CycleDetails = {
|
|
16064
|
+
activity_type: "cycle";
|
|
16065
|
+
stage_name?: string;
|
|
16066
|
+
} & Pick<
|
|
16030
16067
|
Cycle.Data,
|
|
16031
16068
|
"document_type" | "serial_number" | "document_id" | "status"
|
|
16032
16069
|
>;
|
|
16033
16070
|
|
|
16034
16071
|
// Client ********************************************************************
|
|
16035
|
-
type ClientDetails = { activity_type: "client" } & Pick<
|
|
16072
|
+
export type ClientDetails = { activity_type: "client" } & Pick<
|
|
16036
16073
|
Client.Data,
|
|
16037
|
-
|
|
16074
|
+
| "name"
|
|
16075
|
+
| "client_code"
|
|
16076
|
+
| "local_name"
|
|
16077
|
+
| "lat"
|
|
16078
|
+
| "lng"
|
|
16079
|
+
| "location_verified"
|
|
16080
|
+
>;
|
|
16081
|
+
|
|
16082
|
+
// Day ********************************************************************
|
|
16083
|
+
export type StartDayDetails = {
|
|
16084
|
+
activity_type: "day";
|
|
16085
|
+
startTime: string;
|
|
16086
|
+
} & Pick<
|
|
16087
|
+
Day.Data,
|
|
16088
|
+
"day" | "open" | "created_by_system" | "start_geoPoint" | "timeZone"
|
|
16089
|
+
>;
|
|
16090
|
+
export type EndDayDetails = {
|
|
16091
|
+
activity_type: "day";
|
|
16092
|
+
startTime: string;
|
|
16093
|
+
endTime: string;
|
|
16094
|
+
} & Pick<
|
|
16095
|
+
Day.Data,
|
|
16096
|
+
| "day"
|
|
16097
|
+
| "open"
|
|
16098
|
+
| "breaksTime"
|
|
16099
|
+
| "created_by_system"
|
|
16100
|
+
| "timeInVisits"
|
|
16101
|
+
| "end_geoPoint"
|
|
16102
|
+
| "start_geoPoint"
|
|
16103
|
+
| "travelTimeBetweenVisists"
|
|
16104
|
+
| "totalTravelTime"
|
|
16105
|
+
| "breaksTime"
|
|
16106
|
+
| "timeOnDuty"
|
|
16107
|
+
| "timeZone"
|
|
16038
16108
|
>;
|
|
16109
|
+
export type DayDetails = StartDayDetails | EndDayDetails;
|
|
16039
16110
|
|
|
16040
16111
|
export type PopulatedDoc = Data & {
|
|
16041
16112
|
client_name?: string;
|
|
16042
16113
|
client_code?: string;
|
|
16043
16114
|
client_local_name?: string;
|
|
16115
|
+
client_lat?: number;
|
|
16116
|
+
client_lng?: number;
|
|
16117
|
+
client_location_verified?: boolean;
|
|
16118
|
+
user_profile_photo?: string | null;
|
|
16044
16119
|
client_customFields?: { [key: string]: any };
|
|
16045
16120
|
chain?: string;
|
|
16046
16121
|
channel?: string;
|
|
@@ -16054,7 +16129,7 @@ export namespace Service {
|
|
|
16054
16129
|
teams?: string[];
|
|
16055
16130
|
};
|
|
16056
16131
|
|
|
16057
|
-
type SortingKeys = "_id";
|
|
16132
|
+
export type SortingKeys = "_id";
|
|
16058
16133
|
|
|
16059
16134
|
export namespace Find {
|
|
16060
16135
|
export type Params = DefaultPaginationQueryParams & {
|
|
@@ -16108,6 +16183,621 @@ export namespace Service {
|
|
|
16108
16183
|
}
|
|
16109
16184
|
}
|
|
16110
16185
|
}
|
|
16186
|
+
|
|
16187
|
+
export namespace Permission {
|
|
16188
|
+
export interface Data {
|
|
16189
|
+
_id: string;
|
|
16190
|
+
disabled: boolean;
|
|
16191
|
+
path: EndPoints;
|
|
16192
|
+
name: string;
|
|
16193
|
+
scope: "repzoCare" | "repzoSystem" | "customer";
|
|
16194
|
+
code: number;
|
|
16195
|
+
admin: {
|
|
16196
|
+
m_find: boolean;
|
|
16197
|
+
m_get: boolean;
|
|
16198
|
+
m_create: boolean;
|
|
16199
|
+
m_update: boolean;
|
|
16200
|
+
m_remove: boolean;
|
|
16201
|
+
};
|
|
16202
|
+
rep: {
|
|
16203
|
+
m_find: boolean;
|
|
16204
|
+
m_get: boolean;
|
|
16205
|
+
m_create: boolean;
|
|
16206
|
+
m_update: boolean;
|
|
16207
|
+
m_remove: boolean;
|
|
16208
|
+
};
|
|
16209
|
+
client: {
|
|
16210
|
+
m_find: boolean;
|
|
16211
|
+
m_get: boolean;
|
|
16212
|
+
m_create: boolean;
|
|
16213
|
+
m_update: boolean;
|
|
16214
|
+
m_remove: boolean;
|
|
16215
|
+
};
|
|
16216
|
+
guest: {
|
|
16217
|
+
m_find: boolean;
|
|
16218
|
+
m_get: boolean;
|
|
16219
|
+
m_create: boolean;
|
|
16220
|
+
m_update: boolean;
|
|
16221
|
+
m_remove: boolean;
|
|
16222
|
+
};
|
|
16223
|
+
tenant: {
|
|
16224
|
+
m_find: boolean;
|
|
16225
|
+
m_get: boolean;
|
|
16226
|
+
m_create: boolean;
|
|
16227
|
+
m_update: boolean;
|
|
16228
|
+
m_remove: boolean;
|
|
16229
|
+
};
|
|
16230
|
+
group:
|
|
16231
|
+
| "Basic"
|
|
16232
|
+
| "Froms"
|
|
16233
|
+
| "Schedule"
|
|
16234
|
+
| "Pre Sales"
|
|
16235
|
+
| "Sales"
|
|
16236
|
+
| "Live Location"
|
|
16237
|
+
| "Omni"
|
|
16238
|
+
| "Bulk"
|
|
16239
|
+
| "Audit trail"
|
|
16240
|
+
| "System"
|
|
16241
|
+
| "Media"
|
|
16242
|
+
| "Store Check";
|
|
16243
|
+
teams_shared: "shared" | "unshared" | "optional";
|
|
16244
|
+
server: "sv" | "sso" | "report";
|
|
16245
|
+
createdAt: Date;
|
|
16246
|
+
updatedAt: Date;
|
|
16247
|
+
}
|
|
16248
|
+
}
|
|
16249
|
+
|
|
16250
|
+
export namespace Module {
|
|
16251
|
+
export type PermissionGroup =
|
|
16252
|
+
| "Basic"
|
|
16253
|
+
| "Froms"
|
|
16254
|
+
| "Schedule"
|
|
16255
|
+
| "Pre Sales"
|
|
16256
|
+
| "Sales"
|
|
16257
|
+
| "Live Location"
|
|
16258
|
+
| "Omni"
|
|
16259
|
+
| "Bulk"
|
|
16260
|
+
| "Audit trail"
|
|
16261
|
+
| "System"
|
|
16262
|
+
| "Media"
|
|
16263
|
+
| "Store Check"
|
|
16264
|
+
| "Client Dashboard"
|
|
16265
|
+
| "Virtual Admin"
|
|
16266
|
+
| "Customer Care"
|
|
16267
|
+
| "Marketplace"
|
|
16268
|
+
| "E-Tax";
|
|
16269
|
+
|
|
16270
|
+
export interface Data {
|
|
16271
|
+
_id: string;
|
|
16272
|
+
name: string;
|
|
16273
|
+
services: (string | Permission.Data)[];
|
|
16274
|
+
defaultState: boolean;
|
|
16275
|
+
permission_groups: PermissionGroup[];
|
|
16276
|
+
createdAt: Date;
|
|
16277
|
+
updatedAt: Date;
|
|
16278
|
+
}
|
|
16279
|
+
}
|
|
16280
|
+
|
|
16281
|
+
export namespace CompanyNamespace {
|
|
16282
|
+
export type CompanyStatus = "trial" | "subscription";
|
|
16283
|
+
export type CompanyIndustry = "fmcg" | "pharma" | "service" | "omni";
|
|
16284
|
+
export interface Data {
|
|
16285
|
+
_id: string;
|
|
16286
|
+
company_name: string;
|
|
16287
|
+
legal_name: string;
|
|
16288
|
+
name_space: string;
|
|
16289
|
+
active_account: boolean;
|
|
16290
|
+
guest_mode: boolean;
|
|
16291
|
+
disabled?: boolean;
|
|
16292
|
+
logo?: string;
|
|
16293
|
+
created_by: Admin;
|
|
16294
|
+
address?: string;
|
|
16295
|
+
company_owner?: string;
|
|
16296
|
+
phone?: string;
|
|
16297
|
+
country: string;
|
|
16298
|
+
country_code: string;
|
|
16299
|
+
status: CompanyStatus;
|
|
16300
|
+
total_seats_sold: number;
|
|
16301
|
+
organization_name?: string;
|
|
16302
|
+
smsSenderID?: string;
|
|
16303
|
+
company_group: string;
|
|
16304
|
+
time_zone: string;
|
|
16305
|
+
integration_priority_index: number;
|
|
16306
|
+
banks_list: string;
|
|
16307
|
+
modules: {
|
|
16308
|
+
module: string | Module.Data;
|
|
16309
|
+
active: boolean;
|
|
16310
|
+
}[];
|
|
16311
|
+
excluded_modules: string[];
|
|
16312
|
+
industry: CompanyIndustry;
|
|
16313
|
+
end_of_day: string;
|
|
16314
|
+
trial_ends_at: number;
|
|
16315
|
+
subscription_status?:
|
|
16316
|
+
| "trial"
|
|
16317
|
+
| "initiated"
|
|
16318
|
+
| "active"
|
|
16319
|
+
| "grace"
|
|
16320
|
+
| "limited"
|
|
16321
|
+
| "blocked";
|
|
16322
|
+
grace_until: number | null;
|
|
16323
|
+
limited_until: number | null;
|
|
16324
|
+
workspace: string;
|
|
16325
|
+
default_business_app: string;
|
|
16326
|
+
allowed_business_apps: string[];
|
|
16327
|
+
is_sandbox: boolean;
|
|
16328
|
+
parent_namespace?: string;
|
|
16329
|
+
grace_duration_days: number;
|
|
16330
|
+
limited_duration_days: number;
|
|
16331
|
+
billing_email: string;
|
|
16332
|
+
maxio_customer_id?: string;
|
|
16333
|
+
maxio_saving_plan_id?: string | null;
|
|
16334
|
+
maxio_standard_plan_id?: string | null;
|
|
16335
|
+
saving_plan_id?: string | null;
|
|
16336
|
+
standard_plan_id?: string | null;
|
|
16337
|
+
business_add_on_ids?: string[] | null;
|
|
16338
|
+
subscription_type?: "company-namespace" | "company-group";
|
|
16339
|
+
min_billing_reps: number;
|
|
16340
|
+
min_billing_admins: number;
|
|
16341
|
+
min_billing_users: number;
|
|
16342
|
+
max_billing_reps: number;
|
|
16343
|
+
max_billing_admins: number;
|
|
16344
|
+
max_billing_users: number;
|
|
16345
|
+
createdAt: Date;
|
|
16346
|
+
updatedAt: Date;
|
|
16347
|
+
}
|
|
16348
|
+
}
|
|
16349
|
+
|
|
16350
|
+
export namespace AuthenticateAdmin {
|
|
16351
|
+
interface Subscription_data {
|
|
16352
|
+
name_space: string;
|
|
16353
|
+
grace_until: number;
|
|
16354
|
+
subscription_status: CompanyNamespace.Data["subscription_status"];
|
|
16355
|
+
}
|
|
16356
|
+
export interface Data {
|
|
16357
|
+
access_token: string;
|
|
16358
|
+
refresh_token: string;
|
|
16359
|
+
login_status: "success";
|
|
16360
|
+
name: string;
|
|
16361
|
+
teams: string[];
|
|
16362
|
+
photo?: string;
|
|
16363
|
+
permissions: UserPermissions;
|
|
16364
|
+
admin: string;
|
|
16365
|
+
owner: boolean;
|
|
16366
|
+
country: string;
|
|
16367
|
+
status: CompanyNamespace.Data["status"];
|
|
16368
|
+
industry: CompanyNamespace.Data["industry"];
|
|
16369
|
+
time_zone: string;
|
|
16370
|
+
is_test: boolean;
|
|
16371
|
+
strong_password: boolean;
|
|
16372
|
+
exp: number; // timestamp
|
|
16373
|
+
modules: string[];
|
|
16374
|
+
app_code: string;
|
|
16375
|
+
country_code: string[];
|
|
16376
|
+
COMPANYGROUPS: { [key: string]: any }; // Company_group,
|
|
16377
|
+
subscription_data: Subscription_data[];
|
|
16378
|
+
suspended: boolean;
|
|
16379
|
+
nameSpace: string[];
|
|
16380
|
+
assessment_enforcement_state: "suggest" | "enforce" | "ignore";
|
|
16381
|
+
repzo_internal_user: boolean;
|
|
16382
|
+
}
|
|
16383
|
+
}
|
|
16384
|
+
|
|
16385
|
+
export namespace AuthenticateRep {
|
|
16386
|
+
export interface Data {
|
|
16387
|
+
access_token: string;
|
|
16388
|
+
refresh_token: string;
|
|
16389
|
+
login_status: "success";
|
|
16390
|
+
teams: string[];
|
|
16391
|
+
permissions: Rep.Data["permissions"];
|
|
16392
|
+
rep: string;
|
|
16393
|
+
identifier: number;
|
|
16394
|
+
exp: number; // timestamp
|
|
16395
|
+
modules: string[];
|
|
16396
|
+
realm_token: string;
|
|
16397
|
+
app_code: string;
|
|
16398
|
+
country: string;
|
|
16399
|
+
country_code: string[];
|
|
16400
|
+
is_test: boolean;
|
|
16401
|
+
suspended: boolean;
|
|
16402
|
+
nameSpace: string[];
|
|
16403
|
+
}
|
|
16404
|
+
}
|
|
16405
|
+
|
|
16406
|
+
export namespace Authenticate {
|
|
16407
|
+
export type Data = AuthenticateAdmin.Data | AuthenticateRep.Data;
|
|
16408
|
+
}
|
|
16409
|
+
|
|
16410
|
+
// export namespace AppsManagement {
|
|
16411
|
+
// export interface Data {
|
|
16412
|
+
// _id: StringId;
|
|
16413
|
+
// name: string;
|
|
16414
|
+
// minimum_build_number?: { platform: string; value: number }[];
|
|
16415
|
+
// expiring_build_number?: {
|
|
16416
|
+
// platform: string;
|
|
16417
|
+
// value: number;
|
|
16418
|
+
// expires_on: number;
|
|
16419
|
+
// is_severe: boolean;
|
|
16420
|
+
// }[];
|
|
16421
|
+
// days_since_latest_assessment_to_enforce: number;
|
|
16422
|
+
// days_since_latest_assessment_to_suggest: number;
|
|
16423
|
+
// test_company_namespaces?: string[];
|
|
16424
|
+
// createdAt: Date;
|
|
16425
|
+
// updatedAt: Date;
|
|
16426
|
+
// }
|
|
16427
|
+
// export interface CreateBody {
|
|
16428
|
+
// name: string;
|
|
16429
|
+
// minimum_build_number?: { platform: string; value: number }[];
|
|
16430
|
+
// expiring_build_number?: {
|
|
16431
|
+
// platform: string;
|
|
16432
|
+
// value: number;
|
|
16433
|
+
// expires_on: number;
|
|
16434
|
+
// is_severe: boolean;
|
|
16435
|
+
// }[];
|
|
16436
|
+
// days_since_latest_assessment_to_enforce: number;
|
|
16437
|
+
// days_since_latest_assessment_to_suggest: number;
|
|
16438
|
+
// test_company_namespaces?: string[];
|
|
16439
|
+
// }
|
|
16440
|
+
// export interface UpdateBody {
|
|
16441
|
+
// _id?: StringId;
|
|
16442
|
+
// name?: string;
|
|
16443
|
+
// minimum_build_number?: { platform: string; value: number }[];
|
|
16444
|
+
// expiring_build_number?: {
|
|
16445
|
+
// platform: string;
|
|
16446
|
+
// value: number;
|
|
16447
|
+
// expires_on: number;
|
|
16448
|
+
// is_severe: boolean;
|
|
16449
|
+
// }[];
|
|
16450
|
+
// days_since_latest_assessment_to_enforce?: number;
|
|
16451
|
+
// days_since_latest_assessment_to_suggest?: number;
|
|
16452
|
+
// test_company_namespaces?: string[];
|
|
16453
|
+
// createdAt?: Date;
|
|
16454
|
+
// updatedAt?: Date;
|
|
16455
|
+
// }
|
|
16456
|
+
|
|
16457
|
+
// export namespace Find {
|
|
16458
|
+
// export type Params = DefaultPaginationQueryParams & {
|
|
16459
|
+
// _id?: StringId[] | StringId;
|
|
16460
|
+
// search?: string;
|
|
16461
|
+
// name?: string[] | string;
|
|
16462
|
+
// test_company_namespaces?: string[] | string;
|
|
16463
|
+
// };
|
|
16464
|
+
// export interface Result extends DefaultPaginationResult {
|
|
16465
|
+
// data: Data[];
|
|
16466
|
+
// }
|
|
16467
|
+
// }
|
|
16468
|
+
// export namespace Get {
|
|
16469
|
+
// export type ID = string;
|
|
16470
|
+
// export type Params = { [key: string]: any };
|
|
16471
|
+
// export type Result = Data;
|
|
16472
|
+
// }
|
|
16473
|
+
// export namespace Create {
|
|
16474
|
+
// export type Body = CreateBody;
|
|
16475
|
+
// export type Result = Data;
|
|
16476
|
+
// }
|
|
16477
|
+
// export namespace Update {
|
|
16478
|
+
// export type ID = string;
|
|
16479
|
+
// export type Body = UpdateBody;
|
|
16480
|
+
// export type Result = Data;
|
|
16481
|
+
// }
|
|
16482
|
+
// }
|
|
16483
|
+
|
|
16484
|
+
export namespace ResetCompanyNamespace {
|
|
16485
|
+
export type Services =
|
|
16486
|
+
// | "admin"
|
|
16487
|
+
| "rep"
|
|
16488
|
+
| "client"
|
|
16489
|
+
| "product"
|
|
16490
|
+
| "teams"
|
|
16491
|
+
| "tag"
|
|
16492
|
+
| "warehouse"
|
|
16493
|
+
| "msl"
|
|
16494
|
+
| "msl_product"
|
|
16495
|
+
| "job_category"
|
|
16496
|
+
| "role"
|
|
16497
|
+
| "user_role"
|
|
16498
|
+
| "availability_msl"
|
|
16499
|
+
| "media"
|
|
16500
|
+
| "reminder"
|
|
16501
|
+
| "approval"
|
|
16502
|
+
| "custom_field"
|
|
16503
|
+
| "custom_status"
|
|
16504
|
+
| "return_reason"
|
|
16505
|
+
| "feedback_option"
|
|
16506
|
+
| "promotion"
|
|
16507
|
+
| "route"
|
|
16508
|
+
| "address"
|
|
16509
|
+
| "payment_term"
|
|
16510
|
+
| "speciality"
|
|
16511
|
+
| "client_channel"
|
|
16512
|
+
| "client_contact"
|
|
16513
|
+
| "client_location"
|
|
16514
|
+
| "client_status"
|
|
16515
|
+
| "tax"
|
|
16516
|
+
| "measureunits"
|
|
16517
|
+
| "measureunit_family"
|
|
16518
|
+
| "variant"
|
|
16519
|
+
| "brand"
|
|
16520
|
+
| "product_group"
|
|
16521
|
+
| "product_category"
|
|
16522
|
+
| "product_subcategory"
|
|
16523
|
+
| "product_modifier_group"
|
|
16524
|
+
| "product_modifier"
|
|
16525
|
+
| "price_list"
|
|
16526
|
+
| "price_list_item"
|
|
16527
|
+
| "asset"
|
|
16528
|
+
| "asset_unit"
|
|
16529
|
+
| "asset_type"
|
|
16530
|
+
| "workorder_category"
|
|
16531
|
+
| "workorder_request"
|
|
16532
|
+
| "workorder"
|
|
16533
|
+
| "workorder_alarm"
|
|
16534
|
+
| "comments_thread"
|
|
16535
|
+
| "thumbnail_storage"
|
|
16536
|
+
| "media_storage"
|
|
16537
|
+
| "form"
|
|
16538
|
+
| "banner"
|
|
16539
|
+
| "payment_method"
|
|
16540
|
+
| "shipping_zone"
|
|
16541
|
+
| "shipping_method"
|
|
16542
|
+
| "active_client"
|
|
16543
|
+
| "transaction"
|
|
16544
|
+
| "ledger_payment"
|
|
16545
|
+
| "ledger_goods"
|
|
16546
|
+
| "transfer"
|
|
16547
|
+
| "payment"
|
|
16548
|
+
| "refund"
|
|
16549
|
+
| "receiving_material"
|
|
16550
|
+
| "full_invoice"
|
|
16551
|
+
| "cart"
|
|
16552
|
+
| "cart_history"
|
|
16553
|
+
| "proforma"
|
|
16554
|
+
| "settlement"
|
|
16555
|
+
| "adjust_account"
|
|
16556
|
+
| "adjust_inventory"
|
|
16557
|
+
| "cycle"
|
|
16558
|
+
| "check"
|
|
16559
|
+
| "failed_linking_txn"
|
|
16560
|
+
| "failed_adjust_account"
|
|
16561
|
+
| "failed_adjust_inventory"
|
|
16562
|
+
| "failed_cart"
|
|
16563
|
+
| "failed_emails"
|
|
16564
|
+
| "failed_invoices"
|
|
16565
|
+
| "failed_payments"
|
|
16566
|
+
| "failed_proforma_invoices"
|
|
16567
|
+
| "failed_receiving_material"
|
|
16568
|
+
| "failed_refund"
|
|
16569
|
+
| "failed_settlement"
|
|
16570
|
+
| "failed_transfer"
|
|
16571
|
+
| "failed_transaction"
|
|
16572
|
+
| "failed_set_txn_alarm"
|
|
16573
|
+
| "target_group"
|
|
16574
|
+
| "target_rule"
|
|
16575
|
+
| "target_result"
|
|
16576
|
+
| "target_result_history"
|
|
16577
|
+
| "widget_dashboard"
|
|
16578
|
+
| "widget"
|
|
16579
|
+
| "line"
|
|
16580
|
+
| "classification_line"
|
|
16581
|
+
| "line_target"
|
|
16582
|
+
| "client_line"
|
|
16583
|
+
| "day"
|
|
16584
|
+
| "visit"
|
|
16585
|
+
| "activity_audit"
|
|
16586
|
+
| "activity_availability"
|
|
16587
|
+
| "activity_checkout_display"
|
|
16588
|
+
| "activity_feedback"
|
|
16589
|
+
| "activity_form_result"
|
|
16590
|
+
| "activity_note"
|
|
16591
|
+
| "activity_photo"
|
|
16592
|
+
| "activity_planogram"
|
|
16593
|
+
| "activity_secondary_display"
|
|
16594
|
+
| "activity_shelfshare"
|
|
16595
|
+
| "activity_task"
|
|
16596
|
+
| "item_status"
|
|
16597
|
+
| "item_status_type"
|
|
16598
|
+
| "job_result"
|
|
16599
|
+
| "click"
|
|
16600
|
+
| "events_log"
|
|
16601
|
+
| "activity_storecheck"
|
|
16602
|
+
| "custom_list"
|
|
16603
|
+
| "custom_list_item"
|
|
16604
|
+
| "storecheck_template"
|
|
16605
|
+
| "preset"
|
|
16606
|
+
| "retail_execution_previous_result"
|
|
16607
|
+
| "retail_execution_report_view"
|
|
16608
|
+
| "calendar"
|
|
16609
|
+
| "plan"
|
|
16610
|
+
| "integration_app"
|
|
16611
|
+
| "integration_action_log"
|
|
16612
|
+
| "integration_command_log"
|
|
16613
|
+
| "integration_trigger"
|
|
16614
|
+
| "scheduled_email"
|
|
16615
|
+
| "territory"
|
|
16616
|
+
| "territory_level"
|
|
16617
|
+
| "territory_template"
|
|
16618
|
+
| "notifications_center"
|
|
16619
|
+
| "bulk_import"
|
|
16620
|
+
| "email_history"
|
|
16621
|
+
| "big_report"
|
|
16622
|
+
| "history"
|
|
16623
|
+
| "bulk_export"
|
|
16624
|
+
| "generate_rule"
|
|
16625
|
+
| "workorder_portal"
|
|
16626
|
+
| "workorder_portal_link"
|
|
16627
|
+
| "print_workorder_portal_link"
|
|
16628
|
+
| "print_workorder_portal_link_options"
|
|
16629
|
+
| "quick_convert_to_pdf"
|
|
16630
|
+
| "variant_batch"
|
|
16631
|
+
| "form_v2"
|
|
16632
|
+
| "activity_form_v2"
|
|
16633
|
+
| "unSynced_log"
|
|
16634
|
+
| "aiApiHistory"
|
|
16635
|
+
| "bulk_convert_proforma"
|
|
16636
|
+
| "approval_request"
|
|
16637
|
+
| "workflow"
|
|
16638
|
+
| "workflow_version"
|
|
16639
|
+
| "workflow_execution"
|
|
16640
|
+
| "ocr_invoice_job"
|
|
16641
|
+
| "ocr_invoice_job_template"
|
|
16642
|
+
| "ocr_invoice_job_page"
|
|
16643
|
+
| "inventory_adjustment_reason"
|
|
16644
|
+
| "supplier"
|
|
16645
|
+
| "product_audit_trace"
|
|
16646
|
+
| "contract"
|
|
16647
|
+
| "contract_installment"
|
|
16648
|
+
| "old_activity_form_v2"
|
|
16649
|
+
| "old_activity_storecheck"
|
|
16650
|
+
| "bi_view"
|
|
16651
|
+
| "bi_bucket"
|
|
16652
|
+
| "old_bi_bucket"
|
|
16653
|
+
| "bi_view_buckets_total"
|
|
16654
|
+
| "bi_view_instance"
|
|
16655
|
+
| "bi_view_version"
|
|
16656
|
+
| "blank_photo_rep"
|
|
16657
|
+
| "failed_bi_bucket_log"
|
|
16658
|
+
| "failed_consume_bi_alarm"
|
|
16659
|
+
| "failed_set_bi_alarm"
|
|
16660
|
+
| "oauth2_tokens"
|
|
16661
|
+
| "report_ubl_invoice"
|
|
16662
|
+
| "client_ubl_info"
|
|
16663
|
+
| "invoice_alert"
|
|
16664
|
+
| "login_device"
|
|
16665
|
+
| "asset_part_type"
|
|
16666
|
+
| "asset_part"
|
|
16667
|
+
| "asset_part_unit"
|
|
16668
|
+
| "asset_part_transaction"
|
|
16669
|
+
| "asset_part_receival"
|
|
16670
|
+
| "asset_part_transfer"
|
|
16671
|
+
| "return_asset_part_unit"
|
|
16672
|
+
| "store_asset_part_unit"
|
|
16673
|
+
| "activity_ai_sales_order"
|
|
16674
|
+
| "ocr_invoice_job_group"
|
|
16675
|
+
// | "ai_api_limits"
|
|
16676
|
+
// | "ai_api_history"
|
|
16677
|
+
// | "ai_history"
|
|
16678
|
+
| "ubl_health_check"
|
|
16679
|
+
| "ubl_integration"
|
|
16680
|
+
| "ubl_connection_attempts"
|
|
16681
|
+
| "ai_object_detection_dataset"
|
|
16682
|
+
| "ai_object_detection_label"
|
|
16683
|
+
| "ai_object_detection_task"
|
|
16684
|
+
| "ai_object_detection_model"
|
|
16685
|
+
| "ai_object_detection_model_version"
|
|
16686
|
+
| "promotions_group";
|
|
16687
|
+
|
|
16688
|
+
type ServiceOptionMap = {
|
|
16689
|
+
[key in Services]: {
|
|
16690
|
+
checked: boolean;
|
|
16691
|
+
prevent_delete_without: Services[];
|
|
16692
|
+
};
|
|
16693
|
+
};
|
|
16694
|
+
|
|
16695
|
+
type Status =
|
|
16696
|
+
| "initiated"
|
|
16697
|
+
| "building_report_in_progress"
|
|
16698
|
+
| "building_report_completed"
|
|
16699
|
+
| "building_report_failed"
|
|
16700
|
+
| "reset_in_progress"
|
|
16701
|
+
| "reset_success"
|
|
16702
|
+
| "reset_failed";
|
|
16703
|
+
|
|
16704
|
+
interface Detail {
|
|
16705
|
+
timestamp: number;
|
|
16706
|
+
content: string;
|
|
16707
|
+
meta?: any;
|
|
16708
|
+
}
|
|
16709
|
+
type Action = {
|
|
16710
|
+
service: Services;
|
|
16711
|
+
model: RepzoModel;
|
|
16712
|
+
method: "delete" | "update";
|
|
16713
|
+
update_command?: any;
|
|
16714
|
+
query?: any;
|
|
16715
|
+
estimated_count: number;
|
|
16716
|
+
};
|
|
16717
|
+
export interface CreateBody {
|
|
16718
|
+
creator?: Admin;
|
|
16719
|
+
nameSpace: string;
|
|
16720
|
+
company_namespace: string[];
|
|
16721
|
+
services: ServiceOptionMap;
|
|
16722
|
+
is_test_reset?: boolean;
|
|
16723
|
+
}
|
|
16724
|
+
export interface Data {
|
|
16725
|
+
_id: StringId;
|
|
16726
|
+
creator: Admin;
|
|
16727
|
+
executor?: Admin;
|
|
16728
|
+
company_namespace: string[];
|
|
16729
|
+
services: ServiceOptionMap;
|
|
16730
|
+
actions: Action[];
|
|
16731
|
+
message: string;
|
|
16732
|
+
status: Status;
|
|
16733
|
+
clients?: string[];
|
|
16734
|
+
reps?: string[];
|
|
16735
|
+
to?: number;
|
|
16736
|
+
is_test_reset?: boolean;
|
|
16737
|
+
createdAt: Date;
|
|
16738
|
+
updatedAt: Date;
|
|
16739
|
+
expired?: boolean;
|
|
16740
|
+
}
|
|
16741
|
+
|
|
16742
|
+
export namespace Find {
|
|
16743
|
+
export type Params = DefaultPaginationQueryParams & {
|
|
16744
|
+
_id?: StringId[] | StringId;
|
|
16745
|
+
search?: string;
|
|
16746
|
+
from_updatedAt?: number;
|
|
16747
|
+
to_updatedAt?: number;
|
|
16748
|
+
from_createdAt?: number;
|
|
16749
|
+
to_createdAt?: number;
|
|
16750
|
+
creator?: StringId[] | StringId;
|
|
16751
|
+
"creator._id"?: StringId[] | StringId;
|
|
16752
|
+
executor?: StringId[] | StringId;
|
|
16753
|
+
"executor._id"?: StringId[] | StringId;
|
|
16754
|
+
status?: Data["status"] | Data["status"][];
|
|
16755
|
+
is_test_reset?: boolean;
|
|
16756
|
+
sortBy?: {
|
|
16757
|
+
field: "_id" | "status";
|
|
16758
|
+
type: "asc" | "desc";
|
|
16759
|
+
}[];
|
|
16760
|
+
options?: boolean;
|
|
16761
|
+
};
|
|
16762
|
+
export interface PaginatedResult extends DefaultPaginationResult {
|
|
16763
|
+
data: (Data & { expired?: boolean })[];
|
|
16764
|
+
}
|
|
16765
|
+
export type Result = PaginatedResult | ServiceOptionMap;
|
|
16766
|
+
}
|
|
16767
|
+
export namespace Get {
|
|
16768
|
+
export type ID = string;
|
|
16769
|
+
export type Params = { [key: string]: any };
|
|
16770
|
+
export type Result = Data & { expired?: boolean };
|
|
16771
|
+
}
|
|
16772
|
+
export namespace Create {
|
|
16773
|
+
export type Body = CreateBody;
|
|
16774
|
+
export type Result = Data;
|
|
16775
|
+
}
|
|
16776
|
+
export namespace Update {
|
|
16777
|
+
export type ID = string;
|
|
16778
|
+
export type Result = Data;
|
|
16779
|
+
}
|
|
16780
|
+
}
|
|
16781
|
+
|
|
16782
|
+
export namespace TestResetCompanyNamespace {
|
|
16783
|
+
export namespace Find {
|
|
16784
|
+
export type Params = ResetCompanyNamespace.Find.Params;
|
|
16785
|
+
export type Result = ResetCompanyNamespace.Find.Result;
|
|
16786
|
+
}
|
|
16787
|
+
export namespace Get {
|
|
16788
|
+
export type ID = string;
|
|
16789
|
+
export type Params = ResetCompanyNamespace.Get.Params;
|
|
16790
|
+
export type Result = ResetCompanyNamespace.Get.Result;
|
|
16791
|
+
}
|
|
16792
|
+
export namespace Create {
|
|
16793
|
+
export type Body = ResetCompanyNamespace.Create.Body;
|
|
16794
|
+
export type Result = ResetCompanyNamespace.Create.Result;
|
|
16795
|
+
}
|
|
16796
|
+
export namespace Update {
|
|
16797
|
+
export type ID = string;
|
|
16798
|
+
export type Result = ResetCompanyNamespace.Update.Result;
|
|
16799
|
+
}
|
|
16800
|
+
}
|
|
16111
16801
|
}
|
|
16112
16802
|
|
|
16113
16803
|
export type StringId = string;
|
|
@@ -16195,3 +16885,265 @@ interface ActivityAdminNote {
|
|
|
16195
16885
|
admin_id: string;
|
|
16196
16886
|
time: number;
|
|
16197
16887
|
}
|
|
16888
|
+
|
|
16889
|
+
interface UserPermissions {
|
|
16890
|
+
admin_can_edit_client_sales_data: boolean;
|
|
16891
|
+
admin_can_bypass_financial_limits_sales_order: boolean;
|
|
16892
|
+
admin_can_bypass_financial_limits_create_invoice: boolean;
|
|
16893
|
+
}
|
|
16894
|
+
|
|
16895
|
+
type RepzoModel =
|
|
16896
|
+
| "socialPlatform"
|
|
16897
|
+
| "activityAiSalesOrder"
|
|
16898
|
+
| "reportUblInvoice"
|
|
16899
|
+
| "ublIntegrationSettings"
|
|
16900
|
+
| "ublIntegration"
|
|
16901
|
+
| "ublConnectionAttempts"
|
|
16902
|
+
| "quickConvertToPdf"
|
|
16903
|
+
| "warehouses"
|
|
16904
|
+
| "transfers"
|
|
16905
|
+
| "transactions"
|
|
16906
|
+
| "taxes"
|
|
16907
|
+
| "productvariations"
|
|
16908
|
+
| "products"
|
|
16909
|
+
| "pricelistsitems"
|
|
16910
|
+
| "pricelists"
|
|
16911
|
+
| "payments"
|
|
16912
|
+
| "ledger_payments"
|
|
16913
|
+
| "mslsales"
|
|
16914
|
+
| "mslproducts"
|
|
16915
|
+
| "measureunits"
|
|
16916
|
+
| "measureunitfamilies"
|
|
16917
|
+
| "invoice"
|
|
16918
|
+
| "ledger_goods"
|
|
16919
|
+
| "fullinvoices"
|
|
16920
|
+
| "checks"
|
|
16921
|
+
| "clients"
|
|
16922
|
+
| "activities"
|
|
16923
|
+
| "bigReports"
|
|
16924
|
+
| "admins"
|
|
16925
|
+
/**
|
|
16926
|
+
* @deprecated representatives shall be used
|
|
16927
|
+
*/
|
|
16928
|
+
| "rep"
|
|
16929
|
+
| "representatives"
|
|
16930
|
+
| "companies"
|
|
16931
|
+
| "banks"
|
|
16932
|
+
| "bankslists"
|
|
16933
|
+
| "productcategories"
|
|
16934
|
+
| "productSubCategory"
|
|
16935
|
+
| "defaultbanklist"
|
|
16936
|
+
| "permissions"
|
|
16937
|
+
| "roles"
|
|
16938
|
+
| "shipping_method"
|
|
16939
|
+
| "availability_msl"
|
|
16940
|
+
| "tags"
|
|
16941
|
+
| "feedbacks"
|
|
16942
|
+
| "feedbackoptions"
|
|
16943
|
+
| "medias"
|
|
16944
|
+
| "visits"
|
|
16945
|
+
| "job-category"
|
|
16946
|
+
| "channel"
|
|
16947
|
+
| "teams"
|
|
16948
|
+
| "modifiersGroup"
|
|
16949
|
+
| "productbrands"
|
|
16950
|
+
| "paymentTerms"
|
|
16951
|
+
| "plan"
|
|
16952
|
+
| "modifiersGroup"
|
|
16953
|
+
| "productbrands"
|
|
16954
|
+
| "notes"
|
|
16955
|
+
| "tasks"
|
|
16956
|
+
| "photos"
|
|
16957
|
+
| "forms"
|
|
16958
|
+
| "form"
|
|
16959
|
+
| "audits"
|
|
16960
|
+
| "availability"
|
|
16961
|
+
| "form"
|
|
16962
|
+
| "widgets-filter"
|
|
16963
|
+
| "routes"
|
|
16964
|
+
| "target-result"
|
|
16965
|
+
| "widget"
|
|
16966
|
+
| "calendar"
|
|
16967
|
+
| "bulkImport"
|
|
16968
|
+
| "target-rule"
|
|
16969
|
+
| "productGroups"
|
|
16970
|
+
| "proformas"
|
|
16971
|
+
| "proforma"
|
|
16972
|
+
| "days"
|
|
16973
|
+
| "shelfShare"
|
|
16974
|
+
| "customFields"
|
|
16975
|
+
| "clientStatus"
|
|
16976
|
+
| "adjustAccount"
|
|
16977
|
+
| "librarian_widget"
|
|
16978
|
+
| "settings"
|
|
16979
|
+
| "classificationLine"
|
|
16980
|
+
| "line"
|
|
16981
|
+
| "speciality"
|
|
16982
|
+
| "lineTarget"
|
|
16983
|
+
| "clientLine"
|
|
16984
|
+
| "receivingMaterial"
|
|
16985
|
+
| "sv.activitiesstorechecks"
|
|
16986
|
+
| "storeCheckTemplate"
|
|
16987
|
+
| "retailExecutionPreset"
|
|
16988
|
+
| "promotions"
|
|
16989
|
+
| "custom-list"
|
|
16990
|
+
| "custom-list-item"
|
|
16991
|
+
| "itemStatus"
|
|
16992
|
+
| "itemStatusType"
|
|
16993
|
+
| "customStatus"
|
|
16994
|
+
| "intgAvailableCategories"
|
|
16995
|
+
| "intgAvailableApps"
|
|
16996
|
+
| "intgApps"
|
|
16997
|
+
| "returnReason"
|
|
16998
|
+
| "clientContact"
|
|
16999
|
+
| "clientLocation"
|
|
17000
|
+
| "workorderCategory"
|
|
17001
|
+
| "asset"
|
|
17002
|
+
| "assetType"
|
|
17003
|
+
| "assetUnit"
|
|
17004
|
+
| "workorder"
|
|
17005
|
+
| "mediaStorage"
|
|
17006
|
+
| "workorderRequest"
|
|
17007
|
+
| "thumbnailStorage"
|
|
17008
|
+
| "commentsThread"
|
|
17009
|
+
| "workorderPortal"
|
|
17010
|
+
| "workorderPortalLink"
|
|
17011
|
+
| "oauth2Apps"
|
|
17012
|
+
| "printWorkorderPortalLink"
|
|
17013
|
+
| "printWorkorderPortalLinkOptions"
|
|
17014
|
+
| "refunds"
|
|
17015
|
+
| "oauth2Tokens"
|
|
17016
|
+
| "businessApp"
|
|
17017
|
+
| "user_role"
|
|
17018
|
+
| "product_modifier"
|
|
17019
|
+
| "address"
|
|
17020
|
+
| "reminders"
|
|
17021
|
+
| "approval"
|
|
17022
|
+
| "refund"
|
|
17023
|
+
| "cart"
|
|
17024
|
+
| "cart_history"
|
|
17025
|
+
| "settlement"
|
|
17026
|
+
| "adjustInventory"
|
|
17027
|
+
| "cycle"
|
|
17028
|
+
| "check"
|
|
17029
|
+
| "failed_linking_txn"
|
|
17030
|
+
| "failed_svix_event"
|
|
17031
|
+
| "failed_adjust_account"
|
|
17032
|
+
| "failed_adjust_inventory"
|
|
17033
|
+
| "failed_cart"
|
|
17034
|
+
| "failed_emails"
|
|
17035
|
+
| "failed_invoices"
|
|
17036
|
+
| "failed_payments"
|
|
17037
|
+
| "failed_proforma_invoices"
|
|
17038
|
+
| "failed_receiving_material"
|
|
17039
|
+
| "failed_refund"
|
|
17040
|
+
| "failed_transfer"
|
|
17041
|
+
| "failed_transaction"
|
|
17042
|
+
| "failed_set_txn_alarm"
|
|
17043
|
+
| "failed_settlement"
|
|
17044
|
+
| "banner"
|
|
17045
|
+
| "shipping_zone"
|
|
17046
|
+
| "paymentMethod"
|
|
17047
|
+
| "target_group"
|
|
17048
|
+
| "target_result_history"
|
|
17049
|
+
| "widget_dashboard"
|
|
17050
|
+
| "secondary"
|
|
17051
|
+
| "planogram"
|
|
17052
|
+
| "checkout"
|
|
17053
|
+
| "retailExecutionPreviousResult"
|
|
17054
|
+
| "retailExecutionReportView"
|
|
17055
|
+
| "clicks"
|
|
17056
|
+
| "jobResult"
|
|
17057
|
+
| "workorderAlarm"
|
|
17058
|
+
| "intgActionLogs"
|
|
17059
|
+
| "intgCommandLogs"
|
|
17060
|
+
| "intgTrigger"
|
|
17061
|
+
| "scheduleEmail"
|
|
17062
|
+
| "territory"
|
|
17063
|
+
| "territoryLevel"
|
|
17064
|
+
| "territoryTemplate"
|
|
17065
|
+
| "activeClient"
|
|
17066
|
+
| "notificationsCenter"
|
|
17067
|
+
| "emailHistory"
|
|
17068
|
+
| "history"
|
|
17069
|
+
| "bulkExport"
|
|
17070
|
+
| "generateRule"
|
|
17071
|
+
| "asset-unit"
|
|
17072
|
+
| "client-location"
|
|
17073
|
+
| "workorder-request"
|
|
17074
|
+
| "oauth2Tokens"
|
|
17075
|
+
| "businessPlan"
|
|
17076
|
+
| "businessPlanFeature"
|
|
17077
|
+
| "modules"
|
|
17078
|
+
| "companyGroup"
|
|
17079
|
+
| "billingSubscription"
|
|
17080
|
+
| "widgetCategory"
|
|
17081
|
+
| "module-custom-validator"
|
|
17082
|
+
| "workflowTriggerOption"
|
|
17083
|
+
| "workflow"
|
|
17084
|
+
| "workflowActionOption"
|
|
17085
|
+
| "workflowActionAttributeOption"
|
|
17086
|
+
| "workflowVersion"
|
|
17087
|
+
| "workflowExecution"
|
|
17088
|
+
| "adminAbility"
|
|
17089
|
+
| "smsGateway"
|
|
17090
|
+
| "approvalRequest"
|
|
17091
|
+
| "formV2"
|
|
17092
|
+
| "activityFormV2Result"
|
|
17093
|
+
| "maxioAccountingCode"
|
|
17094
|
+
| "syncMaxioSubscriptionSummaries"
|
|
17095
|
+
| "businessAddOn"
|
|
17096
|
+
| "variantBatch"
|
|
17097
|
+
| "eventsLog"
|
|
17098
|
+
| "unSyncedLog"
|
|
17099
|
+
| "aiApiHistory"
|
|
17100
|
+
| "bulkConvertProforma"
|
|
17101
|
+
| "biView"
|
|
17102
|
+
| "biViewVersion"
|
|
17103
|
+
| "biViewInstance"
|
|
17104
|
+
| "biBucket"
|
|
17105
|
+
| "biViewBucketsTotal"
|
|
17106
|
+
| "contract"
|
|
17107
|
+
| "contractInstallment"
|
|
17108
|
+
| "clientUblInfo"
|
|
17109
|
+
| "supplier"
|
|
17110
|
+
| "ocrInvoiceJob"
|
|
17111
|
+
| "ocrInvoiceJobGroup"
|
|
17112
|
+
| "ocrInvoiceJobTemplate"
|
|
17113
|
+
| "ocrInvoiceJobPage"
|
|
17114
|
+
| "inventoryAdjustmentReason"
|
|
17115
|
+
| "productAuditTrace"
|
|
17116
|
+
| "blankPhotoRep"
|
|
17117
|
+
| "oldActivityFormV2Result"
|
|
17118
|
+
| "oldActivityStorecheck"
|
|
17119
|
+
| "oldBiBucket"
|
|
17120
|
+
| "failedBiBucketLog"
|
|
17121
|
+
| "failedConsumeBiAlarm"
|
|
17122
|
+
| "failedSetBiAlarm"
|
|
17123
|
+
| "oauth2Tokens"
|
|
17124
|
+
| "ublHealthCheck"
|
|
17125
|
+
| "invoiceAlert"
|
|
17126
|
+
| "ocrInvoiceJobPages"
|
|
17127
|
+
| "loginDevice"
|
|
17128
|
+
| "aiObjectDetectionDataset"
|
|
17129
|
+
| "aiObjectDetectionLabel"
|
|
17130
|
+
| "aiObjectDetectionModel"
|
|
17131
|
+
| "aiObjectDetectionModelVersion"
|
|
17132
|
+
| "aiObjectDetectionTask"
|
|
17133
|
+
| "assetPartType"
|
|
17134
|
+
/**
|
|
17135
|
+
* @deprecated assetPart shall be used
|
|
17136
|
+
*/
|
|
17137
|
+
| "asset-part"
|
|
17138
|
+
| "assetPart"
|
|
17139
|
+
| "assetPartUnit"
|
|
17140
|
+
| "assetPartReceival"
|
|
17141
|
+
| "assetPartTransfer"
|
|
17142
|
+
| "assetPartTransaction"
|
|
17143
|
+
| "returnAssetPartUnit"
|
|
17144
|
+
| "storeAssetPartUnit"
|
|
17145
|
+
| "aiApiLimits"
|
|
17146
|
+
| "aiHistory"
|
|
17147
|
+
| "aiModelPrices"
|
|
17148
|
+
| "promotionsGroup"
|
|
17149
|
+
| "medias";
|