@infisale-client/api-client 1.3.34 → 1.3.35
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 +45 -31
- package/dist/api/api.js +3 -19
- package/dist/api/api.mjs +0 -16
- package/package.json +2 -2
package/dist/api/api.d.ts
CHANGED
|
@@ -2233,10 +2233,10 @@ export interface ICompany {
|
|
|
2233
2233
|
'onboarding': RecordCompanyOnboardingStepEnumBoolean;
|
|
2234
2234
|
/**
|
|
2235
2235
|
*
|
|
2236
|
-
* @type {Array<
|
|
2236
|
+
* @type {Array<PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeysCmsCollectionsInner>}
|
|
2237
2237
|
* @memberof ICompany
|
|
2238
2238
|
*/
|
|
2239
|
-
'cmsCollections': Array<
|
|
2239
|
+
'cmsCollections': Array<PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeysCmsCollectionsInner>;
|
|
2240
2240
|
/**
|
|
2241
2241
|
*
|
|
2242
2242
|
* @type {CompanyStatusEnum}
|
|
@@ -2470,10 +2470,10 @@ export interface ICompanyAdminResponse {
|
|
|
2470
2470
|
'onboarding': RecordCompanyOnboardingStepEnumBoolean;
|
|
2471
2471
|
/**
|
|
2472
2472
|
*
|
|
2473
|
-
* @type {Array<
|
|
2473
|
+
* @type {Array<PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeysCmsCollectionsInner>}
|
|
2474
2474
|
* @memberof ICompanyAdminResponse
|
|
2475
2475
|
*/
|
|
2476
|
-
'cmsCollections': Array<
|
|
2476
|
+
'cmsCollections': Array<PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeysCmsCollectionsInner>;
|
|
2477
2477
|
/**
|
|
2478
2478
|
*
|
|
2479
2479
|
* @type {string}
|
|
@@ -3182,10 +3182,10 @@ export interface ICompanyPatchRequest {
|
|
|
3182
3182
|
};
|
|
3183
3183
|
/**
|
|
3184
3184
|
*
|
|
3185
|
-
* @type {Array<
|
|
3185
|
+
* @type {Array<PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeysCmsCollectionsInner>}
|
|
3186
3186
|
* @memberof ICompanyPatchRequest
|
|
3187
3187
|
*/
|
|
3188
|
-
'cmsCollections'?: Array<
|
|
3188
|
+
'cmsCollections'?: Array<PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeysCmsCollectionsInner>;
|
|
3189
3189
|
/**
|
|
3190
3190
|
*
|
|
3191
3191
|
* @type {string}
|
|
@@ -3333,13 +3333,13 @@ export interface ICompanyPostRequest {
|
|
|
3333
3333
|
* @type {CurrencyEnum}
|
|
3334
3334
|
* @memberof ICompanyPostRequest
|
|
3335
3335
|
*/
|
|
3336
|
-
'currency'
|
|
3336
|
+
'currency'?: CurrencyEnum;
|
|
3337
3337
|
/**
|
|
3338
3338
|
*
|
|
3339
3339
|
* @type {StoreLocationEnum}
|
|
3340
3340
|
* @memberof ICompanyPostRequest
|
|
3341
3341
|
*/
|
|
3342
|
-
'storeLocation'
|
|
3342
|
+
'storeLocation'?: StoreLocationEnum;
|
|
3343
3343
|
/**
|
|
3344
3344
|
*
|
|
3345
3345
|
* @type {string}
|
|
@@ -3555,10 +3555,10 @@ export interface ICompanyResponse {
|
|
|
3555
3555
|
'onboarding': RecordCompanyOnboardingStepEnumBoolean;
|
|
3556
3556
|
/**
|
|
3557
3557
|
*
|
|
3558
|
-
* @type {Array<
|
|
3558
|
+
* @type {Array<PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeysCmsCollectionsInner>}
|
|
3559
3559
|
* @memberof ICompanyResponse
|
|
3560
3560
|
*/
|
|
3561
|
-
'cmsCollections': Array<
|
|
3561
|
+
'cmsCollections': Array<PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeysCmsCollectionsInner>;
|
|
3562
3562
|
/**
|
|
3563
3563
|
*
|
|
3564
3564
|
* @type {string}
|
|
@@ -5052,10 +5052,10 @@ export interface INavigationLink {
|
|
|
5052
5052
|
'url': string;
|
|
5053
5053
|
/**
|
|
5054
5054
|
*
|
|
5055
|
-
* @type {
|
|
5055
|
+
* @type {string}
|
|
5056
5056
|
* @memberof INavigationLink
|
|
5057
5057
|
*/
|
|
5058
|
-
'type':
|
|
5058
|
+
'type': string;
|
|
5059
5059
|
/**
|
|
5060
5060
|
*
|
|
5061
5061
|
* @type {Array<INavigationLink>}
|
|
@@ -9784,23 +9784,6 @@ export declare const LanguageEnum: {
|
|
|
9784
9784
|
readonly DE: "de";
|
|
9785
9785
|
};
|
|
9786
9786
|
export type LanguageEnum = typeof LanguageEnum[keyof typeof LanguageEnum];
|
|
9787
|
-
/**
|
|
9788
|
-
*
|
|
9789
|
-
* @export
|
|
9790
|
-
* @enum {string}
|
|
9791
|
-
*/
|
|
9792
|
-
export declare const NavigationLinkTypeEnum: {
|
|
9793
|
-
readonly BLOG_LINK: "blog_link";
|
|
9794
|
-
readonly COLLECTION_LINK: "collection_link";
|
|
9795
|
-
readonly CATEGORY_LINK: "category_link";
|
|
9796
|
-
readonly CUSTOMER_ACCOUNT_PAGE_LINK: "customer_account_page_link";
|
|
9797
|
-
readonly HTTP_LINK: "http_link";
|
|
9798
|
-
readonly PAGE_LINK: "page_link";
|
|
9799
|
-
readonly POLICY_LINK: "policy_link";
|
|
9800
|
-
readonly PRODUCT_LINK: "product_link";
|
|
9801
|
-
readonly UNIQUE_PAGE_LINK: "unique_page_link";
|
|
9802
|
-
};
|
|
9803
|
-
export type NavigationLinkTypeEnum = typeof NavigationLinkTypeEnum[keyof typeof NavigationLinkTypeEnum];
|
|
9804
9787
|
/**
|
|
9805
9788
|
*
|
|
9806
9789
|
* @export
|
|
@@ -10705,10 +10688,10 @@ export interface PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys {
|
|
|
10705
10688
|
'onboarding': RecordCompanyOnboardingStepEnumBoolean;
|
|
10706
10689
|
/**
|
|
10707
10690
|
*
|
|
10708
|
-
* @type {Array<
|
|
10691
|
+
* @type {Array<PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeysCmsCollectionsInner>}
|
|
10709
10692
|
* @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys
|
|
10710
10693
|
*/
|
|
10711
|
-
'cmsCollections': Array<
|
|
10694
|
+
'cmsCollections': Array<PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeysCmsCollectionsInner>;
|
|
10712
10695
|
/**
|
|
10713
10696
|
*
|
|
10714
10697
|
* @type {string}
|
|
@@ -10722,6 +10705,37 @@ export interface PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys {
|
|
|
10722
10705
|
*/
|
|
10723
10706
|
'allowGuestCheckout': boolean;
|
|
10724
10707
|
}
|
|
10708
|
+
/**
|
|
10709
|
+
*
|
|
10710
|
+
* @export
|
|
10711
|
+
* @interface PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeysCmsCollectionsInner
|
|
10712
|
+
*/
|
|
10713
|
+
export interface PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeysCmsCollectionsInner {
|
|
10714
|
+
/**
|
|
10715
|
+
*
|
|
10716
|
+
* @type {string}
|
|
10717
|
+
* @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeysCmsCollectionsInner
|
|
10718
|
+
*/
|
|
10719
|
+
'slug': string;
|
|
10720
|
+
/**
|
|
10721
|
+
*
|
|
10722
|
+
* @type {string}
|
|
10723
|
+
* @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeysCmsCollectionsInner
|
|
10724
|
+
*/
|
|
10725
|
+
'singularTitle': string;
|
|
10726
|
+
/**
|
|
10727
|
+
*
|
|
10728
|
+
* @type {string}
|
|
10729
|
+
* @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeysCmsCollectionsInner
|
|
10730
|
+
*/
|
|
10731
|
+
'pluralTitle': string;
|
|
10732
|
+
/**
|
|
10733
|
+
*
|
|
10734
|
+
* @type {string}
|
|
10735
|
+
* @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeysCmsCollectionsInner
|
|
10736
|
+
*/
|
|
10737
|
+
'title': string;
|
|
10738
|
+
}
|
|
10725
10739
|
/**
|
|
10726
10740
|
*
|
|
10727
10741
|
* @export
|
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.PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSortDateFieldEnum = 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.
|
|
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.SubscriptionStatusEnum = exports.StoreLocationEnum = exports.SitemapTypeEnum = exports.ShippingPricingTypeEnum = exports.ReviewStatusEnum = exports.PlanTypeEnum =
|
|
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 =
|
|
19
|
+
exports.PlanStatusEnum = exports.PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSortDateFieldEnum = 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.LanguageEnum = exports.IUserCollectionQueryParamsDateFieldEnum = exports.IUrlRedirectCollectionQueryParamsSortEnum = exports.IUrlRedirectCollectionQueryParamsDateFieldEnum = exports.IUniqueCollectionQueryParamsDateFieldEnum = exports.ISubscriptionPostRequestPeriodEnum = exports.IProductCollectionQueryParamsSortEnum = exports.IProductCollectionQueryParamsDateFieldEnum = exports.IPlanCollectionQueryParamsCategoryEnum = exports.IPlanCollectionQueryParamsDateFieldEnum = 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.GetProductsDateFieldEnum = 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.SubscriptionStatusEnum = exports.StoreLocationEnum = exports.SitemapTypeEnum = exports.ShippingPricingTypeEnum = exports.ReviewStatusEnum = exports.PlanTypeEnum = 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 = void 0;
|
|
22
22
|
const axios_1 = __importDefault(require("axios"));
|
|
23
23
|
// Some imports not used depending on template conditions
|
|
24
24
|
// @ts-ignore
|
|
@@ -492,22 +492,6 @@ exports.LanguageEnum = {
|
|
|
492
492
|
EN: 'en',
|
|
493
493
|
DE: 'de'
|
|
494
494
|
};
|
|
495
|
-
/**
|
|
496
|
-
*
|
|
497
|
-
* @export
|
|
498
|
-
* @enum {string}
|
|
499
|
-
*/
|
|
500
|
-
exports.NavigationLinkTypeEnum = {
|
|
501
|
-
BLOG_LINK: 'blog_link',
|
|
502
|
-
COLLECTION_LINK: 'collection_link',
|
|
503
|
-
CATEGORY_LINK: 'category_link',
|
|
504
|
-
CUSTOMER_ACCOUNT_PAGE_LINK: 'customer_account_page_link',
|
|
505
|
-
HTTP_LINK: 'http_link',
|
|
506
|
-
PAGE_LINK: 'page_link',
|
|
507
|
-
POLICY_LINK: 'policy_link',
|
|
508
|
-
PRODUCT_LINK: 'product_link',
|
|
509
|
-
UNIQUE_PAGE_LINK: 'unique_page_link'
|
|
510
|
-
};
|
|
511
495
|
exports.NavigationUrlTargetEnum = {
|
|
512
496
|
BLANK: '_blank'
|
|
513
497
|
};
|
package/dist/api/api.mjs
CHANGED
|
@@ -481,22 +481,6 @@ export const LanguageEnum = {
|
|
|
481
481
|
EN: 'en',
|
|
482
482
|
DE: 'de'
|
|
483
483
|
};
|
|
484
|
-
/**
|
|
485
|
-
*
|
|
486
|
-
* @export
|
|
487
|
-
* @enum {string}
|
|
488
|
-
*/
|
|
489
|
-
export const NavigationLinkTypeEnum = {
|
|
490
|
-
BLOG_LINK: 'blog_link',
|
|
491
|
-
COLLECTION_LINK: 'collection_link',
|
|
492
|
-
CATEGORY_LINK: 'category_link',
|
|
493
|
-
CUSTOMER_ACCOUNT_PAGE_LINK: 'customer_account_page_link',
|
|
494
|
-
HTTP_LINK: 'http_link',
|
|
495
|
-
PAGE_LINK: 'page_link',
|
|
496
|
-
POLICY_LINK: 'policy_link',
|
|
497
|
-
PRODUCT_LINK: 'product_link',
|
|
498
|
-
UNIQUE_PAGE_LINK: 'unique_page_link'
|
|
499
|
-
};
|
|
500
484
|
export const NavigationUrlTargetEnum = {
|
|
501
485
|
BLANK: '_blank'
|
|
502
486
|
};
|
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.35",
|
|
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": "aade2bc01dc3e90a0aa9977da5d6a246efda6be0"
|
|
41
41
|
}
|