@infisale-client/api 1.3.8 → 1.3.10
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 +122 -29
- package/dist/api/api.js +4 -3
- package/dist/api/api.mjs +4 -3
- package/package.json +2 -2
package/dist/api/api.d.ts
CHANGED
|
@@ -2097,6 +2097,12 @@ export interface ICompany {
|
|
|
2097
2097
|
* @memberof ICompany
|
|
2098
2098
|
*/
|
|
2099
2099
|
'dnsZoneDomain'?: string;
|
|
2100
|
+
/**
|
|
2101
|
+
*
|
|
2102
|
+
* @type {RecordCustomPaymentMethodEnumExtraFeeNumberInfoStringActiveBoolean}
|
|
2103
|
+
* @memberof ICompany
|
|
2104
|
+
*/
|
|
2105
|
+
'customPaymentMethods': RecordCustomPaymentMethodEnumExtraFeeNumberInfoStringActiveBoolean;
|
|
2100
2106
|
/**
|
|
2101
2107
|
*
|
|
2102
2108
|
* @type {Array<PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRolesUsersInner>}
|
|
@@ -2418,6 +2424,12 @@ export interface ICompanyAdminResponse {
|
|
|
2418
2424
|
* @memberof ICompanyAdminResponse
|
|
2419
2425
|
*/
|
|
2420
2426
|
'dnsZoneDomain'?: string;
|
|
2427
|
+
/**
|
|
2428
|
+
*
|
|
2429
|
+
* @type {RecordCustomPaymentMethodEnumExtraFeeNumberInfoStringActiveBoolean}
|
|
2430
|
+
* @memberof ICompanyAdminResponse
|
|
2431
|
+
*/
|
|
2432
|
+
'customPaymentMethods': RecordCustomPaymentMethodEnumExtraFeeNumberInfoStringActiveBoolean;
|
|
2421
2433
|
/**
|
|
2422
2434
|
*
|
|
2423
2435
|
* @type {{ [key: string]: string; }}
|
|
@@ -2718,6 +2730,12 @@ export interface ICompanyAvailablePaymentGatewaysResponse {
|
|
|
2718
2730
|
* @interface ICompanyAvailablePaymentGatewaysResponseDataInner
|
|
2719
2731
|
*/
|
|
2720
2732
|
export interface ICompanyAvailablePaymentGatewaysResponseDataInner {
|
|
2733
|
+
/**
|
|
2734
|
+
*
|
|
2735
|
+
* @type {string}
|
|
2736
|
+
* @memberof ICompanyAvailablePaymentGatewaysResponseDataInner
|
|
2737
|
+
*/
|
|
2738
|
+
'info'?: string;
|
|
2721
2739
|
/**
|
|
2722
2740
|
*
|
|
2723
2741
|
* @type {number}
|
|
@@ -3118,6 +3136,12 @@ export interface ICompanyPatchRequest {
|
|
|
3118
3136
|
* @memberof ICompanyPatchRequest
|
|
3119
3137
|
*/
|
|
3120
3138
|
'dnsZoneDomain'?: string;
|
|
3139
|
+
/**
|
|
3140
|
+
*
|
|
3141
|
+
* @type {RecordCustomPaymentMethodEnumExtraFeeNumberInfoStringActiveBoolean}
|
|
3142
|
+
* @memberof ICompanyPatchRequest
|
|
3143
|
+
*/
|
|
3144
|
+
'customPaymentMethods'?: RecordCustomPaymentMethodEnumExtraFeeNumberInfoStringActiveBoolean;
|
|
3121
3145
|
/**
|
|
3122
3146
|
*
|
|
3123
3147
|
* @type {{ [key: string]: string; }}
|
|
@@ -3457,6 +3481,12 @@ export interface ICompanyResponse {
|
|
|
3457
3481
|
* @memberof ICompanyResponse
|
|
3458
3482
|
*/
|
|
3459
3483
|
'dnsZoneDomain'?: string;
|
|
3484
|
+
/**
|
|
3485
|
+
*
|
|
3486
|
+
* @type {RecordCustomPaymentMethodEnumExtraFeeNumberInfoStringActiveBoolean}
|
|
3487
|
+
* @memberof ICompanyResponse
|
|
3488
|
+
*/
|
|
3489
|
+
'customPaymentMethods': RecordCustomPaymentMethodEnumExtraFeeNumberInfoStringActiveBoolean;
|
|
3460
3490
|
/**
|
|
3461
3491
|
*
|
|
3462
3492
|
* @type {{ [key: string]: string; }}
|
|
@@ -5576,6 +5606,12 @@ export interface IOrderCreateResponse {
|
|
|
5576
5606
|
* @memberof IOrderCreateResponse
|
|
5577
5607
|
*/
|
|
5578
5608
|
'redirectUrl'?: string;
|
|
5609
|
+
/**
|
|
5610
|
+
*
|
|
5611
|
+
* @type {string}
|
|
5612
|
+
* @memberof IOrderCreateResponse
|
|
5613
|
+
*/
|
|
5614
|
+
'orderId'?: string;
|
|
5579
5615
|
}
|
|
5580
5616
|
/**
|
|
5581
5617
|
*
|
|
@@ -5764,7 +5800,7 @@ export interface IOrderResponse {
|
|
|
5764
5800
|
* @type {PaymentGatewayEnum}
|
|
5765
5801
|
* @memberof IOrderResponse
|
|
5766
5802
|
*/
|
|
5767
|
-
'paymentGateway'
|
|
5803
|
+
'paymentGateway'?: PaymentGatewayEnum;
|
|
5768
5804
|
/**
|
|
5769
5805
|
*
|
|
5770
5806
|
* @type {string}
|
|
@@ -8538,12 +8574,12 @@ export interface IThemePatchRequest {
|
|
|
8538
8574
|
[key: string]: any;
|
|
8539
8575
|
};
|
|
8540
8576
|
/**
|
|
8541
|
-
*
|
|
8542
|
-
* @type {{ [key: string]:
|
|
8577
|
+
* Make all properties in T optional
|
|
8578
|
+
* @type {{ [key: string]: PartialRecordStringComponentsPartialRecordLanguageEnumITemplateComponentResponseArrayValue; }}
|
|
8543
8579
|
* @memberof IThemePatchRequest
|
|
8544
8580
|
*/
|
|
8545
8581
|
'groups'?: {
|
|
8546
|
-
[key: string]:
|
|
8582
|
+
[key: string]: PartialRecordStringComponentsPartialRecordLanguageEnumITemplateComponentResponseArrayValue;
|
|
8547
8583
|
};
|
|
8548
8584
|
/**
|
|
8549
8585
|
*
|
|
@@ -8591,12 +8627,12 @@ export interface IThemePostRequest {
|
|
|
8591
8627
|
[key: string]: any;
|
|
8592
8628
|
};
|
|
8593
8629
|
/**
|
|
8594
|
-
*
|
|
8595
|
-
* @type {{ [key: string]:
|
|
8630
|
+
* Make all properties in T optional
|
|
8631
|
+
* @type {{ [key: string]: PartialRecordStringComponentsPartialRecordLanguageEnumITemplateComponentResponseArrayValue; }}
|
|
8596
8632
|
* @memberof IThemePostRequest
|
|
8597
8633
|
*/
|
|
8598
8634
|
'groups': {
|
|
8599
|
-
[key: string]:
|
|
8635
|
+
[key: string]: PartialRecordStringComponentsPartialRecordLanguageEnumITemplateComponentResponseArrayValue;
|
|
8600
8636
|
};
|
|
8601
8637
|
/**
|
|
8602
8638
|
*
|
|
@@ -8692,12 +8728,12 @@ export interface IThemeResponse {
|
|
|
8692
8728
|
*/
|
|
8693
8729
|
'creator'?: string;
|
|
8694
8730
|
/**
|
|
8695
|
-
*
|
|
8696
|
-
* @type {{ [key: string]:
|
|
8731
|
+
* Make all properties in T optional
|
|
8732
|
+
* @type {{ [key: string]: PartialRecordStringComponentsPartialRecordLanguageEnumITemplateComponentResponseArrayValue; }}
|
|
8697
8733
|
* @memberof IThemeResponse
|
|
8698
8734
|
*/
|
|
8699
8735
|
'groups': {
|
|
8700
|
-
[key: string]:
|
|
8736
|
+
[key: string]: PartialRecordStringComponentsPartialRecordLanguageEnumITemplateComponentResponseArrayValue;
|
|
8701
8737
|
};
|
|
8702
8738
|
/**
|
|
8703
8739
|
* Construct a type with a set of properties K of type T
|
|
@@ -9209,7 +9245,7 @@ export declare const PageTypeEnum: {
|
|
|
9209
9245
|
readonly CHECKOUT: "checkout";
|
|
9210
9246
|
readonly SEARCH: "search";
|
|
9211
9247
|
readonly NOT_FOUND: "not-found";
|
|
9212
|
-
readonly
|
|
9248
|
+
readonly BLOGS: "blogs";
|
|
9213
9249
|
};
|
|
9214
9250
|
export type PageTypeEnum = typeof PageTypeEnum[keyof typeof PageTypeEnum];
|
|
9215
9251
|
/**
|
|
@@ -9312,6 +9348,19 @@ export interface PartialRecordLanguageEnumTitleString {
|
|
|
9312
9348
|
*/
|
|
9313
9349
|
'de'?: RecordLanguageEnumTitleStringTr;
|
|
9314
9350
|
}
|
|
9351
|
+
/**
|
|
9352
|
+
*
|
|
9353
|
+
* @export
|
|
9354
|
+
* @interface PartialRecordStringComponentsPartialRecordLanguageEnumITemplateComponentResponseArrayValue
|
|
9355
|
+
*/
|
|
9356
|
+
export interface PartialRecordStringComponentsPartialRecordLanguageEnumITemplateComponentResponseArrayValue {
|
|
9357
|
+
/**
|
|
9358
|
+
*
|
|
9359
|
+
* @type {PartialRecordLanguageEnumITemplateComponentResponseArray}
|
|
9360
|
+
* @memberof PartialRecordStringComponentsPartialRecordLanguageEnumITemplateComponentResponseArrayValue
|
|
9361
|
+
*/
|
|
9362
|
+
'components': PartialRecordLanguageEnumITemplateComponentResponseArray;
|
|
9363
|
+
}
|
|
9315
9364
|
/**
|
|
9316
9365
|
*
|
|
9317
9366
|
* @export
|
|
@@ -9321,6 +9370,7 @@ export declare const PaymentGatewayEnum: {
|
|
|
9321
9370
|
readonly IYZICO: "iyzico";
|
|
9322
9371
|
readonly PAYTR: "paytr";
|
|
9323
9372
|
readonly PAPARA: "papara";
|
|
9373
|
+
readonly STRIPE: "stripe";
|
|
9324
9374
|
};
|
|
9325
9375
|
export type PaymentGatewayEnum = typeof PaymentGatewayEnum[keyof typeof PaymentGatewayEnum];
|
|
9326
9376
|
/**
|
|
@@ -9799,6 +9849,12 @@ export interface PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys {
|
|
|
9799
9849
|
* @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys
|
|
9800
9850
|
*/
|
|
9801
9851
|
'dnsZoneDomain'?: string;
|
|
9852
|
+
/**
|
|
9853
|
+
*
|
|
9854
|
+
* @type {RecordCustomPaymentMethodEnumExtraFeeNumberInfoStringActiveBoolean}
|
|
9855
|
+
* @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys
|
|
9856
|
+
*/
|
|
9857
|
+
'customPaymentMethods': RecordCustomPaymentMethodEnumExtraFeeNumberInfoStringActiveBoolean;
|
|
9802
9858
|
/**
|
|
9803
9859
|
*
|
|
9804
9860
|
* @type {{ [key: string]: string; }}
|
|
@@ -10294,7 +10350,7 @@ export interface PickIOrderExcludeKeyofIOrderHtmlOrIframe {
|
|
|
10294
10350
|
* @type {PaymentGatewayEnum}
|
|
10295
10351
|
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
|
|
10296
10352
|
*/
|
|
10297
|
-
'paymentGateway'
|
|
10353
|
+
'paymentGateway'?: PaymentGatewayEnum;
|
|
10298
10354
|
/**
|
|
10299
10355
|
*
|
|
10300
10356
|
* @type {string}
|
|
@@ -11285,12 +11341,12 @@ export interface PickIThemeResponseExcludeKeyofIThemeResponseKeyofMongoResponseO
|
|
|
11285
11341
|
[key: string]: any;
|
|
11286
11342
|
};
|
|
11287
11343
|
/**
|
|
11288
|
-
*
|
|
11289
|
-
* @type {{ [key: string]:
|
|
11344
|
+
* Make all properties in T optional
|
|
11345
|
+
* @type {{ [key: string]: PartialRecordStringComponentsPartialRecordLanguageEnumITemplateComponentResponseArrayValue; }}
|
|
11290
11346
|
* @memberof PickIThemeResponseExcludeKeyofIThemeResponseKeyofMongoResponseOrMainOrCompanyOrCreatorOrFiles
|
|
11291
11347
|
*/
|
|
11292
11348
|
'groups': {
|
|
11293
|
-
[key: string]:
|
|
11349
|
+
[key: string]: PartialRecordStringComponentsPartialRecordLanguageEnumITemplateComponentResponseArrayValue;
|
|
11294
11350
|
};
|
|
11295
11351
|
/**
|
|
11296
11352
|
*
|
|
@@ -11671,6 +11727,56 @@ export interface RecordCurrencyEnumNumber {
|
|
|
11671
11727
|
*/
|
|
11672
11728
|
'jpy': number;
|
|
11673
11729
|
}
|
|
11730
|
+
/**
|
|
11731
|
+
* Construct a type with a set of properties K of type T
|
|
11732
|
+
* @export
|
|
11733
|
+
* @interface RecordCustomPaymentMethodEnumExtraFeeNumberInfoStringActiveBoolean
|
|
11734
|
+
*/
|
|
11735
|
+
export interface RecordCustomPaymentMethodEnumExtraFeeNumberInfoStringActiveBoolean {
|
|
11736
|
+
/**
|
|
11737
|
+
*
|
|
11738
|
+
* @type {RecordCustomPaymentMethodEnumExtraFeeNumberInfoStringActiveBooleanBankTransfer}
|
|
11739
|
+
* @memberof RecordCustomPaymentMethodEnumExtraFeeNumberInfoStringActiveBoolean
|
|
11740
|
+
*/
|
|
11741
|
+
'bank_transfer': RecordCustomPaymentMethodEnumExtraFeeNumberInfoStringActiveBooleanBankTransfer;
|
|
11742
|
+
/**
|
|
11743
|
+
*
|
|
11744
|
+
* @type {RecordCustomPaymentMethodEnumExtraFeeNumberInfoStringActiveBooleanBankTransfer}
|
|
11745
|
+
* @memberof RecordCustomPaymentMethodEnumExtraFeeNumberInfoStringActiveBoolean
|
|
11746
|
+
*/
|
|
11747
|
+
'cash_on_delivery': RecordCustomPaymentMethodEnumExtraFeeNumberInfoStringActiveBooleanBankTransfer;
|
|
11748
|
+
/**
|
|
11749
|
+
*
|
|
11750
|
+
* @type {RecordCustomPaymentMethodEnumExtraFeeNumberInfoStringActiveBooleanBankTransfer}
|
|
11751
|
+
* @memberof RecordCustomPaymentMethodEnumExtraFeeNumberInfoStringActiveBoolean
|
|
11752
|
+
*/
|
|
11753
|
+
'card_on_delivery': RecordCustomPaymentMethodEnumExtraFeeNumberInfoStringActiveBooleanBankTransfer;
|
|
11754
|
+
}
|
|
11755
|
+
/**
|
|
11756
|
+
*
|
|
11757
|
+
* @export
|
|
11758
|
+
* @interface RecordCustomPaymentMethodEnumExtraFeeNumberInfoStringActiveBooleanBankTransfer
|
|
11759
|
+
*/
|
|
11760
|
+
export interface RecordCustomPaymentMethodEnumExtraFeeNumberInfoStringActiveBooleanBankTransfer {
|
|
11761
|
+
/**
|
|
11762
|
+
*
|
|
11763
|
+
* @type {boolean}
|
|
11764
|
+
* @memberof RecordCustomPaymentMethodEnumExtraFeeNumberInfoStringActiveBooleanBankTransfer
|
|
11765
|
+
*/
|
|
11766
|
+
'active': boolean;
|
|
11767
|
+
/**
|
|
11768
|
+
*
|
|
11769
|
+
* @type {string}
|
|
11770
|
+
* @memberof RecordCustomPaymentMethodEnumExtraFeeNumberInfoStringActiveBooleanBankTransfer
|
|
11771
|
+
*/
|
|
11772
|
+
'info': string;
|
|
11773
|
+
/**
|
|
11774
|
+
*
|
|
11775
|
+
* @type {number}
|
|
11776
|
+
* @memberof RecordCustomPaymentMethodEnumExtraFeeNumberInfoStringActiveBooleanBankTransfer
|
|
11777
|
+
*/
|
|
11778
|
+
'extraFee': number;
|
|
11779
|
+
}
|
|
11674
11780
|
/**
|
|
11675
11781
|
* Construct a type with a set of properties K of type T
|
|
11676
11782
|
* @export
|
|
@@ -11709,19 +11815,6 @@ export interface RecordLanguageEnumTitleStringTr {
|
|
|
11709
11815
|
*/
|
|
11710
11816
|
'title': string;
|
|
11711
11817
|
}
|
|
11712
|
-
/**
|
|
11713
|
-
*
|
|
11714
|
-
* @export
|
|
11715
|
-
* @interface RecordStringComponentsPartialRecordLanguageEnumITemplateComponentResponseArrayValue
|
|
11716
|
-
*/
|
|
11717
|
-
export interface RecordStringComponentsPartialRecordLanguageEnumITemplateComponentResponseArrayValue {
|
|
11718
|
-
/**
|
|
11719
|
-
*
|
|
11720
|
-
* @type {PartialRecordLanguageEnumITemplateComponentResponseArray}
|
|
11721
|
-
* @memberof RecordStringComponentsPartialRecordLanguageEnumITemplateComponentResponseArrayValue
|
|
11722
|
-
*/
|
|
11723
|
-
'components': PartialRecordLanguageEnumITemplateComponentResponseArray;
|
|
11724
|
-
}
|
|
11725
11818
|
/**
|
|
11726
11819
|
*
|
|
11727
11820
|
* @export
|
|
@@ -11931,7 +12024,7 @@ export declare const TemplateTypeEnum: {
|
|
|
11931
12024
|
readonly NOT_FOUND: "not-found";
|
|
11932
12025
|
readonly BLOG: "blog";
|
|
11933
12026
|
readonly SEARCH: "search";
|
|
11934
|
-
readonly
|
|
12027
|
+
readonly BLOGS: "blogs";
|
|
11935
12028
|
};
|
|
11936
12029
|
export type TemplateTypeEnum = typeof TemplateTypeEnum[keyof typeof TemplateTypeEnum];
|
|
11937
12030
|
/**
|
package/dist/api/api.js
CHANGED
|
@@ -612,7 +612,7 @@ exports.PageTypeEnum = {
|
|
|
612
612
|
CHECKOUT: 'checkout',
|
|
613
613
|
SEARCH: 'search',
|
|
614
614
|
NOT_FOUND: 'not-found',
|
|
615
|
-
|
|
615
|
+
BLOGS: 'blogs'
|
|
616
616
|
};
|
|
617
617
|
/**
|
|
618
618
|
*
|
|
@@ -622,7 +622,8 @@ exports.PageTypeEnum = {
|
|
|
622
622
|
exports.PaymentGatewayEnum = {
|
|
623
623
|
IYZICO: 'iyzico',
|
|
624
624
|
PAYTR: 'paytr',
|
|
625
|
-
PAPARA: 'papara'
|
|
625
|
+
PAPARA: 'papara',
|
|
626
|
+
STRIPE: 'stripe'
|
|
626
627
|
};
|
|
627
628
|
/**
|
|
628
629
|
*
|
|
@@ -723,7 +724,7 @@ exports.TemplateTypeEnum = {
|
|
|
723
724
|
NOT_FOUND: 'not-found',
|
|
724
725
|
BLOG: 'blog',
|
|
725
726
|
SEARCH: 'search',
|
|
726
|
-
|
|
727
|
+
BLOGS: 'blogs'
|
|
727
728
|
};
|
|
728
729
|
/**
|
|
729
730
|
*
|
package/dist/api/api.mjs
CHANGED
|
@@ -600,7 +600,7 @@ export const PageTypeEnum = {
|
|
|
600
600
|
CHECKOUT: 'checkout',
|
|
601
601
|
SEARCH: 'search',
|
|
602
602
|
NOT_FOUND: 'not-found',
|
|
603
|
-
|
|
603
|
+
BLOGS: 'blogs'
|
|
604
604
|
};
|
|
605
605
|
/**
|
|
606
606
|
*
|
|
@@ -610,7 +610,8 @@ export const PageTypeEnum = {
|
|
|
610
610
|
export const PaymentGatewayEnum = {
|
|
611
611
|
IYZICO: 'iyzico',
|
|
612
612
|
PAYTR: 'paytr',
|
|
613
|
-
PAPARA: 'papara'
|
|
613
|
+
PAPARA: 'papara',
|
|
614
|
+
STRIPE: 'stripe'
|
|
614
615
|
};
|
|
615
616
|
/**
|
|
616
617
|
*
|
|
@@ -711,7 +712,7 @@ export const TemplateTypeEnum = {
|
|
|
711
712
|
NOT_FOUND: 'not-found',
|
|
712
713
|
BLOG: 'blog',
|
|
713
714
|
SEARCH: 'search',
|
|
714
|
-
|
|
715
|
+
BLOGS: 'blogs'
|
|
715
716
|
};
|
|
716
717
|
/**
|
|
717
718
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infisale-client/api",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.10",
|
|
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": "f10dccf070093a45b610acb9269f81eee362f599"
|
|
41
41
|
}
|