@gofynd/fdk-client-javascript 1.4.15-beta.10 → 1.4.15-beta.12
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 +2 -2
- package/sdk/application/Cart/CartApplicationClient.d.ts +10 -0
- package/sdk/application/Cart/CartApplicationClient.js +40 -0
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +10 -0
- package/sdk/application/Catalog/CatalogApplicationClient.js +39 -0
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +1 -3
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +0 -3
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +0 -2
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +0 -2
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +51 -1
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +331 -1
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +47 -1
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +51 -0
- package/sdk/platform/Cart/CartPlatformModel.d.ts +251 -1
- package/sdk/platform/Cart/CartPlatformModel.js +208 -0
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +1 -3
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +0 -3
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +1 -3
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +0 -3
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +1 -16
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +0 -20
|
@@ -43,7 +43,6 @@ export = FileStoragePlatformModel;
|
|
|
43
43
|
* @property {number} size
|
|
44
44
|
* @property {string[]} [tags]
|
|
45
45
|
* @property {Object} [params]
|
|
46
|
-
* @property {string} [enc_key]
|
|
47
46
|
*/
|
|
48
47
|
/**
|
|
49
48
|
* @typedef CreatedBy
|
|
@@ -86,16 +85,10 @@ export = FileStoragePlatformModel;
|
|
|
86
85
|
* @typedef SignUrlResponse
|
|
87
86
|
* @property {Urls[]} urls
|
|
88
87
|
*/
|
|
89
|
-
/**
|
|
90
|
-
* @typedef EncryptionMapping
|
|
91
|
-
* @property {string} [enc_url]
|
|
92
|
-
* @property {string} [value]
|
|
93
|
-
*/
|
|
94
88
|
/**
|
|
95
89
|
* @typedef SignUrlRequest
|
|
96
90
|
* @property {number} expiry
|
|
97
91
|
* @property {string[]} urls
|
|
98
|
-
* @property {EncryptionMapping[]} [enc_url_mapping]
|
|
99
92
|
*/
|
|
100
93
|
/**
|
|
101
94
|
* @typedef InvoiceTypesDataResponse
|
|
@@ -577,7 +570,7 @@ export = FileStoragePlatformModel;
|
|
|
577
570
|
declare class FileStoragePlatformModel {
|
|
578
571
|
}
|
|
579
572
|
declare namespace FileStoragePlatformModel {
|
|
580
|
-
export { ProxyResponse, FailedResponse, CDN, Upload, StartResponse, Params, StartRequest, CreatedBy, CompleteResponse, DestinationNamespace, CopyFiles, Urls, SignUrlResponse,
|
|
573
|
+
export { ProxyResponse, FailedResponse, CDN, Upload, StartResponse, Params, StartRequest, CreatedBy, CompleteResponse, DestinationNamespace, CopyFiles, Urls, SignUrlResponse, SignUrlRequest, InvoiceTypesDataResponse, InvoiceTypesResponse, ConversionRate, DeliveryPartnerDetail, Image, PaymentData, InvoiceDetail, CompanyDetail, StoreDetail, CustomerBillingDetail, CustomerShippingDetail, ReturnDetail, Brand, Cgst, Sgst, Igst, Tax, ItemsProductTable, ProductTable, Taxes, TaxTable, RegisteredCompanyDetail, Kwargs, ShipmentIdBarcodeGenerator, SignedQrcodeGenerator, KwargsUpiQrcode, UpiQrcodeGenerator, DigitalsignatureGenerator, KwargsAwbNumber, AwbNumberLabelBarcodeGenerator, AwbNumberBarcodeGenerator, MetaProperty, Meta, DummyTemplateDataPayload, DummyTemplateData, DummyTemplateDataItems, PdfConfig, PdfConfigSuccessData, PdfConfigSuccess, PdfConfigSaveSuccessData, PdfConfigSaveSuccess, PdfDefaultTemplateSuccess, Document, PaymentReceiptRequestBody, PaymentReceiptOrderDetails, PaymentReceiptCustomerDetails, PaymentReceiptPayments, PaymentReceiptFormat, PaymentReceiptService, PaymentReceiptTaxes, PaymentReceiptPayload, PaymentReceiptMeta, ExtensionSlug };
|
|
581
574
|
}
|
|
582
575
|
/** @returns {ProxyResponse} */
|
|
583
576
|
declare function ProxyResponse(): ProxyResponse;
|
|
@@ -633,7 +626,6 @@ type StartRequest = {
|
|
|
633
626
|
size: number;
|
|
634
627
|
tags?: string[];
|
|
635
628
|
params?: any;
|
|
636
|
-
enc_key?: string;
|
|
637
629
|
};
|
|
638
630
|
/** @returns {CreatedBy} */
|
|
639
631
|
declare function CreatedBy(): CreatedBy;
|
|
@@ -682,18 +674,11 @@ declare function SignUrlResponse(): SignUrlResponse;
|
|
|
682
674
|
type SignUrlResponse = {
|
|
683
675
|
urls: Urls[];
|
|
684
676
|
};
|
|
685
|
-
/** @returns {EncryptionMapping} */
|
|
686
|
-
declare function EncryptionMapping(): EncryptionMapping;
|
|
687
|
-
type EncryptionMapping = {
|
|
688
|
-
enc_url?: string;
|
|
689
|
-
value?: string;
|
|
690
|
-
};
|
|
691
677
|
/** @returns {SignUrlRequest} */
|
|
692
678
|
declare function SignUrlRequest(): SignUrlRequest;
|
|
693
679
|
type SignUrlRequest = {
|
|
694
680
|
expiry: number;
|
|
695
681
|
urls: string[];
|
|
696
|
-
enc_url_mapping?: EncryptionMapping[];
|
|
697
682
|
};
|
|
698
683
|
/** @returns {InvoiceTypesDataResponse} */
|
|
699
684
|
declare function InvoiceTypesDataResponse(): InvoiceTypesDataResponse;
|
|
@@ -50,7 +50,6 @@ const Joi = require("joi");
|
|
|
50
50
|
* @property {number} size
|
|
51
51
|
* @property {string[]} [tags]
|
|
52
52
|
* @property {Object} [params]
|
|
53
|
-
* @property {string} [enc_key]
|
|
54
53
|
*/
|
|
55
54
|
|
|
56
55
|
/**
|
|
@@ -100,17 +99,10 @@ const Joi = require("joi");
|
|
|
100
99
|
* @property {Urls[]} urls
|
|
101
100
|
*/
|
|
102
101
|
|
|
103
|
-
/**
|
|
104
|
-
* @typedef EncryptionMapping
|
|
105
|
-
* @property {string} [enc_url]
|
|
106
|
-
* @property {string} [value]
|
|
107
|
-
*/
|
|
108
|
-
|
|
109
102
|
/**
|
|
110
103
|
* @typedef SignUrlRequest
|
|
111
104
|
* @property {number} expiry
|
|
112
105
|
* @property {string[]} urls
|
|
113
|
-
* @property {EncryptionMapping[]} [enc_url_mapping]
|
|
114
106
|
*/
|
|
115
107
|
|
|
116
108
|
/**
|
|
@@ -707,7 +699,6 @@ class FileStoragePlatformModel {
|
|
|
707
699
|
size: Joi.number().required(),
|
|
708
700
|
tags: Joi.array().items(Joi.string().allow("")),
|
|
709
701
|
params: Joi.object().pattern(/\S/, Joi.any()),
|
|
710
|
-
enc_key: Joi.string().allow(""),
|
|
711
702
|
});
|
|
712
703
|
}
|
|
713
704
|
|
|
@@ -770,22 +761,11 @@ class FileStoragePlatformModel {
|
|
|
770
761
|
});
|
|
771
762
|
}
|
|
772
763
|
|
|
773
|
-
/** @returns {EncryptionMapping} */
|
|
774
|
-
static EncryptionMapping() {
|
|
775
|
-
return Joi.object({
|
|
776
|
-
enc_url: Joi.string().allow(""),
|
|
777
|
-
value: Joi.string().allow(""),
|
|
778
|
-
});
|
|
779
|
-
}
|
|
780
|
-
|
|
781
764
|
/** @returns {SignUrlRequest} */
|
|
782
765
|
static SignUrlRequest() {
|
|
783
766
|
return Joi.object({
|
|
784
767
|
expiry: Joi.number().required(),
|
|
785
768
|
urls: Joi.array().items(Joi.string().allow("")).required(),
|
|
786
|
-
enc_url_mapping: Joi.array().items(
|
|
787
|
-
FileStoragePlatformModel.EncryptionMapping()
|
|
788
|
-
),
|
|
789
769
|
});
|
|
790
770
|
}
|
|
791
771
|
|