@d19n/youfibre-odin-sdk 1.0.19 → 1.0.21
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/dist/api-sdk-v1/BillingRequestApi.d.ts +0 -7
- package/dist/api-sdk-v1/BillingRequestApi.js +0 -26
- package/dist/api-sdk-v1/CaseApi.d.ts +0 -7
- package/dist/api-sdk-v1/CaseApi.js +0 -26
- package/dist/api-sdk-v1/ConsumptionRateApi.d.ts +0 -7
- package/dist/api-sdk-v1/ConsumptionRateApi.js +0 -26
- package/dist/api-sdk-v1/ConsumptionScheduleApi.d.ts +0 -7
- package/dist/api-sdk-v1/ConsumptionScheduleApi.js +0 -26
- package/dist/api-sdk-v1/ContactApi.d.ts +87 -3
- package/dist/api-sdk-v1/ContactApi.js +319 -7
- package/dist/api-sdk-v1/ContactIdentityApi.d.ts +0 -7
- package/dist/api-sdk-v1/ContactIdentityApi.js +0 -26
- package/dist/api-sdk-v1/FileApi.d.ts +338 -3
- package/dist/api-sdk-v1/FileApi.js +1249 -7
- package/dist/api-sdk-v1/InvoiceItemApi.d.ts +0 -7
- package/dist/api-sdk-v1/InvoiceItemApi.js +0 -26
- package/dist/api-sdk-v1/LeadApi.d.ts +24 -3
- package/dist/api-sdk-v1/LeadApi.js +85 -7
- package/dist/api-sdk-v1/MilestoneApi.d.ts +0 -7
- package/dist/api-sdk-v1/MilestoneApi.js +0 -26
- package/dist/api-sdk-v1/NoteApi.d.ts +3 -4
- package/dist/api-sdk-v1/NoteApi.js +7 -13
- package/dist/api-sdk-v1/OfferApi.d.ts +0 -7
- package/dist/api-sdk-v1/OfferApi.js +0 -26
- package/dist/api-sdk-v1/OrderApi.d.ts +7 -8
- package/dist/api-sdk-v1/OrderApi.js +21 -27
- package/dist/api-sdk-v1/OrderItemApi.d.ts +0 -7
- package/dist/api-sdk-v1/OrderItemApi.js +0 -26
- package/dist/api-sdk-v1/OrganizationApi.d.ts +0 -7
- package/dist/api-sdk-v1/OrganizationApi.js +0 -26
- package/dist/api-sdk-v1/ProductApi.d.ts +1 -9
- package/dist/api-sdk-v1/ProductApi.js +0 -31
- package/dist/api-sdk-v1/ProductComponentApi.d.ts +0 -7
- package/dist/api-sdk-v1/ProductComponentApi.js +0 -26
- package/dist/api-sdk-v1/RestrictionApi.d.ts +0 -7
- package/dist/api-sdk-v1/RestrictionApi.js +0 -26
- package/dist/api-sdk-v1/ServiceApi.d.ts +0 -7
- package/dist/api-sdk-v1/ServiceApi.js +0 -26
- package/dist/api-sdk-v1/ServiceAppointmentConfigApi.d.ts +12 -0
- package/dist/api-sdk-v1/ServiceAppointmentConfigApi.js +40 -0
- package/dist/api-sdk-v1/SplitOrderApi.d.ts +2 -3
- package/dist/api-sdk-v1/SplitOrderApi.js +6 -12
- package/dist/api-sdk-v1/TransactionApi.d.ts +0 -7
- package/dist/api-sdk-v1/TransactionApi.js +0 -26
- package/dist/api-sdk-v1/UserApi.d.ts +18 -0
- package/dist/api-sdk-v1/UserApi.js +60 -0
- package/dist/api-sdk-v1/WorkOrderApi.d.ts +44 -3
- package/dist/api-sdk-v1/WorkOrderApi.js +157 -7
- package/dist/db-sdk-v1/BillingRequestDb.d.ts +0 -7
- package/dist/db-sdk-v1/BillingRequestDb.js +0 -33
- package/dist/db-sdk-v1/CaseDb.d.ts +0 -7
- package/dist/db-sdk-v1/CaseDb.js +0 -33
- package/dist/db-sdk-v1/ConsumptionRateDb.d.ts +0 -7
- package/dist/db-sdk-v1/ConsumptionRateDb.js +0 -33
- package/dist/db-sdk-v1/ConsumptionScheduleDb.d.ts +0 -7
- package/dist/db-sdk-v1/ConsumptionScheduleDb.js +0 -33
- package/dist/db-sdk-v1/ContactDb.d.ts +87 -3
- package/dist/db-sdk-v1/ContactDb.js +403 -7
- package/dist/db-sdk-v1/ContactIdentityDb.d.ts +0 -7
- package/dist/db-sdk-v1/ContactIdentityDb.js +0 -33
- package/dist/db-sdk-v1/FileDb.d.ts +338 -3
- package/dist/db-sdk-v1/FileDb.js +1585 -7
- package/dist/db-sdk-v1/InvoiceItemDb.d.ts +0 -7
- package/dist/db-sdk-v1/InvoiceItemDb.js +0 -33
- package/dist/db-sdk-v1/LeadDb.d.ts +24 -3
- package/dist/db-sdk-v1/LeadDb.js +106 -7
- package/dist/db-sdk-v1/MilestoneDb.d.ts +0 -7
- package/dist/db-sdk-v1/MilestoneDb.js +0 -33
- package/dist/db-sdk-v1/NoteDb.d.ts +3 -4
- package/dist/db-sdk-v1/NoteDb.js +7 -13
- package/dist/db-sdk-v1/OfferDb.d.ts +0 -7
- package/dist/db-sdk-v1/OfferDb.js +0 -33
- package/dist/db-sdk-v1/OrderDb.d.ts +7 -8
- package/dist/db-sdk-v1/OrderDb.js +28 -34
- package/dist/db-sdk-v1/OrderItemDb.d.ts +0 -7
- package/dist/db-sdk-v1/OrderItemDb.js +0 -33
- package/dist/db-sdk-v1/OrganizationDb.d.ts +0 -7
- package/dist/db-sdk-v1/OrganizationDb.js +0 -33
- package/dist/db-sdk-v1/ProductComponentDb.d.ts +0 -7
- package/dist/db-sdk-v1/ProductComponentDb.js +0 -33
- package/dist/db-sdk-v1/ProductDb.d.ts +1 -9
- package/dist/db-sdk-v1/ProductDb.js +0 -38
- package/dist/db-sdk-v1/RestrictionDb.d.ts +0 -7
- package/dist/db-sdk-v1/RestrictionDb.js +0 -33
- package/dist/db-sdk-v1/ServiceAppointmentConfigDb.d.ts +12 -0
- package/dist/db-sdk-v1/ServiceAppointmentConfigDb.js +54 -0
- package/dist/db-sdk-v1/ServiceDb.d.ts +0 -7
- package/dist/db-sdk-v1/ServiceDb.js +0 -33
- package/dist/db-sdk-v1/SplitOrderDb.d.ts +2 -3
- package/dist/db-sdk-v1/SplitOrderDb.js +6 -12
- package/dist/db-sdk-v1/TransactionDb.d.ts +0 -7
- package/dist/db-sdk-v1/TransactionDb.js +0 -33
- package/dist/db-sdk-v1/UserDb.d.ts +18 -0
- package/dist/db-sdk-v1/UserDb.js +81 -0
- package/dist/db-sdk-v1/WorkOrderDb.d.ts +44 -3
- package/dist/db-sdk-v1/WorkOrderDb.js +199 -7
- package/package.json +2 -2
- package/src/api-sdk-v1/BillingRequestApi.ts +0 -27
- package/src/api-sdk-v1/CaseApi.ts +0 -27
- package/src/api-sdk-v1/ConsumptionRateApi.ts +0 -27
- package/src/api-sdk-v1/ConsumptionScheduleApi.ts +0 -27
- package/src/api-sdk-v1/ContactApi.ts +343 -19
- package/src/api-sdk-v1/ContactIdentityApi.ts +0 -27
- package/src/api-sdk-v1/FileApi.ts +1310 -19
- package/src/api-sdk-v1/InvoiceItemApi.ts +0 -27
- package/src/api-sdk-v1/LeadApi.ts +100 -19
- package/src/api-sdk-v1/MilestoneApi.ts +0 -27
- package/src/api-sdk-v1/NoteApi.ts +7 -12
- package/src/api-sdk-v1/OfferApi.ts +0 -27
- package/src/api-sdk-v1/OrderApi.ts +23 -28
- package/src/api-sdk-v1/OrderItemApi.ts +0 -27
- package/src/api-sdk-v1/OrganizationApi.ts +0 -27
- package/src/api-sdk-v1/ProductApi.ts +0 -31
- package/src/api-sdk-v1/ProductComponentApi.ts +0 -27
- package/src/api-sdk-v1/RestrictionApi.ts +0 -27
- package/src/api-sdk-v1/ServiceApi.ts +0 -27
- package/src/api-sdk-v1/ServiceAppointmentConfigApi.ts +44 -0
- package/src/api-sdk-v1/SplitOrderApi.ts +17 -22
- package/src/api-sdk-v1/TransactionApi.ts +0 -27
- package/src/api-sdk-v1/UserApi.ts +66 -0
- package/src/api-sdk-v1/WorkOrderApi.ts +178 -21
- package/src/db-sdk-v1/BillingRequestDb.ts +0 -35
- package/src/db-sdk-v1/CaseDb.ts +0 -35
- package/src/db-sdk-v1/ConsumptionRateDb.ts +0 -35
- package/src/db-sdk-v1/ConsumptionScheduleDb.ts +0 -35
- package/src/db-sdk-v1/ContactDb.ts +443 -23
- package/src/db-sdk-v1/ContactIdentityDb.ts +0 -35
- package/src/db-sdk-v1/FileDb.ts +1698 -23
- package/src/db-sdk-v1/InvoiceItemDb.ts +0 -35
- package/src/db-sdk-v1/LeadDb.ts +128 -23
- package/src/db-sdk-v1/MilestoneDb.ts +0 -35
- package/src/db-sdk-v1/NoteDb.ts +7 -12
- package/src/db-sdk-v1/OfferDb.ts +0 -35
- package/src/db-sdk-v1/OrderDb.ts +31 -36
- package/src/db-sdk-v1/OrderItemDb.ts +0 -35
- package/src/db-sdk-v1/OrganizationDb.ts +0 -35
- package/src/db-sdk-v1/ProductComponentDb.ts +0 -35
- package/src/db-sdk-v1/ProductDb.ts +0 -39
- package/src/db-sdk-v1/RestrictionDb.ts +0 -35
- package/src/db-sdk-v1/ServiceAppointmentConfigDb.ts +60 -0
- package/src/db-sdk-v1/ServiceDb.ts +0 -35
- package/src/db-sdk-v1/SplitOrderDb.ts +20 -25
- package/src/db-sdk-v1/TransactionDb.ts +0 -35
- package/src/db-sdk-v1/UserDb.ts +90 -0
- package/src/db-sdk-v1/WorkOrderDb.ts +229 -24
- package/src/generators/runner.ts +2 -3
|
@@ -145,38 +145,5 @@ class ProductComponentDb extends db_provider_1.DbProvider {
|
|
|
145
145
|
return yield this._deleteLinks(this.moduleName, this.entityName, productComponentId, associationDtos);
|
|
146
146
|
});
|
|
147
147
|
}
|
|
148
|
-
// Use this function when you want to return a single record
|
|
149
|
-
getProductComponents(productComponentId) {
|
|
150
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
151
|
-
return yield this._getLinks(this.moduleName, this.entityName, productComponentId, 'ProductComponent');
|
|
152
|
-
});
|
|
153
|
-
}
|
|
154
|
-
linkProductComponentProductComponents(productComponentId, productComponentIds) {
|
|
155
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
156
|
-
const associationDtos = [];
|
|
157
|
-
for (const param of productComponentIds) {
|
|
158
|
-
associationDtos.push({
|
|
159
|
-
entity: 'ProductModule:ProductComponent',
|
|
160
|
-
recordId: param.id,
|
|
161
|
-
linkType: 'ProductComponent__ProductComponent',
|
|
162
|
-
relationType: param === null || param === void 0 ? void 0 : param.relationType,
|
|
163
|
-
relatedAssociationId: param === null || param === void 0 ? void 0 : param.relatedAssociationId
|
|
164
|
-
});
|
|
165
|
-
}
|
|
166
|
-
return yield this._createLinks(this.moduleName, this.entityName, productComponentId, associationDtos);
|
|
167
|
-
});
|
|
168
|
-
}
|
|
169
|
-
unlinkProductComponentProductComponents(productComponentId, linkedProductComponentIds) {
|
|
170
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
171
|
-
const associationDtos = [];
|
|
172
|
-
for (const pk of linkedProductComponentIds) {
|
|
173
|
-
associationDtos.push({
|
|
174
|
-
primaryKey: productComponentId,
|
|
175
|
-
linkedRecordPrimaryKey: pk,
|
|
176
|
-
});
|
|
177
|
-
}
|
|
178
|
-
return yield this._deleteLinks(this.moduleName, this.entityName, productComponentId, associationDtos);
|
|
179
|
-
});
|
|
180
|
-
}
|
|
181
148
|
}
|
|
182
149
|
exports.ProductComponentDb = ProductComponentDb;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DbProvider } from '@d19n/odin-sdk-generator/dist/db.provider';
|
|
2
2
|
import { OdinSearchV2 } from '@d19n/odin-types/dist/interfaces/v2.db.interfaces';
|
|
3
|
-
import { OdinRecordCreateDto, OdinRecordUpdateDto,
|
|
3
|
+
import { OdinRecordCreateDto, OdinRecordUpdateDto, RelationTypeEnum } from '@d19n/odin-types/dist/dtos/odin.dtos';
|
|
4
4
|
export declare class ProductDb extends DbProvider {
|
|
5
5
|
protected readonly principal: any;
|
|
6
6
|
protected readonly dbService: any;
|
|
@@ -80,12 +80,4 @@ export declare class ProductDb extends DbProvider {
|
|
|
80
80
|
relatedAssociationId?: string;
|
|
81
81
|
}[]): Promise<any>;
|
|
82
82
|
unlinkOrderItemProducts(productId: string, linkedOrderItemIds: string[]): Promise<any>;
|
|
83
|
-
getProducts(productId: string): Promise<any>;
|
|
84
|
-
linkProductProducts(productId: string, productIds: {
|
|
85
|
-
id: string;
|
|
86
|
-
relationType?: RelationTypeEnum;
|
|
87
|
-
relatedAssociationId?: string;
|
|
88
|
-
}[]): Promise<any>;
|
|
89
|
-
unlinkProductProducts(productId: string, linkedProductIds: string[]): Promise<any>;
|
|
90
|
-
updateProductProductLinkProperties(productId: string, dbRecordAssociationId: string, updateDto: OdinLinkedRecordUpdateDto): Promise<any>;
|
|
91
83
|
}
|
|
@@ -376,43 +376,5 @@ class ProductDb extends db_provider_1.DbProvider {
|
|
|
376
376
|
return yield this._deleteLinks(this.moduleName, this.entityName, productId, associationDtos);
|
|
377
377
|
});
|
|
378
378
|
}
|
|
379
|
-
// Use this function when you want to return a single record
|
|
380
|
-
getProducts(productId) {
|
|
381
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
382
|
-
return yield this._getLinks(this.moduleName, this.entityName, productId, 'Product');
|
|
383
|
-
});
|
|
384
|
-
}
|
|
385
|
-
linkProductProducts(productId, productIds) {
|
|
386
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
387
|
-
const associationDtos = [];
|
|
388
|
-
for (const param of productIds) {
|
|
389
|
-
associationDtos.push({
|
|
390
|
-
entity: 'ProductModule:Product',
|
|
391
|
-
recordId: param.id,
|
|
392
|
-
linkType: 'Product__Product',
|
|
393
|
-
relationType: param === null || param === void 0 ? void 0 : param.relationType,
|
|
394
|
-
relatedAssociationId: param === null || param === void 0 ? void 0 : param.relatedAssociationId
|
|
395
|
-
});
|
|
396
|
-
}
|
|
397
|
-
return yield this._createLinks(this.moduleName, this.entityName, productId, associationDtos);
|
|
398
|
-
});
|
|
399
|
-
}
|
|
400
|
-
unlinkProductProducts(productId, linkedProductIds) {
|
|
401
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
402
|
-
const associationDtos = [];
|
|
403
|
-
for (const pk of linkedProductIds) {
|
|
404
|
-
associationDtos.push({
|
|
405
|
-
primaryKey: productId,
|
|
406
|
-
linkedRecordPrimaryKey: pk,
|
|
407
|
-
});
|
|
408
|
-
}
|
|
409
|
-
return yield this._deleteLinks(this.moduleName, this.entityName, productId, associationDtos);
|
|
410
|
-
});
|
|
411
|
-
}
|
|
412
|
-
updateProductProductLinkProperties(productId, dbRecordAssociationId, updateDto) {
|
|
413
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
414
|
-
return yield this._updateLinkProperties('ProductModule', 'Product', productId, dbRecordAssociationId, updateDto);
|
|
415
|
-
});
|
|
416
|
-
}
|
|
417
379
|
}
|
|
418
380
|
exports.ProductDb = ProductDb;
|
|
@@ -31,11 +31,4 @@ export declare class RestrictionDb extends DbProvider {
|
|
|
31
31
|
relatedAssociationId?: string;
|
|
32
32
|
}[]): Promise<any>;
|
|
33
33
|
unlinkProductComponentRestrictions(restrictionId: string, linkedProductComponentIds: string[]): Promise<any>;
|
|
34
|
-
getRestrictions(restrictionId: string): Promise<any>;
|
|
35
|
-
linkRestrictionRestrictions(restrictionId: string, restrictionIds: {
|
|
36
|
-
id: string;
|
|
37
|
-
relationType?: RelationTypeEnum;
|
|
38
|
-
relatedAssociationId?: string;
|
|
39
|
-
}[]): Promise<any>;
|
|
40
|
-
unlinkRestrictionRestrictions(restrictionId: string, linkedRestrictionIds: string[]): Promise<any>;
|
|
41
34
|
}
|
|
@@ -145,38 +145,5 @@ class RestrictionDb extends db_provider_1.DbProvider {
|
|
|
145
145
|
return yield this._deleteLinks(this.moduleName, this.entityName, restrictionId, associationDtos);
|
|
146
146
|
});
|
|
147
147
|
}
|
|
148
|
-
// Use this function when you want to return a single record
|
|
149
|
-
getRestrictions(restrictionId) {
|
|
150
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
151
|
-
return yield this._getLinks(this.moduleName, this.entityName, restrictionId, 'Restriction');
|
|
152
|
-
});
|
|
153
|
-
}
|
|
154
|
-
linkRestrictionRestrictions(restrictionId, restrictionIds) {
|
|
155
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
156
|
-
const associationDtos = [];
|
|
157
|
-
for (const param of restrictionIds) {
|
|
158
|
-
associationDtos.push({
|
|
159
|
-
entity: 'ProductModule:Restriction',
|
|
160
|
-
recordId: param.id,
|
|
161
|
-
linkType: 'Restriction__Restriction',
|
|
162
|
-
relationType: param === null || param === void 0 ? void 0 : param.relationType,
|
|
163
|
-
relatedAssociationId: param === null || param === void 0 ? void 0 : param.relatedAssociationId
|
|
164
|
-
});
|
|
165
|
-
}
|
|
166
|
-
return yield this._createLinks(this.moduleName, this.entityName, restrictionId, associationDtos);
|
|
167
|
-
});
|
|
168
|
-
}
|
|
169
|
-
unlinkRestrictionRestrictions(restrictionId, linkedRestrictionIds) {
|
|
170
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
171
|
-
const associationDtos = [];
|
|
172
|
-
for (const pk of linkedRestrictionIds) {
|
|
173
|
-
associationDtos.push({
|
|
174
|
-
primaryKey: restrictionId,
|
|
175
|
-
linkedRecordPrimaryKey: pk,
|
|
176
|
-
});
|
|
177
|
-
}
|
|
178
|
-
return yield this._deleteLinks(this.moduleName, this.entityName, restrictionId, associationDtos);
|
|
179
|
-
});
|
|
180
|
-
}
|
|
181
148
|
}
|
|
182
149
|
exports.RestrictionDb = RestrictionDb;
|
|
@@ -66,4 +66,16 @@ export declare class ServiceAppointmentConfigDb extends DbProvider {
|
|
|
66
66
|
relatedAssociationId?: string;
|
|
67
67
|
}[]): Promise<any>;
|
|
68
68
|
unlinkServiceAppointmentConfigRegions(serviceAppointmentConfigId: string, linkedRegionIds: string[]): Promise<any>;
|
|
69
|
+
linkManagers(serviceAppointmentConfigId: string, userIds: {
|
|
70
|
+
id: string;
|
|
71
|
+
relationType?: RelationTypeEnum;
|
|
72
|
+
relatedAssociationId?: string;
|
|
73
|
+
}[]): Promise<any>;
|
|
74
|
+
unlinkManagers(serviceAppointmentConfigId: string, linkedUserIds: string[]): Promise<any>;
|
|
75
|
+
linkSupervisors(serviceAppointmentConfigId: string, userIds: {
|
|
76
|
+
id: string;
|
|
77
|
+
relationType?: RelationTypeEnum;
|
|
78
|
+
relatedAssociationId?: string;
|
|
79
|
+
}[]): Promise<any>;
|
|
80
|
+
unlinkSupervisors(serviceAppointmentConfigId: string, linkedUserIds: string[]): Promise<any>;
|
|
69
81
|
}
|
|
@@ -310,5 +310,59 @@ class ServiceAppointmentConfigDb extends db_provider_1.DbProvider {
|
|
|
310
310
|
return yield this._deleteLinks(this.moduleName, this.entityName, serviceAppointmentConfigId, associationDtos);
|
|
311
311
|
});
|
|
312
312
|
}
|
|
313
|
+
linkManagers(serviceAppointmentConfigId, userIds) {
|
|
314
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
315
|
+
const associationDtos = [];
|
|
316
|
+
for (const param of userIds) {
|
|
317
|
+
associationDtos.push({
|
|
318
|
+
entity: 'IdentityModule:User',
|
|
319
|
+
recordId: param.id,
|
|
320
|
+
linkType: 'Manager',
|
|
321
|
+
relationType: param === null || param === void 0 ? void 0 : param.relationType,
|
|
322
|
+
relatedAssociationId: param === null || param === void 0 ? void 0 : param.relatedAssociationId
|
|
323
|
+
});
|
|
324
|
+
}
|
|
325
|
+
return yield this._createLinks(this.moduleName, this.entityName, serviceAppointmentConfigId, associationDtos);
|
|
326
|
+
});
|
|
327
|
+
}
|
|
328
|
+
unlinkManagers(serviceAppointmentConfigId, linkedUserIds) {
|
|
329
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
330
|
+
const associationDtos = [];
|
|
331
|
+
for (const pk of linkedUserIds) {
|
|
332
|
+
associationDtos.push({
|
|
333
|
+
primaryKey: serviceAppointmentConfigId,
|
|
334
|
+
linkedRecordPrimaryKey: pk,
|
|
335
|
+
});
|
|
336
|
+
}
|
|
337
|
+
return yield this._deleteLinks(this.moduleName, this.entityName, serviceAppointmentConfigId, associationDtos);
|
|
338
|
+
});
|
|
339
|
+
}
|
|
340
|
+
linkSupervisors(serviceAppointmentConfigId, userIds) {
|
|
341
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
342
|
+
const associationDtos = [];
|
|
343
|
+
for (const param of userIds) {
|
|
344
|
+
associationDtos.push({
|
|
345
|
+
entity: 'IdentityModule:User',
|
|
346
|
+
recordId: param.id,
|
|
347
|
+
linkType: 'Supervisor',
|
|
348
|
+
relationType: param === null || param === void 0 ? void 0 : param.relationType,
|
|
349
|
+
relatedAssociationId: param === null || param === void 0 ? void 0 : param.relatedAssociationId
|
|
350
|
+
});
|
|
351
|
+
}
|
|
352
|
+
return yield this._createLinks(this.moduleName, this.entityName, serviceAppointmentConfigId, associationDtos);
|
|
353
|
+
});
|
|
354
|
+
}
|
|
355
|
+
unlinkSupervisors(serviceAppointmentConfigId, linkedUserIds) {
|
|
356
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
357
|
+
const associationDtos = [];
|
|
358
|
+
for (const pk of linkedUserIds) {
|
|
359
|
+
associationDtos.push({
|
|
360
|
+
primaryKey: serviceAppointmentConfigId,
|
|
361
|
+
linkedRecordPrimaryKey: pk,
|
|
362
|
+
});
|
|
363
|
+
}
|
|
364
|
+
return yield this._deleteLinks(this.moduleName, this.entityName, serviceAppointmentConfigId, associationDtos);
|
|
365
|
+
});
|
|
366
|
+
}
|
|
313
367
|
}
|
|
314
368
|
exports.ServiceAppointmentConfigDb = ServiceAppointmentConfigDb;
|
|
@@ -24,11 +24,4 @@ export declare class ServiceDb extends DbProvider {
|
|
|
24
24
|
relatedAssociationId?: string;
|
|
25
25
|
}[]): Promise<any>;
|
|
26
26
|
unlinkProductServices(serviceId: string, linkedProductIds: string[]): Promise<any>;
|
|
27
|
-
getServices(serviceId: string): Promise<any>;
|
|
28
|
-
linkServiceServices(serviceId: string, serviceIds: {
|
|
29
|
-
id: string;
|
|
30
|
-
relationType?: RelationTypeEnum;
|
|
31
|
-
relatedAssociationId?: string;
|
|
32
|
-
}[]): Promise<any>;
|
|
33
|
-
unlinkServiceServices(serviceId: string, linkedServiceIds: string[]): Promise<any>;
|
|
34
27
|
}
|
|
@@ -112,38 +112,5 @@ class ServiceDb extends db_provider_1.DbProvider {
|
|
|
112
112
|
return yield this._deleteLinks(this.moduleName, this.entityName, serviceId, associationDtos);
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
|
-
// Use this function when you want to return a single record
|
|
116
|
-
getServices(serviceId) {
|
|
117
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
118
|
-
return yield this._getLinks(this.moduleName, this.entityName, serviceId, 'Service');
|
|
119
|
-
});
|
|
120
|
-
}
|
|
121
|
-
linkServiceServices(serviceId, serviceIds) {
|
|
122
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
123
|
-
const associationDtos = [];
|
|
124
|
-
for (const param of serviceIds) {
|
|
125
|
-
associationDtos.push({
|
|
126
|
-
entity: 'ServiceModule:Service',
|
|
127
|
-
recordId: param.id,
|
|
128
|
-
linkType: 'Service__Service',
|
|
129
|
-
relationType: param === null || param === void 0 ? void 0 : param.relationType,
|
|
130
|
-
relatedAssociationId: param === null || param === void 0 ? void 0 : param.relatedAssociationId
|
|
131
|
-
});
|
|
132
|
-
}
|
|
133
|
-
return yield this._createLinks(this.moduleName, this.entityName, serviceId, associationDtos);
|
|
134
|
-
});
|
|
135
|
-
}
|
|
136
|
-
unlinkServiceServices(serviceId, linkedServiceIds) {
|
|
137
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
138
|
-
const associationDtos = [];
|
|
139
|
-
for (const pk of linkedServiceIds) {
|
|
140
|
-
associationDtos.push({
|
|
141
|
-
primaryKey: serviceId,
|
|
142
|
-
linkedRecordPrimaryKey: pk,
|
|
143
|
-
});
|
|
144
|
-
}
|
|
145
|
-
return yield this._deleteLinks(this.moduleName, this.entityName, serviceId, associationDtos);
|
|
146
|
-
});
|
|
147
|
-
}
|
|
148
115
|
}
|
|
149
116
|
exports.ServiceDb = ServiceDb;
|
|
@@ -31,11 +31,10 @@ export declare class SplitOrderDb extends DbProvider {
|
|
|
31
31
|
relatedAssociationId?: string;
|
|
32
32
|
}[]): Promise<any>;
|
|
33
33
|
unlinkSplitOrderOrders(splitOrderId: string, linkedOrderIds: string[]): Promise<any>;
|
|
34
|
-
|
|
35
|
-
linkSplitOrderSplitOrders(splitOrderId: string, splitOrderIds: {
|
|
34
|
+
linkOrderSplitOrders(splitOrderId: string, orderIds: {
|
|
36
35
|
id: string;
|
|
37
36
|
relationType?: RelationTypeEnum;
|
|
38
37
|
relatedAssociationId?: string;
|
|
39
38
|
}[]): Promise<any>;
|
|
40
|
-
|
|
39
|
+
unlinkOrderSplitOrders(splitOrderId: string, linkedOrderIds: string[]): Promise<any>;
|
|
41
40
|
}
|
|
@@ -145,20 +145,14 @@ class SplitOrderDb extends db_provider_1.DbProvider {
|
|
|
145
145
|
return yield this._deleteLinks(this.moduleName, this.entityName, splitOrderId, associationDtos);
|
|
146
146
|
});
|
|
147
147
|
}
|
|
148
|
-
|
|
149
|
-
getSplitOrders(splitOrderId) {
|
|
150
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
151
|
-
return yield this._getLinks(this.moduleName, this.entityName, splitOrderId, 'SplitOrder');
|
|
152
|
-
});
|
|
153
|
-
}
|
|
154
|
-
linkSplitOrderSplitOrders(splitOrderId, splitOrderIds) {
|
|
148
|
+
linkOrderSplitOrders(splitOrderId, orderIds) {
|
|
155
149
|
return __awaiter(this, void 0, void 0, function* () {
|
|
156
150
|
const associationDtos = [];
|
|
157
|
-
for (const param of
|
|
151
|
+
for (const param of orderIds) {
|
|
158
152
|
associationDtos.push({
|
|
159
|
-
entity: 'OrderModule:
|
|
153
|
+
entity: 'OrderModule:Order',
|
|
160
154
|
recordId: param.id,
|
|
161
|
-
linkType: '
|
|
155
|
+
linkType: 'Order__SplitOrder',
|
|
162
156
|
relationType: param === null || param === void 0 ? void 0 : param.relationType,
|
|
163
157
|
relatedAssociationId: param === null || param === void 0 ? void 0 : param.relatedAssociationId
|
|
164
158
|
});
|
|
@@ -166,10 +160,10 @@ class SplitOrderDb extends db_provider_1.DbProvider {
|
|
|
166
160
|
return yield this._createLinks(this.moduleName, this.entityName, splitOrderId, associationDtos);
|
|
167
161
|
});
|
|
168
162
|
}
|
|
169
|
-
|
|
163
|
+
unlinkOrderSplitOrders(splitOrderId, linkedOrderIds) {
|
|
170
164
|
return __awaiter(this, void 0, void 0, function* () {
|
|
171
165
|
const associationDtos = [];
|
|
172
|
-
for (const pk of
|
|
166
|
+
for (const pk of linkedOrderIds) {
|
|
173
167
|
associationDtos.push({
|
|
174
168
|
primaryKey: splitOrderId,
|
|
175
169
|
linkedRecordPrimaryKey: pk,
|
|
@@ -24,13 +24,6 @@ export declare class TransactionDb extends DbProvider {
|
|
|
24
24
|
relatedAssociationId?: string;
|
|
25
25
|
}[]): Promise<any>;
|
|
26
26
|
unlinkTransactionPaymentMethods(transactionId: string, linkedPaymentMethodIds: string[]): Promise<any>;
|
|
27
|
-
getTransactions(transactionId: string): Promise<any>;
|
|
28
|
-
linkTransactionTransactions(transactionId: string, transactionIds: {
|
|
29
|
-
id: string;
|
|
30
|
-
relationType?: RelationTypeEnum;
|
|
31
|
-
relatedAssociationId?: string;
|
|
32
|
-
}[]): Promise<any>;
|
|
33
|
-
unlinkTransactionTransactions(transactionId: string, linkedTransactionIds: string[]): Promise<any>;
|
|
34
27
|
getInvoices(transactionId: string): Promise<any>;
|
|
35
28
|
linkInvoiceTransactions(transactionId: string, invoiceIds: {
|
|
36
29
|
id: string;
|
|
@@ -113,39 +113,6 @@ class TransactionDb extends db_provider_1.DbProvider {
|
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
115
|
// Use this function when you want to return a single record
|
|
116
|
-
getTransactions(transactionId) {
|
|
117
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
118
|
-
return yield this._getLinks(this.moduleName, this.entityName, transactionId, 'Transaction');
|
|
119
|
-
});
|
|
120
|
-
}
|
|
121
|
-
linkTransactionTransactions(transactionId, transactionIds) {
|
|
122
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
123
|
-
const associationDtos = [];
|
|
124
|
-
for (const param of transactionIds) {
|
|
125
|
-
associationDtos.push({
|
|
126
|
-
entity: 'BillingModule:Transaction',
|
|
127
|
-
recordId: param.id,
|
|
128
|
-
linkType: 'Transaction__Transaction',
|
|
129
|
-
relationType: param === null || param === void 0 ? void 0 : param.relationType,
|
|
130
|
-
relatedAssociationId: param === null || param === void 0 ? void 0 : param.relatedAssociationId
|
|
131
|
-
});
|
|
132
|
-
}
|
|
133
|
-
return yield this._createLinks(this.moduleName, this.entityName, transactionId, associationDtos);
|
|
134
|
-
});
|
|
135
|
-
}
|
|
136
|
-
unlinkTransactionTransactions(transactionId, linkedTransactionIds) {
|
|
137
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
138
|
-
const associationDtos = [];
|
|
139
|
-
for (const pk of linkedTransactionIds) {
|
|
140
|
-
associationDtos.push({
|
|
141
|
-
primaryKey: transactionId,
|
|
142
|
-
linkedRecordPrimaryKey: pk,
|
|
143
|
-
});
|
|
144
|
-
}
|
|
145
|
-
return yield this._deleteLinks(this.moduleName, this.entityName, transactionId, associationDtos);
|
|
146
|
-
});
|
|
147
|
-
}
|
|
148
|
-
// Use this function when you want to return a single record
|
|
149
116
|
getInvoices(transactionId) {
|
|
150
117
|
return __awaiter(this, void 0, void 0, function* () {
|
|
151
118
|
return yield this._getLinks(this.moduleName, this.entityName, transactionId, 'Invoice');
|
|
@@ -94,4 +94,22 @@ export declare class UserDb extends DbProvider {
|
|
|
94
94
|
relatedAssociationId?: string;
|
|
95
95
|
}[]): Promise<any>;
|
|
96
96
|
unlinkTeamUsers(userId: string, linkedTeamIds: string[]): Promise<any>;
|
|
97
|
+
linkWorkOrderOwners(userId: string, workOrderIds: {
|
|
98
|
+
id: string;
|
|
99
|
+
relationType?: RelationTypeEnum;
|
|
100
|
+
relatedAssociationId?: string;
|
|
101
|
+
}[]): Promise<any>;
|
|
102
|
+
unlinkWorkOrderOwners(userId: string, linkedWorkOrderIds: string[]): Promise<any>;
|
|
103
|
+
linkManagers(userId: string, serviceAppointmentConfigIds: {
|
|
104
|
+
id: string;
|
|
105
|
+
relationType?: RelationTypeEnum;
|
|
106
|
+
relatedAssociationId?: string;
|
|
107
|
+
}[]): Promise<any>;
|
|
108
|
+
unlinkManagers(userId: string, linkedServiceAppointmentConfigIds: string[]): Promise<any>;
|
|
109
|
+
linkSupervisors(userId: string, serviceAppointmentConfigIds: {
|
|
110
|
+
id: string;
|
|
111
|
+
relationType?: RelationTypeEnum;
|
|
112
|
+
relatedAssociationId?: string;
|
|
113
|
+
}[]): Promise<any>;
|
|
114
|
+
unlinkSupervisors(userId: string, linkedServiceAppointmentConfigIds: string[]): Promise<any>;
|
|
97
115
|
}
|
package/dist/db-sdk-v1/UserDb.js
CHANGED
|
@@ -442,5 +442,86 @@ class UserDb extends db_provider_1.DbProvider {
|
|
|
442
442
|
return yield this._deleteLinks(this.moduleName, this.entityName, userId, associationDtos);
|
|
443
443
|
});
|
|
444
444
|
}
|
|
445
|
+
linkWorkOrderOwners(userId, workOrderIds) {
|
|
446
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
447
|
+
const associationDtos = [];
|
|
448
|
+
for (const param of workOrderIds) {
|
|
449
|
+
associationDtos.push({
|
|
450
|
+
entity: 'FieldServiceModule:WorkOrder',
|
|
451
|
+
recordId: param.id,
|
|
452
|
+
linkType: 'WorkOrderOwner',
|
|
453
|
+
relationType: param === null || param === void 0 ? void 0 : param.relationType,
|
|
454
|
+
relatedAssociationId: param === null || param === void 0 ? void 0 : param.relatedAssociationId
|
|
455
|
+
});
|
|
456
|
+
}
|
|
457
|
+
return yield this._createLinks(this.moduleName, this.entityName, userId, associationDtos);
|
|
458
|
+
});
|
|
459
|
+
}
|
|
460
|
+
unlinkWorkOrderOwners(userId, linkedWorkOrderIds) {
|
|
461
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
462
|
+
const associationDtos = [];
|
|
463
|
+
for (const pk of linkedWorkOrderIds) {
|
|
464
|
+
associationDtos.push({
|
|
465
|
+
primaryKey: userId,
|
|
466
|
+
linkedRecordPrimaryKey: pk,
|
|
467
|
+
});
|
|
468
|
+
}
|
|
469
|
+
return yield this._deleteLinks(this.moduleName, this.entityName, userId, associationDtos);
|
|
470
|
+
});
|
|
471
|
+
}
|
|
472
|
+
linkManagers(userId, serviceAppointmentConfigIds) {
|
|
473
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
474
|
+
const associationDtos = [];
|
|
475
|
+
for (const param of serviceAppointmentConfigIds) {
|
|
476
|
+
associationDtos.push({
|
|
477
|
+
entity: 'FieldServiceModule:ServiceAppointmentConfig',
|
|
478
|
+
recordId: param.id,
|
|
479
|
+
linkType: 'Manager',
|
|
480
|
+
relationType: param === null || param === void 0 ? void 0 : param.relationType,
|
|
481
|
+
relatedAssociationId: param === null || param === void 0 ? void 0 : param.relatedAssociationId
|
|
482
|
+
});
|
|
483
|
+
}
|
|
484
|
+
return yield this._createLinks(this.moduleName, this.entityName, userId, associationDtos);
|
|
485
|
+
});
|
|
486
|
+
}
|
|
487
|
+
unlinkManagers(userId, linkedServiceAppointmentConfigIds) {
|
|
488
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
489
|
+
const associationDtos = [];
|
|
490
|
+
for (const pk of linkedServiceAppointmentConfigIds) {
|
|
491
|
+
associationDtos.push({
|
|
492
|
+
primaryKey: userId,
|
|
493
|
+
linkedRecordPrimaryKey: pk,
|
|
494
|
+
});
|
|
495
|
+
}
|
|
496
|
+
return yield this._deleteLinks(this.moduleName, this.entityName, userId, associationDtos);
|
|
497
|
+
});
|
|
498
|
+
}
|
|
499
|
+
linkSupervisors(userId, serviceAppointmentConfigIds) {
|
|
500
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
501
|
+
const associationDtos = [];
|
|
502
|
+
for (const param of serviceAppointmentConfigIds) {
|
|
503
|
+
associationDtos.push({
|
|
504
|
+
entity: 'FieldServiceModule:ServiceAppointmentConfig',
|
|
505
|
+
recordId: param.id,
|
|
506
|
+
linkType: 'Supervisor',
|
|
507
|
+
relationType: param === null || param === void 0 ? void 0 : param.relationType,
|
|
508
|
+
relatedAssociationId: param === null || param === void 0 ? void 0 : param.relatedAssociationId
|
|
509
|
+
});
|
|
510
|
+
}
|
|
511
|
+
return yield this._createLinks(this.moduleName, this.entityName, userId, associationDtos);
|
|
512
|
+
});
|
|
513
|
+
}
|
|
514
|
+
unlinkSupervisors(userId, linkedServiceAppointmentConfigIds) {
|
|
515
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
516
|
+
const associationDtos = [];
|
|
517
|
+
for (const pk of linkedServiceAppointmentConfigIds) {
|
|
518
|
+
associationDtos.push({
|
|
519
|
+
primaryKey: userId,
|
|
520
|
+
linkedRecordPrimaryKey: pk,
|
|
521
|
+
});
|
|
522
|
+
}
|
|
523
|
+
return yield this._deleteLinks(this.moduleName, this.entityName, userId, associationDtos);
|
|
524
|
+
});
|
|
525
|
+
}
|
|
445
526
|
}
|
|
446
527
|
exports.UserDb = UserDb;
|
|
@@ -59,13 +59,13 @@ export declare class WorkOrderDb extends DbProvider {
|
|
|
59
59
|
relatedAssociationId?: string;
|
|
60
60
|
}[]): Promise<any>;
|
|
61
61
|
unlinkWorkOrderOrderItems(workOrderId: string, linkedOrderItemIds: string[]): Promise<any>;
|
|
62
|
-
|
|
63
|
-
linkAccountWorkOrders(workOrderId: string,
|
|
62
|
+
getAccounts(workOrderId: string): Promise<any>;
|
|
63
|
+
linkAccountWorkOrders(workOrderId: string, accountIds: {
|
|
64
64
|
id: string;
|
|
65
65
|
relationType?: RelationTypeEnum;
|
|
66
66
|
relatedAssociationId?: string;
|
|
67
67
|
}[]): Promise<any>;
|
|
68
|
-
unlinkAccountWorkOrders(workOrderId: string,
|
|
68
|
+
unlinkAccountWorkOrders(workOrderId: string, linkedAccountIds: string[]): Promise<any>;
|
|
69
69
|
getChangeReasons(workOrderId: string): Promise<any>;
|
|
70
70
|
linkWorkOrderChangeReasons(workOrderId: string, changeReasonIds: {
|
|
71
71
|
id: string;
|
|
@@ -115,6 +115,13 @@ export declare class WorkOrderDb extends DbProvider {
|
|
|
115
115
|
relatedAssociationId?: string;
|
|
116
116
|
}[]): Promise<any>;
|
|
117
117
|
unlinkWorkOrderServiceAppointments(workOrderId: string, linkedServiceAppointmentIds: string[]): Promise<any>;
|
|
118
|
+
getPaymentMethodRefunds(workOrderId: string): Promise<any>;
|
|
119
|
+
linkPaymentMethodRefundWorkOrders(workOrderId: string, paymentMethodRefundIds: {
|
|
120
|
+
id: string;
|
|
121
|
+
relationType?: RelationTypeEnum;
|
|
122
|
+
relatedAssociationId?: string;
|
|
123
|
+
}[]): Promise<any>;
|
|
124
|
+
unlinkPaymentMethodRefundWorkOrders(workOrderId: string, linkedPaymentMethodRefundIds: string[]): Promise<any>;
|
|
118
125
|
getLeads(workOrderId: string): Promise<any>;
|
|
119
126
|
linkWorkOrderLeads(workOrderId: string, leadIds: {
|
|
120
127
|
id: string;
|
|
@@ -150,6 +157,13 @@ export declare class WorkOrderDb extends DbProvider {
|
|
|
150
157
|
relatedAssociationId?: string;
|
|
151
158
|
}[]): Promise<any>;
|
|
152
159
|
unlinkWorkOrderYfEquipmentCollections(workOrderId: string, linkedYfEquipmentCollectionIds: string[]): Promise<any>;
|
|
160
|
+
getOrders(workOrderId: string): Promise<any>;
|
|
161
|
+
linkOrderWorkOrders(workOrderId: string, orderIds: {
|
|
162
|
+
id: string;
|
|
163
|
+
relationType?: RelationTypeEnum;
|
|
164
|
+
relatedAssociationId?: string;
|
|
165
|
+
}[]): Promise<any>;
|
|
166
|
+
unlinkOrderWorkOrders(workOrderId: string, linkedOrderIds: string[]): Promise<any>;
|
|
153
167
|
getServiceAppointmentConfigs(workOrderId: string): Promise<any>;
|
|
154
168
|
linkWorkOrderServiceAppointmentConfigs(workOrderId: string, serviceAppointmentConfigIds: {
|
|
155
169
|
id: string;
|
|
@@ -171,6 +185,27 @@ export declare class WorkOrderDb extends DbProvider {
|
|
|
171
185
|
relatedAssociationId?: string;
|
|
172
186
|
}[]): Promise<any>;
|
|
173
187
|
unlinkWorkOrderRemediationRequiredReasons(workOrderId: string, linkedRemediationRequiredReasonIds: string[]): Promise<any>;
|
|
188
|
+
getOrderRemediationTasks(workOrderId: string): Promise<any>;
|
|
189
|
+
linkOrderRemediationTaskWorkOrders(workOrderId: string, orderRemediationTaskIds: {
|
|
190
|
+
id: string;
|
|
191
|
+
relationType?: RelationTypeEnum;
|
|
192
|
+
relatedAssociationId?: string;
|
|
193
|
+
}[]): Promise<any>;
|
|
194
|
+
unlinkOrderRemediationTaskWorkOrders(workOrderId: string, linkedOrderRemediationTaskIds: string[]): Promise<any>;
|
|
195
|
+
getCases(workOrderId: string): Promise<any>;
|
|
196
|
+
linkCaseWorkOrders(workOrderId: string, caseIds: {
|
|
197
|
+
id: string;
|
|
198
|
+
relationType?: RelationTypeEnum;
|
|
199
|
+
relatedAssociationId?: string;
|
|
200
|
+
}[]): Promise<any>;
|
|
201
|
+
unlinkCaseWorkOrders(workOrderId: string, linkedCaseIds: string[]): Promise<any>;
|
|
202
|
+
getCalls(workOrderId: string): Promise<any>;
|
|
203
|
+
linkCallWorkOrders(workOrderId: string, callIds: {
|
|
204
|
+
id: string;
|
|
205
|
+
relationType?: RelationTypeEnum;
|
|
206
|
+
relatedAssociationId?: string;
|
|
207
|
+
}[]): Promise<any>;
|
|
208
|
+
unlinkCallWorkOrders(workOrderId: string, linkedCallIds: string[]): Promise<any>;
|
|
174
209
|
getPermissionToFails(workOrderId: string): Promise<any>;
|
|
175
210
|
linkWorkOrderPermissionToFails(workOrderId: string, permissionToFailIds: {
|
|
176
211
|
id: string;
|
|
@@ -220,6 +255,12 @@ export declare class WorkOrderDb extends DbProvider {
|
|
|
220
255
|
relatedAssociationId?: string;
|
|
221
256
|
}[]): Promise<any>;
|
|
222
257
|
unlinkWorkOrderTeams(workOrderId: string, linkedTeamIds: string[]): Promise<any>;
|
|
258
|
+
linkWorkOrderOwners(workOrderId: string, userIds: {
|
|
259
|
+
id: string;
|
|
260
|
+
relationType?: RelationTypeEnum;
|
|
261
|
+
relatedAssociationId?: string;
|
|
262
|
+
}[]): Promise<any>;
|
|
263
|
+
unlinkWorkOrderOwners(workOrderId: string, linkedUserIds: string[]): Promise<any>;
|
|
223
264
|
getNetomniaFtthServiceVisitSheets(workOrderId: string): Promise<any>;
|
|
224
265
|
linkWorkOrderNetomniaFtthServiceVisitSheets(workOrderId: string, netomniaFtthServiceVisitSheetIds: {
|
|
225
266
|
id: string;
|