repzo 1.0.156 → 1.0.157
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 -2
- package/lib/index.js +1 -1
- package/lib/types/index.d.ts +2 -2
- package/package.json +1 -1
- package/src/index.ts +1 -1
- package/src/types/index.ts +2 -1
package/lib/index.d.ts
CHANGED
|
@@ -94,7 +94,7 @@ export declare const end_points: {
|
|
|
94
94
|
readonly TEST_RESET_COMPANY_NAMESPACE: "test-reset-company-namespace";
|
|
95
95
|
};
|
|
96
96
|
export type EndPoints = (typeof end_points)[keyof typeof end_points];
|
|
97
|
-
declare const availableService: readonly ["client", "product", "variant", "category", "sub_category", "brand", "product_group", "tax", "measureunit", "measureunitFamily", "media", "priceList", "priceListItem", "team", "returnReason", "rep", "tag", "warehouse", "route", "productModifiersGroup", "channel", "speciality", "clientContact", "paymentTerm", "bank", "bank_list", "customStatus", "customList", "customListItem", "inventoryAdjustmentReason", "workorder", "workorderRequest", "supplier", "quickConvertToPdf", "visit", "activityFeedback", "activityFeedbackV2", "feedbackOption", "invoice", "proforma", "payment", "refund", "settlement", "check", "day", "receivingMaterial", "adjustAccount", "transfer", "msl", "mslProduct", "mediaStorage", "storecheckTemplate", "activityStorecheck", "adjustInventory", "inventory", "integrationApp", "joinActionsWebHook", "patchAction", "updateIntegrationMeta", "assetPartType", "assetPart", "assetPartUnit", "assetPartReceival", "assetPartTransfer", "returnAssetPartUnit", "storeAssetPartUnit", "ocrInvoiceJobTemplate", "ocrInvoiceJobGroup", "activityAiSalesOrder", "ocrInvoiceJob", "ocrInvoiceJobPage", "settings", "mailUnsubscribe", "approvalRequest", "safeInvoiceSerialCounter", "clientLocation", "assetType", "asset", "assetUnit", "workorderPortal", "approval", "workorderCategory", "contract", "contractInstallment", "repBalanceSummary", "workorderPortalLink", "customField"];
|
|
97
|
+
export declare const availableService: readonly ["client", "product", "variant", "category", "sub_category", "brand", "product_group", "tax", "measureunit", "measureunitFamily", "media", "priceList", "priceListItem", "team", "returnReason", "rep", "tag", "warehouse", "route", "productModifiersGroup", "channel", "speciality", "clientContact", "paymentTerm", "bank", "bank_list", "customStatus", "customList", "customListItem", "inventoryAdjustmentReason", "workorder", "workorderRequest", "supplier", "quickConvertToPdf", "visit", "activityFeedback", "activityFeedbackV2", "feedbackOption", "invoice", "proforma", "payment", "refund", "settlement", "check", "day", "receivingMaterial", "adjustAccount", "transfer", "msl", "mslProduct", "mediaStorage", "storecheckTemplate", "activityStorecheck", "adjustInventory", "inventory", "integrationApp", "joinActionsWebHook", "patchAction", "updateIntegrationMeta", "assetPartType", "assetPart", "assetPartUnit", "assetPartReceival", "assetPartTransfer", "returnAssetPartUnit", "storeAssetPartUnit", "ocrInvoiceJobTemplate", "ocrInvoiceJobGroup", "activityAiSalesOrder", "ocrInvoiceJob", "ocrInvoiceJobPage", "settings", "mailUnsubscribe", "approvalRequest", "safeInvoiceSerialCounter", "clientLocation", "assetType", "asset", "assetUnit", "workorderPortal", "approval", "workorderCategory", "contract", "contractInstallment", "repBalanceSummary", "workorderPortalLink", "customField"];
|
|
98
98
|
export type AvailableService = (typeof availableService)[number];
|
|
99
99
|
export default class Repzo {
|
|
100
100
|
private svAPIEndpoint;
|
|
@@ -931,4 +931,3 @@ export default class Repzo {
|
|
|
931
931
|
update: (id: Service.TestResetCompanyNamespace.Update.ID) => Promise<Service.TestResetCompanyNamespace.Update.Result>;
|
|
932
932
|
};
|
|
933
933
|
}
|
|
934
|
-
export {};
|
package/lib/index.js
CHANGED
|
@@ -94,7 +94,7 @@ export const end_points = {
|
|
|
94
94
|
RESET_COMPANY_NAMESPACE: "reset-company-namespace",
|
|
95
95
|
TEST_RESET_COMPANY_NAMESPACE: "test-reset-company-namespace",
|
|
96
96
|
};
|
|
97
|
-
const availableService = [
|
|
97
|
+
export const availableService = [
|
|
98
98
|
"client",
|
|
99
99
|
"product",
|
|
100
100
|
"variant",
|
package/lib/types/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { EndPoints } from "../index.js";
|
|
2
2
|
export interface Params {
|
|
3
3
|
[key: string]: any;
|
|
4
4
|
}
|
|
@@ -14495,7 +14495,7 @@ export declare namespace Service {
|
|
|
14495
14495
|
export type VisitDetails = {
|
|
14496
14496
|
activity_type: "visit";
|
|
14497
14497
|
activities: (ActivityAuditVisitDetails | ActivityPhotoVisitDetails | ActivityAvailabilityVisitDetails | ActivityNoteVisitDetails | ActivityTaskVisitDetails | ActivityPlanogramVisitDetails | ActivityShelfshareVisitDetails | ActivitySecondaryDisplayVisitDetails | ActivityCheckoutDisplayVisitDetails | ActivityItemStatusVisitDetails | ActivityFormResultVisitDetails | ActivityFormV2ResultVisitDetails | ActivityStorecheckVisitDetails | ActivityFeedbackVisitDetails | ApprovalRequestVisitDetails | AssetPartReceivalVisitDetails | AssetPartTransferVisitDetails | ReturnAssetPartUnitVisitDetails | StoreAssetPartUnitVisitDetails | PaymentVisitDetails | RefundVisitDetails | ConvertProformaVisitDetails | SettlementVisitDetails | FullInvoiceVisitDetails | ProformaVisitDetails | ReturnWholeInvoiceVisitDetails | VoidInvoiceVisitDetails)[];
|
|
14498
|
-
} & Pick<Visit.Data, "closed_by_system" | "geoPoint" | "start_time" | "end_time" | "total_time" | "battery_level" | "version_name" | "device_brand" | "start_out_of_geofence" | "end_out_of_geofence" | "auto_closed_by_geofence" | "auto_closed_by_geofence_reason" | "client_geo_location">;
|
|
14498
|
+
} & Pick<Visit.Data, "closed_by_system" | "geoPoint" | "start_time" | "end_time" | "total_time" | "battery_level" | "version_name" | "device_brand" | "start_out_of_geofence" | "end_out_of_geofence" | "auto_closed_by_geofence" | "auto_closed_by_geofence_reason" | "client_geo_location" | "delta_distance">;
|
|
14499
14499
|
export type ActivityPhotoDetails = {
|
|
14500
14500
|
activity_type: "activity-photo";
|
|
14501
14501
|
} & Pick<ActivityPhoto.Data, "media">;
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
package/src/types/index.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { EndPoints } from "../index.js";
|
|
2
2
|
|
|
3
3
|
export interface Params {
|
|
4
4
|
[key: string]: any;
|
|
@@ -15575,6 +15575,7 @@ export namespace Service {
|
|
|
15575
15575
|
| "auto_closed_by_geofence"
|
|
15576
15576
|
| "auto_closed_by_geofence_reason"
|
|
15577
15577
|
| "client_geo_location"
|
|
15578
|
+
| "delta_distance"
|
|
15578
15579
|
>;
|
|
15579
15580
|
|
|
15580
15581
|
// ActivityPhoto ********************************************************************
|