@infisale-client/api 1.3.59 → 1.3.61
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 +234 -20
- package/dist/api/api.js +46 -8
- package/dist/api/api.mjs +43 -5
- package/package.json +2 -2
package/dist/api/api.d.ts
CHANGED
|
@@ -2224,6 +2224,12 @@ export interface ICompany {
|
|
|
2224
2224
|
* @memberof ICompany
|
|
2225
2225
|
*/
|
|
2226
2226
|
'onboarding': RecordCompanyOnboardingStepEnumBoolean;
|
|
2227
|
+
/**
|
|
2228
|
+
*
|
|
2229
|
+
* @type {string}
|
|
2230
|
+
* @memberof ICompany
|
|
2231
|
+
*/
|
|
2232
|
+
'htmlHead'?: string;
|
|
2227
2233
|
/**
|
|
2228
2234
|
*
|
|
2229
2235
|
* @type {CompanyStatusEnum}
|
|
@@ -2461,6 +2467,12 @@ export interface ICompanyAdminResponse {
|
|
|
2461
2467
|
* @memberof ICompanyAdminResponse
|
|
2462
2468
|
*/
|
|
2463
2469
|
'onboarding': RecordCompanyOnboardingStepEnumBoolean;
|
|
2470
|
+
/**
|
|
2471
|
+
*
|
|
2472
|
+
* @type {string}
|
|
2473
|
+
* @memberof ICompanyAdminResponse
|
|
2474
|
+
*/
|
|
2475
|
+
'htmlHead'?: string;
|
|
2464
2476
|
/**
|
|
2465
2477
|
*
|
|
2466
2478
|
* @type {string}
|
|
@@ -2813,6 +2825,12 @@ export interface ICompanyCreatePaymentGatewaysRequest {
|
|
|
2813
2825
|
* @memberof ICompanyCreatePaymentGatewaysRequest
|
|
2814
2826
|
*/
|
|
2815
2827
|
'type': PaymentGatewayEnum;
|
|
2828
|
+
/**
|
|
2829
|
+
*
|
|
2830
|
+
* @type {boolean}
|
|
2831
|
+
* @memberof ICompanyCreatePaymentGatewaysRequest
|
|
2832
|
+
*/
|
|
2833
|
+
'active': boolean;
|
|
2816
2834
|
/**
|
|
2817
2835
|
*
|
|
2818
2836
|
* @type {string}
|
|
@@ -2837,12 +2855,6 @@ export interface ICompanyCreatePaymentGatewaysRequest {
|
|
|
2837
2855
|
* @memberof ICompanyCreatePaymentGatewaysRequest
|
|
2838
2856
|
*/
|
|
2839
2857
|
'testMode': boolean;
|
|
2840
|
-
/**
|
|
2841
|
-
*
|
|
2842
|
-
* @type {boolean}
|
|
2843
|
-
* @memberof ICompanyCreatePaymentGatewaysRequest
|
|
2844
|
-
*/
|
|
2845
|
-
'active': boolean;
|
|
2846
2858
|
}
|
|
2847
2859
|
/**
|
|
2848
2860
|
*
|
|
@@ -3185,6 +3197,12 @@ export interface ICompanyPatchRequest {
|
|
|
3185
3197
|
'legalDocuments'?: {
|
|
3186
3198
|
[key: string]: RecordStringUrlStringFileIImageValue;
|
|
3187
3199
|
};
|
|
3200
|
+
/**
|
|
3201
|
+
*
|
|
3202
|
+
* @type {string}
|
|
3203
|
+
* @memberof ICompanyPatchRequest
|
|
3204
|
+
*/
|
|
3205
|
+
'htmlHead'?: string;
|
|
3188
3206
|
/**
|
|
3189
3207
|
*
|
|
3190
3208
|
* @type {string}
|
|
@@ -3552,6 +3570,12 @@ export interface ICompanyResponse {
|
|
|
3552
3570
|
* @memberof ICompanyResponse
|
|
3553
3571
|
*/
|
|
3554
3572
|
'onboarding': RecordCompanyOnboardingStepEnumBoolean;
|
|
3573
|
+
/**
|
|
3574
|
+
*
|
|
3575
|
+
* @type {string}
|
|
3576
|
+
* @memberof ICompanyResponse
|
|
3577
|
+
*/
|
|
3578
|
+
'htmlHead'?: string;
|
|
3555
3579
|
/**
|
|
3556
3580
|
*
|
|
3557
3581
|
* @type {string}
|
|
@@ -3884,6 +3908,12 @@ export interface ICompanyUpdateConfigRequest {
|
|
|
3884
3908
|
* @memberof ICompanyUpdateConfigRequest
|
|
3885
3909
|
*/
|
|
3886
3910
|
'theme'?: string;
|
|
3911
|
+
/**
|
|
3912
|
+
*
|
|
3913
|
+
* @type {string}
|
|
3914
|
+
* @memberof ICompanyUpdateConfigRequest
|
|
3915
|
+
*/
|
|
3916
|
+
'htmlHead'?: string;
|
|
3887
3917
|
}
|
|
3888
3918
|
/**
|
|
3889
3919
|
*
|
|
@@ -3950,6 +3980,12 @@ export interface ICompanyUpdatePaymentGatewaysRequest {
|
|
|
3950
3980
|
* @memberof ICompanyUpdatePaymentGatewaysRequest
|
|
3951
3981
|
*/
|
|
3952
3982
|
'type'?: PaymentGatewayEnum;
|
|
3983
|
+
/**
|
|
3984
|
+
*
|
|
3985
|
+
* @type {boolean}
|
|
3986
|
+
* @memberof ICompanyUpdatePaymentGatewaysRequest
|
|
3987
|
+
*/
|
|
3988
|
+
'active'?: boolean;
|
|
3953
3989
|
/**
|
|
3954
3990
|
*
|
|
3955
3991
|
* @type {string}
|
|
@@ -3974,12 +4010,6 @@ export interface ICompanyUpdatePaymentGatewaysRequest {
|
|
|
3974
4010
|
* @memberof ICompanyUpdatePaymentGatewaysRequest
|
|
3975
4011
|
*/
|
|
3976
4012
|
'testMode'?: boolean;
|
|
3977
|
-
/**
|
|
3978
|
-
*
|
|
3979
|
-
* @type {boolean}
|
|
3980
|
-
* @memberof ICompanyUpdatePaymentGatewaysRequest
|
|
3981
|
-
*/
|
|
3982
|
-
'active'?: boolean;
|
|
3983
4013
|
}
|
|
3984
4014
|
/**
|
|
3985
4015
|
*
|
|
@@ -8946,6 +8976,18 @@ export interface ITheme {
|
|
|
8946
8976
|
* @memberof ITheme
|
|
8947
8977
|
*/
|
|
8948
8978
|
'cmsCollections': Array<PickIThemeExcludeKeyofIThemeGroupsCmsCollectionsInner>;
|
|
8979
|
+
/**
|
|
8980
|
+
*
|
|
8981
|
+
* @type {Array<ThemeKeywordEnum>}
|
|
8982
|
+
* @memberof ITheme
|
|
8983
|
+
*/
|
|
8984
|
+
'keywords': Array<ThemeKeywordEnum>;
|
|
8985
|
+
/**
|
|
8986
|
+
*
|
|
8987
|
+
* @type {boolean}
|
|
8988
|
+
* @memberof ITheme
|
|
8989
|
+
*/
|
|
8990
|
+
'active': boolean;
|
|
8949
8991
|
/**
|
|
8950
8992
|
*
|
|
8951
8993
|
* @type {boolean}
|
|
@@ -9008,6 +9050,12 @@ export interface IThemePatchRequest {
|
|
|
9008
9050
|
* @memberof IThemePatchRequest
|
|
9009
9051
|
*/
|
|
9010
9052
|
'companies'?: Array<string>;
|
|
9053
|
+
/**
|
|
9054
|
+
*
|
|
9055
|
+
* @type {boolean}
|
|
9056
|
+
* @memberof IThemePatchRequest
|
|
9057
|
+
*/
|
|
9058
|
+
'active'?: boolean;
|
|
9011
9059
|
/**
|
|
9012
9060
|
* Make all properties in T optional
|
|
9013
9061
|
* @type {{ [key: string]: PartialRecordStringTitleStringComponentsPartialRecordLanguageEnumITemplateComponentResponseArrayValue; }}
|
|
@@ -9030,6 +9078,12 @@ export interface IThemePatchRequest {
|
|
|
9030
9078
|
* @memberof IThemePatchRequest
|
|
9031
9079
|
*/
|
|
9032
9080
|
'demoUrl'?: string;
|
|
9081
|
+
/**
|
|
9082
|
+
*
|
|
9083
|
+
* @type {Array<ThemeKeywordEnum>}
|
|
9084
|
+
* @memberof IThemePatchRequest
|
|
9085
|
+
*/
|
|
9086
|
+
'keywords'?: Array<ThemeKeywordEnum>;
|
|
9033
9087
|
}
|
|
9034
9088
|
/**
|
|
9035
9089
|
*
|
|
@@ -9061,6 +9115,12 @@ export interface IThemePostRequest {
|
|
|
9061
9115
|
* @memberof IThemePostRequest
|
|
9062
9116
|
*/
|
|
9063
9117
|
'companies'?: Array<string>;
|
|
9118
|
+
/**
|
|
9119
|
+
*
|
|
9120
|
+
* @type {boolean}
|
|
9121
|
+
* @memberof IThemePostRequest
|
|
9122
|
+
*/
|
|
9123
|
+
'active'?: boolean;
|
|
9064
9124
|
}
|
|
9065
9125
|
/**
|
|
9066
9126
|
*
|
|
@@ -9160,6 +9220,18 @@ export interface IThemeResponse {
|
|
|
9160
9220
|
* @memberof IThemeResponse
|
|
9161
9221
|
*/
|
|
9162
9222
|
'cmsCollections': Array<PickIThemeExcludeKeyofIThemeGroupsCmsCollectionsInner>;
|
|
9223
|
+
/**
|
|
9224
|
+
*
|
|
9225
|
+
* @type {Array<ThemeKeywordEnum>}
|
|
9226
|
+
* @memberof IThemeResponse
|
|
9227
|
+
*/
|
|
9228
|
+
'keywords': Array<ThemeKeywordEnum>;
|
|
9229
|
+
/**
|
|
9230
|
+
*
|
|
9231
|
+
* @type {boolean}
|
|
9232
|
+
* @memberof IThemeResponse
|
|
9233
|
+
*/
|
|
9234
|
+
'active': boolean;
|
|
9163
9235
|
/**
|
|
9164
9236
|
*
|
|
9165
9237
|
* @type {boolean}
|
|
@@ -9272,6 +9344,37 @@ export interface IThemeVersion {
|
|
|
9272
9344
|
[key: string]: RecordStringConfigRecordStringConfigIndexTypeEnumContentsRecordStringRecordStringConfigIndexTypeEnumValue;
|
|
9273
9345
|
};
|
|
9274
9346
|
}
|
|
9347
|
+
/**
|
|
9348
|
+
*
|
|
9349
|
+
* @export
|
|
9350
|
+
* @interface IThemesQueryParams
|
|
9351
|
+
*/
|
|
9352
|
+
export interface IThemesQueryParams {
|
|
9353
|
+
/**
|
|
9354
|
+
*
|
|
9355
|
+
* @type {CompanyTypeEnum}
|
|
9356
|
+
* @memberof IThemesQueryParams
|
|
9357
|
+
*/
|
|
9358
|
+
'type'?: CompanyTypeEnum;
|
|
9359
|
+
/**
|
|
9360
|
+
*
|
|
9361
|
+
* @type {string}
|
|
9362
|
+
* @memberof IThemesQueryParams
|
|
9363
|
+
*/
|
|
9364
|
+
'companyId'?: string;
|
|
9365
|
+
/**
|
|
9366
|
+
*
|
|
9367
|
+
* @type {Array<ThemeKeywordEnum>}
|
|
9368
|
+
* @memberof IThemesQueryParams
|
|
9369
|
+
*/
|
|
9370
|
+
'keywords'?: Array<ThemeKeywordEnum>;
|
|
9371
|
+
/**
|
|
9372
|
+
*
|
|
9373
|
+
* @type {boolean}
|
|
9374
|
+
* @memberof IThemesQueryParams
|
|
9375
|
+
*/
|
|
9376
|
+
'active'?: boolean;
|
|
9377
|
+
}
|
|
9275
9378
|
/**
|
|
9276
9379
|
*
|
|
9277
9380
|
* @export
|
|
@@ -9379,6 +9482,18 @@ export interface IThemesResponseData {
|
|
|
9379
9482
|
* @memberof IThemesResponseData
|
|
9380
9483
|
*/
|
|
9381
9484
|
'cmsCollections': Array<PickIThemeExcludeKeyofIThemeGroupsCmsCollectionsInner>;
|
|
9485
|
+
/**
|
|
9486
|
+
*
|
|
9487
|
+
* @type {Array<ThemeKeywordEnum>}
|
|
9488
|
+
* @memberof IThemesResponseData
|
|
9489
|
+
*/
|
|
9490
|
+
'keywords': Array<ThemeKeywordEnum>;
|
|
9491
|
+
/**
|
|
9492
|
+
*
|
|
9493
|
+
* @type {boolean}
|
|
9494
|
+
* @memberof IThemesResponseData
|
|
9495
|
+
*/
|
|
9496
|
+
'active': boolean;
|
|
9382
9497
|
/**
|
|
9383
9498
|
*
|
|
9384
9499
|
* @type {boolean}
|
|
@@ -9532,6 +9647,18 @@ export interface IThemesResponseDataMain {
|
|
|
9532
9647
|
* @memberof IThemesResponseDataMain
|
|
9533
9648
|
*/
|
|
9534
9649
|
'cmsCollections': Array<PickIThemeExcludeKeyofIThemeGroupsCmsCollectionsInner>;
|
|
9650
|
+
/**
|
|
9651
|
+
*
|
|
9652
|
+
* @type {Array<ThemeKeywordEnum>}
|
|
9653
|
+
* @memberof IThemesResponseDataMain
|
|
9654
|
+
*/
|
|
9655
|
+
'keywords': Array<ThemeKeywordEnum>;
|
|
9656
|
+
/**
|
|
9657
|
+
*
|
|
9658
|
+
* @type {boolean}
|
|
9659
|
+
* @memberof IThemesResponseDataMain
|
|
9660
|
+
*/
|
|
9661
|
+
'active': boolean;
|
|
9535
9662
|
/**
|
|
9536
9663
|
*
|
|
9537
9664
|
* @type {boolean}
|
|
@@ -11052,6 +11179,12 @@ export interface PickICompanyAtPaymentGateways91093ExcludeKeyofICompanyAtPayment
|
|
|
11052
11179
|
* @memberof PickICompanyAtPaymentGateways91093ExcludeKeyofICompanyAtPaymentGateways91093Id
|
|
11053
11180
|
*/
|
|
11054
11181
|
'type': PaymentGatewayEnum;
|
|
11182
|
+
/**
|
|
11183
|
+
*
|
|
11184
|
+
* @type {boolean}
|
|
11185
|
+
* @memberof PickICompanyAtPaymentGateways91093ExcludeKeyofICompanyAtPaymentGateways91093Id
|
|
11186
|
+
*/
|
|
11187
|
+
'active': boolean;
|
|
11055
11188
|
/**
|
|
11056
11189
|
*
|
|
11057
11190
|
* @type {string}
|
|
@@ -11076,12 +11209,6 @@ export interface PickICompanyAtPaymentGateways91093ExcludeKeyofICompanyAtPayment
|
|
|
11076
11209
|
* @memberof PickICompanyAtPaymentGateways91093ExcludeKeyofICompanyAtPaymentGateways91093Id
|
|
11077
11210
|
*/
|
|
11078
11211
|
'testMode': boolean;
|
|
11079
|
-
/**
|
|
11080
|
-
*
|
|
11081
|
-
* @type {boolean}
|
|
11082
|
-
* @memberof PickICompanyAtPaymentGateways91093ExcludeKeyofICompanyAtPaymentGateways91093Id
|
|
11083
|
-
*/
|
|
11084
|
-
'active': boolean;
|
|
11085
11212
|
}
|
|
11086
11213
|
/**
|
|
11087
11214
|
* From T, pick a set of properties whose keys are in the union K
|
|
@@ -11320,6 +11447,12 @@ export interface PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys {
|
|
|
11320
11447
|
* @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys
|
|
11321
11448
|
*/
|
|
11322
11449
|
'onboarding': RecordCompanyOnboardingStepEnumBoolean;
|
|
11450
|
+
/**
|
|
11451
|
+
*
|
|
11452
|
+
* @type {string}
|
|
11453
|
+
* @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys
|
|
11454
|
+
*/
|
|
11455
|
+
'htmlHead'?: string;
|
|
11323
11456
|
/**
|
|
11324
11457
|
*
|
|
11325
11458
|
* @type {string}
|
|
@@ -12901,6 +13034,18 @@ export interface PickIThemeExcludeKeyofIThemeGroups {
|
|
|
12901
13034
|
* @memberof PickIThemeExcludeKeyofIThemeGroups
|
|
12902
13035
|
*/
|
|
12903
13036
|
'cmsCollections': Array<PickIThemeExcludeKeyofIThemeGroupsCmsCollectionsInner>;
|
|
13037
|
+
/**
|
|
13038
|
+
*
|
|
13039
|
+
* @type {Array<ThemeKeywordEnum>}
|
|
13040
|
+
* @memberof PickIThemeExcludeKeyofIThemeGroups
|
|
13041
|
+
*/
|
|
13042
|
+
'keywords': Array<ThemeKeywordEnum>;
|
|
13043
|
+
/**
|
|
13044
|
+
*
|
|
13045
|
+
* @type {boolean}
|
|
13046
|
+
* @memberof PickIThemeExcludeKeyofIThemeGroups
|
|
13047
|
+
*/
|
|
13048
|
+
'active': boolean;
|
|
12904
13049
|
/**
|
|
12905
13050
|
*
|
|
12906
13051
|
* @type {boolean}
|
|
@@ -13039,6 +13184,18 @@ export interface PickIThemeExcludeKeyofIThemeLastVersion {
|
|
|
13039
13184
|
* @memberof PickIThemeExcludeKeyofIThemeLastVersion
|
|
13040
13185
|
*/
|
|
13041
13186
|
'cmsCollections': Array<PickIThemeExcludeKeyofIThemeGroupsCmsCollectionsInner>;
|
|
13187
|
+
/**
|
|
13188
|
+
*
|
|
13189
|
+
* @type {Array<ThemeKeywordEnum>}
|
|
13190
|
+
* @memberof PickIThemeExcludeKeyofIThemeLastVersion
|
|
13191
|
+
*/
|
|
13192
|
+
'keywords': Array<ThemeKeywordEnum>;
|
|
13193
|
+
/**
|
|
13194
|
+
*
|
|
13195
|
+
* @type {boolean}
|
|
13196
|
+
* @memberof PickIThemeExcludeKeyofIThemeLastVersion
|
|
13197
|
+
*/
|
|
13198
|
+
'active': boolean;
|
|
13042
13199
|
/**
|
|
13043
13200
|
*
|
|
13044
13201
|
* @type {boolean}
|
|
@@ -13140,6 +13297,18 @@ export interface PickIThemeResponseExcludeKeyofIThemeResponseLastVersionOrMain {
|
|
|
13140
13297
|
* @memberof PickIThemeResponseExcludeKeyofIThemeResponseLastVersionOrMain
|
|
13141
13298
|
*/
|
|
13142
13299
|
'cmsCollections': Array<PickIThemeExcludeKeyofIThemeGroupsCmsCollectionsInner>;
|
|
13300
|
+
/**
|
|
13301
|
+
*
|
|
13302
|
+
* @type {Array<ThemeKeywordEnum>}
|
|
13303
|
+
* @memberof PickIThemeResponseExcludeKeyofIThemeResponseLastVersionOrMain
|
|
13304
|
+
*/
|
|
13305
|
+
'keywords': Array<ThemeKeywordEnum>;
|
|
13306
|
+
/**
|
|
13307
|
+
*
|
|
13308
|
+
* @type {boolean}
|
|
13309
|
+
* @memberof PickIThemeResponseExcludeKeyofIThemeResponseLastVersionOrMain
|
|
13310
|
+
*/
|
|
13311
|
+
'active': boolean;
|
|
13143
13312
|
/**
|
|
13144
13313
|
*
|
|
13145
13314
|
* @type {boolean}
|
|
@@ -14002,6 +14171,35 @@ export declare const SubscriptionStatusEnum: {
|
|
|
14002
14171
|
readonly PENDING: "pending";
|
|
14003
14172
|
};
|
|
14004
14173
|
export type SubscriptionStatusEnum = typeof SubscriptionStatusEnum[keyof typeof SubscriptionStatusEnum];
|
|
14174
|
+
/**
|
|
14175
|
+
*
|
|
14176
|
+
* @export
|
|
14177
|
+
* @enum {string}
|
|
14178
|
+
*/
|
|
14179
|
+
export declare const ThemeKeywordEnum: {
|
|
14180
|
+
readonly BUSINESS: "business";
|
|
14181
|
+
readonly TECHNOLOGY: "technology";
|
|
14182
|
+
readonly HEALTH: "health";
|
|
14183
|
+
readonly FASHION: "fashion";
|
|
14184
|
+
readonly CONSULTING: "consulting";
|
|
14185
|
+
readonly FACTORY: "factory";
|
|
14186
|
+
readonly PLUMBER: "plumber";
|
|
14187
|
+
readonly ELECTRICIAN: "electrician";
|
|
14188
|
+
readonly CONSTRUCTION: "construction";
|
|
14189
|
+
readonly REAL_ESTATE: "real_estate";
|
|
14190
|
+
readonly LAWYER: "lawyer";
|
|
14191
|
+
readonly RESTAURANT: "restaurant";
|
|
14192
|
+
readonly CAFE: "cafe";
|
|
14193
|
+
readonly CAR_SERVICE: "car_service";
|
|
14194
|
+
readonly CLEANING_SERVICE: "cleaning_service";
|
|
14195
|
+
readonly MOVING_COMPANY: "moving_company";
|
|
14196
|
+
readonly SECURITY: "security";
|
|
14197
|
+
readonly ARCHITECTURE: "architecture";
|
|
14198
|
+
readonly INTERIOR_DESIGN: "interior_design";
|
|
14199
|
+
readonly AGENCY: "agency";
|
|
14200
|
+
readonly LOGISTIC: "logistic";
|
|
14201
|
+
};
|
|
14202
|
+
export type ThemeKeywordEnum = typeof ThemeKeywordEnum[keyof typeof ThemeKeywordEnum];
|
|
14005
14203
|
/**
|
|
14006
14204
|
*
|
|
14007
14205
|
* @export
|
|
@@ -23244,10 +23442,12 @@ export declare const ThemeApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
23244
23442
|
*
|
|
23245
23443
|
* @param {CompanyTypeEnum} [type]
|
|
23246
23444
|
* @param {string} [companyId]
|
|
23445
|
+
* @param {Array<ThemeKeywordEnum>} [keywords]
|
|
23446
|
+
* @param {boolean} [active]
|
|
23247
23447
|
* @param {*} [options] Override http request option.
|
|
23248
23448
|
* @throws {RequiredError}
|
|
23249
23449
|
*/
|
|
23250
|
-
getThemes: (type?: CompanyTypeEnum, companyId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
23450
|
+
getThemes: (type?: CompanyTypeEnum, companyId?: string, keywords?: Array<ThemeKeywordEnum>, active?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
23251
23451
|
/**
|
|
23252
23452
|
*
|
|
23253
23453
|
* @param {string} id
|
|
@@ -23318,10 +23518,12 @@ export declare const ThemeApiFp: (configuration?: Configuration) => {
|
|
|
23318
23518
|
*
|
|
23319
23519
|
* @param {CompanyTypeEnum} [type]
|
|
23320
23520
|
* @param {string} [companyId]
|
|
23521
|
+
* @param {Array<ThemeKeywordEnum>} [keywords]
|
|
23522
|
+
* @param {boolean} [active]
|
|
23321
23523
|
* @param {*} [options] Override http request option.
|
|
23322
23524
|
* @throws {RequiredError}
|
|
23323
23525
|
*/
|
|
23324
|
-
getThemes(type?: CompanyTypeEnum, companyId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IThemesResponse>>;
|
|
23526
|
+
getThemes(type?: CompanyTypeEnum, companyId?: string, keywords?: Array<ThemeKeywordEnum>, active?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IThemesResponse>>;
|
|
23325
23527
|
/**
|
|
23326
23528
|
*
|
|
23327
23529
|
* @param {string} id
|
|
@@ -23506,6 +23708,18 @@ export interface ThemeApiGetThemesRequest {
|
|
|
23506
23708
|
* @memberof ThemeApiGetThemes
|
|
23507
23709
|
*/
|
|
23508
23710
|
readonly companyId?: string;
|
|
23711
|
+
/**
|
|
23712
|
+
*
|
|
23713
|
+
* @type {Array<ThemeKeywordEnum>}
|
|
23714
|
+
* @memberof ThemeApiGetThemes
|
|
23715
|
+
*/
|
|
23716
|
+
readonly keywords?: Array<ThemeKeywordEnum>;
|
|
23717
|
+
/**
|
|
23718
|
+
*
|
|
23719
|
+
* @type {boolean}
|
|
23720
|
+
* @memberof ThemeApiGetThemes
|
|
23721
|
+
*/
|
|
23722
|
+
readonly active?: boolean;
|
|
23509
23723
|
}
|
|
23510
23724
|
/**
|
|
23511
23725
|
* Request parameters for updateTheme operation in ThemeApi.
|
package/dist/api/api.js
CHANGED
|
@@ -17,9 +17,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
17
17
|
};
|
|
18
18
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
19
|
exports.PlanAttributeKeyEnum = exports.PlanAttributeGroupEnum = 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.FileKeywordEnum = exports.EmailConfigDnsRecordTypeEnum = exports.CurrencyRateTypeEnum = exports.CurrencyEnum = exports.CountryEnum = exports.ContentStatusEnum = exports.CompanyUserStatusEnum = exports.CompanyTypeEnum = exports.CompanyStatusEnum = void 0;
|
|
20
|
-
exports.
|
|
21
|
-
exports.
|
|
22
|
-
exports.GetUsersDateFieldEnum = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.GetUrlRedirectsSortEnum = exports.GetUrlRedirectsDateFieldEnum = exports.UrlRedirectApi = exports.UrlRedirectApiFactory = exports.UrlRedirectApiFp = exports.UrlRedirectApiAxiosParamCreator = exports.GetUniquePagesDateFieldEnum = exports.UniquePageApi = exports.UniquePageApiFactory = exports.UniquePageApiFp = exports.UniquePageApiAxiosParamCreator = exports.ThemeApi = exports.ThemeApiFactory = exports.ThemeApiFp = void 0;
|
|
20
|
+
exports.FileApiAxiosParamCreator = exports.GetContactFormsDateFieldEnum = exports.ContactFormApi = exports.ContactFormApiFactory = exports.ContactFormApiFp = exports.ContactFormApiAxiosParamCreator = exports.GetCompanyCustomersDateFieldEnum = exports.GetCompaniesDateFieldEnum = exports.CompanyApi = exports.CompanyApiFactory = exports.CompanyApiFp = exports.CompanyApiAxiosParamCreator = exports.GetCollectionsDateFieldEnum = exports.CollectionApi = exports.CollectionApiFactory = exports.CollectionApiFp = exports.CollectionApiAxiosParamCreator = exports.GetCategoriesDateFieldEnum = exports.CategoryApi = exports.CategoryApiFactory = exports.CategoryApiFp = exports.CategoryApiAxiosParamCreator = exports.GetBrandsDateFieldEnum = exports.BrandApi = exports.BrandApiFactory = exports.BrandApiFp = exports.BrandApiAxiosParamCreator = 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.ThemeKeywordEnum = exports.SubscriptionStatusEnum = exports.StoreLocationEnum = exports.SitemapTypeEnum = exports.ShippingPricingTypeEnum = exports.ReviewStatusEnum = exports.PlanTypeEnum = exports.PlanStatusEnum = void 0;
|
|
21
|
+
exports.TemplateApi = exports.TemplateApiFactory = exports.TemplateApiFp = exports.TemplateApiAxiosParamCreator = exports.SitemapApi = exports.SitemapApiFactory = exports.SitemapApiFp = exports.SitemapApiAxiosParamCreator = exports.GetProductsSortEnum = exports.GetProductsDateFieldEnum = exports.ProductApi = exports.ProductApiFactory = exports.ProductApiFp = exports.ProductApiAxiosParamCreator = exports.GetPlansCategoryEnum = exports.GetPlansDateFieldEnum = exports.PlanApi = exports.PlanApiFactory = exports.PlanApiFp = exports.PlanApiAxiosParamCreator = exports.GetPagesDateFieldEnum = exports.PageApi = exports.PageApiFactory = exports.PageApiFp = exports.PageApiAxiosParamCreator = exports.GetOrdersDateFieldEnum = exports.GetMyOrdersDateFieldEnum = exports.OrderApi = exports.OrderApiFactory = exports.OrderApiFp = exports.OrderApiAxiosParamCreator = exports.GetOperationsDateFieldEnum = exports.OperationApi = exports.OperationApiFactory = exports.OperationApiFp = exports.OperationApiAxiosParamCreator = exports.GetNotificationsDateFieldEnum = exports.NotificationApi = exports.NotificationApiFactory = exports.NotificationApiFp = exports.NotificationApiAxiosParamCreator = exports.GetNavigationsDateFieldEnum = exports.NavigationApi = exports.NavigationApiFactory = exports.NavigationApiFp = exports.NavigationApiAxiosParamCreator = exports.GetFilesDateFieldEnum = exports.FileApi = exports.FileApiFactory = exports.FileApiFp = void 0;
|
|
22
|
+
exports.GetUsersDateFieldEnum = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.GetUrlRedirectsSortEnum = exports.GetUrlRedirectsDateFieldEnum = exports.UrlRedirectApi = exports.UrlRedirectApiFactory = exports.UrlRedirectApiFp = exports.UrlRedirectApiAxiosParamCreator = exports.GetUniquePagesDateFieldEnum = exports.UniquePageApi = exports.UniquePageApiFactory = exports.UniquePageApiFp = exports.UniquePageApiAxiosParamCreator = exports.ThemeApi = exports.ThemeApiFactory = exports.ThemeApiFp = exports.ThemeApiAxiosParamCreator = void 0;
|
|
23
23
|
const axios_1 = __importDefault(require("axios"));
|
|
24
24
|
// Some imports not used depending on template conditions
|
|
25
25
|
// @ts-ignore
|
|
@@ -706,6 +706,34 @@ exports.SubscriptionStatusEnum = {
|
|
|
706
706
|
EXPIRED: 'expired',
|
|
707
707
|
PENDING: 'pending'
|
|
708
708
|
};
|
|
709
|
+
/**
|
|
710
|
+
*
|
|
711
|
+
* @export
|
|
712
|
+
* @enum {string}
|
|
713
|
+
*/
|
|
714
|
+
exports.ThemeKeywordEnum = {
|
|
715
|
+
BUSINESS: 'business',
|
|
716
|
+
TECHNOLOGY: 'technology',
|
|
717
|
+
HEALTH: 'health',
|
|
718
|
+
FASHION: 'fashion',
|
|
719
|
+
CONSULTING: 'consulting',
|
|
720
|
+
FACTORY: 'factory',
|
|
721
|
+
PLUMBER: 'plumber',
|
|
722
|
+
ELECTRICIAN: 'electrician',
|
|
723
|
+
CONSTRUCTION: 'construction',
|
|
724
|
+
REAL_ESTATE: 'real_estate',
|
|
725
|
+
LAWYER: 'lawyer',
|
|
726
|
+
RESTAURANT: 'restaurant',
|
|
727
|
+
CAFE: 'cafe',
|
|
728
|
+
CAR_SERVICE: 'car_service',
|
|
729
|
+
CLEANING_SERVICE: 'cleaning_service',
|
|
730
|
+
MOVING_COMPANY: 'moving_company',
|
|
731
|
+
SECURITY: 'security',
|
|
732
|
+
ARCHITECTURE: 'architecture',
|
|
733
|
+
INTERIOR_DESIGN: 'interior_design',
|
|
734
|
+
AGENCY: 'agency',
|
|
735
|
+
LOGISTIC: 'logistic'
|
|
736
|
+
};
|
|
709
737
|
/**
|
|
710
738
|
*
|
|
711
739
|
* @export
|
|
@@ -12253,10 +12281,12 @@ const ThemeApiAxiosParamCreator = function (configuration) {
|
|
|
12253
12281
|
*
|
|
12254
12282
|
* @param {CompanyTypeEnum} [type]
|
|
12255
12283
|
* @param {string} [companyId]
|
|
12284
|
+
* @param {Array<ThemeKeywordEnum>} [keywords]
|
|
12285
|
+
* @param {boolean} [active]
|
|
12256
12286
|
* @param {*} [options] Override http request option.
|
|
12257
12287
|
* @throws {RequiredError}
|
|
12258
12288
|
*/
|
|
12259
|
-
getThemes: async (type, companyId, options = {}) => {
|
|
12289
|
+
getThemes: async (type, companyId, keywords, active, options = {}) => {
|
|
12260
12290
|
const localVarPath = `/api/themes`;
|
|
12261
12291
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12262
12292
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -12273,6 +12303,12 @@ const ThemeApiAxiosParamCreator = function (configuration) {
|
|
|
12273
12303
|
if (companyId !== undefined) {
|
|
12274
12304
|
localVarQueryParameter['companyId'] = companyId;
|
|
12275
12305
|
}
|
|
12306
|
+
if (keywords) {
|
|
12307
|
+
localVarQueryParameter['keywords'] = keywords;
|
|
12308
|
+
}
|
|
12309
|
+
if (active !== undefined) {
|
|
12310
|
+
localVarQueryParameter['active'] = active;
|
|
12311
|
+
}
|
|
12276
12312
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
12277
12313
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12278
12314
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -12449,11 +12485,13 @@ const ThemeApiFp = function (configuration) {
|
|
|
12449
12485
|
*
|
|
12450
12486
|
* @param {CompanyTypeEnum} [type]
|
|
12451
12487
|
* @param {string} [companyId]
|
|
12488
|
+
* @param {Array<ThemeKeywordEnum>} [keywords]
|
|
12489
|
+
* @param {boolean} [active]
|
|
12452
12490
|
* @param {*} [options] Override http request option.
|
|
12453
12491
|
* @throws {RequiredError}
|
|
12454
12492
|
*/
|
|
12455
|
-
async getThemes(type, companyId, options) {
|
|
12456
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getThemes(type, companyId, options);
|
|
12493
|
+
async getThemes(type, companyId, keywords, active, options) {
|
|
12494
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getThemes(type, companyId, keywords, active, options);
|
|
12457
12495
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12458
12496
|
const localVarOperationServerBasePath = base_1.operationServerMap['ThemeApi.getThemes']?.[localVarOperationServerIndex]?.url;
|
|
12459
12497
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -12557,7 +12595,7 @@ const ThemeApiFactory = function (configuration, basePath, axios) {
|
|
|
12557
12595
|
* @throws {RequiredError}
|
|
12558
12596
|
*/
|
|
12559
12597
|
getThemes(requestParameters = {}, options) {
|
|
12560
|
-
return localVarFp.getThemes(requestParameters.type, requestParameters.companyId, options).then((request) => request(axios, basePath));
|
|
12598
|
+
return localVarFp.getThemes(requestParameters.type, requestParameters.companyId, requestParameters.keywords, requestParameters.active, options).then((request) => request(axios, basePath));
|
|
12561
12599
|
},
|
|
12562
12600
|
/**
|
|
12563
12601
|
*
|
|
@@ -12655,7 +12693,7 @@ class ThemeApi extends base_1.BaseAPI {
|
|
|
12655
12693
|
* @memberof ThemeApi
|
|
12656
12694
|
*/
|
|
12657
12695
|
getThemes(requestParameters = {}, options) {
|
|
12658
|
-
return (0, exports.ThemeApiFp)(this.configuration).getThemes(requestParameters.type, requestParameters.companyId, options).then((request) => request(this.axios, this.basePath));
|
|
12696
|
+
return (0, exports.ThemeApiFp)(this.configuration).getThemes(requestParameters.type, requestParameters.companyId, requestParameters.keywords, requestParameters.active, options).then((request) => request(this.axios, this.basePath));
|
|
12659
12697
|
}
|
|
12660
12698
|
/**
|
|
12661
12699
|
*
|
package/dist/api/api.mjs
CHANGED
|
@@ -694,6 +694,34 @@ export const SubscriptionStatusEnum = {
|
|
|
694
694
|
EXPIRED: 'expired',
|
|
695
695
|
PENDING: 'pending'
|
|
696
696
|
};
|
|
697
|
+
/**
|
|
698
|
+
*
|
|
699
|
+
* @export
|
|
700
|
+
* @enum {string}
|
|
701
|
+
*/
|
|
702
|
+
export const ThemeKeywordEnum = {
|
|
703
|
+
BUSINESS: 'business',
|
|
704
|
+
TECHNOLOGY: 'technology',
|
|
705
|
+
HEALTH: 'health',
|
|
706
|
+
FASHION: 'fashion',
|
|
707
|
+
CONSULTING: 'consulting',
|
|
708
|
+
FACTORY: 'factory',
|
|
709
|
+
PLUMBER: 'plumber',
|
|
710
|
+
ELECTRICIAN: 'electrician',
|
|
711
|
+
CONSTRUCTION: 'construction',
|
|
712
|
+
REAL_ESTATE: 'real_estate',
|
|
713
|
+
LAWYER: 'lawyer',
|
|
714
|
+
RESTAURANT: 'restaurant',
|
|
715
|
+
CAFE: 'cafe',
|
|
716
|
+
CAR_SERVICE: 'car_service',
|
|
717
|
+
CLEANING_SERVICE: 'cleaning_service',
|
|
718
|
+
MOVING_COMPANY: 'moving_company',
|
|
719
|
+
SECURITY: 'security',
|
|
720
|
+
ARCHITECTURE: 'architecture',
|
|
721
|
+
INTERIOR_DESIGN: 'interior_design',
|
|
722
|
+
AGENCY: 'agency',
|
|
723
|
+
LOGISTIC: 'logistic'
|
|
724
|
+
};
|
|
697
725
|
/**
|
|
698
726
|
*
|
|
699
727
|
* @export
|
|
@@ -12169,10 +12197,12 @@ export const ThemeApiAxiosParamCreator = function (configuration) {
|
|
|
12169
12197
|
*
|
|
12170
12198
|
* @param {CompanyTypeEnum} [type]
|
|
12171
12199
|
* @param {string} [companyId]
|
|
12200
|
+
* @param {Array<ThemeKeywordEnum>} [keywords]
|
|
12201
|
+
* @param {boolean} [active]
|
|
12172
12202
|
* @param {*} [options] Override http request option.
|
|
12173
12203
|
* @throws {RequiredError}
|
|
12174
12204
|
*/
|
|
12175
|
-
getThemes: async (type, companyId, options = {}) => {
|
|
12205
|
+
getThemes: async (type, companyId, keywords, active, options = {}) => {
|
|
12176
12206
|
const localVarPath = `/api/themes`;
|
|
12177
12207
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12178
12208
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -12189,6 +12219,12 @@ export const ThemeApiAxiosParamCreator = function (configuration) {
|
|
|
12189
12219
|
if (companyId !== undefined) {
|
|
12190
12220
|
localVarQueryParameter['companyId'] = companyId;
|
|
12191
12221
|
}
|
|
12222
|
+
if (keywords) {
|
|
12223
|
+
localVarQueryParameter['keywords'] = keywords;
|
|
12224
|
+
}
|
|
12225
|
+
if (active !== undefined) {
|
|
12226
|
+
localVarQueryParameter['active'] = active;
|
|
12227
|
+
}
|
|
12192
12228
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12193
12229
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12194
12230
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -12364,11 +12400,13 @@ export const ThemeApiFp = function (configuration) {
|
|
|
12364
12400
|
*
|
|
12365
12401
|
* @param {CompanyTypeEnum} [type]
|
|
12366
12402
|
* @param {string} [companyId]
|
|
12403
|
+
* @param {Array<ThemeKeywordEnum>} [keywords]
|
|
12404
|
+
* @param {boolean} [active]
|
|
12367
12405
|
* @param {*} [options] Override http request option.
|
|
12368
12406
|
* @throws {RequiredError}
|
|
12369
12407
|
*/
|
|
12370
|
-
async getThemes(type, companyId, options) {
|
|
12371
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getThemes(type, companyId, options);
|
|
12408
|
+
async getThemes(type, companyId, keywords, active, options) {
|
|
12409
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getThemes(type, companyId, keywords, active, options);
|
|
12372
12410
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12373
12411
|
const localVarOperationServerBasePath = operationServerMap['ThemeApi.getThemes']?.[localVarOperationServerIndex]?.url;
|
|
12374
12412
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -12471,7 +12509,7 @@ export const ThemeApiFactory = function (configuration, basePath, axios) {
|
|
|
12471
12509
|
* @throws {RequiredError}
|
|
12472
12510
|
*/
|
|
12473
12511
|
getThemes(requestParameters = {}, options) {
|
|
12474
|
-
return localVarFp.getThemes(requestParameters.type, requestParameters.companyId, options).then((request) => request(axios, basePath));
|
|
12512
|
+
return localVarFp.getThemes(requestParameters.type, requestParameters.companyId, requestParameters.keywords, requestParameters.active, options).then((request) => request(axios, basePath));
|
|
12475
12513
|
},
|
|
12476
12514
|
/**
|
|
12477
12515
|
*
|
|
@@ -12568,7 +12606,7 @@ export class ThemeApi extends BaseAPI {
|
|
|
12568
12606
|
* @memberof ThemeApi
|
|
12569
12607
|
*/
|
|
12570
12608
|
getThemes(requestParameters = {}, options) {
|
|
12571
|
-
return ThemeApiFp(this.configuration).getThemes(requestParameters.type, requestParameters.companyId, options).then((request) => request(this.axios, this.basePath));
|
|
12609
|
+
return ThemeApiFp(this.configuration).getThemes(requestParameters.type, requestParameters.companyId, requestParameters.keywords, requestParameters.active, options).then((request) => request(this.axios, this.basePath));
|
|
12572
12610
|
}
|
|
12573
12611
|
/**
|
|
12574
12612
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infisale-client/api",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.61",
|
|
4
4
|
"description": "api-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": "e40467a88dd8b39d367040af80221304689e4036"
|
|
41
41
|
}
|