@ikas/api-client 1.0.93 → 1.0.94
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/package.json +1 -8
- package/dist/api/admin/admin-client.d.ts +0 -10
- package/dist/api/admin/admin-client.js +0 -20
- package/dist/api/admin/admin-client.js.map +0 -1
- package/dist/api/admin/generated/default-gqls.d.ts +0 -136
- package/dist/api/admin/generated/default-gqls.js +0 -140
- package/dist/api/admin/generated/default-gqls.js.map +0 -1
- package/dist/api/admin/generated/index.d.ts +0 -7427
- package/dist/api/admin/generated/index.js +0 -1046
- package/dist/api/admin/generated/index.js.map +0 -1
- package/dist/api/admin/generated/mutation.d.ts +0 -80
- package/dist/api/admin/generated/mutation.js +0 -218
- package/dist/api/admin/generated/mutation.js.map +0 -1
- package/dist/api/admin/generated/query.d.ts +0 -74
- package/dist/api/admin/generated/query.js +0 -200
- package/dist/api/admin/generated/query.js.map +0 -1
- package/dist/api/admin/index.d.ts +0 -2
- package/dist/api/admin/index.js +0 -19
- package/dist/api/admin/index.js.map +0 -1
- package/dist/api/admin/rest.d.ts +0 -33
- package/dist/api/admin/rest.js +0 -35
- package/dist/api/admin/rest.js.map +0 -1
- package/dist/api/base.d.ts +0 -52
- package/dist/api/base.js +0 -113
- package/dist/api/base.js.map +0 -1
- package/dist/api/index.d.ts +0 -3
- package/dist/api/index.js +0 -20
- package/dist/api/index.js.map +0 -1
- package/dist/api/oauth/index.d.ts +0 -12
- package/dist/api/oauth/index.js +0 -62
- package/dist/api/oauth/index.js.map +0 -1
- package/dist/api/oauth/models.d.ts +0 -52
- package/dist/api/oauth/models.js +0 -23
- package/dist/api/oauth/models.js.map +0 -1
- package/dist/globals/constants.d.ts +0 -22
- package/dist/globals/constants.js +0 -27
- package/dist/globals/constants.js.map +0 -1
- package/dist/globals/index.d.ts +0 -1
- package/dist/globals/index.js +0 -18
- package/dist/globals/index.js.map +0 -1
- package/dist/helpers/auth-helpers.d.ts +0 -2
- package/dist/helpers/auth-helpers.js +0 -20
- package/dist/helpers/auth-helpers.js.map +0 -1
- package/dist/helpers/index.d.ts +0 -2
- package/dist/helpers/index.js +0 -19
- package/dist/helpers/index.js.map +0 -1
- package/dist/helpers/webhook-helpers.d.ts +0 -4
- package/dist/helpers/webhook-helpers.js +0 -35
- package/dist/helpers/webhook-helpers.js.map +0 -1
- package/dist/index.d.ts +0 -20
- package/dist/index.js +0 -38
- package/dist/index.js.map +0 -1
- package/dist/models/base.d.ts +0 -7
- package/dist/models/base.js +0 -3
- package/dist/models/base.js.map +0 -1
- package/dist/models/index.d.ts +0 -1
- package/dist/models/index.js +0 -18
- package/dist/models/index.js.map +0 -1
- package/dist/models/webhook/index.d.ts +0 -1
- package/dist/models/webhook/index.js +0 -18
- package/dist/models/webhook/index.js.map +0 -1
- package/dist/models/webhook/models.d.ts +0 -71
- package/dist/models/webhook/models.js +0 -21
- package/dist/models/webhook/models.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ikas/api-client",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.94",
|
|
4
4
|
"description": "ikas public node api client for store apps and private apps",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -37,15 +37,8 @@
|
|
|
37
37
|
"scripts": {
|
|
38
38
|
"build:dev": "graphql-codegen --config codegen/admin_dev.yml && npx tsc",
|
|
39
39
|
"build:prod": "graphql-codegen --config codegen/admin_prod.yml && npx tsc",
|
|
40
|
-
"version:patch": "pnpm build:prod && npm --no-git-tag-version version patch && git add package.json src/api/admin/generated/*",
|
|
41
|
-
"version:alpha": "pnpm build:dev && npm --no-git-tag-version version prerelease --preid=alpha && git add package.json src/api/admin/generated/*",
|
|
42
40
|
"codegen": "graphql-codegen --config codegen-dynamic/codegen.ts"
|
|
43
41
|
},
|
|
44
|
-
"husky": {
|
|
45
|
-
"hooks": {
|
|
46
|
-
"pre-commit": "git-branch-is main && (pnpm version:patch) || (git-branch-is development && pnpm version:alpha) || true"
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
42
|
"prettier": {
|
|
50
43
|
"semi": true,
|
|
51
44
|
"trailingComma": "all",
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { BaseGraphQLAPIClient, BaseGraphQLAPIClientOptions } from '../base';
|
|
2
|
-
import { AdminQuery } from './generated/query';
|
|
3
|
-
import { AdminMutation } from './generated/mutation';
|
|
4
|
-
import { AdminRestAPI } from './rest';
|
|
5
|
-
export declare class ikasAdminGraphQLAPIClient<TokenData> extends BaseGraphQLAPIClient<TokenData> {
|
|
6
|
-
queries: AdminQuery;
|
|
7
|
-
mutations: AdminMutation;
|
|
8
|
-
rest: AdminRestAPI;
|
|
9
|
-
constructor(options: BaseGraphQLAPIClientOptions<TokenData>);
|
|
10
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ikasAdminGraphQLAPIClient = void 0;
|
|
4
|
-
const base_1 = require("../base");
|
|
5
|
-
const query_1 = require("./generated/query");
|
|
6
|
-
const mutation_1 = require("./generated/mutation");
|
|
7
|
-
const rest_1 = require("./rest");
|
|
8
|
-
class ikasAdminGraphQLAPIClient extends base_1.BaseGraphQLAPIClient {
|
|
9
|
-
queries;
|
|
10
|
-
mutations;
|
|
11
|
-
rest;
|
|
12
|
-
constructor(options) {
|
|
13
|
-
super(options);
|
|
14
|
-
this.queries = new query_1.AdminQuery(this);
|
|
15
|
-
this.mutations = new mutation_1.AdminMutation(this);
|
|
16
|
-
this.rest = new rest_1.AdminRestAPI(this);
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
exports.ikasAdminGraphQLAPIClient = ikasAdminGraphQLAPIClient;
|
|
20
|
-
//# sourceMappingURL=admin-client.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"admin-client.js","sourceRoot":"","sources":["../../../src/api/admin/admin-client.ts"],"names":[],"mappings":";;;AAAA,kCAA4E;AAC5E,6CAA+C;AAC/C,mDAAqD;AACrD,iCAAsC;AAEtC,MAAa,yBAAqC,SAAQ,2BAA+B;IACvF,OAAO,CAAa;IACpB,SAAS,CAAgB;IACzB,IAAI,CAAe;IAEnB,YAAY,OAA+C;QACzD,KAAK,CAAC,OAAO,CAAC,CAAC;QAEf,IAAI,CAAC,OAAO,GAAG,IAAI,kBAAU,CAAC,IAAI,CAAC,CAAC;QACpC,IAAI,CAAC,SAAS,GAAG,IAAI,wBAAa,CAAC,IAAI,CAAC,CAAC;QACzC,IAAI,CAAC,IAAI,GAAG,IAAI,mBAAY,CAAC,IAAI,CAAC,CAAC;IACrC,CAAC;CACF;AAZD,8DAYC"}
|
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
export declare const QueryDefaultGQLs: {
|
|
2
|
-
getAuthorizedApp: string;
|
|
3
|
-
getAvailableSubscriptions: string;
|
|
4
|
-
getGlobalTaxSettings: string;
|
|
5
|
-
getIkasWalletWithBalance: string;
|
|
6
|
-
getImageUploadUrl: string;
|
|
7
|
-
getImportJobData: string;
|
|
8
|
-
getImportJobDataList: string;
|
|
9
|
-
getLastImportJobData: string;
|
|
10
|
-
getMerchant: string;
|
|
11
|
-
getMerchantLicence: string;
|
|
12
|
-
getSalesChannel: string;
|
|
13
|
-
getTimelineEntry: string;
|
|
14
|
-
getVideoUploadUrl: string;
|
|
15
|
-
listAbandonedCheckouts: string;
|
|
16
|
-
listBranch: string;
|
|
17
|
-
listCampaign: string;
|
|
18
|
-
listCargoCompany: string;
|
|
19
|
-
listCategory: string;
|
|
20
|
-
listCity: string;
|
|
21
|
-
listCountry: string;
|
|
22
|
-
listCoupon: string;
|
|
23
|
-
listCurrency: string;
|
|
24
|
-
listCustomer: string;
|
|
25
|
-
listCustomerAttribute: string;
|
|
26
|
-
listCustomerGroup: string;
|
|
27
|
-
listCustomerTag: string;
|
|
28
|
-
listDistrict: string;
|
|
29
|
-
listGlobalTaxSettings: string;
|
|
30
|
-
listIkasWallet: string;
|
|
31
|
-
listIkasWalletTransaction: string;
|
|
32
|
-
listLanguage: string;
|
|
33
|
-
listMerchantAppPayment: string;
|
|
34
|
-
listMerchantSettings: string;
|
|
35
|
-
listOrder: string;
|
|
36
|
-
listOrderSession: string;
|
|
37
|
-
listOrderTag: string;
|
|
38
|
-
listOrderTransactions: string;
|
|
39
|
-
listPaymentGateway: string;
|
|
40
|
-
listPriceList: string;
|
|
41
|
-
listProduct: string;
|
|
42
|
-
listProductAttribute: string;
|
|
43
|
-
listProductBrand: string;
|
|
44
|
-
listProductOptionSet: string;
|
|
45
|
-
listProductOrder: string;
|
|
46
|
-
listProductStockLocation: string;
|
|
47
|
-
listProductTag: string;
|
|
48
|
-
listProductUnit: string;
|
|
49
|
-
listProductVolumeDiscount: string;
|
|
50
|
-
listSalesChannel: string;
|
|
51
|
-
listShippingSettings: string;
|
|
52
|
-
listState: string;
|
|
53
|
-
listStockLocation: string;
|
|
54
|
-
listStorefront: string;
|
|
55
|
-
listStorefrontJSScript: string;
|
|
56
|
-
listStorefrontPolicy: string;
|
|
57
|
-
listTaxSettings: string;
|
|
58
|
-
listTerminal: string;
|
|
59
|
-
listTown: string;
|
|
60
|
-
listVariantType: string;
|
|
61
|
-
listVendor: string;
|
|
62
|
-
listWebhook: string;
|
|
63
|
-
me: string;
|
|
64
|
-
searchProducts: string;
|
|
65
|
-
};
|
|
66
|
-
export declare const MutationDefaultGQLs: {
|
|
67
|
-
addCustomTimelineEntry: string;
|
|
68
|
-
addOrderInvoice: string;
|
|
69
|
-
addOrderTag: string;
|
|
70
|
-
approvePendingOrderTransactions: string;
|
|
71
|
-
bulkUpdateProducts: string;
|
|
72
|
-
campaignAddCoupons: string;
|
|
73
|
-
cancelFulfillment: string;
|
|
74
|
-
cancelOrderLine: string;
|
|
75
|
-
changeStockLocation: string;
|
|
76
|
-
createMerchantAppPayment: string;
|
|
77
|
-
createMerchantAppPaymentWithSubscription: string;
|
|
78
|
-
createOrderWithTransactions: string;
|
|
79
|
-
createWalletTransaction: string;
|
|
80
|
-
deleteCampaignList: string;
|
|
81
|
-
deleteCategoryList: string;
|
|
82
|
-
deleteCouponList: string;
|
|
83
|
-
deleteCustomerGroupList: string;
|
|
84
|
-
deleteCustomerList: string;
|
|
85
|
-
deleteCustomerTagList: string;
|
|
86
|
-
deleteGlobalTaxSettingsList: string;
|
|
87
|
-
deleteOrderTagList: string;
|
|
88
|
-
deleteProductAttributeList: string;
|
|
89
|
-
deleteProductBrandList: string;
|
|
90
|
-
deleteProductList: string;
|
|
91
|
-
deleteProductOrderList: string;
|
|
92
|
-
deleteProductTagList: string;
|
|
93
|
-
deleteProductUnitList: string;
|
|
94
|
-
deleteProductVolumeDiscountList: string;
|
|
95
|
-
deleteStorefrontJSScript: string;
|
|
96
|
-
deleteStorefrontPolicyList: string;
|
|
97
|
-
deleteTaxSettingsList: string;
|
|
98
|
-
deleteVariantTypeList: string;
|
|
99
|
-
deleteVendorList: string;
|
|
100
|
-
deleteWebhook: string;
|
|
101
|
-
fulfillOrder: string;
|
|
102
|
-
generateOrderPaymentLink: string;
|
|
103
|
-
getAppDemoDay: string;
|
|
104
|
-
getOrderInvoicePdfUrl: string;
|
|
105
|
-
refundOrderLine: string;
|
|
106
|
-
removeOrderTag: string;
|
|
107
|
-
saveCampaign: string;
|
|
108
|
-
saveCategory: string;
|
|
109
|
-
saveCustomer: string;
|
|
110
|
-
saveCustomerGroup: string;
|
|
111
|
-
saveCustomerTag: string;
|
|
112
|
-
saveGlobalTaxSettings: string;
|
|
113
|
-
saveOrderTag: string;
|
|
114
|
-
saveProduct: string;
|
|
115
|
-
saveProductAttribute: string;
|
|
116
|
-
saveProductBrand: string;
|
|
117
|
-
saveProductOrder: string;
|
|
118
|
-
saveProductStockLocations: string;
|
|
119
|
-
saveProductTag: string;
|
|
120
|
-
saveProductUnit: string;
|
|
121
|
-
saveProductVolumeDiscount: string;
|
|
122
|
-
saveSalesChannel: string;
|
|
123
|
-
saveStorefrontJSScript: string;
|
|
124
|
-
saveStorefrontPolicy: string;
|
|
125
|
-
saveTaxSettings: string;
|
|
126
|
-
saveVariantPrices: string;
|
|
127
|
-
saveVariantType: string;
|
|
128
|
-
saveVendor: string;
|
|
129
|
-
saveWebhook: string;
|
|
130
|
-
updateCustomerB2BStatus: string;
|
|
131
|
-
updateOrderAddresses: string;
|
|
132
|
-
updateOrderLine: string;
|
|
133
|
-
updateOrderPackageStatus: string;
|
|
134
|
-
updateProductSalesChannelStatus: string;
|
|
135
|
-
updateSubscriptionStatus: string;
|
|
136
|
-
};
|