@tagsamurai/fats-api-services 1.0.3-alpha.77 → 1.0.3-alpha.78
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/api-services.es.js +6 -15
- package/api-services.system.js +6 -15
- package/package.json +1 -1
- package/src/services/samp.service.d.ts +3 -15
- package/src/types/samp.type.d.ts +1 -0
package/api-services.es.js
CHANGED
|
@@ -2938,17 +2938,11 @@ const SAMPServices = {
|
|
|
2938
2938
|
deleteSAMP: (id) => {
|
|
2939
2939
|
return API.delete(`/${id}`);
|
|
2940
2940
|
},
|
|
2941
|
-
|
|
2942
|
-
return API.post("/context
|
|
2941
|
+
postContext: (data) => {
|
|
2942
|
+
return API.post("/context", data);
|
|
2943
2943
|
},
|
|
2944
|
-
|
|
2945
|
-
return API.
|
|
2946
|
-
},
|
|
2947
|
-
editContextInternal: (id, data) => {
|
|
2948
|
-
return API.put(`/context/internal/${id}`, data);
|
|
2949
|
-
},
|
|
2950
|
-
editContextExternal: (id, data) => {
|
|
2951
|
-
return API.put(`/context/external/${id}`, data);
|
|
2944
|
+
editContext: (id, data) => {
|
|
2945
|
+
return API.put(`/context/${id}`, data);
|
|
2952
2946
|
},
|
|
2953
2947
|
postStakeholders: (data) => {
|
|
2954
2948
|
return API.post("/stakeholders", data);
|
|
@@ -2956,11 +2950,8 @@ const SAMPServices = {
|
|
|
2956
2950
|
editStakeholders: (id, data) => {
|
|
2957
2951
|
return API.put(`/stakeholders/${id}`, data);
|
|
2958
2952
|
},
|
|
2959
|
-
|
|
2960
|
-
return API.delete("/bulk/
|
|
2961
|
-
},
|
|
2962
|
-
deleteContextExternal: (id) => {
|
|
2963
|
-
return API.delete("/bulk/external-context", { data: id });
|
|
2953
|
+
deleteContext: (id) => {
|
|
2954
|
+
return API.delete("/bulk/context", { data: id });
|
|
2964
2955
|
},
|
|
2965
2956
|
deleteStakeholders: (id) => {
|
|
2966
2957
|
return API.delete("/bulk/stakeholders", { data: id });
|
package/api-services.system.js
CHANGED
|
@@ -2946,17 +2946,11 @@ System.register(["axios"], function(exports, module) {
|
|
|
2946
2946
|
deleteSAMP: (id) => {
|
|
2947
2947
|
return API.delete(`/${id}`);
|
|
2948
2948
|
},
|
|
2949
|
-
|
|
2950
|
-
return API.post("/context
|
|
2949
|
+
postContext: (data) => {
|
|
2950
|
+
return API.post("/context", data);
|
|
2951
2951
|
},
|
|
2952
|
-
|
|
2953
|
-
return API.
|
|
2954
|
-
},
|
|
2955
|
-
editContextInternal: (id, data) => {
|
|
2956
|
-
return API.put(`/context/internal/${id}`, data);
|
|
2957
|
-
},
|
|
2958
|
-
editContextExternal: (id, data) => {
|
|
2959
|
-
return API.put(`/context/external/${id}`, data);
|
|
2952
|
+
editContext: (id, data) => {
|
|
2953
|
+
return API.put(`/context/${id}`, data);
|
|
2960
2954
|
},
|
|
2961
2955
|
postStakeholders: (data) => {
|
|
2962
2956
|
return API.post("/stakeholders", data);
|
|
@@ -2964,11 +2958,8 @@ System.register(["axios"], function(exports, module) {
|
|
|
2964
2958
|
editStakeholders: (id, data) => {
|
|
2965
2959
|
return API.put(`/stakeholders/${id}`, data);
|
|
2966
2960
|
},
|
|
2967
|
-
|
|
2968
|
-
return API.delete("/bulk/
|
|
2969
|
-
},
|
|
2970
|
-
deleteContextExternal: (id) => {
|
|
2971
|
-
return API.delete("/bulk/external-context", { data: id });
|
|
2961
|
+
deleteContext: (id) => {
|
|
2962
|
+
return API.delete("/bulk/context", { data: id });
|
|
2972
2963
|
},
|
|
2973
2964
|
deleteStakeholders: (id) => {
|
|
2974
2965
|
return API.delete("/bulk/stakeholders", { data: id });
|
package/package.json
CHANGED
|
@@ -13,19 +13,11 @@ declare const SAMPServices: {
|
|
|
13
13
|
message: string;
|
|
14
14
|
status: number;
|
|
15
15
|
}>>;
|
|
16
|
-
|
|
16
|
+
postContext: (data: Omit<ContextType, "_id">) => Promise<AxiosResponse<{
|
|
17
17
|
message: string;
|
|
18
18
|
status: number;
|
|
19
19
|
}>>;
|
|
20
|
-
|
|
21
|
-
message: string;
|
|
22
|
-
status: number;
|
|
23
|
-
}>>;
|
|
24
|
-
editContextInternal: (id: string, data: Omit<ContextType, "_id">) => Promise<AxiosResponse<{
|
|
25
|
-
message: string;
|
|
26
|
-
status: number;
|
|
27
|
-
}>>;
|
|
28
|
-
editContextExternal: (id: string, data: Omit<ContextType, "_id">) => Promise<AxiosResponse<{
|
|
20
|
+
editContext: (id: string, data: Omit<ContextType, "_id">) => Promise<AxiosResponse<{
|
|
29
21
|
message: string;
|
|
30
22
|
status: number;
|
|
31
23
|
}>>;
|
|
@@ -37,11 +29,7 @@ declare const SAMPServices: {
|
|
|
37
29
|
message: string;
|
|
38
30
|
status: number;
|
|
39
31
|
}>>;
|
|
40
|
-
|
|
41
|
-
message: string;
|
|
42
|
-
status: number;
|
|
43
|
-
}>>;
|
|
44
|
-
deleteContextExternal: (id: string[]) => Promise<AxiosResponse<{
|
|
32
|
+
deleteContext: (id: string[]) => Promise<AxiosResponse<{
|
|
45
33
|
message: string;
|
|
46
34
|
status: number;
|
|
47
35
|
}>>;
|