@infisale-client/api-client 1.2.74 → 1.2.76
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 +30 -19
- package/dist/api/api.js +4 -16
- package/dist/api/api.mjs +2 -14
- package/package.json +2 -2
package/dist/api/api.d.ts
CHANGED
|
@@ -7084,6 +7084,30 @@ export interface IReview {
|
|
|
7084
7084
|
* @memberof IReview
|
|
7085
7085
|
*/
|
|
7086
7086
|
'product': string;
|
|
7087
|
+
/**
|
|
7088
|
+
*
|
|
7089
|
+
* @type {PartialRecordLanguageEnumString}
|
|
7090
|
+
* @memberof IReview
|
|
7091
|
+
*/
|
|
7092
|
+
'mainVariantTitle': PartialRecordLanguageEnumString;
|
|
7093
|
+
/**
|
|
7094
|
+
*
|
|
7095
|
+
* @type {PartialRecordLanguageEnumString}
|
|
7096
|
+
* @memberof IReview
|
|
7097
|
+
*/
|
|
7098
|
+
'subVariantTitle': PartialRecordLanguageEnumString;
|
|
7099
|
+
/**
|
|
7100
|
+
*
|
|
7101
|
+
* @type {string}
|
|
7102
|
+
* @memberof IReview
|
|
7103
|
+
*/
|
|
7104
|
+
'mainVariantId'?: string;
|
|
7105
|
+
/**
|
|
7106
|
+
*
|
|
7107
|
+
* @type {string}
|
|
7108
|
+
* @memberof IReview
|
|
7109
|
+
*/
|
|
7110
|
+
'subVariantId'?: string;
|
|
7087
7111
|
/**
|
|
7088
7112
|
*
|
|
7089
7113
|
* @type {number}
|
|
@@ -11070,19 +11094,6 @@ export declare const TimezoneEnum: {
|
|
|
11070
11094
|
readonly UTC1400: "UTC+14:00";
|
|
11071
11095
|
};
|
|
11072
11096
|
export type TimezoneEnum = typeof TimezoneEnum[keyof typeof TimezoneEnum];
|
|
11073
|
-
/**
|
|
11074
|
-
*
|
|
11075
|
-
* @export
|
|
11076
|
-
* @enum {string}
|
|
11077
|
-
*/
|
|
11078
|
-
export declare const UniquePageTypeEnum: {
|
|
11079
|
-
readonly HOME: "home";
|
|
11080
|
-
readonly CART: "cart";
|
|
11081
|
-
readonly CHECKOUT: "checkout";
|
|
11082
|
-
readonly SEARCH: "search";
|
|
11083
|
-
readonly NOT_FOUND: "not-found";
|
|
11084
|
-
};
|
|
11085
|
-
export type UniquePageTypeEnum = typeof UniquePageTypeEnum[keyof typeof UniquePageTypeEnum];
|
|
11086
11097
|
/**
|
|
11087
11098
|
*
|
|
11088
11099
|
* @export
|
|
@@ -12808,14 +12819,14 @@ export declare const PageApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
12808
12819
|
getPageBySlug: (slug: string, companyId?: string, domain?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
12809
12820
|
/**
|
|
12810
12821
|
*
|
|
12811
|
-
* @param {
|
|
12822
|
+
* @param {PageTypeEnum} type
|
|
12812
12823
|
* @param {string} [companyId]
|
|
12813
12824
|
* @param {string} [domain]
|
|
12814
12825
|
* @param {string} [template]
|
|
12815
12826
|
* @param {*} [options] Override http request option.
|
|
12816
12827
|
* @throws {RequiredError}
|
|
12817
12828
|
*/
|
|
12818
|
-
getPageByType: (type:
|
|
12829
|
+
getPageByType: (type: PageTypeEnum, companyId?: string, domain?: string, template?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
12819
12830
|
/**
|
|
12820
12831
|
*
|
|
12821
12832
|
* @param {number} [page]
|
|
@@ -12851,14 +12862,14 @@ export declare const PageApiFp: (configuration?: Configuration) => {
|
|
|
12851
12862
|
getPageBySlug(slug: string, companyId?: string, domain?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IPageResponse>>;
|
|
12852
12863
|
/**
|
|
12853
12864
|
*
|
|
12854
|
-
* @param {
|
|
12865
|
+
* @param {PageTypeEnum} type
|
|
12855
12866
|
* @param {string} [companyId]
|
|
12856
12867
|
* @param {string} [domain]
|
|
12857
12868
|
* @param {string} [template]
|
|
12858
12869
|
* @param {*} [options] Override http request option.
|
|
12859
12870
|
* @throws {RequiredError}
|
|
12860
12871
|
*/
|
|
12861
|
-
getPageByType(type:
|
|
12872
|
+
getPageByType(type: PageTypeEnum, companyId?: string, domain?: string, template?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IPageResponse>>;
|
|
12862
12873
|
/**
|
|
12863
12874
|
*
|
|
12864
12875
|
* @param {number} [page]
|
|
@@ -12938,10 +12949,10 @@ export interface PageApiGetPageBySlugRequest {
|
|
|
12938
12949
|
export interface PageApiGetPageByTypeRequest {
|
|
12939
12950
|
/**
|
|
12940
12951
|
*
|
|
12941
|
-
* @type {
|
|
12952
|
+
* @type {PageTypeEnum}
|
|
12942
12953
|
* @memberof PageApiGetPageByType
|
|
12943
12954
|
*/
|
|
12944
|
-
readonly type:
|
|
12955
|
+
readonly type: PageTypeEnum;
|
|
12945
12956
|
/**
|
|
12946
12957
|
*
|
|
12947
12958
|
* @type {string}
|
package/dist/api/api.js
CHANGED
|
@@ -17,8 +17,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
17
17
|
};
|
|
18
18
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
19
|
exports.PaymentGatewayEnum = exports.PageTypeEnum = exports.OrderStatusEnum = exports.OrderShippedStatusEnum = exports.OrderReturnStatusEnumWAITINGRETURN = exports.OrderReturnStatusEnumRETURNED = exports.OrderReturnStatusEnum = exports.OrderPaymentStatusEnum = exports.OrderEnum = exports.OperationStatusEnum = exports.NotificationStatusEnum = exports.NotificationMessageEnum = exports.NavigationUrlTargetEnum = exports.LanguageEnum = exports.IUserCollectionQueryParamsDateFieldEnum = exports.IProductCollectionQueryParamsSortEnum = exports.IProductCollectionQueryParamsDateFieldEnum = exports.IPlanCollectionQueryParamsDateFieldEnum = exports.IPageCollectionQueryParamsDateFieldEnum = exports.IOrderCollectionQueryParamsDateFieldEnum = exports.IOperationCollectionQueryParamsDateFieldEnum = exports.INotificationCollectionQueryParamsDateFieldEnum = exports.IMyOrderCollectionQueryParamsDateFieldEnum = exports.IFileCollectionQueryParamsDateFieldEnum = exports.IContactFormCollectionQueryParamsDateFieldEnum = exports.ICompanyUsersCollectionQueryParamsDateFieldEnum = exports.ICompanyCollectionQueryParamsDateFieldEnum = exports.ICollectionCollectionsQueryParamsDateFieldEnum = exports.ICategoryCollectionQueryParamsDateFieldEnum = exports.IBrandCollectionQueryParamsDateFieldEnum = exports.FontSizeEnum = exports.FileTypeEnum = exports.FileStatusEnum = exports.FileKeywordEnum = exports.EmailConfigDnsRecordTypeEnum = exports.CurrencyRateTypeEnum = exports.CurrencyEnum = exports.CountryEnum = exports.ContentStatusEnum = exports.ContentPositionYEnum = exports.ContentPositionXEnum = exports.ComponentTypeEnum = exports.ComponentProductTypeEnum = exports.ComponentProductOrderEnum = exports.ComponentProductListTypeEnum = exports.ComponentContentTypeEnum = exports.CompanyUserStatusEnum = exports.CompanyTypeEnum = exports.CompanyStatusEnum = exports.ButtonVariantEnum = void 0;
|
|
20
|
-
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.
|
|
21
|
-
exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.SitemapApi = exports.SitemapApiFactory = exports.SitemapApiFp = exports.SitemapApiAxiosParamCreator = exports.GetProductsSortEnum = exports.GetProductsDateFieldEnum = exports.ProductApi = exports.ProductApiFactory = exports.ProductApiFp =
|
|
20
|
+
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.TemplateTypeEnum = exports.SitemapTypeEnum = exports.ShippingPricingTypeEnum = exports.ReviewStatusEnum = exports.ProductDetailImageZoomTypeEnum = exports.PlanTypeEnum = exports.PlanStatusEnum = exports.PlanCurrencyEnum = exports.PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSortDateFieldEnum = exports.PaymentMethodEnum = void 0;
|
|
21
|
+
exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.SitemapApi = exports.SitemapApiFactory = exports.SitemapApiFp = exports.SitemapApiAxiosParamCreator = exports.GetProductsSortEnum = exports.GetProductsDateFieldEnum = exports.ProductApi = exports.ProductApiFactory = exports.ProductApiFp = void 0;
|
|
22
22
|
const axios_1 = __importDefault(require("axios"));
|
|
23
23
|
// Some imports not used depending on template conditions
|
|
24
24
|
// @ts-ignore
|
|
@@ -859,18 +859,6 @@ exports.TimezoneEnum = {
|
|
|
859
859
|
UTC1300: 'UTC+13:00',
|
|
860
860
|
UTC1400: 'UTC+14:00'
|
|
861
861
|
};
|
|
862
|
-
/**
|
|
863
|
-
*
|
|
864
|
-
* @export
|
|
865
|
-
* @enum {string}
|
|
866
|
-
*/
|
|
867
|
-
exports.UniquePageTypeEnum = {
|
|
868
|
-
HOME: 'home',
|
|
869
|
-
CART: 'cart',
|
|
870
|
-
CHECKOUT: 'checkout',
|
|
871
|
-
SEARCH: 'search',
|
|
872
|
-
NOT_FOUND: 'not-found'
|
|
873
|
-
};
|
|
874
862
|
/**
|
|
875
863
|
*
|
|
876
864
|
* @export
|
|
@@ -3047,7 +3035,7 @@ const PageApiAxiosParamCreator = function (configuration) {
|
|
|
3047
3035
|
},
|
|
3048
3036
|
/**
|
|
3049
3037
|
*
|
|
3050
|
-
* @param {
|
|
3038
|
+
* @param {PageTypeEnum} type
|
|
3051
3039
|
* @param {string} [companyId]
|
|
3052
3040
|
* @param {string} [domain]
|
|
3053
3041
|
* @param {string} [template]
|
|
@@ -3187,7 +3175,7 @@ const PageApiFp = function (configuration) {
|
|
|
3187
3175
|
},
|
|
3188
3176
|
/**
|
|
3189
3177
|
*
|
|
3190
|
-
* @param {
|
|
3178
|
+
* @param {PageTypeEnum} type
|
|
3191
3179
|
* @param {string} [companyId]
|
|
3192
3180
|
* @param {string} [domain]
|
|
3193
3181
|
* @param {string} [template]
|
package/dist/api/api.mjs
CHANGED
|
@@ -848,18 +848,6 @@ export const TimezoneEnum = {
|
|
|
848
848
|
UTC1300: 'UTC+13:00',
|
|
849
849
|
UTC1400: 'UTC+14:00'
|
|
850
850
|
};
|
|
851
|
-
/**
|
|
852
|
-
*
|
|
853
|
-
* @export
|
|
854
|
-
* @enum {string}
|
|
855
|
-
*/
|
|
856
|
-
export const UniquePageTypeEnum = {
|
|
857
|
-
HOME: 'home',
|
|
858
|
-
CART: 'cart',
|
|
859
|
-
CHECKOUT: 'checkout',
|
|
860
|
-
SEARCH: 'search',
|
|
861
|
-
NOT_FOUND: 'not-found'
|
|
862
|
-
};
|
|
863
851
|
/**
|
|
864
852
|
*
|
|
865
853
|
* @export
|
|
@@ -3008,7 +2996,7 @@ export const PageApiAxiosParamCreator = function (configuration) {
|
|
|
3008
2996
|
},
|
|
3009
2997
|
/**
|
|
3010
2998
|
*
|
|
3011
|
-
* @param {
|
|
2999
|
+
* @param {PageTypeEnum} type
|
|
3012
3000
|
* @param {string} [companyId]
|
|
3013
3001
|
* @param {string} [domain]
|
|
3014
3002
|
* @param {string} [template]
|
|
@@ -3147,7 +3135,7 @@ export const PageApiFp = function (configuration) {
|
|
|
3147
3135
|
},
|
|
3148
3136
|
/**
|
|
3149
3137
|
*
|
|
3150
|
-
* @param {
|
|
3138
|
+
* @param {PageTypeEnum} type
|
|
3151
3139
|
* @param {string} [companyId]
|
|
3152
3140
|
* @param {string} [domain]
|
|
3153
3141
|
* @param {string} [template]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infisale-client/api-client",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.76",
|
|
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": "191e1fad8fa241908e7639c2925cc91f561b889d"
|
|
41
41
|
}
|