@gofynd/fdk-client-javascript 1.3.11-beta.7 → 1.3.11-beta.8
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/application/Cart/CartApplicationClient.d.ts +1 -1
- package/sdk/application/Cart/CartApplicationClient.js +5 -3
- package/sdk/application/Cart/CartApplicationModel.d.ts +107 -1
- package/sdk/application/Cart/CartApplicationModel.js +74 -0
- package/sdk/application/Cart/CartApplicationValidator.d.ts +4 -0
- package/sdk/application/Cart/CartApplicationValidator.js +4 -0
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +3 -6
- package/sdk/application/Catalog/CatalogApplicationClient.js +7 -20
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +2 -2
- package/sdk/application/Catalog/CatalogApplicationModel.js +2 -2
- package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +0 -14
- package/sdk/application/Catalog/CatalogApplicationValidator.js +0 -6
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +183 -49
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +173 -31
- package/sdk/application/Content/ContentApplicationClient.d.ts +36 -0
- package/sdk/application/Content/ContentApplicationClient.js +246 -0
- package/sdk/application/Content/ContentApplicationModel.d.ts +208 -1
- package/sdk/application/Content/ContentApplicationModel.js +252 -0
- package/sdk/application/Content/ContentApplicationValidator.d.ts +40 -1
- package/sdk/application/Content/ContentApplicationValidator.js +41 -0
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +67 -0
- package/sdk/application/Logistic/LogisticApplicationClient.js +547 -0
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +456 -1
- package/sdk/application/Logistic/LogisticApplicationModel.js +488 -0
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +211 -1
- package/sdk/application/Logistic/LogisticApplicationValidator.js +131 -0
- package/sdk/application/Order/OrderApplicationClient.d.ts +3 -3
- package/sdk/application/Order/OrderApplicationClient.js +32 -8
- package/sdk/application/Order/OrderApplicationModel.d.ts +6 -0
- package/sdk/application/Order/OrderApplicationModel.js +6 -0
- package/sdk/application/Order/OrderApplicationValidator.d.ts +20 -0
- package/sdk/application/Order/OrderApplicationValidator.js +8 -0
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +46 -2
- package/sdk/application/Payment/PaymentApplicationClient.js +341 -10
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +493 -186
- package/sdk/application/Payment/PaymentApplicationModel.js +341 -70
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +59 -14
- package/sdk/application/Payment/PaymentApplicationValidator.js +64 -10
- package/sdk/application/PosCart/PosCartApplicationModel.d.ts +34 -1
- package/sdk/application/PosCart/PosCartApplicationModel.js +24 -0
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +1 -1
- package/sdk/application/Theme/ThemeApplicationClient.js +7 -3
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +222 -36
- package/sdk/application/Theme/ThemeApplicationModel.js +322 -26
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +10 -0
- package/sdk/application/Theme/ThemeApplicationValidator.js +4 -0
- package/sdk/application/User/UserApplicationClient.d.ts +33 -0
- package/sdk/application/User/UserApplicationClient.js +239 -0
- package/sdk/application/User/UserApplicationModel.d.ts +28 -13
- package/sdk/application/User/UserApplicationModel.js +36 -12
- package/sdk/application/User/UserApplicationValidator.d.ts +34 -1
- package/sdk/application/User/UserApplicationValidator.js +36 -0
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +125 -0
- package/sdk/partner/Lead/LeadPartnerClient.js +785 -0
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +1127 -0
- package/sdk/partner/Lead/LeadPartnerModel.js +896 -0
- package/sdk/partner/Lead/LeadPartnerValidator.d.ts +12 -0
- package/sdk/partner/Lead/LeadPartnerValidator.js +67 -0
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +155 -0
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +1195 -0
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +372 -0
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +442 -0
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +16 -0
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +123 -0
- package/sdk/partner/PartnerClient.d.ts +6 -0
- package/sdk/partner/PartnerClient.js +9 -0
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +10 -0
- package/sdk/partner/Theme/ThemePartnerClient.js +80 -0
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +100 -43
- package/sdk/partner/Theme/ThemePartnerModel.js +74 -30
- package/sdk/partner/Theme/ThemePartnerValidator.d.ts +1 -0
- package/sdk/partner/Theme/ThemePartnerValidator.js +9 -0
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +99 -0
- package/sdk/partner/Webhook/WebhookPartnerClient.js +753 -0
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +566 -0
- package/sdk/partner/Webhook/WebhookPartnerModel.js +583 -0
- package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +12 -0
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +74 -0
- package/sdk/partner/index.d.ts +3 -0
- package/sdk/partner/index.js +6 -0
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +2 -2
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +11 -1
- package/sdk/platform/Billing/BillingPlatformClient.js +110 -3
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +67 -1
- package/sdk/platform/Billing/BillingPlatformModel.js +78 -0
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +43 -4
- package/sdk/platform/Billing/BillingPlatformValidator.js +29 -2
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +1 -1
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +7 -1
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +4 -0
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +4 -0
- package/sdk/platform/Cart/CartPlatformModel.d.ts +100 -5
- package/sdk/platform/Cart/CartPlatformModel.js +71 -4
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +15 -11
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +52 -21
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +27 -0
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +11 -0
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +26 -4
- package/sdk/platform/Catalog/CatalogPlatformClient.js +173 -7
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +304 -1
- package/sdk/platform/Catalog/CatalogPlatformModel.js +335 -0
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +31 -3
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +27 -2
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +138 -36
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +739 -57
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +128 -3
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +111 -1
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +150 -1
- package/sdk/platform/Communication/CommunicationPlatformModel.js +172 -0
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +8 -2
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +32 -4
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +38 -9
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +42 -8
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +14 -0
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +6 -0
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +8 -8
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +4 -4
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +371 -132
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +288 -77
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +2 -2
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +2 -2
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +391 -0
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +3630 -1059
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +342 -1
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +401 -0
- package/sdk/platform/Content/ContentPlatformClient.d.ts +277 -0
- package/sdk/platform/Content/ContentPlatformClient.js +2000 -0
- package/sdk/platform/Content/ContentPlatformModel.d.ts +1094 -1
- package/sdk/platform/Content/ContentPlatformModel.js +1356 -46
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +238 -0
- package/sdk/platform/Content/ContentPlatformValidator.js +310 -0
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +2 -2
- package/sdk/platform/Discount/DiscountPlatformClient.js +2 -2
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +96 -13
- package/sdk/platform/Discount/DiscountPlatformModel.js +104 -12
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +16 -6
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +117 -8
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +55 -4
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +39 -2
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +16 -5
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +18 -4
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +33 -0
- package/sdk/platform/Finance/FinancePlatformClient.js +240 -0
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +151 -5
- package/sdk/platform/Finance/FinancePlatformModel.js +190 -4
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +38 -1
- package/sdk/platform/Finance/FinancePlatformValidator.js +38 -0
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +38 -28
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +137 -56
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +41 -29
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +33 -21
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +12 -3
- package/sdk/platform/Lead/LeadPlatformModel.js +16 -2
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +23 -1
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +178 -1
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +39 -1
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +32 -0
- package/sdk/platform/Order/OrderPlatformClient.d.ts +202 -31
- package/sdk/platform/Order/OrderPlatformClient.js +2010 -586
- package/sdk/platform/Order/OrderPlatformModel.d.ts +1032 -470
- package/sdk/platform/Order/OrderPlatformModel.js +1187 -534
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +318 -35
- package/sdk/platform/Order/OrderPlatformValidator.js +292 -29
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +119 -13
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +749 -39
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +143 -7
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +133 -6
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +1 -1
- package/sdk/platform/Payment/PaymentPlatformClient.js +1 -1
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +996 -134
- package/sdk/platform/Payment/PaymentPlatformModel.js +721 -58
- package/sdk/platform/PlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/PlatformApplicationClient.js +4 -4
- package/sdk/platform/PlatformClient.d.ts +4 -2
- package/sdk/platform/PlatformClient.js +8 -4
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +142 -66
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +645 -147
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +131 -63
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +126 -47
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +217 -105
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +1136 -347
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +912 -313
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +1071 -355
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +382 -133
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +266 -102
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +11 -1
- package/sdk/platform/Theme/ThemePlatformClient.js +87 -3
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +333 -47
- package/sdk/platform/Theme/ThemePlatformModel.js +395 -35
- package/sdk/platform/Theme/ThemePlatformValidator.d.ts +28 -4
- package/sdk/platform/Theme/ThemePlatformValidator.js +21 -2
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +116 -1
- package/sdk/platform/User/UserPlatformApplicationClient.js +931 -85
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +224 -7
- package/sdk/platform/User/UserPlatformApplicationValidator.js +173 -5
- package/sdk/platform/User/UserPlatformModel.d.ts +344 -7
- package/sdk/platform/User/UserPlatformModel.js +256 -5
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +47 -39
- package/sdk/platform/Webhook/WebhookPlatformClient.js +63 -61
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +264 -156
- package/sdk/platform/Webhook/WebhookPlatformModel.js +276 -153
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +7 -10
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +6 -6
- package/sdk/platform/index.d.ts +1 -1
- package/sdk/platform/index.js +2 -2
- package/sdk/public/Billing/BillingPublicClient.d.ts +23 -0
- package/sdk/public/Billing/BillingPublicClient.js +116 -0
- package/sdk/public/Billing/BillingPublicModel.d.ts +92 -0
- package/sdk/public/Billing/BillingPublicModel.js +96 -0
- package/sdk/public/Billing/BillingPublicValidator.d.ts +18 -0
- package/sdk/public/Billing/BillingPublicValidator.js +19 -0
- package/sdk/public/Content/ContentPublicClient.d.ts +22 -0
- package/sdk/public/Content/ContentPublicClient.js +114 -0
- package/sdk/public/Content/ContentPublicModel.d.ts +53 -0
- package/sdk/public/Content/ContentPublicModel.js +60 -0
- package/sdk/public/Content/ContentPublicValidator.d.ts +18 -0
- package/sdk/public/Content/ContentPublicValidator.js +19 -0
- package/sdk/public/PublicClient.d.ts +4 -0
- package/sdk/public/PublicClient.js +8 -0
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +33 -0
- package/sdk/public/Webhook/WebhookPublicClient.js +242 -0
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +147 -1
- package/sdk/public/Webhook/WebhookPublicModel.js +177 -1
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +23 -1
- package/sdk/public/Webhook/WebhookPublicValidator.js +31 -0
- package/sdk/public/index.d.ts +2 -0
- package/sdk/public/index.js +4 -0
|
@@ -123,7 +123,7 @@ const Joi = require("joi");
|
|
|
123
123
|
* @property {number} [item_count]
|
|
124
124
|
* @property {Object[]} [items]
|
|
125
125
|
* @property {string} [message]
|
|
126
|
-
* @property {
|
|
126
|
+
* @property {Page} [page]
|
|
127
127
|
* @property {boolean} [show_mr]
|
|
128
128
|
*/
|
|
129
129
|
|
|
@@ -136,7 +136,7 @@ const Joi = require("joi");
|
|
|
136
136
|
* @typedef CreditNoteDetails
|
|
137
137
|
* @property {number} [available_cn_balance]
|
|
138
138
|
* @property {number} [cn_amount]
|
|
139
|
-
* @property {
|
|
139
|
+
* @property {CnDetails} [cn_details]
|
|
140
140
|
* @property {string} [cn_reference_number]
|
|
141
141
|
* @property {string} [cn_status]
|
|
142
142
|
* @property {string} [customer_mobile_number]
|
|
@@ -155,6 +155,13 @@ const Joi = require("joi");
|
|
|
155
155
|
* @property {boolean} [success]
|
|
156
156
|
*/
|
|
157
157
|
|
|
158
|
+
/**
|
|
159
|
+
* @typedef Currency
|
|
160
|
+
* @property {string} [code]
|
|
161
|
+
* @property {string} [name]
|
|
162
|
+
* @property {string} [symbol]
|
|
163
|
+
*/
|
|
164
|
+
|
|
158
165
|
/**
|
|
159
166
|
* @typedef DeleteConfig
|
|
160
167
|
* @property {string} [affiliate_id]
|
|
@@ -485,6 +492,26 @@ const Joi = require("joi");
|
|
|
485
492
|
* @property {string[]} [payment_status]
|
|
486
493
|
*/
|
|
487
494
|
|
|
495
|
+
/**
|
|
496
|
+
* @typedef InvoiceActivityLogError
|
|
497
|
+
* @property {string} [reason]
|
|
498
|
+
*/
|
|
499
|
+
|
|
500
|
+
/**
|
|
501
|
+
* @typedef InvoiceActivityLogsResponse
|
|
502
|
+
* @property {InvoiceActivityLogsResponseData[]} [data]
|
|
503
|
+
*/
|
|
504
|
+
|
|
505
|
+
/**
|
|
506
|
+
* @typedef InvoiceActivityLogsResponseData
|
|
507
|
+
* @property {boolean} [is_resolved]
|
|
508
|
+
* @property {number} [max_retry_attempts]
|
|
509
|
+
* @property {string} [performed_by]
|
|
510
|
+
* @property {string} [reason]
|
|
511
|
+
* @property {number} [retry_attempts]
|
|
512
|
+
* @property {string} [status]
|
|
513
|
+
*/
|
|
514
|
+
|
|
488
515
|
/**
|
|
489
516
|
* @typedef InvoiceListingPayloadData
|
|
490
517
|
* @property {string} [end_date]
|
|
@@ -512,6 +539,7 @@ const Joi = require("joi");
|
|
|
512
539
|
* @typedef InvoiceListingResponseItems
|
|
513
540
|
* @property {string} [amount]
|
|
514
541
|
* @property {string} [company]
|
|
542
|
+
* @property {Currency} [currency]
|
|
515
543
|
* @property {string} [due_date]
|
|
516
544
|
* @property {string} [invoice_date]
|
|
517
545
|
* @property {string} [invoice_id]
|
|
@@ -522,6 +550,19 @@ const Joi = require("joi");
|
|
|
522
550
|
* @property {string} [status]
|
|
523
551
|
*/
|
|
524
552
|
|
|
553
|
+
/**
|
|
554
|
+
* @typedef InvoicePaymentDetailsResponse
|
|
555
|
+
* @property {InvoicePaymentDetailsResponseData} [data]
|
|
556
|
+
* @property {boolean} [payment_details_visible]
|
|
557
|
+
* @property {boolean} [success]
|
|
558
|
+
*/
|
|
559
|
+
|
|
560
|
+
/**
|
|
561
|
+
* @typedef InvoicePaymentDetailsResponseData
|
|
562
|
+
* @property {Object[]} [failed_attempts_details]
|
|
563
|
+
* @property {PaidInvoicePaymentDetail[]} [paid_invoice_payment_details]
|
|
564
|
+
*/
|
|
565
|
+
|
|
525
566
|
/**
|
|
526
567
|
* @typedef InvoicePdfPayloadData
|
|
527
568
|
* @property {string[]} [invoice_number]
|
|
@@ -612,6 +653,19 @@ const Joi = require("joi");
|
|
|
612
653
|
* @property {string} type
|
|
613
654
|
*/
|
|
614
655
|
|
|
656
|
+
/**
|
|
657
|
+
* @typedef PaidInvoicePaymentDetail
|
|
658
|
+
* @property {number} [amount]
|
|
659
|
+
* @property {string} [date_of_payment]
|
|
660
|
+
* @property {PaymentDetail[]} [payment_details]
|
|
661
|
+
*/
|
|
662
|
+
|
|
663
|
+
/**
|
|
664
|
+
* @typedef PaymentDetail
|
|
665
|
+
* @property {string} [display_name]
|
|
666
|
+
* @property {string} [value]
|
|
667
|
+
*/
|
|
668
|
+
|
|
615
669
|
/**
|
|
616
670
|
* @typedef PaymentProcessPayload
|
|
617
671
|
* @property {string} [amount]
|
|
@@ -670,6 +724,31 @@ const Joi = require("joi");
|
|
|
670
724
|
* @property {string} [report_type]
|
|
671
725
|
*/
|
|
672
726
|
|
|
727
|
+
/**
|
|
728
|
+
* @typedef UnlockCreditNoteRequest
|
|
729
|
+
* @property {UnlockCreditNoteRequestData} [data]
|
|
730
|
+
*/
|
|
731
|
+
|
|
732
|
+
/**
|
|
733
|
+
* @typedef UnlockCreditNoteRequestData
|
|
734
|
+
* @property {string} [description]
|
|
735
|
+
* @property {string[]} [locked_credit_notes]
|
|
736
|
+
* @property {string} [seller_id]
|
|
737
|
+
* @property {string} [unlock_reason]
|
|
738
|
+
*/
|
|
739
|
+
|
|
740
|
+
/**
|
|
741
|
+
* @typedef UnlockCreditNoteResponse
|
|
742
|
+
* @property {UnlockCreditNoteResponseData} [data]
|
|
743
|
+
* @property {boolean} [success]
|
|
744
|
+
*/
|
|
745
|
+
|
|
746
|
+
/**
|
|
747
|
+
* @typedef UnlockCreditNoteResponseData
|
|
748
|
+
* @property {boolean} [is_cn_unlocked]
|
|
749
|
+
* @property {string} [status]
|
|
750
|
+
*/
|
|
751
|
+
|
|
673
752
|
/**
|
|
674
753
|
* @typedef UnpaidInvoiceDataItems
|
|
675
754
|
* @property {string} [currency]
|
|
@@ -828,7 +907,7 @@ class FinancePlatformModel {
|
|
|
828
907
|
item_count: Joi.number(),
|
|
829
908
|
items: Joi.array().items(Joi.any()),
|
|
830
909
|
message: Joi.string().allow(""),
|
|
831
|
-
page:
|
|
910
|
+
page: FinancePlatformModel.Page(),
|
|
832
911
|
show_mr: Joi.boolean(),
|
|
833
912
|
});
|
|
834
913
|
}
|
|
@@ -845,7 +924,7 @@ class FinancePlatformModel {
|
|
|
845
924
|
return Joi.object({
|
|
846
925
|
available_cn_balance: Joi.number(),
|
|
847
926
|
cn_amount: Joi.number(),
|
|
848
|
-
cn_details:
|
|
927
|
+
cn_details: FinancePlatformModel.CnDetails(),
|
|
849
928
|
cn_reference_number: Joi.string().allow(""),
|
|
850
929
|
cn_status: Joi.string().allow(""),
|
|
851
930
|
customer_mobile_number: Joi.string().allow(""),
|
|
@@ -871,6 +950,15 @@ class FinancePlatformModel {
|
|
|
871
950
|
});
|
|
872
951
|
}
|
|
873
952
|
|
|
953
|
+
/** @returns {Currency} */
|
|
954
|
+
static Currency() {
|
|
955
|
+
return Joi.object({
|
|
956
|
+
code: Joi.string().allow(""),
|
|
957
|
+
name: Joi.string().allow(""),
|
|
958
|
+
symbol: Joi.string().allow(""),
|
|
959
|
+
});
|
|
960
|
+
}
|
|
961
|
+
|
|
874
962
|
/** @returns {DeleteConfig} */
|
|
875
963
|
static DeleteConfig() {
|
|
876
964
|
return Joi.object({
|
|
@@ -1303,6 +1391,34 @@ class FinancePlatformModel {
|
|
|
1303
1391
|
});
|
|
1304
1392
|
}
|
|
1305
1393
|
|
|
1394
|
+
/** @returns {InvoiceActivityLogError} */
|
|
1395
|
+
static InvoiceActivityLogError() {
|
|
1396
|
+
return Joi.object({
|
|
1397
|
+
reason: Joi.string().allow(""),
|
|
1398
|
+
});
|
|
1399
|
+
}
|
|
1400
|
+
|
|
1401
|
+
/** @returns {InvoiceActivityLogsResponse} */
|
|
1402
|
+
static InvoiceActivityLogsResponse() {
|
|
1403
|
+
return Joi.object({
|
|
1404
|
+
data: Joi.array().items(
|
|
1405
|
+
FinancePlatformModel.InvoiceActivityLogsResponseData()
|
|
1406
|
+
),
|
|
1407
|
+
});
|
|
1408
|
+
}
|
|
1409
|
+
|
|
1410
|
+
/** @returns {InvoiceActivityLogsResponseData} */
|
|
1411
|
+
static InvoiceActivityLogsResponseData() {
|
|
1412
|
+
return Joi.object({
|
|
1413
|
+
is_resolved: Joi.boolean(),
|
|
1414
|
+
max_retry_attempts: Joi.number(),
|
|
1415
|
+
performed_by: Joi.string().allow(""),
|
|
1416
|
+
reason: Joi.string().allow(""),
|
|
1417
|
+
retry_attempts: Joi.number(),
|
|
1418
|
+
status: Joi.string().allow(""),
|
|
1419
|
+
});
|
|
1420
|
+
}
|
|
1421
|
+
|
|
1306
1422
|
/** @returns {InvoiceListingPayloadData} */
|
|
1307
1423
|
static InvoiceListingPayloadData() {
|
|
1308
1424
|
return Joi.object({
|
|
@@ -1339,6 +1455,7 @@ class FinancePlatformModel {
|
|
|
1339
1455
|
return Joi.object({
|
|
1340
1456
|
amount: Joi.string().allow(""),
|
|
1341
1457
|
company: Joi.string().allow(""),
|
|
1458
|
+
currency: FinancePlatformModel.Currency(),
|
|
1342
1459
|
due_date: Joi.string().allow(""),
|
|
1343
1460
|
invoice_date: Joi.string().allow(""),
|
|
1344
1461
|
invoice_id: Joi.string().allow(""),
|
|
@@ -1350,6 +1467,25 @@ class FinancePlatformModel {
|
|
|
1350
1467
|
});
|
|
1351
1468
|
}
|
|
1352
1469
|
|
|
1470
|
+
/** @returns {InvoicePaymentDetailsResponse} */
|
|
1471
|
+
static InvoicePaymentDetailsResponse() {
|
|
1472
|
+
return Joi.object({
|
|
1473
|
+
data: FinancePlatformModel.InvoicePaymentDetailsResponseData(),
|
|
1474
|
+
payment_details_visible: Joi.boolean(),
|
|
1475
|
+
success: Joi.boolean(),
|
|
1476
|
+
});
|
|
1477
|
+
}
|
|
1478
|
+
|
|
1479
|
+
/** @returns {InvoicePaymentDetailsResponseData} */
|
|
1480
|
+
static InvoicePaymentDetailsResponseData() {
|
|
1481
|
+
return Joi.object({
|
|
1482
|
+
failed_attempts_details: Joi.array().items(Joi.any()),
|
|
1483
|
+
paid_invoice_payment_details: Joi.array().items(
|
|
1484
|
+
FinancePlatformModel.PaidInvoicePaymentDetail()
|
|
1485
|
+
),
|
|
1486
|
+
});
|
|
1487
|
+
}
|
|
1488
|
+
|
|
1353
1489
|
/** @returns {InvoicePdfPayloadData} */
|
|
1354
1490
|
static InvoicePdfPayloadData() {
|
|
1355
1491
|
return Joi.object({
|
|
@@ -1474,6 +1610,23 @@ class FinancePlatformModel {
|
|
|
1474
1610
|
});
|
|
1475
1611
|
}
|
|
1476
1612
|
|
|
1613
|
+
/** @returns {PaidInvoicePaymentDetail} */
|
|
1614
|
+
static PaidInvoicePaymentDetail() {
|
|
1615
|
+
return Joi.object({
|
|
1616
|
+
amount: Joi.number(),
|
|
1617
|
+
date_of_payment: Joi.string().allow(""),
|
|
1618
|
+
payment_details: Joi.array().items(FinancePlatformModel.PaymentDetail()),
|
|
1619
|
+
});
|
|
1620
|
+
}
|
|
1621
|
+
|
|
1622
|
+
/** @returns {PaymentDetail} */
|
|
1623
|
+
static PaymentDetail() {
|
|
1624
|
+
return Joi.object({
|
|
1625
|
+
display_name: Joi.string().allow(""),
|
|
1626
|
+
value: Joi.string().allow(""),
|
|
1627
|
+
});
|
|
1628
|
+
}
|
|
1629
|
+
|
|
1477
1630
|
/** @returns {PaymentProcessPayload} */
|
|
1478
1631
|
static PaymentProcessPayload() {
|
|
1479
1632
|
return Joi.object({
|
|
@@ -1544,6 +1697,39 @@ class FinancePlatformModel {
|
|
|
1544
1697
|
});
|
|
1545
1698
|
}
|
|
1546
1699
|
|
|
1700
|
+
/** @returns {UnlockCreditNoteRequest} */
|
|
1701
|
+
static UnlockCreditNoteRequest() {
|
|
1702
|
+
return Joi.object({
|
|
1703
|
+
data: FinancePlatformModel.UnlockCreditNoteRequestData(),
|
|
1704
|
+
});
|
|
1705
|
+
}
|
|
1706
|
+
|
|
1707
|
+
/** @returns {UnlockCreditNoteRequestData} */
|
|
1708
|
+
static UnlockCreditNoteRequestData() {
|
|
1709
|
+
return Joi.object({
|
|
1710
|
+
description: Joi.string().allow(""),
|
|
1711
|
+
locked_credit_notes: Joi.array().items(Joi.string().allow("")),
|
|
1712
|
+
seller_id: Joi.string().allow(""),
|
|
1713
|
+
unlock_reason: Joi.string().allow(""),
|
|
1714
|
+
});
|
|
1715
|
+
}
|
|
1716
|
+
|
|
1717
|
+
/** @returns {UnlockCreditNoteResponse} */
|
|
1718
|
+
static UnlockCreditNoteResponse() {
|
|
1719
|
+
return Joi.object({
|
|
1720
|
+
data: FinancePlatformModel.UnlockCreditNoteResponseData(),
|
|
1721
|
+
success: Joi.boolean(),
|
|
1722
|
+
});
|
|
1723
|
+
}
|
|
1724
|
+
|
|
1725
|
+
/** @returns {UnlockCreditNoteResponseData} */
|
|
1726
|
+
static UnlockCreditNoteResponseData() {
|
|
1727
|
+
return Joi.object({
|
|
1728
|
+
is_cn_unlocked: Joi.boolean(),
|
|
1729
|
+
status: Joi.string().allow(""),
|
|
1730
|
+
});
|
|
1731
|
+
}
|
|
1732
|
+
|
|
1547
1733
|
/** @returns {UnpaidInvoiceDataItems} */
|
|
1548
1734
|
static UnpaidInvoiceDataItems() {
|
|
1549
1735
|
return Joi.object({
|
|
@@ -72,6 +72,11 @@ export = FinancePlatformValidator;
|
|
|
72
72
|
* @property {string} filterKey - Filter type.
|
|
73
73
|
* @property {string} [affiliateId] - Affiliate id.
|
|
74
74
|
*/
|
|
75
|
+
/**
|
|
76
|
+
* @typedef InvoiceActivityLogsParam
|
|
77
|
+
* @property {string} invoiceNumber - Invoice Number for which the data will be
|
|
78
|
+
* returned. Invoice_number is required.
|
|
79
|
+
*/
|
|
75
80
|
/**
|
|
76
81
|
* @typedef InvoiceListingParam
|
|
77
82
|
* @property {FinancePlatformModel.InvoiceListingRequest} body
|
|
@@ -80,6 +85,11 @@ export = FinancePlatformValidator;
|
|
|
80
85
|
* @typedef InvoicePDFParam
|
|
81
86
|
* @property {FinancePlatformModel.InvoicePdfRequest} body
|
|
82
87
|
*/
|
|
88
|
+
/**
|
|
89
|
+
* @typedef InvoicePaymentDetailsParam
|
|
90
|
+
* @property {string} invoiceNumber - Invoice Number for which the data will be
|
|
91
|
+
* returned.Invoice_Number is required.
|
|
92
|
+
*/
|
|
83
93
|
/**
|
|
84
94
|
* @typedef InvoiceTypeParam
|
|
85
95
|
* @property {FinancePlatformModel.InvoiceTypeRequest} body
|
|
@@ -96,6 +106,10 @@ export = FinancePlatformValidator;
|
|
|
96
106
|
* @typedef PaymentProcessParam
|
|
97
107
|
* @property {FinancePlatformModel.PaymentProcessRequest} body
|
|
98
108
|
*/
|
|
109
|
+
/**
|
|
110
|
+
* @typedef UnlockCreditNoteParam
|
|
111
|
+
* @property {FinancePlatformModel.UnlockCreditNoteRequest} body
|
|
112
|
+
*/
|
|
99
113
|
declare class FinancePlatformValidator {
|
|
100
114
|
/** @returns {ChannelDisplayNameParam} */
|
|
101
115
|
static channelDisplayName(): ChannelDisplayNameParam;
|
|
@@ -133,10 +147,14 @@ declare class FinancePlatformValidator {
|
|
|
133
147
|
static getReportList(): GetReportListParam;
|
|
134
148
|
/** @returns {GetReportingFiltersParam} */
|
|
135
149
|
static getReportingFilters(): GetReportingFiltersParam;
|
|
150
|
+
/** @returns {InvoiceActivityLogsParam} */
|
|
151
|
+
static invoiceActivityLogs(): InvoiceActivityLogsParam;
|
|
136
152
|
/** @returns {InvoiceListingParam} */
|
|
137
153
|
static invoiceListing(): InvoiceListingParam;
|
|
138
154
|
/** @returns {InvoicePDFParam} */
|
|
139
155
|
static invoicePDF(): InvoicePDFParam;
|
|
156
|
+
/** @returns {InvoicePaymentDetailsParam} */
|
|
157
|
+
static invoicePaymentDetails(): InvoicePaymentDetailsParam;
|
|
140
158
|
/** @returns {InvoiceTypeParam} */
|
|
141
159
|
static invoiceType(): InvoiceTypeParam;
|
|
142
160
|
/** @returns {IsCnRefundMethodParam} */
|
|
@@ -145,9 +163,11 @@ declare class FinancePlatformValidator {
|
|
|
145
163
|
static isCreditlinePlatform(): IsCreditlinePlatformParam;
|
|
146
164
|
/** @returns {PaymentProcessParam} */
|
|
147
165
|
static paymentProcess(): PaymentProcessParam;
|
|
166
|
+
/** @returns {UnlockCreditNoteParam} */
|
|
167
|
+
static unlockCreditNote(): UnlockCreditNoteParam;
|
|
148
168
|
}
|
|
149
169
|
declare namespace FinancePlatformValidator {
|
|
150
|
-
export { ChannelDisplayNameParam, CreateSellerCreditNoteConfigParam, CreditNoteDetailsParam, CreditlineDataplatformParam, DeleteConfigParam, DownloadCreditDebitNoteParam, DownloadReportParam, DownloadReportCustomerCnParam, GenerateReportParam, GenerateReportCustomerCnParam, GetAffiliateParam, GetCnConfigParam, GetCustomerCreditBalanceParam, GetDataParam, GetPdfUrlViewParam, GetReasonParam, GetReportListParam, GetReportingFiltersParam, InvoiceListingParam, InvoicePDFParam, InvoiceTypeParam, IsCnRefundMethodParam, IsCreditlinePlatformParam, PaymentProcessParam };
|
|
170
|
+
export { ChannelDisplayNameParam, CreateSellerCreditNoteConfigParam, CreditNoteDetailsParam, CreditlineDataplatformParam, DeleteConfigParam, DownloadCreditDebitNoteParam, DownloadReportParam, DownloadReportCustomerCnParam, GenerateReportParam, GenerateReportCustomerCnParam, GetAffiliateParam, GetCnConfigParam, GetCustomerCreditBalanceParam, GetDataParam, GetPdfUrlViewParam, GetReasonParam, GetReportListParam, GetReportingFiltersParam, InvoiceActivityLogsParam, InvoiceListingParam, InvoicePDFParam, InvoicePaymentDetailsParam, InvoiceTypeParam, IsCnRefundMethodParam, IsCreditlinePlatformParam, PaymentProcessParam, UnlockCreditNoteParam };
|
|
151
171
|
}
|
|
152
172
|
type ChannelDisplayNameParam = {
|
|
153
173
|
/**
|
|
@@ -213,12 +233,26 @@ type GetReportingFiltersParam = {
|
|
|
213
233
|
*/
|
|
214
234
|
affiliateId?: string;
|
|
215
235
|
};
|
|
236
|
+
type InvoiceActivityLogsParam = {
|
|
237
|
+
/**
|
|
238
|
+
* - Invoice Number for which the data will be
|
|
239
|
+
* returned. Invoice_number is required.
|
|
240
|
+
*/
|
|
241
|
+
invoiceNumber: string;
|
|
242
|
+
};
|
|
216
243
|
type InvoiceListingParam = {
|
|
217
244
|
body: FinancePlatformModel.InvoiceListingRequest;
|
|
218
245
|
};
|
|
219
246
|
type InvoicePDFParam = {
|
|
220
247
|
body: FinancePlatformModel.InvoicePdfRequest;
|
|
221
248
|
};
|
|
249
|
+
type InvoicePaymentDetailsParam = {
|
|
250
|
+
/**
|
|
251
|
+
* - Invoice Number for which the data will be
|
|
252
|
+
* returned.Invoice_Number is required.
|
|
253
|
+
*/
|
|
254
|
+
invoiceNumber: string;
|
|
255
|
+
};
|
|
222
256
|
type InvoiceTypeParam = {
|
|
223
257
|
body: FinancePlatformModel.InvoiceTypeRequest;
|
|
224
258
|
};
|
|
@@ -231,4 +265,7 @@ type IsCreditlinePlatformParam = {
|
|
|
231
265
|
type PaymentProcessParam = {
|
|
232
266
|
body: FinancePlatformModel.PaymentProcessRequest;
|
|
233
267
|
};
|
|
268
|
+
type UnlockCreditNoteParam = {
|
|
269
|
+
body: FinancePlatformModel.UnlockCreditNoteRequest;
|
|
270
|
+
};
|
|
234
271
|
import FinancePlatformModel = require("./FinancePlatformModel");
|
|
@@ -93,6 +93,12 @@ const FinancePlatformModel = require("./FinancePlatformModel");
|
|
|
93
93
|
* @property {string} [affiliateId] - Affiliate id.
|
|
94
94
|
*/
|
|
95
95
|
|
|
96
|
+
/**
|
|
97
|
+
* @typedef InvoiceActivityLogsParam
|
|
98
|
+
* @property {string} invoiceNumber - Invoice Number for which the data will be
|
|
99
|
+
* returned. Invoice_number is required.
|
|
100
|
+
*/
|
|
101
|
+
|
|
96
102
|
/**
|
|
97
103
|
* @typedef InvoiceListingParam
|
|
98
104
|
* @property {FinancePlatformModel.InvoiceListingRequest} body
|
|
@@ -103,6 +109,12 @@ const FinancePlatformModel = require("./FinancePlatformModel");
|
|
|
103
109
|
* @property {FinancePlatformModel.InvoicePdfRequest} body
|
|
104
110
|
*/
|
|
105
111
|
|
|
112
|
+
/**
|
|
113
|
+
* @typedef InvoicePaymentDetailsParam
|
|
114
|
+
* @property {string} invoiceNumber - Invoice Number for which the data will be
|
|
115
|
+
* returned.Invoice_Number is required.
|
|
116
|
+
*/
|
|
117
|
+
|
|
106
118
|
/**
|
|
107
119
|
* @typedef InvoiceTypeParam
|
|
108
120
|
* @property {FinancePlatformModel.InvoiceTypeRequest} body
|
|
@@ -123,6 +135,11 @@ const FinancePlatformModel = require("./FinancePlatformModel");
|
|
|
123
135
|
* @property {FinancePlatformModel.PaymentProcessRequest} body
|
|
124
136
|
*/
|
|
125
137
|
|
|
138
|
+
/**
|
|
139
|
+
* @typedef UnlockCreditNoteParam
|
|
140
|
+
* @property {FinancePlatformModel.UnlockCreditNoteRequest} body
|
|
141
|
+
*/
|
|
142
|
+
|
|
126
143
|
class FinancePlatformValidator {
|
|
127
144
|
/** @returns {ChannelDisplayNameParam} */
|
|
128
145
|
static channelDisplayName() {
|
|
@@ -251,6 +268,13 @@ class FinancePlatformValidator {
|
|
|
251
268
|
}).required();
|
|
252
269
|
}
|
|
253
270
|
|
|
271
|
+
/** @returns {InvoiceActivityLogsParam} */
|
|
272
|
+
static invoiceActivityLogs() {
|
|
273
|
+
return Joi.object({
|
|
274
|
+
invoiceNumber: Joi.string().allow("").required(),
|
|
275
|
+
}).required();
|
|
276
|
+
}
|
|
277
|
+
|
|
254
278
|
/** @returns {InvoiceListingParam} */
|
|
255
279
|
static invoiceListing() {
|
|
256
280
|
return Joi.object({
|
|
@@ -265,6 +289,13 @@ class FinancePlatformValidator {
|
|
|
265
289
|
}).required();
|
|
266
290
|
}
|
|
267
291
|
|
|
292
|
+
/** @returns {InvoicePaymentDetailsParam} */
|
|
293
|
+
static invoicePaymentDetails() {
|
|
294
|
+
return Joi.object({
|
|
295
|
+
invoiceNumber: Joi.string().allow("").required(),
|
|
296
|
+
}).required();
|
|
297
|
+
}
|
|
298
|
+
|
|
268
299
|
/** @returns {InvoiceTypeParam} */
|
|
269
300
|
static invoiceType() {
|
|
270
301
|
return Joi.object({
|
|
@@ -292,6 +323,13 @@ class FinancePlatformValidator {
|
|
|
292
323
|
body: FinancePlatformModel.PaymentProcessRequest().required(),
|
|
293
324
|
}).required();
|
|
294
325
|
}
|
|
326
|
+
|
|
327
|
+
/** @returns {UnlockCreditNoteParam} */
|
|
328
|
+
static unlockCreditNote() {
|
|
329
|
+
return Joi.object({
|
|
330
|
+
body: FinancePlatformModel.UnlockCreditNoteRequest().required(),
|
|
331
|
+
}).required();
|
|
332
|
+
}
|
|
295
333
|
}
|
|
296
334
|
|
|
297
335
|
module.exports = FinancePlatformValidator;
|
|
@@ -24,15 +24,25 @@ declare class Lead {
|
|
|
24
24
|
*/
|
|
25
25
|
createCustomForm({ body, requestHeaders }?: LeadPlatformApplicationValidator.CreateCustomFormParam, { responseHeaders }?: object): Promise<LeadPlatformModel.CustomForm>;
|
|
26
26
|
/**
|
|
27
|
-
* @param {LeadPlatformApplicationValidator.
|
|
27
|
+
* @param {LeadPlatformApplicationValidator.CreateNewHistoryParam} arg - Arg object
|
|
28
28
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
29
29
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
30
30
|
* @returns {Promise<LeadPlatformModel.TicketHistory>} - Success response
|
|
31
|
-
* @name
|
|
31
|
+
* @name createNewHistory
|
|
32
32
|
* @summary: Create history for specific application level ticket
|
|
33
|
-
* @description: Create history for specific application level ticket, this history is seen on ticket detail page, this can be comment, log or rating. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/
|
|
33
|
+
* @description: Create history for specific application level ticket, this history is seen on ticket detail page, this can be comment, log or rating. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/createNewHistory/).
|
|
34
34
|
*/
|
|
35
|
-
|
|
35
|
+
createNewHistory({ id, body, requestHeaders }?: LeadPlatformApplicationValidator.CreateNewHistoryParam, { responseHeaders }?: object): Promise<LeadPlatformModel.TicketHistory>;
|
|
36
|
+
/**
|
|
37
|
+
* @param {LeadPlatformApplicationValidator.DeleteCustomFormParam} arg - Arg object
|
|
38
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
39
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
40
|
+
* @returns {Promise<LeadPlatformModel.CustomForm>} - Success response
|
|
41
|
+
* @name deleteCustomForm
|
|
42
|
+
* @summary: Delete a custom form
|
|
43
|
+
* @description: Delete a custom form using it's slug - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/deleteCustomForm/).
|
|
44
|
+
*/
|
|
45
|
+
deleteCustomForm({ slug, requestHeaders }?: LeadPlatformApplicationValidator.DeleteCustomFormParam, { responseHeaders }?: object): Promise<LeadPlatformModel.CustomForm>;
|
|
36
46
|
/**
|
|
37
47
|
* @param {LeadPlatformApplicationValidator.EditCustomFormParam} arg - Arg object
|
|
38
48
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -44,15 +54,15 @@ declare class Lead {
|
|
|
44
54
|
*/
|
|
45
55
|
editCustomForm({ slug, body, requestHeaders }?: LeadPlatformApplicationValidator.EditCustomFormParam, { responseHeaders }?: object): Promise<LeadPlatformModel.CustomForm>;
|
|
46
56
|
/**
|
|
47
|
-
* @param {LeadPlatformApplicationValidator.
|
|
57
|
+
* @param {LeadPlatformApplicationValidator.EditNewTicketParam} arg - Arg object
|
|
48
58
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
49
59
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
50
60
|
* @returns {Promise<LeadPlatformModel.Ticket>} - Success response
|
|
51
|
-
* @name
|
|
61
|
+
* @name editNewTicket
|
|
52
62
|
* @summary: Edits ticket details of a application level ticket
|
|
53
|
-
* @description: Edits ticket details of a application level ticket such as status, priority, category, tags, attachments, assigne & ticket content changes - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/
|
|
63
|
+
* @description: Edits ticket details of a application level ticket such as status, priority, category, tags, attachments, assigne & ticket content changes - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/editNewTicket/).
|
|
54
64
|
*/
|
|
55
|
-
|
|
65
|
+
editNewTicket({ id, body, requestHeaders }?: LeadPlatformApplicationValidator.EditNewTicketParam, { responseHeaders }?: object): Promise<LeadPlatformModel.Ticket>;
|
|
56
66
|
/**
|
|
57
67
|
* @param {LeadPlatformApplicationValidator.GetCustomFormParam} arg - Arg object
|
|
58
68
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -74,50 +84,50 @@ declare class Lead {
|
|
|
74
84
|
*/
|
|
75
85
|
getCustomForms({ requestHeaders }?: any, { responseHeaders }?: object): Promise<LeadPlatformModel.CustomFormList>;
|
|
76
86
|
/**
|
|
77
|
-
* @param {LeadPlatformApplicationValidator.
|
|
87
|
+
* @param {LeadPlatformApplicationValidator.GetNewTicketParam} arg - Arg object
|
|
78
88
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
79
89
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
80
90
|
* @returns {Promise<LeadPlatformModel.Ticket>} - Success response
|
|
81
|
-
* @name
|
|
91
|
+
* @name getNewTicket
|
|
82
92
|
* @summary: Retreives ticket details of a application level ticket
|
|
83
|
-
* @description: Retreives ticket details of a application level ticket with ticket ID - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/
|
|
93
|
+
* @description: Retreives ticket details of a application level ticket with ticket ID - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getNewTicket/).
|
|
84
94
|
*/
|
|
85
|
-
|
|
95
|
+
getNewTicket({ id, requestHeaders }?: LeadPlatformApplicationValidator.GetNewTicketParam, { responseHeaders }?: object): Promise<LeadPlatformModel.Ticket>;
|
|
86
96
|
/**
|
|
87
|
-
* @param {LeadPlatformApplicationValidator.
|
|
97
|
+
* @param {LeadPlatformApplicationValidator.GetNewTicketHistoryParam} arg - Arg object
|
|
88
98
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
89
99
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
90
100
|
* @returns {Promise<LeadPlatformModel.TicketHistoryList>} - Success response
|
|
91
|
-
* @name
|
|
101
|
+
* @name getNewTicketHistory
|
|
92
102
|
* @summary: Gets history list for specific application level ticket
|
|
93
|
-
* @description: Gets history list for specific application level ticket, this history is seen on ticket detail page, this can be comment, log or rating. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/
|
|
103
|
+
* @description: Gets history list for specific application level ticket, this history is seen on ticket detail page, this can be comment, log or rating. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getNewTicketHistory/).
|
|
94
104
|
*/
|
|
95
|
-
|
|
105
|
+
getNewTicketHistory({ id, requestHeaders }?: LeadPlatformApplicationValidator.GetNewTicketHistoryParam, { responseHeaders }?: object): Promise<LeadPlatformModel.TicketHistoryList>;
|
|
96
106
|
/**
|
|
97
|
-
* @param {LeadPlatformApplicationValidator.
|
|
107
|
+
* @param {LeadPlatformApplicationValidator.GetNewTicketsParam} arg - Arg object
|
|
98
108
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
99
109
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
100
110
|
* @returns {Promise<LeadPlatformModel.TicketList>} - Success response
|
|
101
|
-
* @name
|
|
111
|
+
* @name getNewTickets
|
|
102
112
|
* @summary: Gets the list of Application level Tickets and/or ticket filters depending on query params
|
|
103
|
-
* @description: Gets the list of Application level Tickets and/or ticket filters - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/
|
|
113
|
+
* @description: Gets the list of Application level Tickets and/or ticket filters - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getNewTickets/).
|
|
104
114
|
*/
|
|
105
|
-
|
|
115
|
+
getNewTickets({ items, filters, q, status, priority, category, requestHeaders }?: LeadPlatformApplicationValidator.GetNewTicketsParam, { responseHeaders }?: object): Promise<LeadPlatformModel.TicketList>;
|
|
106
116
|
/**
|
|
107
|
-
* @param {LeadPlatformApplicationValidator.
|
|
117
|
+
* @param {LeadPlatformApplicationValidator.GetNewTokenForVideoRoomParam} arg
|
|
108
118
|
* - Arg object
|
|
109
119
|
*
|
|
110
120
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
111
121
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
112
122
|
* @returns {Promise<LeadPlatformModel.GetTokenForVideoRoomResponse>} -
|
|
113
123
|
* Success response
|
|
114
|
-
* @name
|
|
124
|
+
* @name getNewTokenForVideoRoom
|
|
115
125
|
* @summary: Get Token to join a specific Video Room using it's unqiue name
|
|
116
|
-
* @description: Get Token to join a specific Video Room using it's unqiue name, this Token is your ticket to Room and also creates your identity there. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/
|
|
126
|
+
* @description: Get Token to join a specific Video Room using it's unqiue name, this Token is your ticket to Room and also creates your identity there. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getNewTokenForVideoRoom/).
|
|
117
127
|
*/
|
|
118
|
-
|
|
128
|
+
getNewTokenForVideoRoom({ uniqueName, requestHeaders }?: LeadPlatformApplicationValidator.GetNewTokenForVideoRoomParam, { responseHeaders }?: object): Promise<LeadPlatformModel.GetTokenForVideoRoomResponse>;
|
|
119
129
|
/**
|
|
120
|
-
* @param {LeadPlatformApplicationValidator.
|
|
130
|
+
* @param {LeadPlatformApplicationValidator.GetNewVideoParticipantsParam} arg
|
|
121
131
|
* - Arg object
|
|
122
132
|
*
|
|
123
133
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -125,11 +135,11 @@ declare class Lead {
|
|
|
125
135
|
* @returns {Promise<LeadPlatformModel.GetParticipantsInsideVideoRoomResponse>}
|
|
126
136
|
* - Success response
|
|
127
137
|
*
|
|
128
|
-
* @name
|
|
138
|
+
* @name getNewVideoParticipants
|
|
129
139
|
* @summary: Get participants of a specific Video Room using it's unique name
|
|
130
|
-
* @description: Get participants of a specific Video Room using it's unique name, this can be used to check if people are already there in the room and also to show their names. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/
|
|
140
|
+
* @description: Get participants of a specific Video Room using it's unique name, this can be used to check if people are already there in the room and also to show their names. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getNewVideoParticipants/).
|
|
131
141
|
*/
|
|
132
|
-
|
|
142
|
+
getNewVideoParticipants({ uniqueName, requestHeaders }?: LeadPlatformApplicationValidator.GetNewVideoParticipantsParam, { responseHeaders }?: object): Promise<LeadPlatformModel.GetParticipantsInsideVideoRoomResponse>;
|
|
133
143
|
/**
|
|
134
144
|
* @param {LeadPlatformApplicationValidator.OpenVideoRoomParam} arg - Arg object
|
|
135
145
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|