@drxsuperapp/sdk 1.1.413 → 1.1.415

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.
@@ -222,4 +222,44 @@ export class CategoryManagementApi extends runtime.BaseAPI {
222
222
  return await response.value();
223
223
  }
224
224
 
225
+ /**
226
+ * Get All Categories (Public)
227
+ * Get All Categories (Public)
228
+ */
229
+ async apiPublicCategoryGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiCategoryGet200Response>> {
230
+ const queryParameters: any = {};
231
+
232
+ const headerParameters: runtime.HTTPHeaders = {};
233
+
234
+ if (this.configuration && this.configuration.apiKey) {
235
+ headerParameters["x-api-key"] = await this.configuration.apiKey("x-api-key"); // ApiKeyAuth authentication
236
+ }
237
+
238
+ if (this.configuration && this.configuration.accessToken) {
239
+ const token = this.configuration.accessToken;
240
+ const tokenString = await token("BearerAuth", []);
241
+
242
+ if (tokenString) {
243
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
244
+ }
245
+ }
246
+ const response = await this.request({
247
+ path: `/api/public/category`,
248
+ method: 'GET',
249
+ headers: headerParameters,
250
+ query: queryParameters,
251
+ }, initOverrides);
252
+
253
+ return new runtime.JSONApiResponse(response, (jsonValue) => ApiCategoryGet200ResponseFromJSON(jsonValue));
254
+ }
255
+
256
+ /**
257
+ * Get All Categories (Public)
258
+ * Get All Categories (Public)
259
+ */
260
+ async apiPublicCategoryGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiCategoryGet200Response> {
261
+ const response = await this.apiPublicCategoryGetRaw(initOverrides);
262
+ return await response.value();
263
+ }
264
+
225
265
  }
package/deploy.log CHANGED
@@ -757,6 +757,7 @@
757
757
  [main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: delete /api/feature/{id}. Renamed to auto-generated operationId: apiFeatureIdDelete
758
758
  [main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/category. Renamed to auto-generated operationId: apiCategoryGet
759
759
  [main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: put /api/category. Renamed to auto-generated operationId: apiCategoryPut
760
+ [main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/public/category. Renamed to auto-generated operationId: apiPublicCategoryGet
760
761
  [main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/category/{id}. Renamed to auto-generated operationId: apiCategoryIdGet
761
762
  [main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: delete /api/category/{id}. Renamed to auto-generated operationId: apiCategoryIdDelete
762
763
  [main] INFO o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
@@ -829,15 +830,15 @@ Your branch is up to date with 'origin/master'.
829
830
  nothing to commit, working tree clean
830
831
  Everything up-to-date
831
832
  ✅ Changes committed and pushed
832
- v1.1.413
833
+ v1.1.415
833
834
  To https://gitlab.com/drx-super/drx-sdk.git
834
- 4b5108d..7bc20e6 master -> master
835
+ 41bfc22..aaacc50 master -> master
835
836
  ✅ Version bumped
836
837
 
837
- > @drxsuperapp/sdk@1.1.413 prepublishOnly
838
+ > @drxsuperapp/sdk@1.1.415 prepublishOnly
838
839
  > npm run build
839
840
 
840
841
 
841
- > @drxsuperapp/sdk@1.1.413 build
842
+ > @drxsuperapp/sdk@1.1.415 build
842
843
  > tsc
843
844
 
@@ -64,4 +64,14 @@ export declare class CategoryManagementApi extends runtime.BaseAPI {
64
64
  * Create or Update Category
65
65
  */
66
66
  apiCategoryPut(requestParameters?: ApiCategoryPutOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiCategoryPut200Response>;
67
+ /**
68
+ * Get All Categories (Public)
69
+ * Get All Categories (Public)
70
+ */
71
+ apiPublicCategoryGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiCategoryGet200Response>>;
72
+ /**
73
+ * Get All Categories (Public)
74
+ * Get All Categories (Public)
75
+ */
76
+ apiPublicCategoryGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiCategoryGet200Response>;
67
77
  }
@@ -157,4 +157,37 @@ export class CategoryManagementApi extends runtime.BaseAPI {
157
157
  const response = await this.apiCategoryPutRaw(requestParameters, initOverrides);
158
158
  return await response.value();
159
159
  }
160
+ /**
161
+ * Get All Categories (Public)
162
+ * Get All Categories (Public)
163
+ */
164
+ async apiPublicCategoryGetRaw(initOverrides) {
165
+ const queryParameters = {};
166
+ const headerParameters = {};
167
+ if (this.configuration && this.configuration.apiKey) {
168
+ headerParameters["x-api-key"] = await this.configuration.apiKey("x-api-key"); // ApiKeyAuth authentication
169
+ }
170
+ if (this.configuration && this.configuration.accessToken) {
171
+ const token = this.configuration.accessToken;
172
+ const tokenString = await token("BearerAuth", []);
173
+ if (tokenString) {
174
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
175
+ }
176
+ }
177
+ const response = await this.request({
178
+ path: `/api/public/category`,
179
+ method: 'GET',
180
+ headers: headerParameters,
181
+ query: queryParameters,
182
+ }, initOverrides);
183
+ return new runtime.JSONApiResponse(response, (jsonValue) => ApiCategoryGet200ResponseFromJSON(jsonValue));
184
+ }
185
+ /**
186
+ * Get All Categories (Public)
187
+ * Get All Categories (Public)
188
+ */
189
+ async apiPublicCategoryGet(initOverrides) {
190
+ const response = await this.apiPublicCategoryGetRaw(initOverrides);
191
+ return await response.value();
192
+ }
160
193
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drxsuperapp/sdk",
3
- "version": "1.1.413",
3
+ "version": "1.1.415",
4
4
  "main": "index.ts",
5
5
  "types": "index.ts",
6
6
  "scripts": {