@infisale-client/api-client 1.3.18 → 1.3.19

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 CHANGED
@@ -4307,7 +4307,7 @@ export interface IContactFormResponseDataInner {
4307
4307
  * @type {string}
4308
4308
  * @memberof IContactFormResponseDataInner
4309
4309
  */
4310
- 'value': string;
4310
+ 'value'?: string;
4311
4311
  /**
4312
4312
  *
4313
4313
  * @type {string}
@@ -4992,6 +4992,232 @@ export declare const IMyOrderCollectionQueryParamsDateFieldEnum: {
4992
4992
  readonly UPDATED_AT: "updatedAt";
4993
4993
  };
4994
4994
  export type IMyOrderCollectionQueryParamsDateFieldEnum = typeof IMyOrderCollectionQueryParamsDateFieldEnum[keyof typeof IMyOrderCollectionQueryParamsDateFieldEnum];
4995
+ /**
4996
+ *
4997
+ * @export
4998
+ * @interface INavigationCollectionQueryParams
4999
+ */
5000
+ export interface INavigationCollectionQueryParams {
5001
+ /**
5002
+ *
5003
+ * @type {number}
5004
+ * @memberof INavigationCollectionQueryParams
5005
+ */
5006
+ 'page'?: number;
5007
+ /**
5008
+ *
5009
+ * @type {number}
5010
+ * @memberof INavigationCollectionQueryParams
5011
+ */
5012
+ 'itemsPerPage'?: number;
5013
+ /**
5014
+ *
5015
+ * @type {string}
5016
+ * @memberof INavigationCollectionQueryParams
5017
+ */
5018
+ 'search'?: string;
5019
+ /**
5020
+ *
5021
+ * @type {string}
5022
+ * @memberof INavigationCollectionQueryParams
5023
+ */
5024
+ 'startDate'?: string;
5025
+ /**
5026
+ *
5027
+ * @type {string}
5028
+ * @memberof INavigationCollectionQueryParams
5029
+ */
5030
+ 'endDate'?: string;
5031
+ /**
5032
+ *
5033
+ * @type {string}
5034
+ * @memberof INavigationCollectionQueryParams
5035
+ */
5036
+ 'dateField'?: INavigationCollectionQueryParamsDateFieldEnum;
5037
+ /**
5038
+ *
5039
+ * @type {OrderEnum}
5040
+ * @memberof INavigationCollectionQueryParams
5041
+ */
5042
+ 'order'?: OrderEnum;
5043
+ /**
5044
+ *
5045
+ * @type {string}
5046
+ * @memberof INavigationCollectionQueryParams
5047
+ */
5048
+ 'sort'?: string;
5049
+ /**
5050
+ *
5051
+ * @type {string}
5052
+ * @memberof INavigationCollectionQueryParams
5053
+ */
5054
+ 'companyId': string;
5055
+ }
5056
+ export declare const INavigationCollectionQueryParamsDateFieldEnum: {
5057
+ readonly CREATED_AT: "createdAt";
5058
+ readonly UPDATED_AT: "updatedAt";
5059
+ };
5060
+ export type INavigationCollectionQueryParamsDateFieldEnum = typeof INavigationCollectionQueryParamsDateFieldEnum[keyof typeof INavigationCollectionQueryParamsDateFieldEnum];
5061
+ /**
5062
+ *
5063
+ * @export
5064
+ * @interface INavigationLink
5065
+ */
5066
+ export interface INavigationLink {
5067
+ /**
5068
+ *
5069
+ * @type {string}
5070
+ * @memberof INavigationLink
5071
+ */
5072
+ 'title': string;
5073
+ /**
5074
+ *
5075
+ * @type {string}
5076
+ * @memberof INavigationLink
5077
+ */
5078
+ 'url': string;
5079
+ /**
5080
+ *
5081
+ * @type {NavigationLinkTypeEnum}
5082
+ * @memberof INavigationLink
5083
+ */
5084
+ 'type': NavigationLinkTypeEnum;
5085
+ /**
5086
+ *
5087
+ * @type {any}
5088
+ * @memberof INavigationLink
5089
+ */
5090
+ 'object': any;
5091
+ }
5092
+ /**
5093
+ *
5094
+ * @export
5095
+ * @interface INavigationPostRequest
5096
+ */
5097
+ export interface INavigationPostRequest {
5098
+ /**
5099
+ *
5100
+ * @type {string}
5101
+ * @memberof INavigationPostRequest
5102
+ */
5103
+ 'title': string;
5104
+ /**
5105
+ *
5106
+ * @type {string}
5107
+ * @memberof INavigationPostRequest
5108
+ */
5109
+ 'slug': string;
5110
+ /**
5111
+ *
5112
+ * @type {LanguageEnum}
5113
+ * @memberof INavigationPostRequest
5114
+ */
5115
+ 'locale': LanguageEnum;
5116
+ /**
5117
+ *
5118
+ * @type {Array<INavigationLink>}
5119
+ * @memberof INavigationPostRequest
5120
+ */
5121
+ 'links': Array<INavigationLink>;
5122
+ }
5123
+ /**
5124
+ *
5125
+ * @export
5126
+ * @interface INavigationResponse
5127
+ */
5128
+ export interface INavigationResponse {
5129
+ /**
5130
+ *
5131
+ * @type {string}
5132
+ * @memberof INavigationResponse
5133
+ */
5134
+ '_id': string;
5135
+ /**
5136
+ *
5137
+ * @type {number}
5138
+ * @memberof INavigationResponse
5139
+ */
5140
+ '__v': number;
5141
+ /**
5142
+ *
5143
+ * @type {string}
5144
+ * @memberof INavigationResponse
5145
+ */
5146
+ 'createdAt': string;
5147
+ /**
5148
+ *
5149
+ * @type {string}
5150
+ * @memberof INavigationResponse
5151
+ */
5152
+ 'updatedAt': string;
5153
+ /**
5154
+ *
5155
+ * @type {string}
5156
+ * @memberof INavigationResponse
5157
+ */
5158
+ 'company': string;
5159
+ /**
5160
+ *
5161
+ * @type {LanguageEnum}
5162
+ * @memberof INavigationResponse
5163
+ */
5164
+ 'locale': LanguageEnum;
5165
+ /**
5166
+ *
5167
+ * @type {string}
5168
+ * @memberof INavigationResponse
5169
+ */
5170
+ 'title': string;
5171
+ /**
5172
+ *
5173
+ * @type {string}
5174
+ * @memberof INavigationResponse
5175
+ */
5176
+ 'slug': string;
5177
+ /**
5178
+ *
5179
+ * @type {Array<INavigationLink>}
5180
+ * @memberof INavigationResponse
5181
+ */
5182
+ 'links': Array<INavigationLink>;
5183
+ }
5184
+ /**
5185
+ *
5186
+ * @export
5187
+ * @interface INavigationsResponse
5188
+ */
5189
+ export interface INavigationsResponse {
5190
+ /**
5191
+ *
5192
+ * @type {number}
5193
+ * @memberof INavigationsResponse
5194
+ */
5195
+ 'page': number;
5196
+ /**
5197
+ *
5198
+ * @type {number}
5199
+ * @memberof INavigationsResponse
5200
+ */
5201
+ 'itemsPerPage': number;
5202
+ /**
5203
+ *
5204
+ * @type {number}
5205
+ * @memberof INavigationsResponse
5206
+ */
5207
+ 'total': number;
5208
+ /**
5209
+ *
5210
+ * @type {number}
5211
+ * @memberof INavigationsResponse
5212
+ */
5213
+ 'totalPages': number;
5214
+ /**
5215
+ *
5216
+ * @type {Array<INavigationResponse>}
5217
+ * @memberof INavigationsResponse
5218
+ */
5219
+ 'data': Array<INavigationResponse>;
5220
+ }
4995
5221
  /**
4996
5222
  *
4997
5223
  * @export
@@ -9134,6 +9360,23 @@ export declare const LanguageEnum: {
9134
9360
  readonly DE: "de";
9135
9361
  };
9136
9362
  export type LanguageEnum = typeof LanguageEnum[keyof typeof LanguageEnum];
9363
+ /**
9364
+ *
9365
+ * @export
9366
+ * @enum {string}
9367
+ */
9368
+ export declare const NavigationLinkTypeEnum: {
9369
+ readonly BLOG_LINK: "blog_link";
9370
+ readonly COLLECTION_LINK: "collection_link";
9371
+ readonly CATEGORY_LINK: "category_link";
9372
+ readonly CUSTOMER_ACCOUNT_PAGE_LINK: "customer_account_page_link";
9373
+ readonly HTTP_LINK: "http_link";
9374
+ readonly PAGE_LINK: "page_link";
9375
+ readonly POLICY_LINK: "policy_link";
9376
+ readonly PRODUCT_LINK: "product_link";
9377
+ readonly UNIQUE_PAGE_LINK: "unique_page_link";
9378
+ };
9379
+ export type NavigationLinkTypeEnum = typeof NavigationLinkTypeEnum[keyof typeof NavigationLinkTypeEnum];
9137
9380
  /**
9138
9381
  *
9139
9382
  * @export
@@ -10325,6 +10568,37 @@ export interface PickIContactFormExcludeKeyofIContactFormKeyofMongoResponseOrCom
10325
10568
  */
10326
10569
  'data': Array<IContactFormResponseDataInner>;
10327
10570
  }
10571
+ /**
10572
+ * From T, pick a set of properties whose keys are in the union K
10573
+ * @export
10574
+ * @interface PickINavigationExcludeKeyofINavigationKeyofMongoResponseOrCompany
10575
+ */
10576
+ export interface PickINavigationExcludeKeyofINavigationKeyofMongoResponseOrCompany {
10577
+ /**
10578
+ *
10579
+ * @type {string}
10580
+ * @memberof PickINavigationExcludeKeyofINavigationKeyofMongoResponseOrCompany
10581
+ */
10582
+ 'title': string;
10583
+ /**
10584
+ *
10585
+ * @type {string}
10586
+ * @memberof PickINavigationExcludeKeyofINavigationKeyofMongoResponseOrCompany
10587
+ */
10588
+ 'slug': string;
10589
+ /**
10590
+ *
10591
+ * @type {LanguageEnum}
10592
+ * @memberof PickINavigationExcludeKeyofINavigationKeyofMongoResponseOrCompany
10593
+ */
10594
+ 'locale': LanguageEnum;
10595
+ /**
10596
+ *
10597
+ * @type {Array<INavigationLink>}
10598
+ * @memberof PickINavigationExcludeKeyofINavigationKeyofMongoResponseOrCompany
10599
+ */
10600
+ 'links': Array<INavigationLink>;
10601
+ }
10328
10602
  /**
10329
10603
  * From T, pick a set of properties whose keys are in the union K
10330
10604
  * @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.ReviewStatusEnum = exports.PlanTypeEnum = exports.PlanStatusEnum = exports.PlanCurrencyEnum = 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.LanguageEnum = exports.IUserCollectionQueryParamsDateFieldEnum = exports.IUniqueCollectionQueryParamsDateFieldEnum = exports.IProductCollectionQueryParamsSortEnum = exports.IProductCollectionQueryParamsDateFieldEnum = exports.IPlanCollectionQueryParamsDateFieldEnum = exports.IPaymentPostRequestPeriodEnum = exports.IPageCollectionQueryParamsDateFieldEnum = exports.IOrderCollectionQueryParamsDateFieldEnum = exports.IOperationCollectionQueryParamsDateFieldEnum = exports.INotificationCollectionQueryParamsDateFieldEnum = 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.SitemapApiFp = exports.SitemapApiAxiosParamCreator = exports.GetProductsSortEnum = 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.StoreLocationEnum = exports.SitemapTypeEnum = exports.ShippingPricingTypeEnum = void 0;
21
- exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.UniquePageApi = exports.UniquePageApiFactory = exports.UniquePageApiFp = exports.UniquePageApiAxiosParamCreator = exports.SitemapApi = exports.SitemapApiFactory = void 0;
19
+ exports.PlanStatusEnum = exports.PlanCurrencyEnum = 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.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.GetProductsSortEnum = 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.StoreLocationEnum = exports.SitemapTypeEnum = exports.ShippingPricingTypeEnum = exports.ReviewStatusEnum = exports.PlanTypeEnum = void 0;
21
+ exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.UniquePageApi = exports.UniquePageApiFactory = exports.UniquePageApiFp = exports.UniquePageApiAxiosParamCreator = exports.SitemapApi = exports.SitemapApiFactory = exports.SitemapApiFp = exports.SitemapApiAxiosParamCreator = void 0;
22
22
  const axios_1 = __importDefault(require("axios"));
23
23
  // Some imports not used depending on template conditions
24
24
  // @ts-ignore
@@ -422,6 +422,10 @@ exports.IMyOrderCollectionQueryParamsDateFieldEnum = {
422
422
  CREATED_AT: 'createdAt',
423
423
  UPDATED_AT: 'updatedAt'
424
424
  };
425
+ exports.INavigationCollectionQueryParamsDateFieldEnum = {
426
+ CREATED_AT: 'createdAt',
427
+ UPDATED_AT: 'updatedAt'
428
+ };
425
429
  exports.INotificationCollectionQueryParamsDateFieldEnum = {
426
430
  CREATED_AT: 'createdAt',
427
431
  UPDATED_AT: 'updatedAt'
@@ -475,6 +479,22 @@ exports.LanguageEnum = {
475
479
  EN: 'en',
476
480
  DE: 'de'
477
481
  };
482
+ /**
483
+ *
484
+ * @export
485
+ * @enum {string}
486
+ */
487
+ exports.NavigationLinkTypeEnum = {
488
+ BLOG_LINK: 'blog_link',
489
+ COLLECTION_LINK: 'collection_link',
490
+ CATEGORY_LINK: 'category_link',
491
+ CUSTOMER_ACCOUNT_PAGE_LINK: 'customer_account_page_link',
492
+ HTTP_LINK: 'http_link',
493
+ PAGE_LINK: 'page_link',
494
+ POLICY_LINK: 'policy_link',
495
+ PRODUCT_LINK: 'product_link',
496
+ UNIQUE_PAGE_LINK: 'unique_page_link'
497
+ };
478
498
  exports.NavigationUrlTargetEnum = {
479
499
  BLANK: '_blank'
480
500
  };
package/dist/api/api.mjs CHANGED
@@ -411,6 +411,10 @@ export const IMyOrderCollectionQueryParamsDateFieldEnum = {
411
411
  CREATED_AT: 'createdAt',
412
412
  UPDATED_AT: 'updatedAt'
413
413
  };
414
+ export const INavigationCollectionQueryParamsDateFieldEnum = {
415
+ CREATED_AT: 'createdAt',
416
+ UPDATED_AT: 'updatedAt'
417
+ };
414
418
  export const INotificationCollectionQueryParamsDateFieldEnum = {
415
419
  CREATED_AT: 'createdAt',
416
420
  UPDATED_AT: 'updatedAt'
@@ -464,6 +468,22 @@ export const LanguageEnum = {
464
468
  EN: 'en',
465
469
  DE: 'de'
466
470
  };
471
+ /**
472
+ *
473
+ * @export
474
+ * @enum {string}
475
+ */
476
+ export const NavigationLinkTypeEnum = {
477
+ BLOG_LINK: 'blog_link',
478
+ COLLECTION_LINK: 'collection_link',
479
+ CATEGORY_LINK: 'category_link',
480
+ CUSTOMER_ACCOUNT_PAGE_LINK: 'customer_account_page_link',
481
+ HTTP_LINK: 'http_link',
482
+ PAGE_LINK: 'page_link',
483
+ POLICY_LINK: 'policy_link',
484
+ PRODUCT_LINK: 'product_link',
485
+ UNIQUE_PAGE_LINK: 'unique_page_link'
486
+ };
467
487
  export const NavigationUrlTargetEnum = {
468
488
  BLANK: '_blank'
469
489
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infisale-client/api-client",
3
- "version": "1.3.18",
3
+ "version": "1.3.19",
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": "4cbc93aea8b664f10be3385f450a1986d198eaa0"
40
+ "gitHead": "ab2a2d0253bff294e342c7f3c545f8657f47ea11"
41
41
  }