@infisale-client/api-client 1.2.74 → 1.2.75
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 +6 -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
|
@@ -11070,19 +11070,6 @@ export declare const TimezoneEnum: {
|
|
|
11070
11070
|
readonly UTC1400: "UTC+14:00";
|
|
11071
11071
|
};
|
|
11072
11072
|
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
11073
|
/**
|
|
11087
11074
|
*
|
|
11088
11075
|
* @export
|
|
@@ -12808,14 +12795,14 @@ export declare const PageApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
12808
12795
|
getPageBySlug: (slug: string, companyId?: string, domain?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
12809
12796
|
/**
|
|
12810
12797
|
*
|
|
12811
|
-
* @param {
|
|
12798
|
+
* @param {PageTypeEnum} type
|
|
12812
12799
|
* @param {string} [companyId]
|
|
12813
12800
|
* @param {string} [domain]
|
|
12814
12801
|
* @param {string} [template]
|
|
12815
12802
|
* @param {*} [options] Override http request option.
|
|
12816
12803
|
* @throws {RequiredError}
|
|
12817
12804
|
*/
|
|
12818
|
-
getPageByType: (type:
|
|
12805
|
+
getPageByType: (type: PageTypeEnum, companyId?: string, domain?: string, template?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
12819
12806
|
/**
|
|
12820
12807
|
*
|
|
12821
12808
|
* @param {number} [page]
|
|
@@ -12851,14 +12838,14 @@ export declare const PageApiFp: (configuration?: Configuration) => {
|
|
|
12851
12838
|
getPageBySlug(slug: string, companyId?: string, domain?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IPageResponse>>;
|
|
12852
12839
|
/**
|
|
12853
12840
|
*
|
|
12854
|
-
* @param {
|
|
12841
|
+
* @param {PageTypeEnum} type
|
|
12855
12842
|
* @param {string} [companyId]
|
|
12856
12843
|
* @param {string} [domain]
|
|
12857
12844
|
* @param {string} [template]
|
|
12858
12845
|
* @param {*} [options] Override http request option.
|
|
12859
12846
|
* @throws {RequiredError}
|
|
12860
12847
|
*/
|
|
12861
|
-
getPageByType(type:
|
|
12848
|
+
getPageByType(type: PageTypeEnum, companyId?: string, domain?: string, template?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IPageResponse>>;
|
|
12862
12849
|
/**
|
|
12863
12850
|
*
|
|
12864
12851
|
* @param {number} [page]
|
|
@@ -12938,10 +12925,10 @@ export interface PageApiGetPageBySlugRequest {
|
|
|
12938
12925
|
export interface PageApiGetPageByTypeRequest {
|
|
12939
12926
|
/**
|
|
12940
12927
|
*
|
|
12941
|
-
* @type {
|
|
12928
|
+
* @type {PageTypeEnum}
|
|
12942
12929
|
* @memberof PageApiGetPageByType
|
|
12943
12930
|
*/
|
|
12944
|
-
readonly type:
|
|
12931
|
+
readonly type: PageTypeEnum;
|
|
12945
12932
|
/**
|
|
12946
12933
|
*
|
|
12947
12934
|
* @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.75",
|
|
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": "e5d78bca810a40bb61d9762322dc134c25ca6ccf"
|
|
41
41
|
}
|