@infisale-client/api-client 1.3.26 → 1.3.27

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
@@ -8648,6 +8648,14 @@ export interface IThemePatchRequest {
8648
8648
  * @memberof IThemePatchRequest
8649
8649
  */
8650
8650
  'assetVersion'?: number;
8651
+ /**
8652
+ * Construct a type with a set of properties K of type T
8653
+ * @type {{ [key: string]: RecordStringConfigRecordStringConfigIndexTypeEnumContentsRecordStringRecordStringConfigIndexTypeEnumValue; }}
8654
+ * @memberof IThemePatchRequest
8655
+ */
8656
+ 'componentConfigIndex'?: {
8657
+ [key: string]: RecordStringConfigRecordStringConfigIndexTypeEnumContentsRecordStringRecordStringConfigIndexTypeEnumValue;
8658
+ };
8651
8659
  }
8652
8660
  /**
8653
8661
  *
@@ -8701,6 +8709,14 @@ export interface IThemePostRequest {
8701
8709
  * @memberof IThemePostRequest
8702
8710
  */
8703
8711
  'assetVersion': number;
8712
+ /**
8713
+ * Construct a type with a set of properties K of type T
8714
+ * @type {{ [key: string]: RecordStringConfigRecordStringConfigIndexTypeEnumContentsRecordStringRecordStringConfigIndexTypeEnumValue; }}
8715
+ * @memberof IThemePostRequest
8716
+ */
8717
+ 'componentConfigIndex': {
8718
+ [key: string]: RecordStringConfigRecordStringConfigIndexTypeEnumContentsRecordStringRecordStringConfigIndexTypeEnumValue;
8719
+ };
8704
8720
  }
8705
8721
  /**
8706
8722
  *
@@ -8804,6 +8820,14 @@ export interface IThemeResponse {
8804
8820
  * @memberof IThemeResponse
8805
8821
  */
8806
8822
  'assetVersion': number;
8823
+ /**
8824
+ * Construct a type with a set of properties K of type T
8825
+ * @type {{ [key: string]: RecordStringConfigRecordStringConfigIndexTypeEnumContentsRecordStringRecordStringConfigIndexTypeEnumValue; }}
8826
+ * @memberof IThemeResponse
8827
+ */
8828
+ 'componentConfigIndex': {
8829
+ [key: string]: RecordStringConfigRecordStringConfigIndexTypeEnumContentsRecordStringRecordStringConfigIndexTypeEnumValue;
8830
+ };
8807
8831
  }
8808
8832
  /**
8809
8833
  *
@@ -9027,6 +9051,243 @@ export interface IUniquePagesResponse {
9027
9051
  */
9028
9052
  'data': Array<IUniquePageResponse>;
9029
9053
  }
9054
+ /**
9055
+ *
9056
+ * @export
9057
+ * @interface IUrlRedirect
9058
+ */
9059
+ export interface IUrlRedirect {
9060
+ /**
9061
+ *
9062
+ * @type {string}
9063
+ * @memberof IUrlRedirect
9064
+ */
9065
+ '_id': string;
9066
+ /**
9067
+ *
9068
+ * @type {number}
9069
+ * @memberof IUrlRedirect
9070
+ */
9071
+ '__v': number;
9072
+ /**
9073
+ *
9074
+ * @type {string}
9075
+ * @memberof IUrlRedirect
9076
+ */
9077
+ 'createdAt': string;
9078
+ /**
9079
+ *
9080
+ * @type {string}
9081
+ * @memberof IUrlRedirect
9082
+ */
9083
+ 'updatedAt': string;
9084
+ /**
9085
+ *
9086
+ * @type {string}
9087
+ * @memberof IUrlRedirect
9088
+ */
9089
+ 'company': string;
9090
+ /**
9091
+ *
9092
+ * @type {string}
9093
+ * @memberof IUrlRedirect
9094
+ */
9095
+ 'from': string;
9096
+ /**
9097
+ *
9098
+ * @type {string}
9099
+ * @memberof IUrlRedirect
9100
+ */
9101
+ 'to': string;
9102
+ }
9103
+ /**
9104
+ *
9105
+ * @export
9106
+ * @interface IUrlRedirectCollectionQueryParams
9107
+ */
9108
+ export interface IUrlRedirectCollectionQueryParams {
9109
+ /**
9110
+ *
9111
+ * @type {OrderEnum}
9112
+ * @memberof IUrlRedirectCollectionQueryParams
9113
+ */
9114
+ 'order'?: OrderEnum;
9115
+ /**
9116
+ *
9117
+ * @type {number}
9118
+ * @memberof IUrlRedirectCollectionQueryParams
9119
+ */
9120
+ 'page'?: number;
9121
+ /**
9122
+ *
9123
+ * @type {number}
9124
+ * @memberof IUrlRedirectCollectionQueryParams
9125
+ */
9126
+ 'itemsPerPage'?: number;
9127
+ /**
9128
+ *
9129
+ * @type {string}
9130
+ * @memberof IUrlRedirectCollectionQueryParams
9131
+ */
9132
+ 'search'?: string;
9133
+ /**
9134
+ *
9135
+ * @type {string}
9136
+ * @memberof IUrlRedirectCollectionQueryParams
9137
+ */
9138
+ 'startDate'?: string;
9139
+ /**
9140
+ *
9141
+ * @type {string}
9142
+ * @memberof IUrlRedirectCollectionQueryParams
9143
+ */
9144
+ 'endDate'?: string;
9145
+ /**
9146
+ *
9147
+ * @type {string}
9148
+ * @memberof IUrlRedirectCollectionQueryParams
9149
+ */
9150
+ 'dateField'?: IUrlRedirectCollectionQueryParamsDateFieldEnum;
9151
+ /**
9152
+ *
9153
+ * @type {string}
9154
+ * @memberof IUrlRedirectCollectionQueryParams
9155
+ */
9156
+ 'company': string;
9157
+ /**
9158
+ *
9159
+ * @type {string}
9160
+ * @memberof IUrlRedirectCollectionQueryParams
9161
+ */
9162
+ 'createdAt'?: string;
9163
+ /**
9164
+ *
9165
+ * @type {string}
9166
+ * @memberof IUrlRedirectCollectionQueryParams
9167
+ */
9168
+ 'sort'?: IUrlRedirectCollectionQueryParamsSortEnum;
9169
+ }
9170
+ export declare const IUrlRedirectCollectionQueryParamsDateFieldEnum: {
9171
+ readonly CREATED_AT: "createdAt";
9172
+ readonly UPDATED_AT: "updatedAt";
9173
+ };
9174
+ export type IUrlRedirectCollectionQueryParamsDateFieldEnum = typeof IUrlRedirectCollectionQueryParamsDateFieldEnum[keyof typeof IUrlRedirectCollectionQueryParamsDateFieldEnum];
9175
+ export declare const IUrlRedirectCollectionQueryParamsSortEnum: {
9176
+ readonly CREATED_AT: "createdAt";
9177
+ readonly FROM: "from";
9178
+ };
9179
+ export type IUrlRedirectCollectionQueryParamsSortEnum = typeof IUrlRedirectCollectionQueryParamsSortEnum[keyof typeof IUrlRedirectCollectionQueryParamsSortEnum];
9180
+ /**
9181
+ *
9182
+ * @export
9183
+ * @interface IUrlRedirectPostRequest
9184
+ */
9185
+ export interface IUrlRedirectPostRequest {
9186
+ /**
9187
+ *
9188
+ * @type {string}
9189
+ * @memberof IUrlRedirectPostRequest
9190
+ */
9191
+ 'company': string;
9192
+ /**
9193
+ *
9194
+ * @type {string}
9195
+ * @memberof IUrlRedirectPostRequest
9196
+ */
9197
+ 'from': string;
9198
+ /**
9199
+ *
9200
+ * @type {string}
9201
+ * @memberof IUrlRedirectPostRequest
9202
+ */
9203
+ 'to': string;
9204
+ }
9205
+ /**
9206
+ *
9207
+ * @export
9208
+ * @interface IUrlRedirectResponse
9209
+ */
9210
+ export interface IUrlRedirectResponse {
9211
+ /**
9212
+ *
9213
+ * @type {string}
9214
+ * @memberof IUrlRedirectResponse
9215
+ */
9216
+ '_id': string;
9217
+ /**
9218
+ *
9219
+ * @type {number}
9220
+ * @memberof IUrlRedirectResponse
9221
+ */
9222
+ '__v': number;
9223
+ /**
9224
+ *
9225
+ * @type {string}
9226
+ * @memberof IUrlRedirectResponse
9227
+ */
9228
+ 'createdAt': string;
9229
+ /**
9230
+ *
9231
+ * @type {string}
9232
+ * @memberof IUrlRedirectResponse
9233
+ */
9234
+ 'updatedAt': string;
9235
+ /**
9236
+ *
9237
+ * @type {string}
9238
+ * @memberof IUrlRedirectResponse
9239
+ */
9240
+ 'company': string;
9241
+ /**
9242
+ *
9243
+ * @type {string}
9244
+ * @memberof IUrlRedirectResponse
9245
+ */
9246
+ 'from': string;
9247
+ /**
9248
+ *
9249
+ * @type {string}
9250
+ * @memberof IUrlRedirectResponse
9251
+ */
9252
+ 'to': string;
9253
+ }
9254
+ /**
9255
+ *
9256
+ * @export
9257
+ * @interface IUrlRedirectsResponse
9258
+ */
9259
+ export interface IUrlRedirectsResponse {
9260
+ /**
9261
+ *
9262
+ * @type {number}
9263
+ * @memberof IUrlRedirectsResponse
9264
+ */
9265
+ 'page': number;
9266
+ /**
9267
+ *
9268
+ * @type {number}
9269
+ * @memberof IUrlRedirectsResponse
9270
+ */
9271
+ 'itemsPerPage': number;
9272
+ /**
9273
+ *
9274
+ * @type {number}
9275
+ * @memberof IUrlRedirectsResponse
9276
+ */
9277
+ 'total': number;
9278
+ /**
9279
+ *
9280
+ * @type {number}
9281
+ * @memberof IUrlRedirectsResponse
9282
+ */
9283
+ 'totalPages': number;
9284
+ /**
9285
+ *
9286
+ * @type {Array<IUrlRedirect>}
9287
+ * @memberof IUrlRedirectsResponse
9288
+ */
9289
+ 'data': Array<IUrlRedirect>;
9290
+ }
9030
9291
  /**
9031
9292
  *
9032
9293
  * @export
@@ -11729,6 +11990,14 @@ export interface PickIThemeResponseExcludeKeyofIThemeResponseKeyofMongoResponseO
11729
11990
  * @memberof PickIThemeResponseExcludeKeyofIThemeResponseKeyofMongoResponseOrMainOrCompanyOrCreatorOrFiles
11730
11991
  */
11731
11992
  'assetVersion': number;
11993
+ /**
11994
+ * Construct a type with a set of properties K of type T
11995
+ * @type {{ [key: string]: RecordStringConfigRecordStringConfigIndexTypeEnumContentsRecordStringRecordStringConfigIndexTypeEnumValue; }}
11996
+ * @memberof PickIThemeResponseExcludeKeyofIThemeResponseKeyofMongoResponseOrMainOrCompanyOrCreatorOrFiles
11997
+ */
11998
+ 'componentConfigIndex': {
11999
+ [key: string]: RecordStringConfigRecordStringConfigIndexTypeEnumContentsRecordStringRecordStringConfigIndexTypeEnumValue;
12000
+ };
11732
12001
  }
11733
12002
  /**
11734
12003
  * From T, pick a set of properties whose keys are in the union K
@@ -12288,6 +12557,25 @@ export interface RecordPlanTypeEnumMonthlyBandwidthNumberStandardB2c {
12288
12557
  */
12289
12558
  'monthlyBandwidth': number;
12290
12559
  }
12560
+ /**
12561
+ *
12562
+ * @export
12563
+ * @interface RecordStringConfigRecordStringConfigIndexTypeEnumContentsRecordStringRecordStringConfigIndexTypeEnumValue
12564
+ */
12565
+ export interface RecordStringConfigRecordStringConfigIndexTypeEnumContentsRecordStringRecordStringConfigIndexTypeEnumValue {
12566
+ /**
12567
+ * Construct a type with a set of properties K of type T
12568
+ * @type {object}
12569
+ * @memberof RecordStringConfigRecordStringConfigIndexTypeEnumContentsRecordStringRecordStringConfigIndexTypeEnumValue
12570
+ */
12571
+ 'contents': object;
12572
+ /**
12573
+ * Construct a type with a set of properties K of type T
12574
+ * @type {object}
12575
+ * @memberof RecordStringConfigRecordStringConfigIndexTypeEnumContentsRecordStringRecordStringConfigIndexTypeEnumValue
12576
+ */
12577
+ 'config': object;
12578
+ }
12291
12579
  /**
12292
12580
  *
12293
12581
  * @export
@@ -15278,6 +15566,82 @@ export declare class UniquePageApi extends BaseAPI {
15278
15566
  */
15279
15567
  getUniquePageByType(requestParameters: UniquePageApiGetUniquePageByTypeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IUniquePageResponse, any>>;
15280
15568
  }
15569
+ /**
15570
+ * UrlRedirectApi - axios parameter creator
15571
+ * @export
15572
+ */
15573
+ export declare const UrlRedirectApiAxiosParamCreator: (configuration?: Configuration) => {
15574
+ /**
15575
+ *
15576
+ * @param {string} from
15577
+ * @param {string} companyId
15578
+ * @param {*} [options] Override http request option.
15579
+ * @throws {RequiredError}
15580
+ */
15581
+ getUrlRedirectBySource: (from: string, companyId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15582
+ };
15583
+ /**
15584
+ * UrlRedirectApi - functional programming interface
15585
+ * @export
15586
+ */
15587
+ export declare const UrlRedirectApiFp: (configuration?: Configuration) => {
15588
+ /**
15589
+ *
15590
+ * @param {string} from
15591
+ * @param {string} companyId
15592
+ * @param {*} [options] Override http request option.
15593
+ * @throws {RequiredError}
15594
+ */
15595
+ getUrlRedirectBySource(from: string, companyId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IUrlRedirectResponse>>;
15596
+ };
15597
+ /**
15598
+ * UrlRedirectApi - factory interface
15599
+ * @export
15600
+ */
15601
+ export declare const UrlRedirectApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
15602
+ /**
15603
+ *
15604
+ * @param {UrlRedirectApiGetUrlRedirectBySourceRequest} requestParameters Request parameters.
15605
+ * @param {*} [options] Override http request option.
15606
+ * @throws {RequiredError}
15607
+ */
15608
+ getUrlRedirectBySource(requestParameters: UrlRedirectApiGetUrlRedirectBySourceRequest, options?: RawAxiosRequestConfig): AxiosPromise<IUrlRedirectResponse>;
15609
+ };
15610
+ /**
15611
+ * Request parameters for getUrlRedirectBySource operation in UrlRedirectApi.
15612
+ * @export
15613
+ * @interface UrlRedirectApiGetUrlRedirectBySourceRequest
15614
+ */
15615
+ export interface UrlRedirectApiGetUrlRedirectBySourceRequest {
15616
+ /**
15617
+ *
15618
+ * @type {string}
15619
+ * @memberof UrlRedirectApiGetUrlRedirectBySource
15620
+ */
15621
+ readonly from: string;
15622
+ /**
15623
+ *
15624
+ * @type {string}
15625
+ * @memberof UrlRedirectApiGetUrlRedirectBySource
15626
+ */
15627
+ readonly companyId: string;
15628
+ }
15629
+ /**
15630
+ * UrlRedirectApi - object-oriented interface
15631
+ * @export
15632
+ * @class UrlRedirectApi
15633
+ * @extends {BaseAPI}
15634
+ */
15635
+ export declare class UrlRedirectApi extends BaseAPI {
15636
+ /**
15637
+ *
15638
+ * @param {UrlRedirectApiGetUrlRedirectBySourceRequest} requestParameters Request parameters.
15639
+ * @param {*} [options] Override http request option.
15640
+ * @throws {RequiredError}
15641
+ * @memberof UrlRedirectApi
15642
+ */
15643
+ getUrlRedirectBySource(requestParameters: UrlRedirectApiGetUrlRedirectBySourceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IUrlRedirectResponse, any>>;
15644
+ }
15281
15645
  /**
15282
15646
  * UserApi - axios parameter creator
15283
15647
  * @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.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.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.CompanyStatusEnum = void 0;
20
- 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 = exports.ReviewStatusEnum = void 0;
21
- exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.UniquePageApi = exports.UniquePageApiFactory = exports.UniquePageApiFp = exports.UniquePageApiAxiosParamCreator = exports.TemplateApi = exports.TemplateApiFactory = exports.TemplateApiFp = exports.TemplateApiAxiosParamCreator = exports.SitemapApi = exports.SitemapApiFactory = exports.SitemapApiFp = void 0;
19
+ 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.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.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.StoreLocationEnum = exports.SitemapTypeEnum = exports.ShippingPricingTypeEnum = exports.ReviewStatusEnum = exports.PlanTypeEnum = exports.PlanStatusEnum = 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
@@ -456,6 +456,14 @@ exports.IUniqueCollectionQueryParamsDateFieldEnum = {
456
456
  CREATED_AT: 'createdAt',
457
457
  UPDATED_AT: 'updatedAt'
458
458
  };
459
+ exports.IUrlRedirectCollectionQueryParamsDateFieldEnum = {
460
+ CREATED_AT: 'createdAt',
461
+ UPDATED_AT: 'updatedAt'
462
+ };
463
+ exports.IUrlRedirectCollectionQueryParamsSortEnum = {
464
+ CREATED_AT: 'createdAt',
465
+ FROM: 'from'
466
+ };
459
467
  exports.IUserCollectionQueryParamsDateFieldEnum = {
460
468
  CREATED_AT: 'createdAt',
461
469
  UPDATED_AT: 'updatedAt'
@@ -4082,6 +4090,112 @@ class UniquePageApi extends base_1.BaseAPI {
4082
4090
  }
4083
4091
  }
4084
4092
  exports.UniquePageApi = UniquePageApi;
4093
+ /**
4094
+ * UrlRedirectApi - axios parameter creator
4095
+ * @export
4096
+ */
4097
+ const UrlRedirectApiAxiosParamCreator = function (configuration) {
4098
+ return {
4099
+ /**
4100
+ *
4101
+ * @param {string} from
4102
+ * @param {string} companyId
4103
+ * @param {*} [options] Override http request option.
4104
+ * @throws {RequiredError}
4105
+ */
4106
+ getUrlRedirectBySource: async (from, companyId, options = {}) => {
4107
+ // verify required parameter 'from' is not null or undefined
4108
+ (0, common_1.assertParamExists)('getUrlRedirectBySource', 'from', from);
4109
+ // verify required parameter 'companyId' is not null or undefined
4110
+ (0, common_1.assertParamExists)('getUrlRedirectBySource', 'companyId', companyId);
4111
+ const localVarPath = `/api/url-redirects/from`;
4112
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4113
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4114
+ let baseOptions;
4115
+ if (configuration) {
4116
+ baseOptions = configuration.baseOptions;
4117
+ }
4118
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
4119
+ const localVarHeaderParameter = {};
4120
+ const localVarQueryParameter = {};
4121
+ if (from !== undefined) {
4122
+ localVarQueryParameter['from'] = from;
4123
+ }
4124
+ if (companyId !== undefined) {
4125
+ localVarQueryParameter['companyId'] = companyId;
4126
+ }
4127
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4128
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4129
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4130
+ return {
4131
+ url: (0, common_1.toPathString)(localVarUrlObj),
4132
+ options: localVarRequestOptions,
4133
+ };
4134
+ },
4135
+ };
4136
+ };
4137
+ exports.UrlRedirectApiAxiosParamCreator = UrlRedirectApiAxiosParamCreator;
4138
+ /**
4139
+ * UrlRedirectApi - functional programming interface
4140
+ * @export
4141
+ */
4142
+ const UrlRedirectApiFp = function (configuration) {
4143
+ const localVarAxiosParamCreator = (0, exports.UrlRedirectApiAxiosParamCreator)(configuration);
4144
+ return {
4145
+ /**
4146
+ *
4147
+ * @param {string} from
4148
+ * @param {string} companyId
4149
+ * @param {*} [options] Override http request option.
4150
+ * @throws {RequiredError}
4151
+ */
4152
+ async getUrlRedirectBySource(from, companyId, options) {
4153
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getUrlRedirectBySource(from, companyId, options);
4154
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4155
+ const localVarOperationServerBasePath = base_1.operationServerMap['UrlRedirectApi.getUrlRedirectBySource']?.[localVarOperationServerIndex]?.url;
4156
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4157
+ },
4158
+ };
4159
+ };
4160
+ exports.UrlRedirectApiFp = UrlRedirectApiFp;
4161
+ /**
4162
+ * UrlRedirectApi - factory interface
4163
+ * @export
4164
+ */
4165
+ const UrlRedirectApiFactory = function (configuration, basePath, axios) {
4166
+ const localVarFp = (0, exports.UrlRedirectApiFp)(configuration);
4167
+ return {
4168
+ /**
4169
+ *
4170
+ * @param {UrlRedirectApiGetUrlRedirectBySourceRequest} requestParameters Request parameters.
4171
+ * @param {*} [options] Override http request option.
4172
+ * @throws {RequiredError}
4173
+ */
4174
+ getUrlRedirectBySource(requestParameters, options) {
4175
+ return localVarFp.getUrlRedirectBySource(requestParameters.from, requestParameters.companyId, options).then((request) => request(axios, basePath));
4176
+ },
4177
+ };
4178
+ };
4179
+ exports.UrlRedirectApiFactory = UrlRedirectApiFactory;
4180
+ /**
4181
+ * UrlRedirectApi - object-oriented interface
4182
+ * @export
4183
+ * @class UrlRedirectApi
4184
+ * @extends {BaseAPI}
4185
+ */
4186
+ class UrlRedirectApi extends base_1.BaseAPI {
4187
+ /**
4188
+ *
4189
+ * @param {UrlRedirectApiGetUrlRedirectBySourceRequest} requestParameters Request parameters.
4190
+ * @param {*} [options] Override http request option.
4191
+ * @throws {RequiredError}
4192
+ * @memberof UrlRedirectApi
4193
+ */
4194
+ getUrlRedirectBySource(requestParameters, options) {
4195
+ return (0, exports.UrlRedirectApiFp)(this.configuration).getUrlRedirectBySource(requestParameters.from, requestParameters.companyId, options).then((request) => request(this.axios, this.basePath));
4196
+ }
4197
+ }
4198
+ exports.UrlRedirectApi = UrlRedirectApi;
4085
4199
  /**
4086
4200
  * UserApi - axios parameter creator
4087
4201
  * @export
package/dist/api/api.mjs CHANGED
@@ -445,6 +445,14 @@ export const IUniqueCollectionQueryParamsDateFieldEnum = {
445
445
  CREATED_AT: 'createdAt',
446
446
  UPDATED_AT: 'updatedAt'
447
447
  };
448
+ export const IUrlRedirectCollectionQueryParamsDateFieldEnum = {
449
+ CREATED_AT: 'createdAt',
450
+ UPDATED_AT: 'updatedAt'
451
+ };
452
+ export const IUrlRedirectCollectionQueryParamsSortEnum = {
453
+ CREATED_AT: 'createdAt',
454
+ FROM: 'from'
455
+ };
448
456
  export const IUserCollectionQueryParamsDateFieldEnum = {
449
457
  CREATED_AT: 'createdAt',
450
458
  UPDATED_AT: 'updatedAt'
@@ -4023,6 +4031,108 @@ export class UniquePageApi extends BaseAPI {
4023
4031
  return UniquePageApiFp(this.configuration).getUniquePageByType(requestParameters.type, requestParameters.companyId, requestParameters.domain, requestParameters.template, options).then((request) => request(this.axios, this.basePath));
4024
4032
  }
4025
4033
  }
4034
+ /**
4035
+ * UrlRedirectApi - axios parameter creator
4036
+ * @export
4037
+ */
4038
+ export const UrlRedirectApiAxiosParamCreator = function (configuration) {
4039
+ return {
4040
+ /**
4041
+ *
4042
+ * @param {string} from
4043
+ * @param {string} companyId
4044
+ * @param {*} [options] Override http request option.
4045
+ * @throws {RequiredError}
4046
+ */
4047
+ getUrlRedirectBySource: async (from, companyId, options = {}) => {
4048
+ // verify required parameter 'from' is not null or undefined
4049
+ assertParamExists('getUrlRedirectBySource', 'from', from);
4050
+ // verify required parameter 'companyId' is not null or undefined
4051
+ assertParamExists('getUrlRedirectBySource', 'companyId', companyId);
4052
+ const localVarPath = `/api/url-redirects/from`;
4053
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4054
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4055
+ let baseOptions;
4056
+ if (configuration) {
4057
+ baseOptions = configuration.baseOptions;
4058
+ }
4059
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
4060
+ const localVarHeaderParameter = {};
4061
+ const localVarQueryParameter = {};
4062
+ if (from !== undefined) {
4063
+ localVarQueryParameter['from'] = from;
4064
+ }
4065
+ if (companyId !== undefined) {
4066
+ localVarQueryParameter['companyId'] = companyId;
4067
+ }
4068
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4069
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4070
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4071
+ return {
4072
+ url: toPathString(localVarUrlObj),
4073
+ options: localVarRequestOptions,
4074
+ };
4075
+ },
4076
+ };
4077
+ };
4078
+ /**
4079
+ * UrlRedirectApi - functional programming interface
4080
+ * @export
4081
+ */
4082
+ export const UrlRedirectApiFp = function (configuration) {
4083
+ const localVarAxiosParamCreator = UrlRedirectApiAxiosParamCreator(configuration);
4084
+ return {
4085
+ /**
4086
+ *
4087
+ * @param {string} from
4088
+ * @param {string} companyId
4089
+ * @param {*} [options] Override http request option.
4090
+ * @throws {RequiredError}
4091
+ */
4092
+ async getUrlRedirectBySource(from, companyId, options) {
4093
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getUrlRedirectBySource(from, companyId, options);
4094
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4095
+ const localVarOperationServerBasePath = operationServerMap['UrlRedirectApi.getUrlRedirectBySource']?.[localVarOperationServerIndex]?.url;
4096
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4097
+ },
4098
+ };
4099
+ };
4100
+ /**
4101
+ * UrlRedirectApi - factory interface
4102
+ * @export
4103
+ */
4104
+ export const UrlRedirectApiFactory = function (configuration, basePath, axios) {
4105
+ const localVarFp = UrlRedirectApiFp(configuration);
4106
+ return {
4107
+ /**
4108
+ *
4109
+ * @param {UrlRedirectApiGetUrlRedirectBySourceRequest} requestParameters Request parameters.
4110
+ * @param {*} [options] Override http request option.
4111
+ * @throws {RequiredError}
4112
+ */
4113
+ getUrlRedirectBySource(requestParameters, options) {
4114
+ return localVarFp.getUrlRedirectBySource(requestParameters.from, requestParameters.companyId, options).then((request) => request(axios, basePath));
4115
+ },
4116
+ };
4117
+ };
4118
+ /**
4119
+ * UrlRedirectApi - object-oriented interface
4120
+ * @export
4121
+ * @class UrlRedirectApi
4122
+ * @extends {BaseAPI}
4123
+ */
4124
+ export class UrlRedirectApi extends BaseAPI {
4125
+ /**
4126
+ *
4127
+ * @param {UrlRedirectApiGetUrlRedirectBySourceRequest} requestParameters Request parameters.
4128
+ * @param {*} [options] Override http request option.
4129
+ * @throws {RequiredError}
4130
+ * @memberof UrlRedirectApi
4131
+ */
4132
+ getUrlRedirectBySource(requestParameters, options) {
4133
+ return UrlRedirectApiFp(this.configuration).getUrlRedirectBySource(requestParameters.from, requestParameters.companyId, options).then((request) => request(this.axios, this.basePath));
4134
+ }
4135
+ }
4026
4136
  /**
4027
4137
  * UserApi - axios parameter creator
4028
4138
  * @export
package/dist/index.d.ts CHANGED
@@ -15,6 +15,7 @@ interface IApiClient {
15
15
  OrderApi: doc.OrderApi;
16
16
  UniquePageApi: doc.UniquePageApi;
17
17
  TemplateApi: doc.TemplateApi;
18
+ UrlRedirectApi: doc.UrlRedirectApi;
18
19
  interceptors: {
19
20
  request: AxiosInterceptorManager<InternalAxiosRequestConfig>;
20
21
  response: AxiosInterceptorManager<AxiosResponse>;
@@ -39,6 +40,7 @@ export declare class ApiClient implements IApiClient {
39
40
  OrderApi: doc.OrderApi;
40
41
  UniquePageApi: doc.UniquePageApi;
41
42
  TemplateApi: doc.TemplateApi;
43
+ UrlRedirectApi: doc.UrlRedirectApi;
42
44
  interceptors: {
43
45
  request: AxiosInterceptorManager<InternalAxiosRequestConfig>;
44
46
  response: AxiosInterceptorManager<AxiosResponse>;
package/dist/index.js CHANGED
@@ -69,6 +69,7 @@ class ApiClient {
69
69
  this.OrderApi = new doc.OrderApi(undefined, this.baseURL, this.api);
70
70
  this.UniquePageApi = new doc.UniquePageApi(undefined, this.baseURL, this.api);
71
71
  this.TemplateApi = new doc.TemplateApi(undefined, this.baseURL, this.api);
72
+ this.UrlRedirectApi = new doc.UrlRedirectApi(undefined, this.baseURL, this.api);
72
73
  this.interceptors = {
73
74
  request: this.api.interceptors.request,
74
75
  response: this.api.interceptors.response,
package/dist/index.mjs CHANGED
@@ -27,6 +27,7 @@ export class ApiClient {
27
27
  this.OrderApi = new doc.OrderApi(undefined, this.baseURL, this.api);
28
28
  this.UniquePageApi = new doc.UniquePageApi(undefined, this.baseURL, this.api);
29
29
  this.TemplateApi = new doc.TemplateApi(undefined, this.baseURL, this.api);
30
+ this.UrlRedirectApi = new doc.UrlRedirectApi(undefined, this.baseURL, this.api);
30
31
  this.interceptors = {
31
32
  request: this.api.interceptors.request,
32
33
  response: this.api.interceptors.response,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infisale-client/api-client",
3
- "version": "1.3.26",
3
+ "version": "1.3.27",
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": "aad1d3074b1e8962e88b026acdfa2d08dc9c35cd"
40
+ "gitHead": "a8a17a0c80ff35af4b2b6b21bddf512b8f0c24b0"
41
41
  }