@nomalism-com/api 0.35.12 → 0.36.2

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/index.js CHANGED
@@ -96,7 +96,6 @@ __export(main_exports, {
96
96
  StockMovement: () => stockMovement_exports,
97
97
  StoreOperator: () => storeOperator_exports,
98
98
  Swift: () => swift_exports,
99
- TagClass: () => tag_exports,
100
99
  Task: () => task_exports,
101
100
  TaskMessage: () => taskMessage_exports,
102
101
  TaskReadClass: () => taskRead_exports,
@@ -4105,33 +4104,6 @@ var Repository114 = class {
4105
4104
  }
4106
4105
  };
4107
4106
 
4108
- // src/modules/stock/tag.ts
4109
- var tag_exports = {};
4110
- __export(tag_exports, {
4111
- default: () => Repository115
4112
- });
4113
- var Repository115 = class {
4114
- constructor({ api, route, publicRoute }) {
4115
- this.api = api;
4116
- this.route = route;
4117
- this.publicRoute = publicRoute;
4118
- }
4119
- async create(body) {
4120
- const response = await this.api.post(`${this.route}`, body);
4121
- return response.data;
4122
- }
4123
- async findByDocumentHeaderId(selector) {
4124
- const response = await this.api.get(`${this.route}document_header_id/${selector.id}`);
4125
- return response.data;
4126
- }
4127
- async updateMany(body) {
4128
- await this.api.put(`${this.route}update_many`, body);
4129
- }
4130
- async delete(selector) {
4131
- await this.api.delete(`${this.route}${selector.id}`);
4132
- }
4133
- };
4134
-
4135
4107
  // src/main.ts
4136
4108
  var API = class {
4137
4109
  constructor({ processEnvironment, services, gatewayUrl, apikey, tokenBearer }) {
@@ -4326,7 +4298,6 @@ var API = class {
4326
4298
  this.DocumentLineRm = new Repository112(getModuleParams("stock", "document_line_rm"));
4327
4299
  this.DocumentLineMt = new Repository113(getModuleParams("stock", "document_line_mt"));
4328
4300
  this.ChatSubscriber = new Repository114(getModuleParams("users", "chat_subscriber"));
4329
- this.Tag = new Repository115(getModuleParams("stock", "tag"));
4330
4301
  }
4331
4302
  };
4332
4303