@gofynd/fdk-client-javascript 3.4.2 → 3.4.3
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/README.md +1 -1
- package/package.json +1 -1
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +5 -2
- package/sdk/platform/Catalog/CatalogPlatformModel.js +2 -2
- package/sdk/platform/Order/OrderPlatformModel.d.ts +7 -0
- package/sdk/platform/Order/OrderPlatformModel.js +3 -0
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +0 -64
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +0 -487
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +1 -61
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +0 -72
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +1 -324
- package/sdk/platform/Payment/PaymentPlatformModel.js +0 -221
|
@@ -2,12 +2,6 @@ const Joi = require("joi");
|
|
|
2
2
|
|
|
3
3
|
const PaymentPlatformModel = require("./PaymentPlatformModel");
|
|
4
4
|
|
|
5
|
-
/**
|
|
6
|
-
* @typedef AddEdcDeviceParam
|
|
7
|
-
* @property {string} terminalUniqueIdentifier - Terminal unique identifier
|
|
8
|
-
* @property {PaymentPlatformModel.EdcUpdate} body
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
5
|
/**
|
|
12
6
|
* @typedef AddRefundBankAccountUsingOTPParam
|
|
13
7
|
* @property {PaymentPlatformModel.AddBeneficiaryDetailsOTPCreation} body
|
|
@@ -44,19 +38,6 @@ const PaymentPlatformModel = require("./PaymentPlatformModel");
|
|
|
44
38
|
* @property {PaymentPlatformModel.PaymentOrderCreation} body
|
|
45
39
|
*/
|
|
46
40
|
|
|
47
|
-
/** @typedef EdcAggregatorsAndModelListParam */
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* @typedef EdcDeviceListParam
|
|
51
|
-
* @property {number} [pageNo]
|
|
52
|
-
* @property {number} [pageSize]
|
|
53
|
-
* @property {boolean} [isActive]
|
|
54
|
-
* @property {number} [storeId]
|
|
55
|
-
* @property {string} [deviceTag]
|
|
56
|
-
*/
|
|
57
|
-
|
|
58
|
-
/** @typedef EdcDeviceStatsParam */
|
|
59
|
-
|
|
60
41
|
/**
|
|
61
42
|
* @typedef GetBankAccountDetailsOpenAPIParam
|
|
62
43
|
* @property {string} orderId
|
|
@@ -69,11 +50,6 @@ const PaymentPlatformModel = require("./PaymentPlatformModel");
|
|
|
69
50
|
* @property {string} [configType]
|
|
70
51
|
*/
|
|
71
52
|
|
|
72
|
-
/**
|
|
73
|
-
* @typedef GetEdcDeviceParam
|
|
74
|
-
* @property {string} terminalUniqueIdentifier - Terminal unique identifier
|
|
75
|
-
*/
|
|
76
|
-
|
|
77
53
|
/**
|
|
78
54
|
* @typedef GetMerchantAggregatorAppVersionParam
|
|
79
55
|
* @property {number} aggregatorId - Aggregators Id
|
|
@@ -265,11 +241,6 @@ const PaymentPlatformModel = require("./PaymentPlatformModel");
|
|
|
265
241
|
* @property {PaymentPlatformModel.SetCODForUserCreation} body
|
|
266
242
|
*/
|
|
267
243
|
|
|
268
|
-
/**
|
|
269
|
-
* @typedef UpdateEdcDeviceParam
|
|
270
|
-
* @property {PaymentPlatformModel.EdcAddCreation} body
|
|
271
|
-
*/
|
|
272
|
-
|
|
273
244
|
/**
|
|
274
245
|
* @typedef UpdateMerchantRefundPriorityParam
|
|
275
246
|
* @property {string} configType - Configuration for merchant or customer
|
|
@@ -305,14 +276,6 @@ const PaymentPlatformModel = require("./PaymentPlatformModel");
|
|
|
305
276
|
*/
|
|
306
277
|
|
|
307
278
|
class PaymentPlatformApplicationValidator {
|
|
308
|
-
/** @returns {AddEdcDeviceParam} */
|
|
309
|
-
static addEdcDevice() {
|
|
310
|
-
return Joi.object({
|
|
311
|
-
terminalUniqueIdentifier: Joi.string().allow("").required(),
|
|
312
|
-
body: PaymentPlatformModel.EdcUpdate().required(),
|
|
313
|
-
}).required();
|
|
314
|
-
}
|
|
315
|
-
|
|
316
279
|
/** @returns {AddRefundBankAccountUsingOTPParam} */
|
|
317
280
|
static addRefundBankAccountUsingOTP() {
|
|
318
281
|
return Joi.object({
|
|
@@ -363,27 +326,6 @@ class PaymentPlatformApplicationValidator {
|
|
|
363
326
|
}).required();
|
|
364
327
|
}
|
|
365
328
|
|
|
366
|
-
/** @returns {EdcAggregatorsAndModelListParam} */
|
|
367
|
-
static edcAggregatorsAndModelList() {
|
|
368
|
-
return Joi.object({}).required();
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
/** @returns {EdcDeviceListParam} */
|
|
372
|
-
static edcDeviceList() {
|
|
373
|
-
return Joi.object({
|
|
374
|
-
pageNo: Joi.number(),
|
|
375
|
-
pageSize: Joi.number(),
|
|
376
|
-
isActive: Joi.boolean(),
|
|
377
|
-
storeId: Joi.number(),
|
|
378
|
-
deviceTag: Joi.string().allow(""),
|
|
379
|
-
}).required();
|
|
380
|
-
}
|
|
381
|
-
|
|
382
|
-
/** @returns {EdcDeviceStatsParam} */
|
|
383
|
-
static edcDeviceStats() {
|
|
384
|
-
return Joi.object({}).required();
|
|
385
|
-
}
|
|
386
|
-
|
|
387
329
|
/** @returns {GetBankAccountDetailsOpenAPIParam} */
|
|
388
330
|
static getBankAccountDetailsOpenAPI() {
|
|
389
331
|
return Joi.object({
|
|
@@ -400,13 +342,6 @@ class PaymentPlatformApplicationValidator {
|
|
|
400
342
|
}).required();
|
|
401
343
|
}
|
|
402
344
|
|
|
403
|
-
/** @returns {GetEdcDeviceParam} */
|
|
404
|
-
static getEdcDevice() {
|
|
405
|
-
return Joi.object({
|
|
406
|
-
terminalUniqueIdentifier: Joi.string().allow("").required(),
|
|
407
|
-
}).required();
|
|
408
|
-
}
|
|
409
|
-
|
|
410
345
|
/** @returns {GetMerchantAggregatorAppVersionParam} */
|
|
411
346
|
static getMerchantAggregatorAppVersion() {
|
|
412
347
|
return Joi.object({
|
|
@@ -650,13 +585,6 @@ class PaymentPlatformApplicationValidator {
|
|
|
650
585
|
}).required();
|
|
651
586
|
}
|
|
652
587
|
|
|
653
|
-
/** @returns {UpdateEdcDeviceParam} */
|
|
654
|
-
static updateEdcDevice() {
|
|
655
|
-
return Joi.object({
|
|
656
|
-
body: PaymentPlatformModel.EdcAddCreation().required(),
|
|
657
|
-
}).required();
|
|
658
|
-
}
|
|
659
|
-
|
|
660
588
|
/** @returns {UpdateMerchantRefundPriorityParam} */
|
|
661
589
|
static updateMerchantRefundPriority() {
|
|
662
590
|
return Joi.object({
|
|
@@ -472,94 +472,6 @@ export = PaymentPlatformModel;
|
|
|
472
472
|
* @property {string} message - Message
|
|
473
473
|
* @property {boolean} success - Response is successful or not
|
|
474
474
|
*/
|
|
475
|
-
/**
|
|
476
|
-
* @typedef EdcModelData
|
|
477
|
-
* @property {string} aggregator - Name of aggregator
|
|
478
|
-
* @property {number} aggregator_id - ID of aggregator
|
|
479
|
-
* @property {string[]} models - List of string of edc models
|
|
480
|
-
*/
|
|
481
|
-
/**
|
|
482
|
-
* @typedef EdcAggregatorAndModelListDetails
|
|
483
|
-
* @property {EdcModelData[]} data - List of aggregators and their edc models
|
|
484
|
-
* @property {boolean} success - Response is successful or not
|
|
485
|
-
*/
|
|
486
|
-
/**
|
|
487
|
-
* @typedef StatisticsData
|
|
488
|
-
* @property {number} inactive_device_count - No of inactive devices
|
|
489
|
-
* @property {number} active_device_count - No of active devices
|
|
490
|
-
*/
|
|
491
|
-
/**
|
|
492
|
-
* @typedef EdcDeviceStatsDetails
|
|
493
|
-
* @property {StatisticsData} statistics
|
|
494
|
-
* @property {boolean} success - Response is successful or not
|
|
495
|
-
*/
|
|
496
|
-
/**
|
|
497
|
-
* @typedef EdcAddCreation
|
|
498
|
-
* @property {string} edc_model - Model of the edc machine
|
|
499
|
-
* @property {number} store_id - Store at which devices is to used
|
|
500
|
-
* @property {number} aggregator_id - Aggregator which will accept payment
|
|
501
|
-
* @property {string} edc_device_serial_no - Serial number or imei of EDC device
|
|
502
|
-
* @property {string} terminal_serial_no - Device serial number of
|
|
503
|
-
* terminal(android tablet)
|
|
504
|
-
* @property {string} [device_tag] - Device tag of edc device to identify it
|
|
505
|
-
*/
|
|
506
|
-
/**
|
|
507
|
-
* @typedef EdcDevice
|
|
508
|
-
* @property {string} [edc_model] - Name of the model
|
|
509
|
-
* @property {number} store_id - Store at which devices is to used
|
|
510
|
-
* @property {number} aggregator_id - Aggregator which will accept payment
|
|
511
|
-
* @property {string} terminal_unique_identifier - Genearated unique value for edc device
|
|
512
|
-
* @property {string} edc_device_serial_no - Serial number of EDC device
|
|
513
|
-
* @property {boolean} is_active - State whether device is active or inactive
|
|
514
|
-
* @property {string} [aggregator_name] - Name of the corresponding aggregator
|
|
515
|
-
* @property {string} terminal_serial_no - Device serial number of
|
|
516
|
-
* terminal(android tablet)
|
|
517
|
-
* @property {string} [merchant_store_pos_code] - This is provided by pinelabs
|
|
518
|
-
* @property {string} device_tag - Device tag of edc device to identify it
|
|
519
|
-
* @property {string} application_id - Application ID
|
|
520
|
-
*/
|
|
521
|
-
/**
|
|
522
|
-
* @typedef EdcDeviceAddDetails
|
|
523
|
-
* @property {EdcDevice} data
|
|
524
|
-
* @property {boolean} success - Response is successful or not
|
|
525
|
-
*/
|
|
526
|
-
/**
|
|
527
|
-
* @typedef EdcDeviceDetails
|
|
528
|
-
* @property {EdcDevice} data
|
|
529
|
-
* @property {boolean} success - Response is successful or not
|
|
530
|
-
*/
|
|
531
|
-
/**
|
|
532
|
-
* @typedef EdcUpdate
|
|
533
|
-
* @property {string} [edc_model] - Model of the edc machine
|
|
534
|
-
* @property {number} [store_id] - Store at which devices is to used
|
|
535
|
-
* @property {number} [aggregator_id] - Aggregator which will accept payment
|
|
536
|
-
* @property {string} [edc_device_serial_no] - Serial number or imei of EDC device
|
|
537
|
-
* @property {boolean} [is_active] - State whether device is active or inactive
|
|
538
|
-
* @property {string} [merchant_store_pos_code] - This is provided by pinelabs
|
|
539
|
-
* @property {string} [device_tag] - Device tag of edc device to identify it
|
|
540
|
-
*/
|
|
541
|
-
/**
|
|
542
|
-
* @typedef EdcDeviceUpdateDetails
|
|
543
|
-
* @property {boolean} success - Response is successful or not
|
|
544
|
-
*/
|
|
545
|
-
/**
|
|
546
|
-
* @typedef Page
|
|
547
|
-
* @property {number} [item_total] - The total number of all items across all pages.
|
|
548
|
-
* @property {string} [next_id] - The identifier for the next page.
|
|
549
|
-
* @property {boolean} [has_previous] - Indicates whether there is a previous page.
|
|
550
|
-
* @property {boolean} [has_next] - Indicates whether there is a next page.
|
|
551
|
-
* @property {number} [current] - The current page number.
|
|
552
|
-
* @property {string} type - The type of the page, such as 'PageType'.
|
|
553
|
-
* @property {number} [size] - The number of items per page.
|
|
554
|
-
* @property {number} [page_size] - The number of items per page.
|
|
555
|
-
*/
|
|
556
|
-
/**
|
|
557
|
-
* @typedef EdcDeviceListDetails
|
|
558
|
-
* @property {EdcDevice[]} items - List of all edc mapped to the application
|
|
559
|
-
* options with their Details.
|
|
560
|
-
* @property {Page} page
|
|
561
|
-
* @property {boolean} success - Response is successful or not
|
|
562
|
-
*/
|
|
563
475
|
/**
|
|
564
476
|
* @typedef PaymentInitializationCreation
|
|
565
477
|
* @property {string} [razorpay_payment_id] - Payment gateway payment id
|
|
@@ -1293,7 +1205,7 @@ export = PaymentPlatformModel;
|
|
|
1293
1205
|
declare class PaymentPlatformModel {
|
|
1294
1206
|
}
|
|
1295
1207
|
declare namespace PaymentPlatformModel {
|
|
1296
|
-
export { PaymentGatewayConfigDetails, ErrorCodeDescription, PaymentGatewayConfig, PaymentGatewayConfigCreation, PaymentGatewayToBeReviewed, ErrorCodeAndDescription, HttpErrorDetails, IntentAppErrorList, ProductCODData, CODChargesLimitsDetails, PaymentModeLogo, IntentApp, PaymentModeList, PaymentConfirmationElement, RootPaymentMode, PaymentOptions, AggregatorRoute, PaymentDefaultSelection, PaymentFlow, PaymentOptionAndFlow, AdvanceObject, SplitObject, AdvancePaymentObject, PaymentModeRouteDetails, PaymentOptionsDetails, PayoutCustomer, PayoutMoreAttributes, PayoutAggregator, Payout, PayoutsDetails, PayoutBankDetails, PayoutCreation, PayoutDetails, UpdatePayoutDetails, UpdatePayoutCreation, DeletePayoutDetails, SubscriptionPaymentMethodDetails, DeleteSubscriptionPaymentMethodDetails, SubscriptionConfigDetails, SaveSubscriptionSetupIntentCreation, SaveSubscriptionSetupIntentDetails, RefundAccountDetails, NotFoundResourceError, BankDetailsForOTP, AddBeneficiaryDetailsOTPCreation, IfscCodeDetails, OrderBeneficiaryDetails, OrderBeneficiaryFetchResults, MultiTenderPaymentMeta, MultiTenderPaymentMethod, PaymentConfirmationCreation, PaymentConfirmationDetails, CODdata, CODLimitConfig, CODPaymentLimitConfig, GetUserBULimitResponseSchema, GetUserCODLimitDetails, SetCODForUserCreation, SetCODOptionDetails,
|
|
1208
|
+
export { PaymentGatewayConfigDetails, ErrorCodeDescription, PaymentGatewayConfig, PaymentGatewayConfigCreation, PaymentGatewayToBeReviewed, ErrorCodeAndDescription, HttpErrorDetails, IntentAppErrorList, ProductCODData, CODChargesLimitsDetails, PaymentModeLogo, IntentApp, PaymentModeList, PaymentConfirmationElement, RootPaymentMode, PaymentOptions, AggregatorRoute, PaymentDefaultSelection, PaymentFlow, PaymentOptionAndFlow, AdvanceObject, SplitObject, AdvancePaymentObject, PaymentModeRouteDetails, PaymentOptionsDetails, PayoutCustomer, PayoutMoreAttributes, PayoutAggregator, Payout, PayoutsDetails, PayoutBankDetails, PayoutCreation, PayoutDetails, UpdatePayoutDetails, UpdatePayoutCreation, DeletePayoutDetails, SubscriptionPaymentMethodDetails, DeleteSubscriptionPaymentMethodDetails, SubscriptionConfigDetails, SaveSubscriptionSetupIntentCreation, SaveSubscriptionSetupIntentDetails, RefundAccountDetails, NotFoundResourceError, BankDetailsForOTP, AddBeneficiaryDetailsOTPCreation, IfscCodeDetails, OrderBeneficiaryDetails, OrderBeneficiaryFetchResults, MultiTenderPaymentMeta, MultiTenderPaymentMethod, PaymentConfirmationCreation, PaymentConfirmationDetails, CODdata, CODLimitConfig, CODPaymentLimitConfig, GetUserBULimitResponseSchema, GetUserCODLimitDetails, SetCODForUserCreation, SetCODOptionDetails, PaymentInitializationCreation, PaymentInitializationDetails, PaymentStatusUpdateCreation, PaymentStatusUpdateDetails, ResendOrCancelPaymentCreation, LinkStatus, ResendOrCancelPaymentDetails, PaymentStatusBulkHandlerCreation, PaymentObjectList, PaymentStatusObject, PaymentStatusBulkHandlerDetails, GetOauthUrlDetails, RevokeOAuthToken, RepaymentRequestDetails, RepaymentDetailsSerialiserPayAll, RepaymentDetails, MerchantOnBoardingCreation, MerchantOnBoardingDetails, ValidateCustomerCreation, ValidateCustomerDetails, GetPaymentLinkDetails, ErrorDescription, ErrorDetails, CreatePaymentLinkMeta, CreatePaymentLinkCreation, CreatePaymentLinkDetails, PollingPaymentLinkDetails, CancelOrResendPaymentLinkCreation, ResendPaymentLinkDetails, CancelPaymentLinkDetails, Code, PaymentCode, GetPaymentCode, GetPaymentCodeDetails, PlatformPaymentModeDetails, MerchnatPaymentModeCreation, SkuDetails, AppliedOffer, OrderDetail, AddressDetail, ReasonDetail, PaymentSessionDetail, PaymentSessionCreation, PaymentSessionPutDetails, RefundSessionDetail, RefundSessionCreation, RefundSessionDetails, PaymentDetails, CartDetails, RefundDetails, PaymentSessionFetchDetails, RefundSourcesPriority, RefundPriorityDetails, RefundPriorityCreation, MerchantPaymentModeCreation, FromConfig, ToConfig, PlatformPaymentModeCopyConfigCreation, PaymentMethodsMetaOrder, PaymentOrderMethods, PaymentOrderCreation, PaymentOrderData, PaymentOrderDetails, AggregatorVersionItemSchema, AggregatorVersionDetails, AggregatorVersionRequestSchema, PatchAggregatorControl, PaymentModeCustomConfigSchema, PaymentCustomConfigDetailsSchema, PaymentCustomConfigCustomerSchema, PaymentCustomConfigModeSchema, PaymentCustomConfigDetailsRequestSchema, PaymentCustomConfigCustomerRequestSchema, PaymentCustomConfigRequestSchema, PaymentCustomConfigResponseSchema, CustomerValidationSchema, UserCreditSchema, CreditAccountSummary, ValidateCustomerCreditSchema };
|
|
1297
1209
|
}
|
|
1298
1210
|
/** @returns {PaymentGatewayConfigDetails} */
|
|
1299
1211
|
declare function PaymentGatewayConfigDetails(): PaymentGatewayConfigDetails;
|
|
@@ -2529,241 +2441,6 @@ type SetCODOptionDetails = {
|
|
|
2529
2441
|
*/
|
|
2530
2442
|
success: boolean;
|
|
2531
2443
|
};
|
|
2532
|
-
/** @returns {EdcModelData} */
|
|
2533
|
-
declare function EdcModelData(): EdcModelData;
|
|
2534
|
-
type EdcModelData = {
|
|
2535
|
-
/**
|
|
2536
|
-
* - Name of aggregator
|
|
2537
|
-
*/
|
|
2538
|
-
aggregator: string;
|
|
2539
|
-
/**
|
|
2540
|
-
* - ID of aggregator
|
|
2541
|
-
*/
|
|
2542
|
-
aggregator_id: number;
|
|
2543
|
-
/**
|
|
2544
|
-
* - List of string of edc models
|
|
2545
|
-
*/
|
|
2546
|
-
models: string[];
|
|
2547
|
-
};
|
|
2548
|
-
/** @returns {EdcAggregatorAndModelListDetails} */
|
|
2549
|
-
declare function EdcAggregatorAndModelListDetails(): EdcAggregatorAndModelListDetails;
|
|
2550
|
-
type EdcAggregatorAndModelListDetails = {
|
|
2551
|
-
/**
|
|
2552
|
-
* - List of aggregators and their edc models
|
|
2553
|
-
*/
|
|
2554
|
-
data: EdcModelData[];
|
|
2555
|
-
/**
|
|
2556
|
-
* - Response is successful or not
|
|
2557
|
-
*/
|
|
2558
|
-
success: boolean;
|
|
2559
|
-
};
|
|
2560
|
-
/** @returns {StatisticsData} */
|
|
2561
|
-
declare function StatisticsData(): StatisticsData;
|
|
2562
|
-
type StatisticsData = {
|
|
2563
|
-
/**
|
|
2564
|
-
* - No of inactive devices
|
|
2565
|
-
*/
|
|
2566
|
-
inactive_device_count: number;
|
|
2567
|
-
/**
|
|
2568
|
-
* - No of active devices
|
|
2569
|
-
*/
|
|
2570
|
-
active_device_count: number;
|
|
2571
|
-
};
|
|
2572
|
-
/** @returns {EdcDeviceStatsDetails} */
|
|
2573
|
-
declare function EdcDeviceStatsDetails(): EdcDeviceStatsDetails;
|
|
2574
|
-
type EdcDeviceStatsDetails = {
|
|
2575
|
-
statistics: StatisticsData;
|
|
2576
|
-
/**
|
|
2577
|
-
* - Response is successful or not
|
|
2578
|
-
*/
|
|
2579
|
-
success: boolean;
|
|
2580
|
-
};
|
|
2581
|
-
/** @returns {EdcAddCreation} */
|
|
2582
|
-
declare function EdcAddCreation(): EdcAddCreation;
|
|
2583
|
-
type EdcAddCreation = {
|
|
2584
|
-
/**
|
|
2585
|
-
* - Model of the edc machine
|
|
2586
|
-
*/
|
|
2587
|
-
edc_model: string;
|
|
2588
|
-
/**
|
|
2589
|
-
* - Store at which devices is to used
|
|
2590
|
-
*/
|
|
2591
|
-
store_id: number;
|
|
2592
|
-
/**
|
|
2593
|
-
* - Aggregator which will accept payment
|
|
2594
|
-
*/
|
|
2595
|
-
aggregator_id: number;
|
|
2596
|
-
/**
|
|
2597
|
-
* - Serial number or imei of EDC device
|
|
2598
|
-
*/
|
|
2599
|
-
edc_device_serial_no: string;
|
|
2600
|
-
/**
|
|
2601
|
-
* - Device serial number of
|
|
2602
|
-
* terminal(android tablet)
|
|
2603
|
-
*/
|
|
2604
|
-
terminal_serial_no: string;
|
|
2605
|
-
/**
|
|
2606
|
-
* - Device tag of edc device to identify it
|
|
2607
|
-
*/
|
|
2608
|
-
device_tag?: string;
|
|
2609
|
-
};
|
|
2610
|
-
/** @returns {EdcDevice} */
|
|
2611
|
-
declare function EdcDevice(): EdcDevice;
|
|
2612
|
-
type EdcDevice = {
|
|
2613
|
-
/**
|
|
2614
|
-
* - Name of the model
|
|
2615
|
-
*/
|
|
2616
|
-
edc_model?: string;
|
|
2617
|
-
/**
|
|
2618
|
-
* - Store at which devices is to used
|
|
2619
|
-
*/
|
|
2620
|
-
store_id: number;
|
|
2621
|
-
/**
|
|
2622
|
-
* - Aggregator which will accept payment
|
|
2623
|
-
*/
|
|
2624
|
-
aggregator_id: number;
|
|
2625
|
-
/**
|
|
2626
|
-
* - Genearated unique value for edc device
|
|
2627
|
-
*/
|
|
2628
|
-
terminal_unique_identifier: string;
|
|
2629
|
-
/**
|
|
2630
|
-
* - Serial number of EDC device
|
|
2631
|
-
*/
|
|
2632
|
-
edc_device_serial_no: string;
|
|
2633
|
-
/**
|
|
2634
|
-
* - State whether device is active or inactive
|
|
2635
|
-
*/
|
|
2636
|
-
is_active: boolean;
|
|
2637
|
-
/**
|
|
2638
|
-
* - Name of the corresponding aggregator
|
|
2639
|
-
*/
|
|
2640
|
-
aggregator_name?: string;
|
|
2641
|
-
/**
|
|
2642
|
-
* - Device serial number of
|
|
2643
|
-
* terminal(android tablet)
|
|
2644
|
-
*/
|
|
2645
|
-
terminal_serial_no: string;
|
|
2646
|
-
/**
|
|
2647
|
-
* - This is provided by pinelabs
|
|
2648
|
-
*/
|
|
2649
|
-
merchant_store_pos_code?: string;
|
|
2650
|
-
/**
|
|
2651
|
-
* - Device tag of edc device to identify it
|
|
2652
|
-
*/
|
|
2653
|
-
device_tag: string;
|
|
2654
|
-
/**
|
|
2655
|
-
* - Application ID
|
|
2656
|
-
*/
|
|
2657
|
-
application_id: string;
|
|
2658
|
-
};
|
|
2659
|
-
/** @returns {EdcDeviceAddDetails} */
|
|
2660
|
-
declare function EdcDeviceAddDetails(): EdcDeviceAddDetails;
|
|
2661
|
-
type EdcDeviceAddDetails = {
|
|
2662
|
-
data: EdcDevice;
|
|
2663
|
-
/**
|
|
2664
|
-
* - Response is successful or not
|
|
2665
|
-
*/
|
|
2666
|
-
success: boolean;
|
|
2667
|
-
};
|
|
2668
|
-
/** @returns {EdcDeviceDetails} */
|
|
2669
|
-
declare function EdcDeviceDetails(): EdcDeviceDetails;
|
|
2670
|
-
type EdcDeviceDetails = {
|
|
2671
|
-
data: EdcDevice;
|
|
2672
|
-
/**
|
|
2673
|
-
* - Response is successful or not
|
|
2674
|
-
*/
|
|
2675
|
-
success: boolean;
|
|
2676
|
-
};
|
|
2677
|
-
/** @returns {EdcUpdate} */
|
|
2678
|
-
declare function EdcUpdate(): EdcUpdate;
|
|
2679
|
-
type EdcUpdate = {
|
|
2680
|
-
/**
|
|
2681
|
-
* - Model of the edc machine
|
|
2682
|
-
*/
|
|
2683
|
-
edc_model?: string;
|
|
2684
|
-
/**
|
|
2685
|
-
* - Store at which devices is to used
|
|
2686
|
-
*/
|
|
2687
|
-
store_id?: number;
|
|
2688
|
-
/**
|
|
2689
|
-
* - Aggregator which will accept payment
|
|
2690
|
-
*/
|
|
2691
|
-
aggregator_id?: number;
|
|
2692
|
-
/**
|
|
2693
|
-
* - Serial number or imei of EDC device
|
|
2694
|
-
*/
|
|
2695
|
-
edc_device_serial_no?: string;
|
|
2696
|
-
/**
|
|
2697
|
-
* - State whether device is active or inactive
|
|
2698
|
-
*/
|
|
2699
|
-
is_active?: boolean;
|
|
2700
|
-
/**
|
|
2701
|
-
* - This is provided by pinelabs
|
|
2702
|
-
*/
|
|
2703
|
-
merchant_store_pos_code?: string;
|
|
2704
|
-
/**
|
|
2705
|
-
* - Device tag of edc device to identify it
|
|
2706
|
-
*/
|
|
2707
|
-
device_tag?: string;
|
|
2708
|
-
};
|
|
2709
|
-
/** @returns {EdcDeviceUpdateDetails} */
|
|
2710
|
-
declare function EdcDeviceUpdateDetails(): EdcDeviceUpdateDetails;
|
|
2711
|
-
type EdcDeviceUpdateDetails = {
|
|
2712
|
-
/**
|
|
2713
|
-
* - Response is successful or not
|
|
2714
|
-
*/
|
|
2715
|
-
success: boolean;
|
|
2716
|
-
};
|
|
2717
|
-
/** @returns {Page} */
|
|
2718
|
-
declare function Page(): Page;
|
|
2719
|
-
type Page = {
|
|
2720
|
-
/**
|
|
2721
|
-
* - The total number of all items across all pages.
|
|
2722
|
-
*/
|
|
2723
|
-
item_total?: number;
|
|
2724
|
-
/**
|
|
2725
|
-
* - The identifier for the next page.
|
|
2726
|
-
*/
|
|
2727
|
-
next_id?: string;
|
|
2728
|
-
/**
|
|
2729
|
-
* - Indicates whether there is a previous page.
|
|
2730
|
-
*/
|
|
2731
|
-
has_previous?: boolean;
|
|
2732
|
-
/**
|
|
2733
|
-
* - Indicates whether there is a next page.
|
|
2734
|
-
*/
|
|
2735
|
-
has_next?: boolean;
|
|
2736
|
-
/**
|
|
2737
|
-
* - The current page number.
|
|
2738
|
-
*/
|
|
2739
|
-
current?: number;
|
|
2740
|
-
/**
|
|
2741
|
-
* - The type of the page, such as 'PageType'.
|
|
2742
|
-
*/
|
|
2743
|
-
type: string;
|
|
2744
|
-
/**
|
|
2745
|
-
* - The number of items per page.
|
|
2746
|
-
*/
|
|
2747
|
-
size?: number;
|
|
2748
|
-
/**
|
|
2749
|
-
* - The number of items per page.
|
|
2750
|
-
*/
|
|
2751
|
-
page_size?: number;
|
|
2752
|
-
};
|
|
2753
|
-
/** @returns {EdcDeviceListDetails} */
|
|
2754
|
-
declare function EdcDeviceListDetails(): EdcDeviceListDetails;
|
|
2755
|
-
type EdcDeviceListDetails = {
|
|
2756
|
-
/**
|
|
2757
|
-
* - List of all edc mapped to the application
|
|
2758
|
-
* options with their Details.
|
|
2759
|
-
*/
|
|
2760
|
-
items: EdcDevice[];
|
|
2761
|
-
page: Page;
|
|
2762
|
-
/**
|
|
2763
|
-
* - Response is successful or not
|
|
2764
|
-
*/
|
|
2765
|
-
success: boolean;
|
|
2766
|
-
};
|
|
2767
2444
|
/** @returns {PaymentInitializationCreation} */
|
|
2768
2445
|
declare function PaymentInitializationCreation(): PaymentInitializationCreation;
|
|
2769
2446
|
type PaymentInitializationCreation = {
|