@munchi_oy/core 1.9.48 → 1.9.56
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/generated/api.d.ts +22 -580
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/src/version.d.ts +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/generated/api.ts +22 -814
- package/package.json +1 -1
- package/src/version.ts +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -437,19 +437,6 @@ export declare const AutonomousVehicleType: {
|
|
|
437
437
|
readonly FlyingDrone: "VEHICLE_TYPE_FLYING_DRONE";
|
|
438
438
|
};
|
|
439
439
|
export type AutonomousVehicleType = typeof AutonomousVehicleType[keyof typeof AutonomousVehicleType];
|
|
440
|
-
/**
|
|
441
|
-
*
|
|
442
|
-
* @export
|
|
443
|
-
* @interface BulkRankDto
|
|
444
|
-
*/
|
|
445
|
-
export interface BulkRankDto {
|
|
446
|
-
/**
|
|
447
|
-
* Only the items whose position changed (zero-based ranks).
|
|
448
|
-
* @type {Array<RankItemDto>}
|
|
449
|
-
* @memberof BulkRankDto
|
|
450
|
-
*/
|
|
451
|
-
'items': Array<RankItemDto>;
|
|
452
|
-
}
|
|
453
440
|
/**
|
|
454
441
|
*
|
|
455
442
|
* @export
|
|
@@ -3061,16 +3048,6 @@ export interface CourseDto {
|
|
|
3061
3048
|
*/
|
|
3062
3049
|
'autoFire'?: boolean;
|
|
3063
3050
|
}
|
|
3064
|
-
/**
|
|
3065
|
-
*
|
|
3066
|
-
* @export
|
|
3067
|
-
* @enum {string}
|
|
3068
|
-
*/
|
|
3069
|
-
export declare const CreatablePaymentType: {
|
|
3070
|
-
readonly Manual: "MANUAL";
|
|
3071
|
-
readonly Voucher: "VOUCHER";
|
|
3072
|
-
};
|
|
3073
|
-
export type CreatablePaymentType = typeof CreatablePaymentType[keyof typeof CreatablePaymentType];
|
|
3074
3051
|
/**
|
|
3075
3052
|
*
|
|
3076
3053
|
* @export
|
|
@@ -3871,73 +3848,6 @@ export interface CreateNetsTerminalPaymentDto {
|
|
|
3871
3848
|
*/
|
|
3872
3849
|
'options'?: NetsTerminalPaymentOptionsDto;
|
|
3873
3850
|
}
|
|
3874
|
-
/**
|
|
3875
|
-
*
|
|
3876
|
-
* @export
|
|
3877
|
-
* @interface CreatePaymentMethodDto
|
|
3878
|
-
*/
|
|
3879
|
-
export interface CreatePaymentMethodDto {
|
|
3880
|
-
/**
|
|
3881
|
-
* Attach an existing catalog method by its code (mutually exclusive with name+type).
|
|
3882
|
-
* @type {string}
|
|
3883
|
-
* @memberof CreatePaymentMethodDto
|
|
3884
|
-
*/
|
|
3885
|
-
'code'?: string;
|
|
3886
|
-
/**
|
|
3887
|
-
* Display name for a new custom method; required with type when code is absent.
|
|
3888
|
-
* @type {string}
|
|
3889
|
-
* @memberof CreatePaymentMethodDto
|
|
3890
|
-
*/
|
|
3891
|
-
'name'?: string;
|
|
3892
|
-
/**
|
|
3893
|
-
*
|
|
3894
|
-
* @type {CreatablePaymentType}
|
|
3895
|
-
* @memberof CreatePaymentMethodDto
|
|
3896
|
-
*/
|
|
3897
|
-
'type'?: CreatablePaymentType;
|
|
3898
|
-
/**
|
|
3899
|
-
* Per-business name override.
|
|
3900
|
-
* @type {string}
|
|
3901
|
-
* @memberof CreatePaymentMethodDto
|
|
3902
|
-
*/
|
|
3903
|
-
'customName'?: string;
|
|
3904
|
-
/**
|
|
3905
|
-
* Per-business logo URL.
|
|
3906
|
-
* @type {string}
|
|
3907
|
-
* @memberof CreatePaymentMethodDto
|
|
3908
|
-
*/
|
|
3909
|
-
'logo'?: string;
|
|
3910
|
-
/**
|
|
3911
|
-
* Per-business description.
|
|
3912
|
-
* @type {string}
|
|
3913
|
-
* @memberof CreatePaymentMethodDto
|
|
3914
|
-
*/
|
|
3915
|
-
'description'?: string;
|
|
3916
|
-
/**
|
|
3917
|
-
* Parent method code for grouped vouchers.
|
|
3918
|
-
* @type {string}
|
|
3919
|
-
* @memberof CreatePaymentMethodDto
|
|
3920
|
-
*/
|
|
3921
|
-
'parentCode'?: string;
|
|
3922
|
-
/**
|
|
3923
|
-
* Preset amounts/denominations (vouchers).
|
|
3924
|
-
* @type {Array<number>}
|
|
3925
|
-
* @memberof CreatePaymentMethodDto
|
|
3926
|
-
*/
|
|
3927
|
-
'amounts'?: Array<number>;
|
|
3928
|
-
/**
|
|
3929
|
-
* Minimum order amount required to use this method.
|
|
3930
|
-
* @type {number}
|
|
3931
|
-
* @memberof CreatePaymentMethodDto
|
|
3932
|
-
*/
|
|
3933
|
-
'minimumCheckoutAmount'?: number;
|
|
3934
|
-
/**
|
|
3935
|
-
* Whether the method is enabled (defaults to true).
|
|
3936
|
-
* @type {boolean}
|
|
3937
|
-
* @memberof CreatePaymentMethodDto
|
|
3938
|
-
*/
|
|
3939
|
-
'enable'?: boolean;
|
|
3940
|
-
}
|
|
3941
3851
|
/**
|
|
3942
3852
|
*
|
|
3943
3853
|
* @export
|
|
@@ -11798,37 +11708,6 @@ export declare const PaymentMethod: {
|
|
|
11798
11708
|
readonly LoyaltyPoints: "LoyaltyPoints";
|
|
11799
11709
|
};
|
|
11800
11710
|
export type PaymentMethod = typeof PaymentMethod[keyof typeof PaymentMethod];
|
|
11801
|
-
/**
|
|
11802
|
-
*
|
|
11803
|
-
* @export
|
|
11804
|
-
* @interface PaymentMethodCapabilitiesDto
|
|
11805
|
-
*/
|
|
11806
|
-
export interface PaymentMethodCapabilitiesDto {
|
|
11807
|
-
/**
|
|
11808
|
-
* Whether this method can be refunded at all.
|
|
11809
|
-
* @type {boolean}
|
|
11810
|
-
* @memberof PaymentMethodCapabilitiesDto
|
|
11811
|
-
*/
|
|
11812
|
-
'refundable': boolean;
|
|
11813
|
-
/**
|
|
11814
|
-
* Whether a refund can be split across this method and others.
|
|
11815
|
-
* @type {boolean}
|
|
11816
|
-
* @memberof PaymentMethodCapabilitiesDto
|
|
11817
|
-
*/
|
|
11818
|
-
'refundSplittable': boolean;
|
|
11819
|
-
/**
|
|
11820
|
-
* Whether the customer may choose this method as a refund target.
|
|
11821
|
-
* @type {boolean}
|
|
11822
|
-
* @memberof PaymentMethodCapabilitiesDto
|
|
11823
|
-
*/
|
|
11824
|
-
'refundChoiceEligible': boolean;
|
|
11825
|
-
/**
|
|
11826
|
-
* Refund allocation order (lower = refunded first); null when not refundable.
|
|
11827
|
-
* @type {number}
|
|
11828
|
-
* @memberof PaymentMethodCapabilitiesDto
|
|
11829
|
-
*/
|
|
11830
|
-
'refundPriorityTier': number | null;
|
|
11831
|
-
}
|
|
11832
11711
|
/**
|
|
11833
11712
|
*
|
|
11834
11713
|
* @export
|
|
@@ -12146,122 +12025,6 @@ export interface PaymentMethodDetailsDtoWechatPayDetails {
|
|
|
12146
12025
|
*/
|
|
12147
12026
|
'transactionId'?: string | null;
|
|
12148
12027
|
}
|
|
12149
|
-
/**
|
|
12150
|
-
*
|
|
12151
|
-
* @export
|
|
12152
|
-
* @interface PaymentMethodDto
|
|
12153
|
-
*/
|
|
12154
|
-
export interface PaymentMethodDto {
|
|
12155
|
-
/**
|
|
12156
|
-
* PaymentMethodOption id; use it for update/delete/reorder.
|
|
12157
|
-
* @type {string}
|
|
12158
|
-
* @memberof PaymentMethodDto
|
|
12159
|
-
*/
|
|
12160
|
-
'id': string;
|
|
12161
|
-
/**
|
|
12162
|
-
* Stable, immutable method code (catalog identity).
|
|
12163
|
-
* @type {string}
|
|
12164
|
-
* @memberof PaymentMethodDto
|
|
12165
|
-
*/
|
|
12166
|
-
'code': string;
|
|
12167
|
-
/**
|
|
12168
|
-
* Catalog type that drives this method\'s policy/behavior.
|
|
12169
|
-
* @type {string}
|
|
12170
|
-
* @memberof PaymentMethodDto
|
|
12171
|
-
*/
|
|
12172
|
-
'typeCode': string;
|
|
12173
|
-
/**
|
|
12174
|
-
* Display name: per-business customName, else catalog translation, else code.
|
|
12175
|
-
* @type {string}
|
|
12176
|
-
* @memberof PaymentMethodDto
|
|
12177
|
-
*/
|
|
12178
|
-
'label': string;
|
|
12179
|
-
/**
|
|
12180
|
-
* Per-business name override; null means inherit the catalog label.
|
|
12181
|
-
* @type {string}
|
|
12182
|
-
* @memberof PaymentMethodDto
|
|
12183
|
-
*/
|
|
12184
|
-
'customName': string | null;
|
|
12185
|
-
/**
|
|
12186
|
-
* Per-business logo URL.
|
|
12187
|
-
* @type {string}
|
|
12188
|
-
* @memberof PaymentMethodDto
|
|
12189
|
-
*/
|
|
12190
|
-
'logo': string | null;
|
|
12191
|
-
/**
|
|
12192
|
-
* Per-business description.
|
|
12193
|
-
* @type {string}
|
|
12194
|
-
* @memberof PaymentMethodDto
|
|
12195
|
-
*/
|
|
12196
|
-
'description': string | null;
|
|
12197
|
-
/**
|
|
12198
|
-
* Parent method code for grouped vouchers; null when standalone.
|
|
12199
|
-
* @type {string}
|
|
12200
|
-
* @memberof PaymentMethodDto
|
|
12201
|
-
*/
|
|
12202
|
-
'parentCode': string | null;
|
|
12203
|
-
/**
|
|
12204
|
-
* Sort order within the business (ascending).
|
|
12205
|
-
* @type {number}
|
|
12206
|
-
* @memberof PaymentMethodDto
|
|
12207
|
-
*/
|
|
12208
|
-
'position': number;
|
|
12209
|
-
/**
|
|
12210
|
-
* Whether the method is shown/usable (off = hidden, not deleted).
|
|
12211
|
-
* @type {boolean}
|
|
12212
|
-
* @memberof PaymentMethodDto
|
|
12213
|
-
*/
|
|
12214
|
-
'enable': boolean;
|
|
12215
|
-
/**
|
|
12216
|
-
* Preset amounts/denominations (vouchers).
|
|
12217
|
-
* @type {Array<number>}
|
|
12218
|
-
* @memberof PaymentMethodDto
|
|
12219
|
-
*/
|
|
12220
|
-
'amounts': Array<number>;
|
|
12221
|
-
/**
|
|
12222
|
-
* Minimum order amount required to use this method (decimal as string).
|
|
12223
|
-
* @type {string}
|
|
12224
|
-
* @memberof PaymentMethodDto
|
|
12225
|
-
*/
|
|
12226
|
-
'minimumCheckoutAmount': string | null;
|
|
12227
|
-
/**
|
|
12228
|
-
*
|
|
12229
|
-
* @type {PaymentMethodDtoCapabilities}
|
|
12230
|
-
* @memberof PaymentMethodDto
|
|
12231
|
-
*/
|
|
12232
|
-
'capabilities': PaymentMethodDtoCapabilities;
|
|
12233
|
-
}
|
|
12234
|
-
/**
|
|
12235
|
-
* Refund behavior resolved from the catalog type + per-method overrides.
|
|
12236
|
-
* @export
|
|
12237
|
-
* @interface PaymentMethodDtoCapabilities
|
|
12238
|
-
*/
|
|
12239
|
-
export interface PaymentMethodDtoCapabilities {
|
|
12240
|
-
/**
|
|
12241
|
-
* Whether this method can be refunded at all.
|
|
12242
|
-
* @type {boolean}
|
|
12243
|
-
* @memberof PaymentMethodDtoCapabilities
|
|
12244
|
-
*/
|
|
12245
|
-
'refundable': boolean;
|
|
12246
|
-
/**
|
|
12247
|
-
* Whether a refund can be split across this method and others.
|
|
12248
|
-
* @type {boolean}
|
|
12249
|
-
* @memberof PaymentMethodDtoCapabilities
|
|
12250
|
-
*/
|
|
12251
|
-
'refundSplittable': boolean;
|
|
12252
|
-
/**
|
|
12253
|
-
* Whether the customer may choose this method as a refund target.
|
|
12254
|
-
* @type {boolean}
|
|
12255
|
-
* @memberof PaymentMethodDtoCapabilities
|
|
12256
|
-
*/
|
|
12257
|
-
'refundChoiceEligible': boolean;
|
|
12258
|
-
/**
|
|
12259
|
-
* Refund allocation order (lower = refunded first); null when not refundable.
|
|
12260
|
-
* @type {number}
|
|
12261
|
-
* @memberof PaymentMethodDtoCapabilities
|
|
12262
|
-
*/
|
|
12263
|
-
'refundPriorityTier': number | null;
|
|
12264
|
-
}
|
|
12265
12028
|
/**
|
|
12266
12029
|
*
|
|
12267
12030
|
* @export
|
|
@@ -14859,20 +14622,40 @@ export declare const PosPermission: {
|
|
|
14859
14622
|
readonly PageProducts: "Page::Products";
|
|
14860
14623
|
readonly PageReports: "Page::Reports";
|
|
14861
14624
|
readonly PageSettings: "Page::Settings";
|
|
14625
|
+
readonly PageFloorPlan: "Page::FloorPlan";
|
|
14862
14626
|
readonly Cart: "Cart::*";
|
|
14863
14627
|
readonly CartAddItem: "Cart::AddItem";
|
|
14864
14628
|
readonly CartRemoveItem: "Cart::RemoveItem";
|
|
14865
14629
|
readonly CartApplyDiscount: "Cart::ApplyDiscount";
|
|
14866
14630
|
readonly CartVoidItem: "Cart::VoidItem";
|
|
14867
14631
|
readonly CartClear: "Cart::Clear";
|
|
14632
|
+
readonly CartRemoveDiscount: "Cart::RemoveDiscount";
|
|
14633
|
+
readonly CartVoidPayment: "Cart::VoidPayment";
|
|
14634
|
+
readonly Cash: "Cash::*";
|
|
14635
|
+
readonly CashOpenDay: "Cash::OpenDay";
|
|
14636
|
+
readonly CashCloseDay: "Cash::CloseDay";
|
|
14637
|
+
readonly CashCashIn: "Cash::CashIn";
|
|
14638
|
+
readonly CashCashOut: "Cash::CashOut";
|
|
14639
|
+
readonly CashOpenDrawer: "Cash::OpenDrawer";
|
|
14640
|
+
readonly CashPrintReport: "Cash::PrintReport";
|
|
14641
|
+
readonly CashSendReport: "Cash::SendReport";
|
|
14868
14642
|
readonly Transaction: "Transaction::*";
|
|
14869
|
-
readonly TransactionView: "Transaction::View";
|
|
14870
14643
|
readonly TransactionRefund: "Transaction::Refund";
|
|
14644
|
+
readonly Order: "Order::*";
|
|
14645
|
+
readonly OrderSendReceipt: "Order::SendReceipt";
|
|
14646
|
+
readonly OpenOrdersDelete: "OpenOrders::Delete";
|
|
14647
|
+
readonly OpenOrdersSendToKitchen: "OpenOrders::SendToKitchen";
|
|
14648
|
+
readonly OpenOrdersFireCourse: "OpenOrders::FireCourse";
|
|
14871
14649
|
readonly Shift: "Shift::*";
|
|
14872
14650
|
readonly ShiftForceClockOut: "Shift::ForceClockOut";
|
|
14651
|
+
readonly FloorPlan: "FloorPlan::*";
|
|
14652
|
+
readonly FloorPlanEditLayout: "FloorPlan::EditLayout";
|
|
14653
|
+
readonly FloorPlanChangeTableStatus: "FloorPlan::ChangeTableStatus";
|
|
14654
|
+
readonly FloorPlanManageSections: "FloorPlan::ManageSections";
|
|
14873
14655
|
readonly Settings: "Settings::*";
|
|
14874
14656
|
readonly SettingsEditProfile: "Settings::EditProfile";
|
|
14875
|
-
readonly
|
|
14657
|
+
readonly Report: "Report::*";
|
|
14658
|
+
readonly ReportSendEmail: "Report::SendEmail";
|
|
14876
14659
|
};
|
|
14877
14660
|
export type PosPermission = typeof PosPermission[keyof typeof PosPermission];
|
|
14878
14661
|
/**
|
|
@@ -16179,25 +15962,6 @@ export declare const PubSubTarget: {
|
|
|
16179
15962
|
readonly Kds: "KDS";
|
|
16180
15963
|
};
|
|
16181
15964
|
export type PubSubTarget = typeof PubSubTarget[keyof typeof PubSubTarget];
|
|
16182
|
-
/**
|
|
16183
|
-
*
|
|
16184
|
-
* @export
|
|
16185
|
-
* @interface RankItemDto
|
|
16186
|
-
*/
|
|
16187
|
-
export interface RankItemDto {
|
|
16188
|
-
/**
|
|
16189
|
-
* PaymentMethodOption id to position.
|
|
16190
|
-
* @type {string}
|
|
16191
|
-
* @memberof RankItemDto
|
|
16192
|
-
*/
|
|
16193
|
-
'id': string;
|
|
16194
|
-
/**
|
|
16195
|
-
* New zero-based sort position.
|
|
16196
|
-
* @type {number}
|
|
16197
|
-
* @memberof RankItemDto
|
|
16198
|
-
*/
|
|
16199
|
-
'rank': number;
|
|
16200
|
-
}
|
|
16201
15965
|
/**
|
|
16202
15966
|
*
|
|
16203
15967
|
* @export
|
|
@@ -20442,55 +20206,6 @@ export interface UpdateInvoiceCompanyDto {
|
|
|
20442
20206
|
*/
|
|
20443
20207
|
'address'?: string;
|
|
20444
20208
|
}
|
|
20445
|
-
/**
|
|
20446
|
-
*
|
|
20447
|
-
* @export
|
|
20448
|
-
* @interface UpdatePaymentMethodOptionDto
|
|
20449
|
-
*/
|
|
20450
|
-
export interface UpdatePaymentMethodOptionDto {
|
|
20451
|
-
/**
|
|
20452
|
-
* Per-business name override.
|
|
20453
|
-
* @type {string}
|
|
20454
|
-
* @memberof UpdatePaymentMethodOptionDto
|
|
20455
|
-
*/
|
|
20456
|
-
'customName'?: string;
|
|
20457
|
-
/**
|
|
20458
|
-
* Per-business logo URL.
|
|
20459
|
-
* @type {string}
|
|
20460
|
-
* @memberof UpdatePaymentMethodOptionDto
|
|
20461
|
-
*/
|
|
20462
|
-
'logo'?: string;
|
|
20463
|
-
/**
|
|
20464
|
-
* Per-business description.
|
|
20465
|
-
* @type {string}
|
|
20466
|
-
* @memberof UpdatePaymentMethodOptionDto
|
|
20467
|
-
*/
|
|
20468
|
-
'description'?: string;
|
|
20469
|
-
/**
|
|
20470
|
-
* Parent method code for grouped vouchers.
|
|
20471
|
-
* @type {string}
|
|
20472
|
-
* @memberof UpdatePaymentMethodOptionDto
|
|
20473
|
-
*/
|
|
20474
|
-
'parentCode'?: string;
|
|
20475
|
-
/**
|
|
20476
|
-
* Preset amounts/denominations (vouchers).
|
|
20477
|
-
* @type {Array<number>}
|
|
20478
|
-
* @memberof UpdatePaymentMethodOptionDto
|
|
20479
|
-
*/
|
|
20480
|
-
'amounts'?: Array<number>;
|
|
20481
|
-
/**
|
|
20482
|
-
* Minimum order amount required to use this method.
|
|
20483
|
-
* @type {number}
|
|
20484
|
-
* @memberof UpdatePaymentMethodOptionDto
|
|
20485
|
-
*/
|
|
20486
|
-
'minimumCheckoutAmount'?: number;
|
|
20487
|
-
/**
|
|
20488
|
-
* Whether the method is enabled.
|
|
20489
|
-
* @type {boolean}
|
|
20490
|
-
* @memberof UpdatePaymentMethodOptionDto
|
|
20491
|
-
*/
|
|
20492
|
-
'enable'?: boolean;
|
|
20493
|
-
}
|
|
20494
20209
|
/**
|
|
20495
20210
|
*
|
|
20496
20211
|
* @export
|
|
@@ -30509,279 +30224,6 @@ export declare class PaymentApi extends BaseAPI implements PaymentApiInterface {
|
|
|
30509
30224
|
*/
|
|
30510
30225
|
refundVivaTransactionV4(refundPayloadDtoV4: RefundPayloadDtoV4, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VivaPaymentResultDto, any, {}>>;
|
|
30511
30226
|
}
|
|
30512
|
-
/**
|
|
30513
|
-
* PaymentMethodsApi - axios parameter creator
|
|
30514
|
-
* @export
|
|
30515
|
-
*/
|
|
30516
|
-
export declare const PaymentMethodsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
30517
|
-
/**
|
|
30518
|
-
*
|
|
30519
|
-
* @param {number} businessId
|
|
30520
|
-
* @param {ProviderEnum} channel
|
|
30521
|
-
* @param {CreatePaymentMethodDto} createPaymentMethodDto
|
|
30522
|
-
* @param {*} [options] Override http request option.
|
|
30523
|
-
* @throws {RequiredError}
|
|
30524
|
-
*/
|
|
30525
|
-
createPaymentMethod: (businessId: number, channel: ProviderEnum, createPaymentMethodDto: CreatePaymentMethodDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
30526
|
-
/**
|
|
30527
|
-
*
|
|
30528
|
-
* @param {number} businessId
|
|
30529
|
-
* @param {ProviderEnum} channel
|
|
30530
|
-
* @param {string} id
|
|
30531
|
-
* @param {*} [options] Override http request option.
|
|
30532
|
-
* @throws {RequiredError}
|
|
30533
|
-
*/
|
|
30534
|
-
deletePaymentMethodOption: (businessId: number, channel: ProviderEnum, id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
30535
|
-
/**
|
|
30536
|
-
*
|
|
30537
|
-
* @param {number} businessId
|
|
30538
|
-
* @param {ProviderEnum} channel
|
|
30539
|
-
* @param {any} [locale]
|
|
30540
|
-
* @param {*} [options] Override http request option.
|
|
30541
|
-
* @throws {RequiredError}
|
|
30542
|
-
*/
|
|
30543
|
-
getPaymentMethods: (businessId: number, channel: ProviderEnum, locale?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
30544
|
-
/**
|
|
30545
|
-
*
|
|
30546
|
-
* @param {number} businessId
|
|
30547
|
-
* @param {ProviderEnum} channel
|
|
30548
|
-
* @param {BulkRankDto} bulkRankDto
|
|
30549
|
-
* @param {*} [options] Override http request option.
|
|
30550
|
-
* @throws {RequiredError}
|
|
30551
|
-
*/
|
|
30552
|
-
reorder: (businessId: number, channel: ProviderEnum, bulkRankDto: BulkRankDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
30553
|
-
/**
|
|
30554
|
-
*
|
|
30555
|
-
* @param {number} businessId
|
|
30556
|
-
* @param {ProviderEnum} channel
|
|
30557
|
-
* @param {string} id
|
|
30558
|
-
* @param {UpdatePaymentMethodOptionDto} updatePaymentMethodOptionDto
|
|
30559
|
-
* @param {*} [options] Override http request option.
|
|
30560
|
-
* @throws {RequiredError}
|
|
30561
|
-
*/
|
|
30562
|
-
updatePaymentMethodOption: (businessId: number, channel: ProviderEnum, id: string, updatePaymentMethodOptionDto: UpdatePaymentMethodOptionDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
30563
|
-
};
|
|
30564
|
-
/**
|
|
30565
|
-
* PaymentMethodsApi - functional programming interface
|
|
30566
|
-
* @export
|
|
30567
|
-
*/
|
|
30568
|
-
export declare const PaymentMethodsApiFp: (configuration?: Configuration) => {
|
|
30569
|
-
/**
|
|
30570
|
-
*
|
|
30571
|
-
* @param {number} businessId
|
|
30572
|
-
* @param {ProviderEnum} channel
|
|
30573
|
-
* @param {CreatePaymentMethodDto} createPaymentMethodDto
|
|
30574
|
-
* @param {*} [options] Override http request option.
|
|
30575
|
-
* @throws {RequiredError}
|
|
30576
|
-
*/
|
|
30577
|
-
createPaymentMethod(businessId: number, channel: ProviderEnum, createPaymentMethodDto: CreatePaymentMethodDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentMethodDto>>;
|
|
30578
|
-
/**
|
|
30579
|
-
*
|
|
30580
|
-
* @param {number} businessId
|
|
30581
|
-
* @param {ProviderEnum} channel
|
|
30582
|
-
* @param {string} id
|
|
30583
|
-
* @param {*} [options] Override http request option.
|
|
30584
|
-
* @throws {RequiredError}
|
|
30585
|
-
*/
|
|
30586
|
-
deletePaymentMethodOption(businessId: number, channel: ProviderEnum, id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
30587
|
-
/**
|
|
30588
|
-
*
|
|
30589
|
-
* @param {number} businessId
|
|
30590
|
-
* @param {ProviderEnum} channel
|
|
30591
|
-
* @param {any} [locale]
|
|
30592
|
-
* @param {*} [options] Override http request option.
|
|
30593
|
-
* @throws {RequiredError}
|
|
30594
|
-
*/
|
|
30595
|
-
getPaymentMethods(businessId: number, channel: ProviderEnum, locale?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PaymentMethodDto>>>;
|
|
30596
|
-
/**
|
|
30597
|
-
*
|
|
30598
|
-
* @param {number} businessId
|
|
30599
|
-
* @param {ProviderEnum} channel
|
|
30600
|
-
* @param {BulkRankDto} bulkRankDto
|
|
30601
|
-
* @param {*} [options] Override http request option.
|
|
30602
|
-
* @throws {RequiredError}
|
|
30603
|
-
*/
|
|
30604
|
-
reorder(businessId: number, channel: ProviderEnum, bulkRankDto: BulkRankDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
30605
|
-
/**
|
|
30606
|
-
*
|
|
30607
|
-
* @param {number} businessId
|
|
30608
|
-
* @param {ProviderEnum} channel
|
|
30609
|
-
* @param {string} id
|
|
30610
|
-
* @param {UpdatePaymentMethodOptionDto} updatePaymentMethodOptionDto
|
|
30611
|
-
* @param {*} [options] Override http request option.
|
|
30612
|
-
* @throws {RequiredError}
|
|
30613
|
-
*/
|
|
30614
|
-
updatePaymentMethodOption(businessId: number, channel: ProviderEnum, id: string, updatePaymentMethodOptionDto: UpdatePaymentMethodOptionDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentMethodDto>>;
|
|
30615
|
-
};
|
|
30616
|
-
/**
|
|
30617
|
-
* PaymentMethodsApi - factory interface
|
|
30618
|
-
* @export
|
|
30619
|
-
*/
|
|
30620
|
-
export declare const PaymentMethodsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
30621
|
-
/**
|
|
30622
|
-
*
|
|
30623
|
-
* @param {number} businessId
|
|
30624
|
-
* @param {ProviderEnum} channel
|
|
30625
|
-
* @param {CreatePaymentMethodDto} createPaymentMethodDto
|
|
30626
|
-
* @param {*} [options] Override http request option.
|
|
30627
|
-
* @throws {RequiredError}
|
|
30628
|
-
*/
|
|
30629
|
-
createPaymentMethod(businessId: number, channel: ProviderEnum, createPaymentMethodDto: CreatePaymentMethodDto, options?: any): AxiosPromise<PaymentMethodDto>;
|
|
30630
|
-
/**
|
|
30631
|
-
*
|
|
30632
|
-
* @param {number} businessId
|
|
30633
|
-
* @param {ProviderEnum} channel
|
|
30634
|
-
* @param {string} id
|
|
30635
|
-
* @param {*} [options] Override http request option.
|
|
30636
|
-
* @throws {RequiredError}
|
|
30637
|
-
*/
|
|
30638
|
-
deletePaymentMethodOption(businessId: number, channel: ProviderEnum, id: string, options?: any): AxiosPromise<void>;
|
|
30639
|
-
/**
|
|
30640
|
-
*
|
|
30641
|
-
* @param {number} businessId
|
|
30642
|
-
* @param {ProviderEnum} channel
|
|
30643
|
-
* @param {any} [locale]
|
|
30644
|
-
* @param {*} [options] Override http request option.
|
|
30645
|
-
* @throws {RequiredError}
|
|
30646
|
-
*/
|
|
30647
|
-
getPaymentMethods(businessId: number, channel: ProviderEnum, locale?: any, options?: any): AxiosPromise<Array<PaymentMethodDto>>;
|
|
30648
|
-
/**
|
|
30649
|
-
*
|
|
30650
|
-
* @param {number} businessId
|
|
30651
|
-
* @param {ProviderEnum} channel
|
|
30652
|
-
* @param {BulkRankDto} bulkRankDto
|
|
30653
|
-
* @param {*} [options] Override http request option.
|
|
30654
|
-
* @throws {RequiredError}
|
|
30655
|
-
*/
|
|
30656
|
-
reorder(businessId: number, channel: ProviderEnum, bulkRankDto: BulkRankDto, options?: any): AxiosPromise<void>;
|
|
30657
|
-
/**
|
|
30658
|
-
*
|
|
30659
|
-
* @param {number} businessId
|
|
30660
|
-
* @param {ProviderEnum} channel
|
|
30661
|
-
* @param {string} id
|
|
30662
|
-
* @param {UpdatePaymentMethodOptionDto} updatePaymentMethodOptionDto
|
|
30663
|
-
* @param {*} [options] Override http request option.
|
|
30664
|
-
* @throws {RequiredError}
|
|
30665
|
-
*/
|
|
30666
|
-
updatePaymentMethodOption(businessId: number, channel: ProviderEnum, id: string, updatePaymentMethodOptionDto: UpdatePaymentMethodOptionDto, options?: any): AxiosPromise<PaymentMethodDto>;
|
|
30667
|
-
};
|
|
30668
|
-
/**
|
|
30669
|
-
* PaymentMethodsApi - interface
|
|
30670
|
-
* @export
|
|
30671
|
-
* @interface PaymentMethodsApi
|
|
30672
|
-
*/
|
|
30673
|
-
export interface PaymentMethodsApiInterface {
|
|
30674
|
-
/**
|
|
30675
|
-
*
|
|
30676
|
-
* @param {number} businessId
|
|
30677
|
-
* @param {ProviderEnum} channel
|
|
30678
|
-
* @param {CreatePaymentMethodDto} createPaymentMethodDto
|
|
30679
|
-
* @param {*} [options] Override http request option.
|
|
30680
|
-
* @throws {RequiredError}
|
|
30681
|
-
* @memberof PaymentMethodsApiInterface
|
|
30682
|
-
*/
|
|
30683
|
-
createPaymentMethod(businessId: number, channel: ProviderEnum, createPaymentMethodDto: CreatePaymentMethodDto, options?: AxiosRequestConfig): AxiosPromise<PaymentMethodDto>;
|
|
30684
|
-
/**
|
|
30685
|
-
*
|
|
30686
|
-
* @param {number} businessId
|
|
30687
|
-
* @param {ProviderEnum} channel
|
|
30688
|
-
* @param {string} id
|
|
30689
|
-
* @param {*} [options] Override http request option.
|
|
30690
|
-
* @throws {RequiredError}
|
|
30691
|
-
* @memberof PaymentMethodsApiInterface
|
|
30692
|
-
*/
|
|
30693
|
-
deletePaymentMethodOption(businessId: number, channel: ProviderEnum, id: string, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
30694
|
-
/**
|
|
30695
|
-
*
|
|
30696
|
-
* @param {number} businessId
|
|
30697
|
-
* @param {ProviderEnum} channel
|
|
30698
|
-
* @param {any} [locale]
|
|
30699
|
-
* @param {*} [options] Override http request option.
|
|
30700
|
-
* @throws {RequiredError}
|
|
30701
|
-
* @memberof PaymentMethodsApiInterface
|
|
30702
|
-
*/
|
|
30703
|
-
getPaymentMethods(businessId: number, channel: ProviderEnum, locale?: any, options?: AxiosRequestConfig): AxiosPromise<Array<PaymentMethodDto>>;
|
|
30704
|
-
/**
|
|
30705
|
-
*
|
|
30706
|
-
* @param {number} businessId
|
|
30707
|
-
* @param {ProviderEnum} channel
|
|
30708
|
-
* @param {BulkRankDto} bulkRankDto
|
|
30709
|
-
* @param {*} [options] Override http request option.
|
|
30710
|
-
* @throws {RequiredError}
|
|
30711
|
-
* @memberof PaymentMethodsApiInterface
|
|
30712
|
-
*/
|
|
30713
|
-
reorder(businessId: number, channel: ProviderEnum, bulkRankDto: BulkRankDto, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
30714
|
-
/**
|
|
30715
|
-
*
|
|
30716
|
-
* @param {number} businessId
|
|
30717
|
-
* @param {ProviderEnum} channel
|
|
30718
|
-
* @param {string} id
|
|
30719
|
-
* @param {UpdatePaymentMethodOptionDto} updatePaymentMethodOptionDto
|
|
30720
|
-
* @param {*} [options] Override http request option.
|
|
30721
|
-
* @throws {RequiredError}
|
|
30722
|
-
* @memberof PaymentMethodsApiInterface
|
|
30723
|
-
*/
|
|
30724
|
-
updatePaymentMethodOption(businessId: number, channel: ProviderEnum, id: string, updatePaymentMethodOptionDto: UpdatePaymentMethodOptionDto, options?: AxiosRequestConfig): AxiosPromise<PaymentMethodDto>;
|
|
30725
|
-
}
|
|
30726
|
-
/**
|
|
30727
|
-
* PaymentMethodsApi - object-oriented interface
|
|
30728
|
-
* @export
|
|
30729
|
-
* @class PaymentMethodsApi
|
|
30730
|
-
* @extends {BaseAPI}
|
|
30731
|
-
*/
|
|
30732
|
-
export declare class PaymentMethodsApi extends BaseAPI implements PaymentMethodsApiInterface {
|
|
30733
|
-
/**
|
|
30734
|
-
*
|
|
30735
|
-
* @param {number} businessId
|
|
30736
|
-
* @param {ProviderEnum} channel
|
|
30737
|
-
* @param {CreatePaymentMethodDto} createPaymentMethodDto
|
|
30738
|
-
* @param {*} [options] Override http request option.
|
|
30739
|
-
* @throws {RequiredError}
|
|
30740
|
-
* @memberof PaymentMethodsApi
|
|
30741
|
-
*/
|
|
30742
|
-
createPaymentMethod(businessId: number, channel: ProviderEnum, createPaymentMethodDto: CreatePaymentMethodDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentMethodDto, any, {}>>;
|
|
30743
|
-
/**
|
|
30744
|
-
*
|
|
30745
|
-
* @param {number} businessId
|
|
30746
|
-
* @param {ProviderEnum} channel
|
|
30747
|
-
* @param {string} id
|
|
30748
|
-
* @param {*} [options] Override http request option.
|
|
30749
|
-
* @throws {RequiredError}
|
|
30750
|
-
* @memberof PaymentMethodsApi
|
|
30751
|
-
*/
|
|
30752
|
-
deletePaymentMethodOption(businessId: number, channel: ProviderEnum, id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
30753
|
-
/**
|
|
30754
|
-
*
|
|
30755
|
-
* @param {number} businessId
|
|
30756
|
-
* @param {ProviderEnum} channel
|
|
30757
|
-
* @param {any} [locale]
|
|
30758
|
-
* @param {*} [options] Override http request option.
|
|
30759
|
-
* @throws {RequiredError}
|
|
30760
|
-
* @memberof PaymentMethodsApi
|
|
30761
|
-
*/
|
|
30762
|
-
getPaymentMethods(businessId: number, channel: ProviderEnum, locale?: any, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentMethodDto[], any, {}>>;
|
|
30763
|
-
/**
|
|
30764
|
-
*
|
|
30765
|
-
* @param {number} businessId
|
|
30766
|
-
* @param {ProviderEnum} channel
|
|
30767
|
-
* @param {BulkRankDto} bulkRankDto
|
|
30768
|
-
* @param {*} [options] Override http request option.
|
|
30769
|
-
* @throws {RequiredError}
|
|
30770
|
-
* @memberof PaymentMethodsApi
|
|
30771
|
-
*/
|
|
30772
|
-
reorder(businessId: number, channel: ProviderEnum, bulkRankDto: BulkRankDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
30773
|
-
/**
|
|
30774
|
-
*
|
|
30775
|
-
* @param {number} businessId
|
|
30776
|
-
* @param {ProviderEnum} channel
|
|
30777
|
-
* @param {string} id
|
|
30778
|
-
* @param {UpdatePaymentMethodOptionDto} updatePaymentMethodOptionDto
|
|
30779
|
-
* @param {*} [options] Override http request option.
|
|
30780
|
-
* @throws {RequiredError}
|
|
30781
|
-
* @memberof PaymentMethodsApi
|
|
30782
|
-
*/
|
|
30783
|
-
updatePaymentMethodOption(businessId: number, channel: ProviderEnum, id: string, updatePaymentMethodOptionDto: UpdatePaymentMethodOptionDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentMethodDto, any, {}>>;
|
|
30784
|
-
}
|
|
30785
30227
|
/**
|
|
30786
30228
|
* PaymentSessionApi - axios parameter creator
|
|
30787
30229
|
* @export
|