@d19n/youfibre-odin-sdk 1.0.18 → 1.0.20
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/NoteApi.d.ts +1 -1
- package/dist/api-sdk-v1/NoteApi.js +1 -1
- package/dist/api-sdk-v1/OrderApi.d.ts +1 -1
- package/dist/api-sdk-v1/OrderApi.js +1 -1
- package/dist/db-sdk-v1/NoteDb.d.ts +1 -1
- package/dist/db-sdk-v1/NoteDb.js +1 -1
- package/dist/db-sdk-v1/OrderDb.d.ts +1 -1
- package/dist/db-sdk-v1/OrderDb.js +1 -1
- package/package.json +2 -2
- package/src/api-sdk-v1/NoteApi.ts +1 -1
- package/src/api-sdk-v1/OrderApi.ts +1 -1
- package/src/db-sdk-v1/NoteDb.ts +1 -1
- package/src/db-sdk-v1/OrderDb.ts +1 -1
- package/src/generators/runner.ts +2 -3
|
@@ -181,7 +181,7 @@ export declare class NoteApi extends ApiProvider {
|
|
|
181
181
|
relatedAssociationId?: string;
|
|
182
182
|
}[]): Promise<import("@d19n/odin-types/dist/types/odin.types").OdinAssociationMetaData[]>;
|
|
183
183
|
unLinkChurnRequestNotes(noteId: string, linkedChurnRequestId: string): Promise<import("@d19n/odin-types/dist/types/odin.types").OdinLinkDeleteResponse[]>;
|
|
184
|
-
|
|
184
|
+
getPicRequests(noteId: string): Promise<any>;
|
|
185
185
|
linkPicRequestNotes(noteId: string, picRequestIds: {
|
|
186
186
|
id: string;
|
|
187
187
|
relationType?: RelationTypeEnum;
|
|
@@ -663,7 +663,7 @@ class NoteApi extends api_provider_1.ApiProvider {
|
|
|
663
663
|
});
|
|
664
664
|
}
|
|
665
665
|
// Use this function when you want to return a single record
|
|
666
|
-
|
|
666
|
+
getPicRequests(noteId) {
|
|
667
667
|
return __awaiter(this, void 0, void 0, function* () {
|
|
668
668
|
return yield this._getLinks(this.moduleName, this.entityName, noteId, 'PICRequest');
|
|
669
669
|
});
|
|
@@ -126,7 +126,7 @@ export declare class OrderApi extends ApiProvider {
|
|
|
126
126
|
relatedAssociationId?: string;
|
|
127
127
|
}[]): Promise<import("@d19n/odin-types/dist/types/odin.types").OdinAssociationMetaData[]>;
|
|
128
128
|
unLinkOrderActivitys(orderId: string, linkedActivityId: string): Promise<import("@d19n/odin-types/dist/types/odin.types").OdinLinkDeleteResponse[]>;
|
|
129
|
-
|
|
129
|
+
getPicRequests(orderId: string): Promise<any>;
|
|
130
130
|
linkPicRequestOrders(orderId: string, picRequestIds: {
|
|
131
131
|
id: string;
|
|
132
132
|
relationType?: RelationTypeEnum;
|
|
@@ -460,7 +460,7 @@ class OrderApi extends api_provider_1.ApiProvider {
|
|
|
460
460
|
});
|
|
461
461
|
}
|
|
462
462
|
// Use this function when you want to return a single record
|
|
463
|
-
|
|
463
|
+
getPicRequests(orderId) {
|
|
464
464
|
return __awaiter(this, void 0, void 0, function* () {
|
|
465
465
|
return yield this._getLinks(this.moduleName, this.entityName, orderId, 'PICRequest');
|
|
466
466
|
});
|
|
@@ -171,7 +171,7 @@ export declare class NoteDb extends DbProvider {
|
|
|
171
171
|
relatedAssociationId?: string;
|
|
172
172
|
}[]): Promise<any>;
|
|
173
173
|
unlinkChurnRequestNotes(noteId: string, linkedChurnRequestIds: string[]): Promise<any>;
|
|
174
|
-
|
|
174
|
+
getPicRequests(noteId: string): Promise<any>;
|
|
175
175
|
linkPicRequestNotes(noteId: string, picRequestIds: {
|
|
176
176
|
id: string;
|
|
177
177
|
relationType?: RelationTypeEnum;
|
package/dist/db-sdk-v1/NoteDb.js
CHANGED
|
@@ -806,7 +806,7 @@ class NoteDb extends db_provider_1.DbProvider {
|
|
|
806
806
|
});
|
|
807
807
|
}
|
|
808
808
|
// Use this function when you want to return a single record
|
|
809
|
-
|
|
809
|
+
getPicRequests(noteId) {
|
|
810
810
|
return __awaiter(this, void 0, void 0, function* () {
|
|
811
811
|
return yield this._getLinks(this.moduleName, this.entityName, noteId, 'PICRequest');
|
|
812
812
|
});
|
|
@@ -116,7 +116,7 @@ export declare class OrderDb extends DbProvider {
|
|
|
116
116
|
relatedAssociationId?: string;
|
|
117
117
|
}[]): Promise<any>;
|
|
118
118
|
unlinkOrderActivitys(orderId: string, linkedActivityIds: string[]): Promise<any>;
|
|
119
|
-
|
|
119
|
+
getPicRequests(orderId: string): Promise<any>;
|
|
120
120
|
linkPicRequestOrders(orderId: string, picRequestIds: {
|
|
121
121
|
id: string;
|
|
122
122
|
relationType?: RelationTypeEnum;
|
|
@@ -547,7 +547,7 @@ class OrderDb extends db_provider_1.DbProvider {
|
|
|
547
547
|
});
|
|
548
548
|
}
|
|
549
549
|
// Use this function when you want to return a single record
|
|
550
|
-
|
|
550
|
+
getPicRequests(orderId) {
|
|
551
551
|
return __awaiter(this, void 0, void 0, function* () {
|
|
552
552
|
return yield this._getLinks(this.moduleName, this.entityName, orderId, 'PICRequest');
|
|
553
553
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@d19n/youfibre-odin-sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.20",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "@d19n",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"typescript": "^5.4.5"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@d19n/odin-sdk-generator": "^1.0.
|
|
14
|
+
"@d19n/odin-sdk-generator": "^1.0.56",
|
|
15
15
|
"@d19n/odin-types": "^1.0.10"
|
|
16
16
|
},
|
|
17
17
|
"scripts": {
|
|
@@ -669,7 +669,7 @@
|
|
|
669
669
|
|
|
670
670
|
|
|
671
671
|
// Use this function when you want to return a single record
|
|
672
|
-
public async
|
|
672
|
+
public async getPicRequests(noteId: string) {
|
|
673
673
|
return await this._getLinks(this.moduleName, this.entityName, noteId, 'PICRequest');
|
|
674
674
|
}
|
|
675
675
|
|
|
@@ -457,7 +457,7 @@
|
|
|
457
457
|
|
|
458
458
|
|
|
459
459
|
// Use this function when you want to return a single record
|
|
460
|
-
public async
|
|
460
|
+
public async getPicRequests(orderId: string) {
|
|
461
461
|
return await this._getLinks(this.moduleName, this.entityName, orderId, 'PICRequest');
|
|
462
462
|
}
|
|
463
463
|
|
package/src/db-sdk-v1/NoteDb.ts
CHANGED
|
@@ -835,7 +835,7 @@
|
|
|
835
835
|
|
|
836
836
|
|
|
837
837
|
// Use this function when you want to return a single record
|
|
838
|
-
public async
|
|
838
|
+
public async getPicRequests(noteId: string) {
|
|
839
839
|
return await this._getLinks(this.moduleName, this.entityName, noteId, 'PICRequest');
|
|
840
840
|
}
|
|
841
841
|
|
package/src/db-sdk-v1/OrderDb.ts
CHANGED
|
@@ -559,7 +559,7 @@
|
|
|
559
559
|
|
|
560
560
|
|
|
561
561
|
// Use this function when you want to return a single record
|
|
562
|
-
public async
|
|
562
|
+
public async getPicRequests(orderId: string) {
|
|
563
563
|
return await this._getLinks(this.moduleName, this.entityName, orderId, 'PICRequest');
|
|
564
564
|
}
|
|
565
565
|
|
package/src/generators/runner.ts
CHANGED
|
@@ -12,7 +12,6 @@ const entitiesToExclude = [
|
|
|
12
12
|
'EsTest',
|
|
13
13
|
'KnowledgeArticle',
|
|
14
14
|
'OhRetroAudit',
|
|
15
|
-
'OrderTest1',
|
|
16
15
|
'OutcomeFormOhRetroAudit',
|
|
17
16
|
'OutcomeFormOverlayA55',
|
|
18
17
|
'OutcomeFormUgRetroAudit',
|
|
@@ -26,8 +25,8 @@ const entitiesToExclude = [
|
|
|
26
25
|
|
|
27
26
|
(async function exec(){
|
|
28
27
|
|
|
29
|
-
generateEntities({ entitiesToExclude });
|
|
30
|
-
generateTypes({ entitiesToExclude });
|
|
28
|
+
// generateEntities({ entitiesToExclude });
|
|
29
|
+
// generateTypes({ entitiesToExclude });
|
|
31
30
|
generateApiSdk({ entitiesToExclude });
|
|
32
31
|
generateDbSdk({ entitiesToExclude });
|
|
33
32
|
|