@digital8/lighting-illusions-ts-sdk 0.0.520 → 0.0.521
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/.openapi-generator/FILES +10 -0
- package/README.md +7 -2
- package/dist/apis/GoogleCategoryApi.d.ts +29 -0
- package/dist/apis/GoogleCategoryApi.js +125 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/GetAllGoogleCategoryRequest.d.ts +92 -0
- package/dist/models/GetAllGoogleCategoryRequest.js +80 -0
- package/dist/models/GoogleCategoryResource.d.ts +38 -0
- package/dist/models/GoogleCategoryResource.js +55 -0
- package/dist/models/GoogleCategoryResourceArrayResponse.d.ts +33 -0
- package/dist/models/GoogleCategoryResourceArrayResponse.js +50 -0
- package/dist/models/PaginatedGoogleCategoryResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedGoogleCategoryResourceResponse.js +57 -0
- package/dist/models/ProductResource.d.ts +7 -0
- package/dist/models/ProductResource.js +5 -0
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.js +4 -0
- package/docs/GetAllGoogleCategoryRequest.md +48 -0
- package/docs/GoogleCategoryApi.md +74 -0
- package/docs/GoogleCategoryResource.md +36 -0
- package/docs/GoogleCategoryResourceArrayResponse.md +34 -0
- package/docs/PaginatedGoogleCategoryResourceResponse.md +36 -0
- package/docs/ProductResource.md +2 -0
- package/package.json +1 -1
- package/src/apis/GoogleCategoryApi.ts +69 -0
- package/src/apis/index.ts +1 -0
- package/src/models/GetAllGoogleCategoryRequest.ts +143 -0
- package/src/models/GoogleCategoryResource.ts +75 -0
- package/src/models/GoogleCategoryResourceArrayResponse.ts +73 -0
- package/src/models/PaginatedGoogleCategoryResourceResponse.ts +90 -0
- package/src/models/ProductResource.ts +16 -0
- package/src/models/index.ts +4 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -55,11 +55,15 @@ docs/ExternalApiSyncStatus.md
|
|
|
55
55
|
docs/GenericResponse.md
|
|
56
56
|
docs/GetAllAttributeRequest.md
|
|
57
57
|
docs/GetAllDocumentRequest.md
|
|
58
|
+
docs/GetAllGoogleCategoryRequest.md
|
|
58
59
|
docs/GetAllOverlayTemplateRequest.md
|
|
59
60
|
docs/GetAllProductChildRequest.md
|
|
60
61
|
docs/GetAllProductRequest.md
|
|
61
62
|
docs/GetAllProductTypeRequest.md
|
|
62
63
|
docs/GetAllSupplierRequest.md
|
|
64
|
+
docs/GoogleCategoryApi.md
|
|
65
|
+
docs/GoogleCategoryResource.md
|
|
66
|
+
docs/GoogleCategoryResourceArrayResponse.md
|
|
63
67
|
docs/IndexAttributeRequest.md
|
|
64
68
|
docs/IndexDocumentRequest.md
|
|
65
69
|
docs/IndexExternalApiLogRequest.md
|
|
@@ -90,6 +94,7 @@ docs/PaginatedAttributeResourceResponse.md
|
|
|
90
94
|
docs/PaginatedDocumentResourceResponse.md
|
|
91
95
|
docs/PaginatedExternalApiLogListResourceResponse.md
|
|
92
96
|
docs/PaginatedExternalApiLogResourceResponse.md
|
|
97
|
+
docs/PaginatedGoogleCategoryResourceResponse.md
|
|
93
98
|
docs/PaginatedOverlayTemplateListResourceResponse.md
|
|
94
99
|
docs/PaginatedOverlayTemplateLiteResourceResponse.md
|
|
95
100
|
docs/PaginatedOverlayTemplateResourceResponse.md
|
|
@@ -221,6 +226,7 @@ src/apis/AssetApi.ts
|
|
|
221
226
|
src/apis/AttributeApi.ts
|
|
222
227
|
src/apis/DocumentApi.ts
|
|
223
228
|
src/apis/ExternalApiLogApi.ts
|
|
229
|
+
src/apis/GoogleCategoryApi.ts
|
|
224
230
|
src/apis/OverlayTemplateApi.ts
|
|
225
231
|
src/apis/ProductApi.ts
|
|
226
232
|
src/apis/ProductChildSiteDetailApi.ts
|
|
@@ -279,11 +285,14 @@ src/models/ExternalApiSyncStatus.ts
|
|
|
279
285
|
src/models/GenericResponse.ts
|
|
280
286
|
src/models/GetAllAttributeRequest.ts
|
|
281
287
|
src/models/GetAllDocumentRequest.ts
|
|
288
|
+
src/models/GetAllGoogleCategoryRequest.ts
|
|
282
289
|
src/models/GetAllOverlayTemplateRequest.ts
|
|
283
290
|
src/models/GetAllProductChildRequest.ts
|
|
284
291
|
src/models/GetAllProductRequest.ts
|
|
285
292
|
src/models/GetAllProductTypeRequest.ts
|
|
286
293
|
src/models/GetAllSupplierRequest.ts
|
|
294
|
+
src/models/GoogleCategoryResource.ts
|
|
295
|
+
src/models/GoogleCategoryResourceArrayResponse.ts
|
|
287
296
|
src/models/IndexAttributeRequest.ts
|
|
288
297
|
src/models/IndexDocumentRequest.ts
|
|
289
298
|
src/models/IndexExternalApiLogRequest.ts
|
|
@@ -313,6 +322,7 @@ src/models/PaginatedAttributeResourceResponse.ts
|
|
|
313
322
|
src/models/PaginatedDocumentResourceResponse.ts
|
|
314
323
|
src/models/PaginatedExternalApiLogListResourceResponse.ts
|
|
315
324
|
src/models/PaginatedExternalApiLogResourceResponse.ts
|
|
325
|
+
src/models/PaginatedGoogleCategoryResourceResponse.ts
|
|
316
326
|
src/models/PaginatedOverlayTemplateListResourceResponse.ts
|
|
317
327
|
src/models/PaginatedOverlayTemplateLiteResourceResponse.ts
|
|
318
328
|
src/models/PaginatedOverlayTemplateResourceResponse.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @digital8/lighting-illusions-ts-sdk@0.0.
|
|
1
|
+
# @digital8/lighting-illusions-ts-sdk@0.0.521
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -75,6 +75,7 @@ All URIs are relative to *http://localhost/api*
|
|
|
75
75
|
*DocumentApi* | [**storeDocumentFile**](docs/DocumentApi.md#storedocumentfileoperation) | **POST** /admin-api/document/files | Auto-generated: storeDocumentFile
|
|
76
76
|
*DocumentApi* | [**updateDocument**](docs/DocumentApi.md#updatedocumentoperation) | **PUT** /admin-api/document/{document}/update | Auto-generated: updateDocument
|
|
77
77
|
*ExternalApiLogApi* | [**indexExternalApiLog**](docs/ExternalApiLogApi.md#indexexternalapilogoperation) | **POST** /admin-api/external-api-log/list | Auto-generated: indexExternalApiLog
|
|
78
|
+
*GoogleCategoryApi* | [**getAllGoogleCategory**](docs/GoogleCategoryApi.md#getallgooglecategoryoperation) | **POST** /admin-api/google-category/all | Auto-generated: getAllGoogleCategory
|
|
78
79
|
*OverlayTemplateApi* | [**attachAssetsOverlayTemplate**](docs/OverlayTemplateApi.md#attachassetsoverlaytemplateoperation) | **POST** /admin-api/overlay-template/{overlayTemplate}/attach-assets | Auto-generated: attachAssetsOverlayTemplate
|
|
79
80
|
*OverlayTemplateApi* | [**destroyOverlayTemplate**](docs/OverlayTemplateApi.md#destroyoverlaytemplate) | **DELETE** /admin-api/overlay-template/{overlayTemplate}/delete | Auto-generated: destroyOverlayTemplate
|
|
80
81
|
*OverlayTemplateApi* | [**destroyOverlayTemplateAsset**](docs/OverlayTemplateApi.md#destroyoverlaytemplateasset) | **DELETE** /admin-api/overlay-template/asset/{overlayTemplateAsset}/delete | Auto-generated: destroyOverlayTemplateAsset
|
|
@@ -194,11 +195,14 @@ All URIs are relative to *http://localhost/api*
|
|
|
194
195
|
- [GenericResponse](docs/GenericResponse.md)
|
|
195
196
|
- [GetAllAttributeRequest](docs/GetAllAttributeRequest.md)
|
|
196
197
|
- [GetAllDocumentRequest](docs/GetAllDocumentRequest.md)
|
|
198
|
+
- [GetAllGoogleCategoryRequest](docs/GetAllGoogleCategoryRequest.md)
|
|
197
199
|
- [GetAllOverlayTemplateRequest](docs/GetAllOverlayTemplateRequest.md)
|
|
198
200
|
- [GetAllProductChildRequest](docs/GetAllProductChildRequest.md)
|
|
199
201
|
- [GetAllProductRequest](docs/GetAllProductRequest.md)
|
|
200
202
|
- [GetAllProductTypeRequest](docs/GetAllProductTypeRequest.md)
|
|
201
203
|
- [GetAllSupplierRequest](docs/GetAllSupplierRequest.md)
|
|
204
|
+
- [GoogleCategoryResource](docs/GoogleCategoryResource.md)
|
|
205
|
+
- [GoogleCategoryResourceArrayResponse](docs/GoogleCategoryResourceArrayResponse.md)
|
|
202
206
|
- [IndexAttributeRequest](docs/IndexAttributeRequest.md)
|
|
203
207
|
- [IndexDocumentRequest](docs/IndexDocumentRequest.md)
|
|
204
208
|
- [IndexExternalApiLogRequest](docs/IndexExternalApiLogRequest.md)
|
|
@@ -228,6 +232,7 @@ All URIs are relative to *http://localhost/api*
|
|
|
228
232
|
- [PaginatedDocumentResourceResponse](docs/PaginatedDocumentResourceResponse.md)
|
|
229
233
|
- [PaginatedExternalApiLogListResourceResponse](docs/PaginatedExternalApiLogListResourceResponse.md)
|
|
230
234
|
- [PaginatedExternalApiLogResourceResponse](docs/PaginatedExternalApiLogResourceResponse.md)
|
|
235
|
+
- [PaginatedGoogleCategoryResourceResponse](docs/PaginatedGoogleCategoryResourceResponse.md)
|
|
231
236
|
- [PaginatedOverlayTemplateListResourceResponse](docs/PaginatedOverlayTemplateListResourceResponse.md)
|
|
232
237
|
- [PaginatedOverlayTemplateLiteResourceResponse](docs/PaginatedOverlayTemplateLiteResourceResponse.md)
|
|
233
238
|
- [PaginatedOverlayTemplateResourceResponse](docs/PaginatedOverlayTemplateResourceResponse.md)
|
|
@@ -361,7 +366,7 @@ and is automatically generated by the
|
|
|
361
366
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
362
367
|
|
|
363
368
|
- API version: `1.0.0`
|
|
364
|
-
- Package version: `0.0.
|
|
369
|
+
- Package version: `0.0.521`
|
|
365
370
|
- Generator version: `7.17.0`
|
|
366
371
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
367
372
|
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* My API
|
|
3
|
+
* API documentation for my Laravel app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import * as runtime from '../runtime';
|
|
13
|
+
import type { GetAllGoogleCategoryRequest, GoogleCategoryResourceArrayResponse } from '../models/index';
|
|
14
|
+
export interface GetAllGoogleCategoryOperationRequest {
|
|
15
|
+
getAllGoogleCategoryRequest?: GetAllGoogleCategoryRequest;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
export declare class GoogleCategoryApi extends runtime.BaseAPI {
|
|
21
|
+
/**
|
|
22
|
+
* Auto-generated: getAllGoogleCategory
|
|
23
|
+
*/
|
|
24
|
+
getAllGoogleCategoryRaw(requestParameters: GetAllGoogleCategoryOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GoogleCategoryResourceArrayResponse>>;
|
|
25
|
+
/**
|
|
26
|
+
* Auto-generated: getAllGoogleCategory
|
|
27
|
+
*/
|
|
28
|
+
getAllGoogleCategory(requestParameters?: GetAllGoogleCategoryOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GoogleCategoryResourceArrayResponse>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* My API
|
|
6
|
+
* API documentation for my Laravel app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __extends = (this && this.__extends) || (function () {
|
|
16
|
+
var extendStatics = function (d, b) {
|
|
17
|
+
extendStatics = Object.setPrototypeOf ||
|
|
18
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
19
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
20
|
+
return extendStatics(d, b);
|
|
21
|
+
};
|
|
22
|
+
return function (d, b) {
|
|
23
|
+
if (typeof b !== "function" && b !== null)
|
|
24
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
25
|
+
extendStatics(d, b);
|
|
26
|
+
function __() { this.constructor = d; }
|
|
27
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
28
|
+
};
|
|
29
|
+
})();
|
|
30
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
31
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
32
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
33
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
34
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
35
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
36
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
37
|
+
});
|
|
38
|
+
};
|
|
39
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
40
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
41
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
42
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
43
|
+
function step(op) {
|
|
44
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
45
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
46
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
47
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
48
|
+
switch (op[0]) {
|
|
49
|
+
case 0: case 1: t = op; break;
|
|
50
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
51
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
52
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
53
|
+
default:
|
|
54
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
55
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
56
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
57
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
58
|
+
if (t[2]) _.ops.pop();
|
|
59
|
+
_.trys.pop(); continue;
|
|
60
|
+
}
|
|
61
|
+
op = body.call(thisArg, _);
|
|
62
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
63
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
67
|
+
exports.GoogleCategoryApi = void 0;
|
|
68
|
+
var runtime = require("../runtime");
|
|
69
|
+
var index_1 = require("../models/index");
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
*/
|
|
73
|
+
var GoogleCategoryApi = /** @class */ (function (_super) {
|
|
74
|
+
__extends(GoogleCategoryApi, _super);
|
|
75
|
+
function GoogleCategoryApi() {
|
|
76
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Auto-generated: getAllGoogleCategory
|
|
80
|
+
*/
|
|
81
|
+
GoogleCategoryApi.prototype.getAllGoogleCategoryRaw = function (requestParameters, initOverrides) {
|
|
82
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
83
|
+
var queryParameters, headerParameters, urlPath, response;
|
|
84
|
+
return __generator(this, function (_a) {
|
|
85
|
+
switch (_a.label) {
|
|
86
|
+
case 0:
|
|
87
|
+
queryParameters = {};
|
|
88
|
+
headerParameters = {};
|
|
89
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
90
|
+
urlPath = "/admin-api/google-category/all";
|
|
91
|
+
return [4 /*yield*/, this.request({
|
|
92
|
+
path: urlPath,
|
|
93
|
+
method: 'POST',
|
|
94
|
+
headers: headerParameters,
|
|
95
|
+
query: queryParameters,
|
|
96
|
+
body: (0, index_1.GetAllGoogleCategoryRequestToJSON)(requestParameters['getAllGoogleCategoryRequest']),
|
|
97
|
+
}, initOverrides)];
|
|
98
|
+
case 1:
|
|
99
|
+
response = _a.sent();
|
|
100
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.GoogleCategoryResourceArrayResponseFromJSON)(jsonValue); })];
|
|
101
|
+
}
|
|
102
|
+
});
|
|
103
|
+
});
|
|
104
|
+
};
|
|
105
|
+
/**
|
|
106
|
+
* Auto-generated: getAllGoogleCategory
|
|
107
|
+
*/
|
|
108
|
+
GoogleCategoryApi.prototype.getAllGoogleCategory = function () {
|
|
109
|
+
return __awaiter(this, arguments, void 0, function (requestParameters, initOverrides) {
|
|
110
|
+
var response;
|
|
111
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
112
|
+
return __generator(this, function (_a) {
|
|
113
|
+
switch (_a.label) {
|
|
114
|
+
case 0: return [4 /*yield*/, this.getAllGoogleCategoryRaw(requestParameters, initOverrides)];
|
|
115
|
+
case 1:
|
|
116
|
+
response = _a.sent();
|
|
117
|
+
return [4 /*yield*/, response.value()];
|
|
118
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
119
|
+
}
|
|
120
|
+
});
|
|
121
|
+
});
|
|
122
|
+
};
|
|
123
|
+
return GoogleCategoryApi;
|
|
124
|
+
}(runtime.BaseAPI));
|
|
125
|
+
exports.GoogleCategoryApi = GoogleCategoryApi;
|
package/dist/apis/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ export * from './AssetApi';
|
|
|
2
2
|
export * from './AttributeApi';
|
|
3
3
|
export * from './DocumentApi';
|
|
4
4
|
export * from './ExternalApiLogApi';
|
|
5
|
+
export * from './GoogleCategoryApi';
|
|
5
6
|
export * from './OverlayTemplateApi';
|
|
6
7
|
export * from './ProductApi';
|
|
7
8
|
export * from './ProductChildSiteDetailApi';
|
package/dist/apis/index.js
CHANGED
|
@@ -20,6 +20,7 @@ __exportStar(require("./AssetApi"), exports);
|
|
|
20
20
|
__exportStar(require("./AttributeApi"), exports);
|
|
21
21
|
__exportStar(require("./DocumentApi"), exports);
|
|
22
22
|
__exportStar(require("./ExternalApiLogApi"), exports);
|
|
23
|
+
__exportStar(require("./GoogleCategoryApi"), exports);
|
|
23
24
|
__exportStar(require("./OverlayTemplateApi"), exports);
|
|
24
25
|
__exportStar(require("./ProductApi"), exports);
|
|
25
26
|
__exportStar(require("./ProductChildSiteDetailApi"), exports);
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* My API
|
|
3
|
+
* API documentation for my Laravel app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface GetAllGoogleCategoryRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface GetAllGoogleCategoryRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GetAllGoogleCategoryRequest
|
|
22
|
+
*/
|
|
23
|
+
search?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GetAllGoogleCategoryRequest
|
|
28
|
+
*/
|
|
29
|
+
sortBy?: GetAllGoogleCategoryRequestSortByEnum;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof GetAllGoogleCategoryRequest
|
|
34
|
+
*/
|
|
35
|
+
sortDirection?: GetAllGoogleCategoryRequestSortDirectionEnum;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof GetAllGoogleCategoryRequest
|
|
40
|
+
*/
|
|
41
|
+
perPage?: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof GetAllGoogleCategoryRequest
|
|
46
|
+
*/
|
|
47
|
+
page?: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof GetAllGoogleCategoryRequest
|
|
52
|
+
*/
|
|
53
|
+
relatedId?: number;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof GetAllGoogleCategoryRequest
|
|
58
|
+
*/
|
|
59
|
+
relatedType?: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {boolean}
|
|
63
|
+
* @memberof GetAllGoogleCategoryRequest
|
|
64
|
+
*/
|
|
65
|
+
includesRelations?: boolean;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* @export
|
|
69
|
+
*/
|
|
70
|
+
export declare const GetAllGoogleCategoryRequestSortByEnum: {
|
|
71
|
+
readonly Id: "id";
|
|
72
|
+
readonly Name: "name";
|
|
73
|
+
readonly CreatedAt: "created_at";
|
|
74
|
+
readonly UpdatedAt: "updated_at";
|
|
75
|
+
};
|
|
76
|
+
export type GetAllGoogleCategoryRequestSortByEnum = typeof GetAllGoogleCategoryRequestSortByEnum[keyof typeof GetAllGoogleCategoryRequestSortByEnum];
|
|
77
|
+
/**
|
|
78
|
+
* @export
|
|
79
|
+
*/
|
|
80
|
+
export declare const GetAllGoogleCategoryRequestSortDirectionEnum: {
|
|
81
|
+
readonly Asc: "asc";
|
|
82
|
+
readonly Desc: "desc";
|
|
83
|
+
};
|
|
84
|
+
export type GetAllGoogleCategoryRequestSortDirectionEnum = typeof GetAllGoogleCategoryRequestSortDirectionEnum[keyof typeof GetAllGoogleCategoryRequestSortDirectionEnum];
|
|
85
|
+
/**
|
|
86
|
+
* Check if a given object implements the GetAllGoogleCategoryRequest interface.
|
|
87
|
+
*/
|
|
88
|
+
export declare function instanceOfGetAllGoogleCategoryRequest(value: object): value is GetAllGoogleCategoryRequest;
|
|
89
|
+
export declare function GetAllGoogleCategoryRequestFromJSON(json: any): GetAllGoogleCategoryRequest;
|
|
90
|
+
export declare function GetAllGoogleCategoryRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetAllGoogleCategoryRequest;
|
|
91
|
+
export declare function GetAllGoogleCategoryRequestToJSON(json: any): GetAllGoogleCategoryRequest;
|
|
92
|
+
export declare function GetAllGoogleCategoryRequestToJSONTyped(value?: GetAllGoogleCategoryRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* My API
|
|
6
|
+
* API documentation for my Laravel app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.GetAllGoogleCategoryRequestSortDirectionEnum = exports.GetAllGoogleCategoryRequestSortByEnum = void 0;
|
|
17
|
+
exports.instanceOfGetAllGoogleCategoryRequest = instanceOfGetAllGoogleCategoryRequest;
|
|
18
|
+
exports.GetAllGoogleCategoryRequestFromJSON = GetAllGoogleCategoryRequestFromJSON;
|
|
19
|
+
exports.GetAllGoogleCategoryRequestFromJSONTyped = GetAllGoogleCategoryRequestFromJSONTyped;
|
|
20
|
+
exports.GetAllGoogleCategoryRequestToJSON = GetAllGoogleCategoryRequestToJSON;
|
|
21
|
+
exports.GetAllGoogleCategoryRequestToJSONTyped = GetAllGoogleCategoryRequestToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.GetAllGoogleCategoryRequestSortByEnum = {
|
|
26
|
+
Id: 'id',
|
|
27
|
+
Name: 'name',
|
|
28
|
+
CreatedAt: 'created_at',
|
|
29
|
+
UpdatedAt: 'updated_at'
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
exports.GetAllGoogleCategoryRequestSortDirectionEnum = {
|
|
35
|
+
Asc: 'asc',
|
|
36
|
+
Desc: 'desc'
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the GetAllGoogleCategoryRequest interface.
|
|
40
|
+
*/
|
|
41
|
+
function instanceOfGetAllGoogleCategoryRequest(value) {
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
function GetAllGoogleCategoryRequestFromJSON(json) {
|
|
45
|
+
return GetAllGoogleCategoryRequestFromJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function GetAllGoogleCategoryRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
48
|
+
if (json == null) {
|
|
49
|
+
return json;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'search': json['search'] == null ? undefined : json['search'],
|
|
53
|
+
'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
|
|
54
|
+
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
55
|
+
'perPage': json['per_page'] == null ? undefined : json['per_page'],
|
|
56
|
+
'page': json['page'] == null ? undefined : json['page'],
|
|
57
|
+
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
58
|
+
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
59
|
+
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
function GetAllGoogleCategoryRequestToJSON(json) {
|
|
63
|
+
return GetAllGoogleCategoryRequestToJSONTyped(json, false);
|
|
64
|
+
}
|
|
65
|
+
function GetAllGoogleCategoryRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
66
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
67
|
+
if (value == null) {
|
|
68
|
+
return value;
|
|
69
|
+
}
|
|
70
|
+
return {
|
|
71
|
+
'search': value['search'],
|
|
72
|
+
'sortBy': value['sortBy'],
|
|
73
|
+
'sortDirection': value['sortDirection'],
|
|
74
|
+
'per_page': value['perPage'],
|
|
75
|
+
'page': value['page'],
|
|
76
|
+
'related_id': value['relatedId'],
|
|
77
|
+
'related_type': value['relatedType'],
|
|
78
|
+
'includes_relations': value['includesRelations'],
|
|
79
|
+
};
|
|
80
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* My API
|
|
3
|
+
* API documentation for my Laravel app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface GoogleCategoryResource
|
|
16
|
+
*/
|
|
17
|
+
export interface GoogleCategoryResource {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof GoogleCategoryResource
|
|
22
|
+
*/
|
|
23
|
+
id: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GoogleCategoryResource
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the GoogleCategoryResource interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfGoogleCategoryResource(value: object): value is GoogleCategoryResource;
|
|
35
|
+
export declare function GoogleCategoryResourceFromJSON(json: any): GoogleCategoryResource;
|
|
36
|
+
export declare function GoogleCategoryResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): GoogleCategoryResource;
|
|
37
|
+
export declare function GoogleCategoryResourceToJSON(json: any): GoogleCategoryResource;
|
|
38
|
+
export declare function GoogleCategoryResourceToJSONTyped(value?: GoogleCategoryResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* My API
|
|
6
|
+
* API documentation for my Laravel app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfGoogleCategoryResource = instanceOfGoogleCategoryResource;
|
|
17
|
+
exports.GoogleCategoryResourceFromJSON = GoogleCategoryResourceFromJSON;
|
|
18
|
+
exports.GoogleCategoryResourceFromJSONTyped = GoogleCategoryResourceFromJSONTyped;
|
|
19
|
+
exports.GoogleCategoryResourceToJSON = GoogleCategoryResourceToJSON;
|
|
20
|
+
exports.GoogleCategoryResourceToJSONTyped = GoogleCategoryResourceToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the GoogleCategoryResource interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfGoogleCategoryResource(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function GoogleCategoryResourceFromJSON(json) {
|
|
32
|
+
return GoogleCategoryResourceFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function GoogleCategoryResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'id': json['id'],
|
|
40
|
+
'name': json['name'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function GoogleCategoryResourceToJSON(json) {
|
|
44
|
+
return GoogleCategoryResourceToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function GoogleCategoryResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
47
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'id': value['id'],
|
|
53
|
+
'name': value['name'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* My API
|
|
3
|
+
* API documentation for my Laravel app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { GoogleCategoryResource } from './GoogleCategoryResource';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GoogleCategoryResourceArrayResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface GoogleCategoryResourceArrayResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<GoogleCategoryResource>}
|
|
22
|
+
* @memberof GoogleCategoryResourceArrayResponse
|
|
23
|
+
*/
|
|
24
|
+
data?: Array<GoogleCategoryResource>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the GoogleCategoryResourceArrayResponse interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfGoogleCategoryResourceArrayResponse(value: object): value is GoogleCategoryResourceArrayResponse;
|
|
30
|
+
export declare function GoogleCategoryResourceArrayResponseFromJSON(json: any): GoogleCategoryResourceArrayResponse;
|
|
31
|
+
export declare function GoogleCategoryResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GoogleCategoryResourceArrayResponse;
|
|
32
|
+
export declare function GoogleCategoryResourceArrayResponseToJSON(json: any): GoogleCategoryResourceArrayResponse;
|
|
33
|
+
export declare function GoogleCategoryResourceArrayResponseToJSONTyped(value?: GoogleCategoryResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* My API
|
|
6
|
+
* API documentation for my Laravel app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfGoogleCategoryResourceArrayResponse = instanceOfGoogleCategoryResourceArrayResponse;
|
|
17
|
+
exports.GoogleCategoryResourceArrayResponseFromJSON = GoogleCategoryResourceArrayResponseFromJSON;
|
|
18
|
+
exports.GoogleCategoryResourceArrayResponseFromJSONTyped = GoogleCategoryResourceArrayResponseFromJSONTyped;
|
|
19
|
+
exports.GoogleCategoryResourceArrayResponseToJSON = GoogleCategoryResourceArrayResponseToJSON;
|
|
20
|
+
exports.GoogleCategoryResourceArrayResponseToJSONTyped = GoogleCategoryResourceArrayResponseToJSONTyped;
|
|
21
|
+
var GoogleCategoryResource_1 = require("./GoogleCategoryResource");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the GoogleCategoryResourceArrayResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfGoogleCategoryResourceArrayResponse(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function GoogleCategoryResourceArrayResponseFromJSON(json) {
|
|
29
|
+
return GoogleCategoryResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function GoogleCategoryResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'data': json['data'] == null ? undefined : (json['data'].map(GoogleCategoryResource_1.GoogleCategoryResourceFromJSON)),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function GoogleCategoryResourceArrayResponseToJSON(json) {
|
|
40
|
+
return GoogleCategoryResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function GoogleCategoryResourceArrayResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
43
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'data': value['data'] == null ? undefined : (value['data'].map(GoogleCategoryResource_1.GoogleCategoryResourceToJSON)),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* My API
|
|
3
|
+
* API documentation for my Laravel app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { PagingMetadata } from './PagingMetadata';
|
|
13
|
+
import type { GoogleCategoryResource } from './GoogleCategoryResource';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PaginatedGoogleCategoryResourceResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface PaginatedGoogleCategoryResourceResponse {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Array<GoogleCategoryResource>}
|
|
23
|
+
* @memberof PaginatedGoogleCategoryResourceResponse
|
|
24
|
+
*/
|
|
25
|
+
data: Array<GoogleCategoryResource>;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {PagingMetadata}
|
|
29
|
+
* @memberof PaginatedGoogleCategoryResourceResponse
|
|
30
|
+
*/
|
|
31
|
+
meta: PagingMetadata;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the PaginatedGoogleCategoryResourceResponse interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfPaginatedGoogleCategoryResourceResponse(value: object): value is PaginatedGoogleCategoryResourceResponse;
|
|
37
|
+
export declare function PaginatedGoogleCategoryResourceResponseFromJSON(json: any): PaginatedGoogleCategoryResourceResponse;
|
|
38
|
+
export declare function PaginatedGoogleCategoryResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedGoogleCategoryResourceResponse;
|
|
39
|
+
export declare function PaginatedGoogleCategoryResourceResponseToJSON(json: any): PaginatedGoogleCategoryResourceResponse;
|
|
40
|
+
export declare function PaginatedGoogleCategoryResourceResponseToJSONTyped(value?: PaginatedGoogleCategoryResourceResponse | null, ignoreDiscriminator?: boolean): any;
|