gizmovsky 1.0.4 → 1.0.6
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/README.md +3 -3
- package/package.json +4 -5
- package/src/index.js +386 -123
- package/src/v2/ApplicationCategories.js +108 -22
- package/src/v2/ApplicationDeployments.js +111 -22
- package/src/v2/ApplicationEnterprises.js +96 -22
- package/src/v2/ApplicationExecutables.js +419 -100
- package/src/v2/ApplicationGroups.js +138 -33
- package/src/v2/ApplicationLicenses.js +68 -0
- package/src/v2/ApplicationPersonalFiles.js +130 -22
- package/src/v2/ApplicationTasks.js +110 -22
- package/src/v2/Applications.js +145 -0
- package/src/v2/AssetTransactions.js +83 -0
- package/src/v2/AssetTypes.js +103 -22
- package/src/v2/Assets.js +111 -22
- package/src/v2/AssistanceRequest.js +140 -0
- package/src/v2/AssistanceRequestType.js +114 -0
- package/src/v2/Attributes.js +103 -22
- package/src/v2/Auth.js +111 -0
- package/src/v2/BillingProfiles.js +174 -22
- package/src/v2/Companion.js +16 -0
- package/src/v2/DepositTransactions.js +93 -0
- package/src/v2/Devices.js +196 -22
- package/src/v2/Events.js +77 -0
- package/src/v2/HostGroups.js +109 -54
- package/src/v2/HostIcons.js +96 -0
- package/src/v2/HostLayoutGroups.js +111 -0
- package/src/v2/Hosts.js +163 -54
- package/src/v2/InvoicePayments.js +97 -0
- package/src/v2/Invoices.js +102 -30
- package/src/v2/Log.js +119 -0
- package/src/v2/MonetaryUnits.js +107 -54
- package/src/v2/Operators.js +244 -54
- package/src/v2/Orders.js +170 -100
- package/src/v2/PaymentIntent.js +106 -0
- package/src/v2/PaymentMethods.js +114 -54
- package/src/v2/PaymentProviders.js +56 -0
- package/src/v2/PointsTransactions.js +94 -0
- package/src/v2/ProductGroups.js +105 -81
- package/src/v2/Products.js +545 -301
- package/src/v2/ProductsStock.js +76 -0
- package/src/v2/Recovery.js +42 -0
- package/src/v2/RegisterTransactions.js +73 -0
- package/src/v2/Registers.js +127 -0
- package/src/v2/Reservations.js +144 -22
- package/src/v2/SalePresets.js +189 -0
- package/src/v2/Shift.js +120 -0
- package/src/v2/ShiftCount.js +68 -0
- package/src/v2/SmsProviders.js +52 -0
- package/src/v2/StockTransactions.js +73 -0
- package/src/v2/StoreOptions.js +35 -0
- package/src/v2/Taxes.js +98 -0
- package/src/v2/Tokens.js +25 -0
- package/src/v2/UserAgreements.js +121 -0
- package/src/v2/UserGroups.js +207 -36
- package/src/v2/Users.js +457 -80
- package/src/v2/Variables.js +104 -22
- package/src/v2/Verifications.js +146 -27
- package/src/v2/openapi.json +37106 -0
- package/src/v3/AgeRestrictions.js +109 -0
- package/src/v3/ApiKeys.js +130 -0
- package/src/v3/ApplicationCategories.js +112 -13
- package/src/v3/ApplicationDeployments.js +151 -19
- package/src/v3/ApplicationEnterprises.js +100 -13
- package/src/v3/ApplicationExecutables.js +497 -31
- package/src/v3/ApplicationGroups.js +189 -16
- package/src/v3/ApplicationLicenses.js +236 -0
- package/src/v3/ApplicationLinks.js +113 -0
- package/src/v3/ApplicationPersonalFiles.js +154 -19
- package/src/v3/ApplicationStats.js +97 -0
- package/src/v3/ApplicationTasks.js +134 -19
- package/src/v3/Applications.js +161 -0
- package/src/v3/AssetTransactions.js +87 -0
- package/src/v3/AssetTypes.js +107 -33
- package/src/v3/Assets.js +137 -43
- package/src/v3/AssistanceRequestTypes.js +118 -0
- package/src/v3/AssistanceRequests.js +144 -0
- package/src/v3/Attributes.js +107 -26
- package/src/v3/Auth.js +111 -0
- package/src/v3/BillingProfiles.js +178 -16
- package/src/v3/Branches.js +228 -16
- package/src/v3/Carts.js +437 -0
- package/src/v3/ClientOptions.js +146 -0
- package/src/v3/ClientTasks.js +136 -0
- package/src/v3/Companions.js +176 -0
- package/src/v3/DepositPayments.js +65 -0
- package/src/v3/DepositTransactions.js +130 -35
- package/src/v3/Devices.js +222 -53
- package/src/v3/DiscountGroups.js +112 -0
- package/src/v3/Discounts.js +233 -55
- package/src/v3/DocumentTypes.js +115 -0
- package/src/v3/Documents.js +154 -22
- package/src/v3/Events.js +77 -16
- package/src/v3/Feeds.js +127 -35
- package/src/v3/Files.js +54 -22
- package/src/v3/Fiscalizations.js +19 -0
- package/src/v3/HostComputers.js +436 -0
- package/src/v3/HostGroups.js +149 -36
- package/src/v3/HostIcons.js +100 -0
- package/src/v3/HostLayoutGroups.js +231 -0
- package/src/v3/Hosts.js +338 -36
- package/src/v3/Instance.js +55 -0
- package/src/v3/Inventories.js +204 -25
- package/src/v3/InventoryAdjustmentReasons.js +131 -0
- package/src/v3/InvoicePayments.js +101 -0
- package/src/v3/Invoices.js +219 -35
- package/src/v3/Logs.js +123 -19
- package/src/v3/Mappings.js +187 -25
- package/src/v3/MonetaryUnits.js +111 -26
- package/src/v3/News.js +147 -16
- package/src/v3/Notifications.js +163 -25
- package/src/v3/Operators.js +574 -41
- package/src/v3/Options.js +1142 -0
- package/src/v3/PaymentIntents.js +166 -0
- package/src/v3/PaymentMethods.js +134 -16
- package/src/v3/PaymentProviders.js +56 -0
- package/src/v3/Payments.js +205 -0
- package/src/v3/PluginLibrary.js +77 -0
- package/src/v3/PointsTransactions.js +98 -0
- package/src/v3/PresetReservationTime.js +89 -0
- package/src/v3/PresetTimeSale.js +89 -0
- package/src/v3/PresetTimeSaleMoney.js +89 -0
- package/src/v3/PresetTopUp.js +102 -0
- package/src/v3/ProductGroups.js +119 -16
- package/src/v3/ProductOrders.js +465 -0
- package/src/v3/ProductStock.js +216 -0
- package/src/v3/Products.js +720 -64
- package/src/v3/Promotions.js +165 -0
- package/src/v3/PublicOptions.js +25 -0
- package/src/v3/Recoveries.js +42 -16
- package/src/v3/RegisterTransactions.js +104 -0
- package/src/v3/Registers.js +179 -74
- package/src/v3/RemoteControl.js +17 -0
- package/src/v3/ReportModules.js +38 -0
- package/src/v3/ReportPresets.js +146 -0
- package/src/v3/Reports.js +751 -191
- package/src/v3/Reservations.js +472 -55
- package/src/v3/SalePresets.js +197 -0
- package/src/v3/Schedules.js +174 -88
- package/src/v3/SecurityProfiles.js +144 -0
- package/src/v3/Sessions.js +62 -17
- package/src/v3/ShiftCounts.js +72 -0
- package/src/v3/Shifts.js +129 -62
- package/src/v3/Skins.js +16 -17
- package/src/v3/SmsProviders.js +52 -0
- package/src/v3/Stock.js +167 -35
- package/src/v3/StockCount.js +165 -0
- package/src/v3/StockTransactions.js +109 -0
- package/src/v3/System.js +25 -0
- package/src/v3/Tasks.js +286 -26
- package/src/v3/Taxes.js +104 -0
- package/src/v3/TimeProducts.js +77 -0
- package/src/v3/Tokens.js +25 -0
- package/src/v3/UserAgreements.js +125 -0
- package/src/v3/UserGroups.js +225 -36
- package/src/v3/UserGuests.js +75 -0
- package/src/v3/UserPermissionSets.js +156 -0
- package/src/v3/UserSessions.js +92 -0
- package/src/v3/Users.js +944 -0
- package/src/v3/Variables.js +110 -0
- package/src/v3/Verifications.js +146 -0
- package/src/v3/WaitingLines.js +305 -0
- package/src/v3/openapi.json +104317 -0
- package/src/v2/Service.js +0 -13
- package/src/v3/Agerestrictions.js +0 -53
- package/src/v3/Apikeys.js +0 -22
- package/src/v3/Applicationlicenses.js +0 -13
- package/src/v3/Applicationlinks.js +0 -13
- package/src/v3/Applicationstats.js +0 -13
- package/src/v3/Apps.js +0 -45
- package/src/v3/AssetsTransactions.js +0 -33
- package/src/v3/Assistancerequests.js +0 -44
- package/src/v3/BranchesName.js +0 -35
- package/src/v3/Discountgroups.js +0 -13
- package/src/v3/Documenttypes.js +0 -16
- package/src/v3/FeedsBranches.js +0 -24
- package/src/v3/Hostcomputers.js +0 -52
- package/src/v3/Hosticons.js +0 -13
- package/src/v3/Hostlayoutgroups.js +0 -16
- package/src/v3/Inventoryadjustmentreasons.js +0 -19
- package/src/v3/Invoicepayments.js +0 -33
- package/src/v3/InvoicesUser.js +0 -13
- package/src/v3/MonetaryunitsName.js +0 -10
- package/src/v3/OperatorsCurrent.js +0 -50
- package/src/v3/Paymentproviders.js +0 -16
- package/src/v3/PaymentsTransactions.js +0 -10
- package/src/v3/Pluginlibrary.js +0 -10
- package/src/v3/Pointstransactions.js +0 -13
- package/src/v3/Presetreservationtime.js +0 -13
- package/src/v3/Presettimesale.js +0 -13
- package/src/v3/Presettimesalemoney.js +0 -13
- package/src/v3/Presettopup.js +0 -13
- package/src/v3/Productorders.js +0 -131
- package/src/v3/ProductsBundle.js +0 -46
- package/src/v3/ProductsGroups.js +0 -27
- package/src/v3/ProductsTime.js +0 -34
- package/src/v3/Productstock.js +0 -87
- package/src/v3/Publicoptions.js +0 -32
- package/src/v3/Registertransactions.js +0 -33
- package/src/v3/Remotecontrol.js +0 -24
- package/src/v3/Reportmodules.js +0 -34
- package/src/v3/Reportpresets.js +0 -65
- package/src/v3/ReportpresetsName.js +0 -23
- package/src/v3/ReportsProduct.js +0 -22
- package/src/v3/ReportsProducts.js +0 -23
- package/src/v3/ReportsTopusers.js +0 -22
- package/src/v3/ReportsUser.js +0 -22
- package/src/v3/Securityprofiles.js +0 -52
package/README.md
CHANGED
|
@@ -30,8 +30,8 @@ const sdk = new GizmoSDK(config);
|
|
|
30
30
|
// Example: Get users (v1)
|
|
31
31
|
const users = await sdk.v1.users.getUsers();
|
|
32
32
|
|
|
33
|
-
// Example: Get products (
|
|
34
|
-
const products = await sdk.
|
|
33
|
+
// Example: Get products (v2)
|
|
34
|
+
const products = await sdk.v2.products.getAll();
|
|
35
35
|
```
|
|
36
36
|
|
|
37
37
|
## Custom Requests
|
|
@@ -40,7 +40,7 @@ You can use the underlying client for custom requests:
|
|
|
40
40
|
|
|
41
41
|
```js
|
|
42
42
|
const client = sdk.client;
|
|
43
|
-
const result = await client.request('get', '/
|
|
43
|
+
const result = await client.request('get', '/v2.0/any-endpoint', { body1: "value" }, { param1: 'value' });
|
|
44
44
|
```
|
|
45
45
|
|
|
46
46
|
## Contributing
|
package/package.json
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gizmovsky",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"description": "Unofficial SDK for Gizmo API",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"scripts": {
|
|
8
|
-
"test": "node test.js",
|
|
9
|
-
"lint": "eslint src --ext .js",
|
|
10
8
|
"build": "echo 'No build step required'"
|
|
11
9
|
},
|
|
12
10
|
"repository": {
|
|
@@ -21,14 +19,15 @@
|
|
|
21
19
|
"nodejs",
|
|
22
20
|
"gizmovsky"
|
|
23
21
|
],
|
|
24
|
-
"author": "
|
|
22
|
+
"author": "keza3d",
|
|
25
23
|
"license": "MIT",
|
|
26
24
|
"bugs": {
|
|
27
25
|
"url": "https://github.com/parazeya/gizmovsky/issues"
|
|
28
26
|
},
|
|
29
27
|
"homepage": "https://github.com/parazeya/gizmovsky#readme",
|
|
30
28
|
"devDependencies": {
|
|
31
|
-
"eslint": "^8.0.0"
|
|
29
|
+
"eslint": "^8.0.0",
|
|
30
|
+
"prettier": "^2.8.8"
|
|
32
31
|
},
|
|
33
32
|
"dependencies": {
|
|
34
33
|
"axios": "^1.11.0"
|
package/src/index.js
CHANGED
|
@@ -1,123 +1,386 @@
|
|
|
1
|
-
import { GizmoClient } from
|
|
2
|
-
import { Apps as AppsV1 } from
|
|
3
|
-
import { Attributes as AttributesV1 } from
|
|
4
|
-
import { Export as ExportV1 } from
|
|
5
|
-
import { HostComputers as HostComputersV1 } from
|
|
6
|
-
import { HostGroups as HostGroupsV1 } from
|
|
7
|
-
import { Hosts as HostsV1 } from
|
|
8
|
-
import { Invoices as InvoicesV1 } from
|
|
9
|
-
import { Licenses as LicensesV1 } from
|
|
10
|
-
import { MonetaryUnit as MonetaryUnitV1 } from
|
|
11
|
-
import { Points as PointsV1 } from
|
|
12
|
-
import { Products as ProductsV1 } from
|
|
13
|
-
import { Registration as RegistrationV1 } from
|
|
14
|
-
import { Reports as ReportsV1 } from
|
|
15
|
-
import { Reservations as ReservationsV1 } from
|
|
16
|
-
import { Service as ServiceV1 } from
|
|
17
|
-
import { Stats as StatsV1 } from
|
|
18
|
-
import { Stock as StockV1 } from
|
|
19
|
-
import { UserGroups as UserGroupsV1 } from
|
|
20
|
-
import { Users as UsersV1 } from
|
|
21
|
-
import { UserSessions as UserSessionsV1 } from
|
|
22
|
-
import { Verifications as VerificationsV1 } from
|
|
23
|
-
// v2
|
|
24
|
-
import { ApplicationCategories as ApplicationCategoriesV2 } from './v2/ApplicationCategories.js';
|
|
25
|
-
import { ApplicationDeployments as ApplicationDeploymentsV2 } from './v2/ApplicationDeployments.js';
|
|
26
|
-
import { ApplicationEnterprises as ApplicationEnterprisesV2 } from './v2/ApplicationEnterprises.js';
|
|
27
|
-
import { ApplicationExecutables as ApplicationExecutablesV2 } from './v2/ApplicationExecutables.js';
|
|
28
|
-
import { ApplicationGroups as ApplicationGroupsV2 } from './v2/ApplicationGroups.js';
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
}
|
|
1
|
+
import { GizmoClient } from "./GizmoClient.js";
|
|
2
|
+
import { Apps as AppsV1 } from "./v1/Apps.js";
|
|
3
|
+
import { Attributes as AttributesV1 } from "./v1/Attributes.js";
|
|
4
|
+
import { Export as ExportV1 } from "./v1/Export.js";
|
|
5
|
+
import { HostComputers as HostComputersV1 } from "./v1/HostComputers.js";
|
|
6
|
+
import { HostGroups as HostGroupsV1 } from "./v1/HostGroups.js";
|
|
7
|
+
import { Hosts as HostsV1 } from "./v1/Hosts.js";
|
|
8
|
+
import { Invoices as InvoicesV1 } from "./v1/Invoices.js";
|
|
9
|
+
import { Licenses as LicensesV1 } from "./v1/Licenses.js";
|
|
10
|
+
import { MonetaryUnit as MonetaryUnitV1 } from "./v1/MonetaryUnit.js";
|
|
11
|
+
import { Points as PointsV1 } from "./v1/Points.js";
|
|
12
|
+
import { Products as ProductsV1 } from "./v1/Products.js";
|
|
13
|
+
import { Registration as RegistrationV1 } from "./v1/Registration.js";
|
|
14
|
+
import { Reports as ReportsV1 } from "./v1/Reports.js";
|
|
15
|
+
import { Reservations as ReservationsV1 } from "./v1/Reservations.js";
|
|
16
|
+
import { Service as ServiceV1 } from "./v1/Service.js";
|
|
17
|
+
import { Stats as StatsV1 } from "./v1/Stats.js";
|
|
18
|
+
import { Stock as StockV1 } from "./v1/Stock.js";
|
|
19
|
+
import { UserGroups as UserGroupsV1 } from "./v1/UserGroups.js";
|
|
20
|
+
import { Users as UsersV1 } from "./v1/Users.js";
|
|
21
|
+
import { UserSessions as UserSessionsV1 } from "./v1/UserSessions.js";
|
|
22
|
+
import { Verifications as VerificationsV1 } from "./v1/Verifications.js";
|
|
23
|
+
// v2
|
|
24
|
+
import { ApplicationCategories as ApplicationCategoriesV2 } from './v2/ApplicationCategories.js';
|
|
25
|
+
import { ApplicationDeployments as ApplicationDeploymentsV2 } from './v2/ApplicationDeployments.js';
|
|
26
|
+
import { ApplicationEnterprises as ApplicationEnterprisesV2 } from './v2/ApplicationEnterprises.js';
|
|
27
|
+
import { ApplicationExecutables as ApplicationExecutablesV2 } from './v2/ApplicationExecutables.js';
|
|
28
|
+
import { ApplicationGroups as ApplicationGroupsV2 } from './v2/ApplicationGroups.js';
|
|
29
|
+
import { ApplicationLicenses as ApplicationLicensesV2 } from './v2/ApplicationLicenses.js';
|
|
30
|
+
import { ApplicationPersonalFiles as ApplicationPersonalFilesV2 } from './v2/ApplicationPersonalFiles.js';
|
|
31
|
+
import { Applications as ApplicationsV2 } from './v2/Applications.js';
|
|
32
|
+
import { ApplicationTasks as ApplicationTasksV2 } from './v2/ApplicationTasks.js';
|
|
33
|
+
import { Assets as AssetsV2 } from './v2/Assets.js';
|
|
34
|
+
import { AssetTransactions as AssetTransactionsV2 } from './v2/AssetTransactions.js';
|
|
35
|
+
import { AssetTypes as AssetTypesV2 } from './v2/AssetTypes.js';
|
|
36
|
+
import { AssistanceRequest as AssistanceRequestV2 } from './v2/AssistanceRequest.js';
|
|
37
|
+
import { AssistanceRequestType as AssistanceRequestTypeV2 } from './v2/AssistanceRequestType.js';
|
|
38
|
+
import { Attributes as AttributesV2 } from './v2/Attributes.js';
|
|
39
|
+
import { Auth as AuthV2 } from './v2/Auth.js';
|
|
40
|
+
import { BillingProfiles as BillingProfilesV2 } from './v2/BillingProfiles.js';
|
|
41
|
+
import { Companion as CompanionV2 } from './v2/Companion.js';
|
|
42
|
+
import { DepositTransactions as DepositTransactionsV2 } from './v2/DepositTransactions.js';
|
|
43
|
+
import { Devices as DevicesV2 } from './v2/Devices.js';
|
|
44
|
+
import { Events as EventsV2 } from './v2/Events.js';
|
|
45
|
+
import { HostGroups as HostGroupsV2 } from './v2/HostGroups.js';
|
|
46
|
+
import { HostIcons as HostIconsV2 } from './v2/HostIcons.js';
|
|
47
|
+
import { HostLayoutGroups as HostLayoutGroupsV2 } from './v2/HostLayoutGroups.js';
|
|
48
|
+
import { Hosts as HostsV2 } from './v2/Hosts.js';
|
|
49
|
+
import { InvoicePayments as InvoicePaymentsV2 } from './v2/InvoicePayments.js';
|
|
50
|
+
import { Invoices as InvoicesV2 } from './v2/Invoices.js';
|
|
51
|
+
import { Log as LogV2 } from './v2/Log.js';
|
|
52
|
+
import { MonetaryUnits as MonetaryUnitsV2 } from './v2/MonetaryUnits.js';
|
|
53
|
+
import { Operators as OperatorsV2 } from './v2/Operators.js';
|
|
54
|
+
import { Orders as OrdersV2 } from './v2/Orders.js';
|
|
55
|
+
import { PaymentIntent as PaymentIntentV2 } from './v2/PaymentIntent.js';
|
|
56
|
+
import { PaymentMethods as PaymentMethodsV2 } from './v2/PaymentMethods.js';
|
|
57
|
+
import { PaymentProviders as PaymentProvidersV2 } from './v2/PaymentProviders.js';
|
|
58
|
+
import { PointsTransactions as PointsTransactionsV2 } from './v2/PointsTransactions.js';
|
|
59
|
+
import { ProductGroups as ProductGroupsV2 } from './v2/ProductGroups.js';
|
|
60
|
+
import { Products as ProductsV2 } from './v2/Products.js';
|
|
61
|
+
import { ProductsStock as ProductsStockV2 } from './v2/ProductsStock.js';
|
|
62
|
+
import { Recovery as RecoveryV2 } from './v2/Recovery.js';
|
|
63
|
+
import { Registers as RegistersV2 } from './v2/Registers.js';
|
|
64
|
+
import { RegisterTransactions as RegisterTransactionsV2 } from './v2/RegisterTransactions.js';
|
|
65
|
+
import { Reservations as ReservationsV2 } from './v2/Reservations.js';
|
|
66
|
+
import { SalePresets as SalePresetsV2 } from './v2/SalePresets.js';
|
|
67
|
+
import { Shift as ShiftV2 } from './v2/Shift.js';
|
|
68
|
+
import { ShiftCount as ShiftCountV2 } from './v2/ShiftCount.js';
|
|
69
|
+
import { SmsProviders as SmsProvidersV2 } from './v2/SmsProviders.js';
|
|
70
|
+
import { StockTransactions as StockTransactionsV2 } from './v2/StockTransactions.js';
|
|
71
|
+
import { StoreOptions as StoreOptionsV2 } from './v2/StoreOptions.js';
|
|
72
|
+
import { Taxes as TaxesV2 } from './v2/Taxes.js';
|
|
73
|
+
import { Tokens as TokensV2 } from './v2/Tokens.js';
|
|
74
|
+
import { UserAgreements as UserAgreementsV2 } from './v2/UserAgreements.js';
|
|
75
|
+
import { UserGroups as UserGroupsV2 } from './v2/UserGroups.js';
|
|
76
|
+
import { Users as UsersV2 } from './v2/Users.js';
|
|
77
|
+
import { Variables as VariablesV2 } from './v2/Variables.js';
|
|
78
|
+
import { Verifications as VerificationsV2 } from './v2/Verifications.js';
|
|
79
|
+
// v3
|
|
80
|
+
import { AgeRestrictions as AgeRestrictionsV3 } from "./v3/AgeRestrictions.js";
|
|
81
|
+
import { ApiKeys as ApiKeysV3 } from "./v3/ApiKeys.js";
|
|
82
|
+
import { ApplicationCategories as ApplicationCategoriesV3 } from "./v3/ApplicationCategories.js";
|
|
83
|
+
import { ApplicationDeployments as ApplicationDeploymentsV3 } from "./v3/ApplicationDeployments.js";
|
|
84
|
+
import { ApplicationEnterprises as ApplicationEnterprisesV3 } from "./v3/ApplicationEnterprises.js";
|
|
85
|
+
import { ApplicationExecutables as ApplicationExecutablesV3 } from "./v3/ApplicationExecutables.js";
|
|
86
|
+
import { ApplicationGroups as ApplicationGroupsV3 } from "./v3/ApplicationGroups.js";
|
|
87
|
+
import { ApplicationLicenses as ApplicationLicensesV3 } from "./v3/ApplicationLicenses.js";
|
|
88
|
+
import { ApplicationLinks as ApplicationLinksV3 } from "./v3/ApplicationLinks.js";
|
|
89
|
+
import { ApplicationPersonalFiles as ApplicationPersonalFilesV3 } from "./v3/ApplicationPersonalFiles.js";
|
|
90
|
+
import { Applications as ApplicationsV3 } from "./v3/Applications.js";
|
|
91
|
+
import { ApplicationStats as ApplicationStatsV3 } from "./v3/ApplicationStats.js";
|
|
92
|
+
import { ApplicationTasks as ApplicationTasksV3 } from "./v3/ApplicationTasks.js";
|
|
93
|
+
import { Assets as AssetsV3 } from "./v3/Assets.js";
|
|
94
|
+
import { AssetTransactions as AssetTransactionsV3 } from "./v3/AssetTransactions.js";
|
|
95
|
+
import { AssetTypes as AssetTypesV3 } from "./v3/AssetTypes.js";
|
|
96
|
+
import { AssistanceRequests as AssistanceRequestsV3 } from "./v3/AssistanceRequests.js";
|
|
97
|
+
import { AssistanceRequestTypes as AssistanceRequestTypesV3 } from "./v3/AssistanceRequestTypes.js";
|
|
98
|
+
import { Attributes as AttributesV3 } from "./v3/Attributes.js";
|
|
99
|
+
import { Auth as AuthV3 } from "./v3/Auth.js";
|
|
100
|
+
import { BillingProfiles as BillingProfilesV3 } from "./v3/BillingProfiles.js";
|
|
101
|
+
import { Branches as BranchesV3 } from "./v3/Branches.js";
|
|
102
|
+
import { Carts as CartsV3 } from "./v3/Carts.js";
|
|
103
|
+
import { ClientOptions as ClientOptionsV3 } from "./v3/ClientOptions.js";
|
|
104
|
+
import { ClientTasks as ClientTasksV3 } from "./v3/ClientTasks.js";
|
|
105
|
+
import { Companions as CompanionsV3 } from "./v3/Companions.js";
|
|
106
|
+
import { DepositPayments as DepositPaymentsV3 } from "./v3/DepositPayments.js";
|
|
107
|
+
import { DepositTransactions as DepositTransactionsV3 } from "./v3/DepositTransactions.js";
|
|
108
|
+
import { Devices as DevicesV3 } from "./v3/Devices.js";
|
|
109
|
+
import { DiscountGroups as DiscountGroupsV3 } from "./v3/DiscountGroups.js";
|
|
110
|
+
import { Discounts as DiscountsV3 } from "./v3/Discounts.js";
|
|
111
|
+
import { Documents as DocumentsV3 } from "./v3/Documents.js";
|
|
112
|
+
import { DocumentTypes as DocumentTypesV3 } from "./v3/DocumentTypes.js";
|
|
113
|
+
import { Events as EventsV3 } from "./v3/Events.js";
|
|
114
|
+
import { Feeds as FeedsV3 } from "./v3/Feeds.js";
|
|
115
|
+
import { Files as FilesV3 } from "./v3/Files.js";
|
|
116
|
+
import { Fiscalizations as FiscalizationsV3 } from "./v3/Fiscalizations.js";
|
|
117
|
+
import { HostComputers as HostComputersV3 } from "./v3/HostComputers.js";
|
|
118
|
+
import { HostGroups as HostGroupsV3 } from "./v3/HostGroups.js";
|
|
119
|
+
import { HostIcons as HostIconsV3 } from "./v3/HostIcons.js";
|
|
120
|
+
import { HostLayoutGroups as HostLayoutGroupsV3 } from "./v3/HostLayoutGroups.js";
|
|
121
|
+
import { Hosts as HostsV3 } from "./v3/Hosts.js";
|
|
122
|
+
import { Instance as InstanceV3 } from "./v3/Instance.js";
|
|
123
|
+
import { Inventories as InventoriesV3 } from "./v3/Inventories.js";
|
|
124
|
+
import { InventoryAdjustmentReasons as InventoryAdjustmentReasonsV3 } from "./v3/InventoryAdjustmentReasons.js";
|
|
125
|
+
import { InvoicePayments as InvoicePaymentsV3 } from "./v3/InvoicePayments.js";
|
|
126
|
+
import { Invoices as InvoicesV3 } from "./v3/Invoices.js";
|
|
127
|
+
import { Logs as LogsV3 } from "./v3/Logs.js";
|
|
128
|
+
import { Mappings as MappingsV3 } from "./v3/Mappings.js";
|
|
129
|
+
import { MonetaryUnits as MonetaryUnitsV3 } from "./v3/MonetaryUnits.js";
|
|
130
|
+
import { News as NewsV3 } from "./v3/News.js";
|
|
131
|
+
import { Notifications as NotificationsV3 } from "./v3/Notifications.js";
|
|
132
|
+
import { Operators as OperatorsV3 } from "./v3/Operators.js";
|
|
133
|
+
import { Options as OptionsV3 } from "./v3/Options.js";
|
|
134
|
+
import { PaymentIntents as PaymentIntentsV3 } from "./v3/PaymentIntents.js";
|
|
135
|
+
import { PaymentMethods as PaymentMethodsV3 } from "./v3/PaymentMethods.js";
|
|
136
|
+
import { PaymentProviders as PaymentProvidersV3 } from "./v3/PaymentProviders.js";
|
|
137
|
+
import { Payments as PaymentsV3 } from "./v3/Payments.js";
|
|
138
|
+
import { PluginLibrary as PluginLibraryV3 } from "./v3/PluginLibrary.js";
|
|
139
|
+
import { PointsTransactions as PointsTransactionsV3 } from "./v3/PointsTransactions.js";
|
|
140
|
+
import { PresetReservationTime as PresetReservationTimeV3 } from "./v3/PresetReservationTime.js";
|
|
141
|
+
import { PresetTimeSale as PresetTimeSaleV3 } from "./v3/PresetTimeSale.js";
|
|
142
|
+
import { PresetTimeSaleMoney as PresetTimeSaleMoneyV3 } from "./v3/PresetTimeSaleMoney.js";
|
|
143
|
+
import { PresetTopUp as PresetTopUpV3 } from "./v3/PresetTopUp.js";
|
|
144
|
+
import { ProductGroups as ProductGroupsV3 } from "./v3/ProductGroups.js";
|
|
145
|
+
import { ProductOrders as ProductOrdersV3 } from "./v3/ProductOrders.js";
|
|
146
|
+
import { Products as ProductsV3 } from "./v3/Products.js";
|
|
147
|
+
import { ProductStock as ProductStockV3 } from "./v3/ProductStock.js";
|
|
148
|
+
import { Promotions as PromotionsV3 } from "./v3/Promotions.js";
|
|
149
|
+
import { PublicOptions as PublicOptionsV3 } from "./v3/PublicOptions.js";
|
|
150
|
+
import { Recoveries as RecoveriesV3 } from "./v3/Recoveries.js";
|
|
151
|
+
import { Registers as RegistersV3 } from "./v3/Registers.js";
|
|
152
|
+
import { RegisterTransactions as RegisterTransactionsV3 } from "./v3/RegisterTransactions.js";
|
|
153
|
+
import { RemoteControl as RemoteControlV3 } from "./v3/RemoteControl.js";
|
|
154
|
+
import { ReportModules as ReportModulesV3 } from "./v3/ReportModules.js";
|
|
155
|
+
import { ReportPresets as ReportPresetsV3 } from "./v3/ReportPresets.js";
|
|
156
|
+
import { Reports as ReportsV3 } from "./v3/Reports.js";
|
|
157
|
+
import { Reservations as ReservationsV3 } from "./v3/Reservations.js";
|
|
158
|
+
import { SalePresets as SalePresetsV3 } from "./v3/SalePresets.js";
|
|
159
|
+
import { Schedules as SchedulesV3 } from "./v3/Schedules.js";
|
|
160
|
+
import { SecurityProfiles as SecurityProfilesV3 } from "./v3/SecurityProfiles.js";
|
|
161
|
+
import { Sessions as SessionsV3 } from "./v3/Sessions.js";
|
|
162
|
+
import { ShiftCounts as ShiftCountsV3 } from "./v3/ShiftCounts.js";
|
|
163
|
+
import { Shifts as ShiftsV3 } from "./v3/Shifts.js";
|
|
164
|
+
import { Skins as SkinsV3 } from "./v3/Skins.js";
|
|
165
|
+
import { SmsProviders as SmsProvidersV3 } from "./v3/SmsProviders.js";
|
|
166
|
+
import { Stock as StockV3 } from "./v3/Stock.js";
|
|
167
|
+
import { StockCount as StockCountV3 } from "./v3/StockCount.js";
|
|
168
|
+
import { StockTransactions as StockTransactionsV3 } from "./v3/StockTransactions.js";
|
|
169
|
+
import { System as SystemV3 } from "./v3/System.js";
|
|
170
|
+
import { Tasks as TasksV3 } from "./v3/Tasks.js";
|
|
171
|
+
import { Taxes as TaxesV3 } from "./v3/Taxes.js";
|
|
172
|
+
import { TimeProducts as TimeProductsV3 } from "./v3/TimeProducts.js";
|
|
173
|
+
import { Tokens as TokensV3 } from "./v3/Tokens.js";
|
|
174
|
+
import { UserAgreements as UserAgreementsV3 } from "./v3/UserAgreements.js";
|
|
175
|
+
import { UserGroups as UserGroupsV3 } from "./v3/UserGroups.js";
|
|
176
|
+
import { UserGuests as UserGuestsV3 } from "./v3/UserGuests.js";
|
|
177
|
+
import { UserPermissionSets as UserPermissionSetsV3 } from "./v3/UserPermissionSets.js";
|
|
178
|
+
import { Users as UsersV3 } from "./v3/Users.js";
|
|
179
|
+
import { UserSessions as UserSessionsV3 } from "./v3/UserSessions.js";
|
|
180
|
+
import { Variables as VariablesV3 } from "./v3/Variables.js";
|
|
181
|
+
import { Verifications as VerificationsV3 } from "./v3/Verifications.js";
|
|
182
|
+
import { WaitingLines as WaitingLinesV3 } from "./v3/WaitingLines.js";
|
|
183
|
+
// Unusable, waiting for API updates
|
|
184
|
+
|
|
185
|
+
function createV1Categories(client) {
|
|
186
|
+
return {
|
|
187
|
+
apps: new AppsV1(client),
|
|
188
|
+
attributes: new AttributesV1(client),
|
|
189
|
+
export: new ExportV1(client),
|
|
190
|
+
hostComputers: new HostComputersV1(client),
|
|
191
|
+
hostGroups: new HostGroupsV1(client),
|
|
192
|
+
hosts: new HostsV1(client),
|
|
193
|
+
invoices: new InvoicesV1(client),
|
|
194
|
+
licenses: new LicensesV1(client),
|
|
195
|
+
monetaryUnit: new MonetaryUnitV1(client),
|
|
196
|
+
points: new PointsV1(client),
|
|
197
|
+
products: new ProductsV1(client),
|
|
198
|
+
registration: new RegistrationV1(client),
|
|
199
|
+
reports: new ReportsV1(client),
|
|
200
|
+
reservations: new ReservationsV1(client),
|
|
201
|
+
service: new ServiceV1(client),
|
|
202
|
+
stats: new StatsV1(client),
|
|
203
|
+
stock: new StockV1(client),
|
|
204
|
+
userGroups: new UserGroupsV1(client),
|
|
205
|
+
users: new UsersV1(client),
|
|
206
|
+
userSessions: new UserSessionsV1(client),
|
|
207
|
+
verifications: new VerificationsV1(client),
|
|
208
|
+
};
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
function createV2Categories(client) {
|
|
212
|
+
return {
|
|
213
|
+
applicationCategories: new ApplicationCategoriesV2(client),
|
|
214
|
+
applicationDeployments: new ApplicationDeploymentsV2(client),
|
|
215
|
+
applicationEnterprises: new ApplicationEnterprisesV2(client),
|
|
216
|
+
applicationExecutables: new ApplicationExecutablesV2(client),
|
|
217
|
+
applicationGroups: new ApplicationGroupsV2(client),
|
|
218
|
+
applicationLicenses: new ApplicationLicensesV2(client),
|
|
219
|
+
applicationPersonalFiles: new ApplicationPersonalFilesV2(client),
|
|
220
|
+
applications: new ApplicationsV2(client),
|
|
221
|
+
applicationTasks: new ApplicationTasksV2(client),
|
|
222
|
+
assets: new AssetsV2(client),
|
|
223
|
+
assetTransactions: new AssetTransactionsV2(client),
|
|
224
|
+
assetTypes: new AssetTypesV2(client),
|
|
225
|
+
assistanceRequest: new AssistanceRequestV2(client),
|
|
226
|
+
assistanceRequestType: new AssistanceRequestTypeV2(client),
|
|
227
|
+
attributes: new AttributesV2(client),
|
|
228
|
+
auth: new AuthV2(client),
|
|
229
|
+
billingProfiles: new BillingProfilesV2(client),
|
|
230
|
+
companion: new CompanionV2(client),
|
|
231
|
+
depositTransactions: new DepositTransactionsV2(client),
|
|
232
|
+
devices: new DevicesV2(client),
|
|
233
|
+
events: new EventsV2(client),
|
|
234
|
+
hostGroups: new HostGroupsV2(client),
|
|
235
|
+
hostIcons: new HostIconsV2(client),
|
|
236
|
+
hostLayoutGroups: new HostLayoutGroupsV2(client),
|
|
237
|
+
hosts: new HostsV2(client),
|
|
238
|
+
invoicePayments: new InvoicePaymentsV2(client),
|
|
239
|
+
invoices: new InvoicesV2(client),
|
|
240
|
+
log: new LogV2(client),
|
|
241
|
+
monetaryUnits: new MonetaryUnitsV2(client),
|
|
242
|
+
operators: new OperatorsV2(client),
|
|
243
|
+
orders: new OrdersV2(client),
|
|
244
|
+
paymentIntent: new PaymentIntentV2(client),
|
|
245
|
+
paymentMethods: new PaymentMethodsV2(client),
|
|
246
|
+
paymentProviders: new PaymentProvidersV2(client),
|
|
247
|
+
pointsTransactions: new PointsTransactionsV2(client),
|
|
248
|
+
productGroups: new ProductGroupsV2(client),
|
|
249
|
+
products: new ProductsV2(client),
|
|
250
|
+
productsStock: new ProductsStockV2(client),
|
|
251
|
+
recovery: new RecoveryV2(client),
|
|
252
|
+
registers: new RegistersV2(client),
|
|
253
|
+
registerTransactions: new RegisterTransactionsV2(client),
|
|
254
|
+
reservations: new ReservationsV2(client),
|
|
255
|
+
salePresets: new SalePresetsV2(client),
|
|
256
|
+
shift: new ShiftV2(client),
|
|
257
|
+
shiftCount: new ShiftCountV2(client),
|
|
258
|
+
smsProviders: new SmsProvidersV2(client),
|
|
259
|
+
stockTransactions: new StockTransactionsV2(client),
|
|
260
|
+
storeOptions: new StoreOptionsV2(client),
|
|
261
|
+
taxes: new TaxesV2(client),
|
|
262
|
+
tokens: new TokensV2(client),
|
|
263
|
+
userAgreements: new UserAgreementsV2(client),
|
|
264
|
+
userGroups: new UserGroupsV2(client),
|
|
265
|
+
users: new UsersV2(client),
|
|
266
|
+
variables: new VariablesV2(client),
|
|
267
|
+
verifications: new VerificationsV2(client),
|
|
268
|
+
};
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
function createV3Categories(client) {
|
|
272
|
+
return {
|
|
273
|
+
ageRestrictions: new AgeRestrictionsV3(client),
|
|
274
|
+
apiKeys: new ApiKeysV3(client),
|
|
275
|
+
applicationCategories: new ApplicationCategoriesV3(client),
|
|
276
|
+
applicationDeployments: new ApplicationDeploymentsV3(client),
|
|
277
|
+
applicationEnterprises: new ApplicationEnterprisesV3(client),
|
|
278
|
+
applicationExecutables: new ApplicationExecutablesV3(client),
|
|
279
|
+
applicationGroups: new ApplicationGroupsV3(client),
|
|
280
|
+
applicationLicenses: new ApplicationLicensesV3(client),
|
|
281
|
+
applicationLinks: new ApplicationLinksV3(client),
|
|
282
|
+
applicationPersonalFiles: new ApplicationPersonalFilesV3(client),
|
|
283
|
+
applications: new ApplicationsV3(client),
|
|
284
|
+
applicationStats: new ApplicationStatsV3(client),
|
|
285
|
+
applicationTasks: new ApplicationTasksV3(client),
|
|
286
|
+
assets: new AssetsV3(client),
|
|
287
|
+
assetTransactions: new AssetTransactionsV3(client),
|
|
288
|
+
assetTypes: new AssetTypesV3(client),
|
|
289
|
+
assistanceRequests: new AssistanceRequestsV3(client),
|
|
290
|
+
assistanceRequestTypes: new AssistanceRequestTypesV3(client),
|
|
291
|
+
attributes: new AttributesV3(client),
|
|
292
|
+
auth: new AuthV3(client),
|
|
293
|
+
billingProfiles: new BillingProfilesV3(client),
|
|
294
|
+
branches: new BranchesV3(client),
|
|
295
|
+
carts: new CartsV3(client),
|
|
296
|
+
clientOptions: new ClientOptionsV3(client),
|
|
297
|
+
clientTasks: new ClientTasksV3(client),
|
|
298
|
+
companions: new CompanionsV3(client),
|
|
299
|
+
depositPayments: new DepositPaymentsV3(client),
|
|
300
|
+
depositTransactions: new DepositTransactionsV3(client),
|
|
301
|
+
devices: new DevicesV3(client),
|
|
302
|
+
discountGroups: new DiscountGroupsV3(client),
|
|
303
|
+
discounts: new DiscountsV3(client),
|
|
304
|
+
documents: new DocumentsV3(client),
|
|
305
|
+
documentTypes: new DocumentTypesV3(client),
|
|
306
|
+
events: new EventsV3(client),
|
|
307
|
+
feeds: new FeedsV3(client),
|
|
308
|
+
files: new FilesV3(client),
|
|
309
|
+
fiscalizations: new FiscalizationsV3(client),
|
|
310
|
+
hostComputers: new HostComputersV3(client),
|
|
311
|
+
hostGroups: new HostGroupsV3(client),
|
|
312
|
+
hostIcons: new HostIconsV3(client),
|
|
313
|
+
hostLayoutGroups: new HostLayoutGroupsV3(client),
|
|
314
|
+
hosts: new HostsV3(client),
|
|
315
|
+
instance: new InstanceV3(client),
|
|
316
|
+
inventories: new InventoriesV3(client),
|
|
317
|
+
inventoryAdjustmentReasons: new InventoryAdjustmentReasonsV3(client),
|
|
318
|
+
invoicePayments: new InvoicePaymentsV3(client),
|
|
319
|
+
invoices: new InvoicesV3(client),
|
|
320
|
+
logs: new LogsV3(client),
|
|
321
|
+
mappings: new MappingsV3(client),
|
|
322
|
+
monetaryUnits: new MonetaryUnitsV3(client),
|
|
323
|
+
news: new NewsV3(client),
|
|
324
|
+
notifications: new NotificationsV3(client),
|
|
325
|
+
operators: new OperatorsV3(client),
|
|
326
|
+
options: new OptionsV3(client),
|
|
327
|
+
paymentIntents: new PaymentIntentsV3(client),
|
|
328
|
+
paymentMethods: new PaymentMethodsV3(client),
|
|
329
|
+
paymentProviders: new PaymentProvidersV3(client),
|
|
330
|
+
payments: new PaymentsV3(client),
|
|
331
|
+
pluginLibrary: new PluginLibraryV3(client),
|
|
332
|
+
pointsTransactions: new PointsTransactionsV3(client),
|
|
333
|
+
presetReservationTime: new PresetReservationTimeV3(client),
|
|
334
|
+
presetTimeSale: new PresetTimeSaleV3(client),
|
|
335
|
+
presetTimeSaleMoney: new PresetTimeSaleMoneyV3(client),
|
|
336
|
+
presetTopUp: new PresetTopUpV3(client),
|
|
337
|
+
productGroups: new ProductGroupsV3(client),
|
|
338
|
+
productOrders: new ProductOrdersV3(client),
|
|
339
|
+
products: new ProductsV3(client),
|
|
340
|
+
productStock: new ProductStockV3(client),
|
|
341
|
+
promotions: new PromotionsV3(client),
|
|
342
|
+
publicOptions: new PublicOptionsV3(client),
|
|
343
|
+
recoveries: new RecoveriesV3(client),
|
|
344
|
+
registers: new RegistersV3(client),
|
|
345
|
+
registerTransactions: new RegisterTransactionsV3(client),
|
|
346
|
+
remoteControl: new RemoteControlV3(client),
|
|
347
|
+
reportModules: new ReportModulesV3(client),
|
|
348
|
+
reportPresets: new ReportPresetsV3(client),
|
|
349
|
+
reports: new ReportsV3(client),
|
|
350
|
+
reservations: new ReservationsV3(client),
|
|
351
|
+
salePresets: new SalePresetsV3(client),
|
|
352
|
+
schedules: new SchedulesV3(client),
|
|
353
|
+
securityProfiles: new SecurityProfilesV3(client),
|
|
354
|
+
sessions: new SessionsV3(client),
|
|
355
|
+
shiftCounts: new ShiftCountsV3(client),
|
|
356
|
+
shifts: new ShiftsV3(client),
|
|
357
|
+
skins: new SkinsV3(client),
|
|
358
|
+
smsProviders: new SmsProvidersV3(client),
|
|
359
|
+
stock: new StockV3(client),
|
|
360
|
+
stockCount: new StockCountV3(client),
|
|
361
|
+
stockTransactions: new StockTransactionsV3(client),
|
|
362
|
+
system: new SystemV3(client),
|
|
363
|
+
tasks: new TasksV3(client),
|
|
364
|
+
taxes: new TaxesV3(client),
|
|
365
|
+
timeProducts: new TimeProductsV3(client),
|
|
366
|
+
tokens: new TokensV3(client),
|
|
367
|
+
userAgreements: new UserAgreementsV3(client),
|
|
368
|
+
userGroups: new UserGroupsV3(client),
|
|
369
|
+
userGuests: new UserGuestsV3(client),
|
|
370
|
+
userPermissionSets: new UserPermissionSetsV3(client),
|
|
371
|
+
users: new UsersV3(client),
|
|
372
|
+
userSessions: new UserSessionsV3(client),
|
|
373
|
+
variables: new VariablesV3(client),
|
|
374
|
+
verifications: new VerificationsV3(client),
|
|
375
|
+
waitingLines: new WaitingLinesV3(client),
|
|
376
|
+
};
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
export class GizmoSDK {
|
|
380
|
+
constructor(config) {
|
|
381
|
+
this.client = new GizmoClient(config);
|
|
382
|
+
this.v1 = createV1Categories(this.client);
|
|
383
|
+
this.v2 = createV2Categories(this.client);
|
|
384
|
+
this.v3 = createV3Categories(this.client);
|
|
385
|
+
}
|
|
386
|
+
}
|