@infisale-client/api-client 1.3.29 → 1.3.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/api.d.ts +47 -0
- package/dist/api/api.js +12 -3
- package/dist/api/api.mjs +9 -0
- package/package.json +2 -2
package/dist/api/api.d.ts
CHANGED
|
@@ -25,6 +25,16 @@ export declare const CompanyStatusEnum: {
|
|
|
25
25
|
readonly DELETED: "deleted";
|
|
26
26
|
};
|
|
27
27
|
export type CompanyStatusEnum = typeof CompanyStatusEnum[keyof typeof CompanyStatusEnum];
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @export
|
|
31
|
+
* @enum {string}
|
|
32
|
+
*/
|
|
33
|
+
export declare const CompanyTypeEnum: {
|
|
34
|
+
readonly B2C: "b2c";
|
|
35
|
+
readonly CMS: "cms";
|
|
36
|
+
};
|
|
37
|
+
export type CompanyTypeEnum = typeof CompanyTypeEnum[keyof typeof CompanyTypeEnum];
|
|
28
38
|
/**
|
|
29
39
|
*
|
|
30
40
|
* @export
|
|
@@ -2849,6 +2859,19 @@ export interface ICompanyCreateWarehousesRequest {
|
|
|
2849
2859
|
*/
|
|
2850
2860
|
'address'?: string;
|
|
2851
2861
|
}
|
|
2862
|
+
/**
|
|
2863
|
+
*
|
|
2864
|
+
* @export
|
|
2865
|
+
* @interface ICompanyCustomerPatchRequest
|
|
2866
|
+
*/
|
|
2867
|
+
export interface ICompanyCustomerPatchRequest {
|
|
2868
|
+
/**
|
|
2869
|
+
*
|
|
2870
|
+
* @type {UserStatusEnum}
|
|
2871
|
+
* @memberof ICompanyCustomerPatchRequest
|
|
2872
|
+
*/
|
|
2873
|
+
'status': UserStatusEnum;
|
|
2874
|
+
}
|
|
2852
2875
|
/**
|
|
2853
2876
|
*
|
|
2854
2877
|
* @export
|
|
@@ -8656,6 +8679,12 @@ export interface IThemePostRequest {
|
|
|
8656
8679
|
* @memberof IThemePostRequest
|
|
8657
8680
|
*/
|
|
8658
8681
|
'thumbnail'?: IImage;
|
|
8682
|
+
/**
|
|
8683
|
+
*
|
|
8684
|
+
* @type {CompanyTypeEnum}
|
|
8685
|
+
* @memberof IThemePostRequest
|
|
8686
|
+
*/
|
|
8687
|
+
'type': CompanyTypeEnum;
|
|
8659
8688
|
/**
|
|
8660
8689
|
* Construct a type with a set of properties K of type T
|
|
8661
8690
|
* @type {{ [key: string]: any; }}
|
|
@@ -8753,6 +8782,12 @@ export interface IThemeResponse {
|
|
|
8753
8782
|
* @memberof IThemeResponse
|
|
8754
8783
|
*/
|
|
8755
8784
|
'main'?: string;
|
|
8785
|
+
/**
|
|
8786
|
+
*
|
|
8787
|
+
* @type {CompanyTypeEnum}
|
|
8788
|
+
* @memberof IThemeResponse
|
|
8789
|
+
*/
|
|
8790
|
+
'type': CompanyTypeEnum;
|
|
8756
8791
|
/**
|
|
8757
8792
|
* Construct a type with a set of properties K of type T
|
|
8758
8793
|
* @type {{ [key: string]: any; }}
|
|
@@ -11936,6 +11971,12 @@ export interface PickIThemeExcludeKeyofIThemeGroups {
|
|
|
11936
11971
|
* @memberof PickIThemeExcludeKeyofIThemeGroups
|
|
11937
11972
|
*/
|
|
11938
11973
|
'main'?: string;
|
|
11974
|
+
/**
|
|
11975
|
+
*
|
|
11976
|
+
* @type {CompanyTypeEnum}
|
|
11977
|
+
* @memberof PickIThemeExcludeKeyofIThemeGroups
|
|
11978
|
+
*/
|
|
11979
|
+
'type': CompanyTypeEnum;
|
|
11939
11980
|
/**
|
|
11940
11981
|
* Construct a type with a set of properties K of type T
|
|
11941
11982
|
* @type {{ [key: string]: any; }}
|
|
@@ -11975,6 +12016,12 @@ export interface PickIThemeResponseExcludeKeyofIThemeResponseKeyofMongoResponseO
|
|
|
11975
12016
|
* @memberof PickIThemeResponseExcludeKeyofIThemeResponseKeyofMongoResponseOrMainOrCompanyOrCreatorOrFiles
|
|
11976
12017
|
*/
|
|
11977
12018
|
'thumbnail'?: IImage;
|
|
12019
|
+
/**
|
|
12020
|
+
*
|
|
12021
|
+
* @type {CompanyTypeEnum}
|
|
12022
|
+
* @memberof PickIThemeResponseExcludeKeyofIThemeResponseKeyofMongoResponseOrMainOrCompanyOrCreatorOrFiles
|
|
12023
|
+
*/
|
|
12024
|
+
'type': CompanyTypeEnum;
|
|
11978
12025
|
/**
|
|
11979
12026
|
* Construct a type with a set of properties K of type T
|
|
11980
12027
|
* @type {{ [key: string]: any; }}
|
package/dist/api/api.js
CHANGED
|
@@ -16,9 +16,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
16
16
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
17
17
|
};
|
|
18
18
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
21
|
-
exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.UrlRedirectApi = exports.UrlRedirectApiFactory = exports.UrlRedirectApiFp = exports.UrlRedirectApiAxiosParamCreator = exports.UniquePageApi = exports.UniquePageApiFactory = exports.UniquePageApiFp = exports.UniquePageApiAxiosParamCreator = exports.TemplateApi = exports.TemplateApiFactory = exports.TemplateApiFp = exports.TemplateApiAxiosParamCreator = exports.SitemapApi = exports.SitemapApiFactory = exports.SitemapApiFp = exports.SitemapApiAxiosParamCreator = exports.GetProductsSortEnum = void 0;
|
|
19
|
+
exports.PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSortDateFieldEnum = exports.PaymentStatusEnum = exports.PaymentMethodEnum = exports.PaymentGatewayEnum = exports.OrderStatusEnum = exports.OrderShippedStatusEnum = exports.OrderReturnStatusEnumWAITINGRETURN = exports.OrderReturnStatusEnumRETURNED = exports.OrderReturnStatusEnum = exports.OrderPaymentStatusEnum = exports.OrderEnum = exports.OperationStatusEnum = exports.NotificationStatusEnum = exports.NotificationMessageEnum = exports.NavigationUrlTargetEnum = exports.NavigationLinkTypeEnum = exports.LanguageEnum = exports.IUserCollectionQueryParamsDateFieldEnum = exports.IUrlRedirectCollectionQueryParamsSortEnum = exports.IUrlRedirectCollectionQueryParamsDateFieldEnum = exports.IUniqueCollectionQueryParamsDateFieldEnum = exports.IProductCollectionQueryParamsSortEnum = exports.IProductCollectionQueryParamsDateFieldEnum = exports.IPlanCollectionQueryParamsDateFieldEnum = exports.IPaymentPostRequestPeriodEnum = exports.IPageCollectionQueryParamsDateFieldEnum = exports.IOrderCollectionQueryParamsDateFieldEnum = exports.IOperationCollectionQueryParamsDateFieldEnum = exports.INotificationCollectionQueryParamsDateFieldEnum = exports.INavigationCollectionQueryParamsDateFieldEnum = exports.IMyOrderCollectionQueryParamsDateFieldEnum = exports.IFileCollectionQueryParamsDateFieldEnum = exports.IContactFormCollectionQueryParamsDateFieldEnum = exports.ICompanyUsersCollectionQueryParamsDateFieldEnum = exports.ICompanyDashboardResponsePeriodEnum = exports.ICompanyCollectionQueryParamsDateFieldEnum = exports.ICollectionCollectionsQueryParamsDateFieldEnum = exports.ICategoryCollectionQueryParamsDateFieldEnum = exports.IBrandCollectionQueryParamsDateFieldEnum = exports.FileTypeEnum = exports.FileStatusEnum = exports.FileKeywordEnum = exports.EmailConfigDnsRecordTypeEnum = exports.CurrencyRateTypeEnum = exports.CurrencyEnum = exports.CountryEnum = exports.ContentStatusEnum = exports.CompanyUserStatusEnum = exports.CompanyTypeEnum = exports.CompanyStatusEnum = void 0;
|
|
20
|
+
exports.ProductApi = exports.ProductApiFactory = exports.ProductApiFp = exports.ProductApiAxiosParamCreator = exports.GetPagesDateFieldEnum = exports.PageApi = exports.PageApiFactory = exports.PageApiFp = exports.PageApiAxiosParamCreator = exports.GetOrdersDateFieldEnum = exports.GetMyOrdersDateFieldEnum = exports.OrderApi = exports.OrderApiFactory = exports.OrderApiFp = exports.OrderApiAxiosParamCreator = exports.ContactFormApi = exports.ContactFormApiFactory = exports.ContactFormApiFp = exports.ContactFormApiAxiosParamCreator = exports.CompanyApi = exports.CompanyApiFactory = exports.CompanyApiFp = exports.CompanyApiAxiosParamCreator = exports.GetCollectionsDateFieldEnum = exports.CollectionApi = exports.CollectionApiFactory = exports.CollectionApiFp = exports.CollectionApiAxiosParamCreator = exports.BasketApi = exports.BasketApiFactory = exports.BasketApiFp = exports.BasketApiAxiosParamCreator = exports.AuthApi = exports.AuthApiFactory = exports.AuthApiFp = exports.AuthApiAxiosParamCreator = exports.AddressApi = exports.AddressApiFactory = exports.AddressApiFp = exports.AddressApiAxiosParamCreator = exports.UserStatusEnum = exports.UserRoleEnum = exports.TimezoneEnum = exports.StoreLocationEnum = exports.SitemapTypeEnum = exports.ShippingPricingTypeEnum = exports.ReviewStatusEnum = exports.PlanTypeEnum = exports.PlanStatusEnum = exports.PlanCurrencyEnum = void 0;
|
|
21
|
+
exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.UrlRedirectApi = exports.UrlRedirectApiFactory = exports.UrlRedirectApiFp = exports.UrlRedirectApiAxiosParamCreator = exports.UniquePageApi = exports.UniquePageApiFactory = exports.UniquePageApiFp = exports.UniquePageApiAxiosParamCreator = exports.TemplateApi = exports.TemplateApiFactory = exports.TemplateApiFp = exports.TemplateApiAxiosParamCreator = exports.SitemapApi = exports.SitemapApiFactory = exports.SitemapApiFp = exports.SitemapApiAxiosParamCreator = exports.GetProductsSortEnum = exports.GetProductsDateFieldEnum = void 0;
|
|
22
22
|
const axios_1 = __importDefault(require("axios"));
|
|
23
23
|
// Some imports not used depending on template conditions
|
|
24
24
|
// @ts-ignore
|
|
@@ -36,6 +36,15 @@ exports.CompanyStatusEnum = {
|
|
|
36
36
|
PAYMENT_REQUIRED: 'payment_required',
|
|
37
37
|
DELETED: 'deleted'
|
|
38
38
|
};
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @export
|
|
42
|
+
* @enum {string}
|
|
43
|
+
*/
|
|
44
|
+
exports.CompanyTypeEnum = {
|
|
45
|
+
B2C: 'b2c',
|
|
46
|
+
CMS: 'cms'
|
|
47
|
+
};
|
|
39
48
|
/**
|
|
40
49
|
*
|
|
41
50
|
* @export
|
package/dist/api/api.mjs
CHANGED
|
@@ -25,6 +25,15 @@ export const CompanyStatusEnum = {
|
|
|
25
25
|
PAYMENT_REQUIRED: 'payment_required',
|
|
26
26
|
DELETED: 'deleted'
|
|
27
27
|
};
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @export
|
|
31
|
+
* @enum {string}
|
|
32
|
+
*/
|
|
33
|
+
export const CompanyTypeEnum = {
|
|
34
|
+
B2C: 'b2c',
|
|
35
|
+
CMS: 'cms'
|
|
36
|
+
};
|
|
28
37
|
/**
|
|
29
38
|
*
|
|
30
39
|
* @export
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infisale-client/api-client",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.30",
|
|
4
4
|
"description": "api-client-sdk",
|
|
5
5
|
"author": "Muhammet KÖKLÜ <105980019+byhipernova@users.noreply.github.com>",
|
|
6
6
|
"homepage": "https://github.com/infisale/infisale-client#readme",
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"bugs": {
|
|
38
38
|
"url": "https://github.com/infisale/infisale-client/issues"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "edc22a366d2e1b45b12a5343347591492f244a15"
|
|
41
41
|
}
|