@gofynd/fdk-client-javascript 1.4.2-beta.2 → 1.4.2-beta.4
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/CartApplicationModel.d.ts +1742 -1726
- package/sdk/application/Cart/CartApplicationModel.js +1497 -1481
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +1917 -1917
- package/sdk/application/Catalog/CatalogApplicationModel.js +1611 -1611
- package/sdk/application/Common/CommonApplicationModel.d.ts +235 -235
- package/sdk/application/Common/CommonApplicationModel.js +172 -172
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +72 -72
- package/sdk/application/Communication/CommunicationApplicationModel.js +64 -64
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +1614 -1614
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +1151 -1151
- package/sdk/application/Content/ContentApplicationModel.d.ts +797 -797
- package/sdk/application/Content/ContentApplicationModel.js +757 -757
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +79 -79
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +84 -84
- package/sdk/application/Lead/LeadApplicationModel.d.ts +417 -417
- package/sdk/application/Lead/LeadApplicationModel.js +301 -301
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +666 -666
- package/sdk/application/Logistic/LogisticApplicationModel.js +601 -601
- package/sdk/application/Order/OrderApplicationModel.d.ts +852 -846
- package/sdk/application/Order/OrderApplicationModel.js +828 -822
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +5 -5
- package/sdk/application/Payment/PaymentApplicationClient.js +10 -10
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +2176 -2145
- package/sdk/application/Payment/PaymentApplicationModel.js +1474 -1453
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +5 -5
- package/sdk/application/Payment/PaymentApplicationValidator.js +3 -3
- package/sdk/application/PosCart/PosCartApplicationModel.d.ts +1462 -1462
- package/sdk/application/PosCart/PosCartApplicationModel.js +1260 -1260
- package/sdk/application/Rewards/RewardsApplicationModel.d.ts +214 -214
- package/sdk/application/Rewards/RewardsApplicationModel.js +211 -211
- package/sdk/application/Share/ShareApplicationModel.d.ts +114 -114
- package/sdk/application/Share/ShareApplicationModel.js +121 -121
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +895 -895
- package/sdk/application/Theme/ThemeApplicationModel.js +684 -684
- package/sdk/application/User/UserApplicationClient.d.ts +2 -2
- package/sdk/application/User/UserApplicationClient.js +4 -7
- package/sdk/application/User/UserApplicationModel.d.ts +769 -764
- package/sdk/application/User/UserApplicationModel.js +731 -741
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +63 -63
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +65 -65
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +661 -661
- package/sdk/partner/Lead/LeadPartnerModel.js +491 -491
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +223 -223
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +235 -235
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +1087 -1087
- package/sdk/partner/Theme/ThemePartnerModel.js +819 -819
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +386 -386
- package/sdk/partner/Webhook/WebhookPartnerModel.js +342 -342
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +123 -123
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +109 -109
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +801 -801
- package/sdk/platform/Billing/BillingPlatformModel.js +783 -783
- package/sdk/platform/Cart/CartPlatformModel.d.ts +3333 -3317
- package/sdk/platform/Cart/CartPlatformModel.js +2936 -2920
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +26 -0
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +182 -0
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +70 -1
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +44 -0
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +1013 -980
- package/sdk/platform/Catalog/CatalogPlatformModel.js +977 -933
- package/sdk/platform/Common/CommonPlatformModel.d.ts +255 -255
- package/sdk/platform/Common/CommonPlatformModel.js +187 -187
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +1238 -1238
- package/sdk/platform/Communication/CommunicationPlatformModel.js +1273 -1273
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +661 -661
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +692 -692
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +3198 -3198
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +2247 -2247
- package/sdk/platform/Content/ContentPlatformModel.d.ts +1842 -1825
- package/sdk/platform/Content/ContentPlatformModel.js +1868 -1848
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +245 -245
- package/sdk/platform/Discount/DiscountPlatformModel.js +248 -248
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +1 -1
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +4 -1
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +2 -0
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +2 -0
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +2 -2
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +7 -4
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +882 -869
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +894 -878
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +1044 -1044
- package/sdk/platform/Finance/FinancePlatformModel.js +974 -974
- package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +942 -942
- package/sdk/platform/Inventory/InventoryPlatformModel.js +1003 -1003
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +608 -608
- package/sdk/platform/Lead/LeadPlatformModel.js +465 -465
- package/sdk/platform/Order/OrderPlatformModel.d.ts +5192 -5176
- package/sdk/platform/Order/OrderPlatformModel.js +4752 -4736
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +22 -22
- package/sdk/platform/Partner/PartnerPlatformModel.js +22 -22
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +2693 -2657
- package/sdk/platform/Payment/PaymentPlatformModel.js +1842 -1819
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +204 -204
- package/sdk/platform/Rewards/RewardsPlatformModel.js +199 -199
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +7 -6
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +11 -10
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +1674 -1539
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +1663 -1534
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +4 -4
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +4 -4
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +1 -1
- package/sdk/platform/Share/SharePlatformApplicationClient.js +19 -6
- package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +13 -3
- package/sdk/platform/Share/SharePlatformApplicationValidator.js +6 -2
- package/sdk/platform/Share/SharePlatformModel.d.ts +147 -147
- package/sdk/platform/Share/SharePlatformModel.js +139 -139
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +1046 -1046
- package/sdk/platform/Theme/ThemePlatformModel.js +789 -789
- package/sdk/platform/User/UserPlatformModel.d.ts +823 -753
- package/sdk/platform/User/UserPlatformModel.js +731 -661
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +439 -439
- package/sdk/platform/Webhook/WebhookPlatformModel.js +364 -364
- package/sdk/public/Billing/BillingPublicModel.d.ts +55 -55
- package/sdk/public/Billing/BillingPublicModel.js +51 -51
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +237 -237
- package/sdk/public/Configuration/ConfigurationPublicModel.js +174 -174
- package/sdk/public/Content/ContentPublicModel.d.ts +26 -26
- package/sdk/public/Content/ContentPublicModel.js +28 -28
- package/sdk/public/Inventory/InventoryPublicModel.d.ts +237 -237
- package/sdk/public/Inventory/InventoryPublicModel.js +257 -257
- package/sdk/public/Partner/PartnerPublicModel.d.ts +104 -104
- package/sdk/public/Partner/PartnerPublicModel.js +113 -113
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +87 -87
- package/sdk/public/Webhook/WebhookPublicModel.js +93 -93
|
@@ -1,71 +1,107 @@
|
|
|
1
1
|
export = FileStoragePlatformModel;
|
|
2
2
|
/**
|
|
3
|
-
* @typedef
|
|
4
|
-
* @property {
|
|
5
|
-
* @property {string} [method]
|
|
6
|
-
*/
|
|
7
|
-
/**
|
|
8
|
-
* @typedef AwbNumberLabelBarcodeGenerator
|
|
9
|
-
* @property {KwargsAwbNumber} [kwargs]
|
|
10
|
-
* @property {string} [method]
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
* @typedef Brand
|
|
14
|
-
* @property {string} [logo]
|
|
15
|
-
* @property {string} [name]
|
|
3
|
+
* @typedef FailedResponse
|
|
4
|
+
* @property {string} message
|
|
16
5
|
*/
|
|
17
6
|
/**
|
|
18
7
|
* @typedef CDN
|
|
8
|
+
* @property {string} url
|
|
19
9
|
* @property {string} absolute_url
|
|
20
10
|
* @property {string} relative_url
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* @typedef Upload
|
|
14
|
+
* @property {number} expiry
|
|
21
15
|
* @property {string} url
|
|
22
16
|
*/
|
|
23
17
|
/**
|
|
24
|
-
* @typedef
|
|
25
|
-
* @property {
|
|
26
|
-
* @property {
|
|
18
|
+
* @typedef StartResponse
|
|
19
|
+
* @property {string} file_name
|
|
20
|
+
* @property {string} file_path
|
|
21
|
+
* @property {string} content_type
|
|
22
|
+
* @property {string} [method]
|
|
23
|
+
* @property {string} namespace
|
|
24
|
+
* @property {string} operation
|
|
25
|
+
* @property {number} size
|
|
26
|
+
* @property {Upload} upload
|
|
27
|
+
* @property {CDN} cdn
|
|
28
|
+
* @property {string[]} [tags]
|
|
27
29
|
*/
|
|
28
30
|
/**
|
|
29
|
-
* @typedef
|
|
30
|
-
* @property {string}
|
|
31
|
-
* @property {
|
|
32
|
-
* @property {
|
|
33
|
-
* @property {string} [
|
|
34
|
-
* @property {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
* @
|
|
38
|
-
* @property {string} [
|
|
39
|
-
* @property {string} [gstin]
|
|
40
|
-
* @property {string} [name]
|
|
41
|
-
* @property {string} [pan]
|
|
42
|
-
* @property {Object} [phone]
|
|
43
|
-
* @property {string} [phone_no]
|
|
44
|
-
* @property {string} [sector]
|
|
45
|
-
* @property {string} [state]
|
|
46
|
-
* @property {string} [state_code]
|
|
47
|
-
* @property {string} [trn]
|
|
48
|
-
* @property {string} [vat]
|
|
49
|
-
* @property {string} [website_url]
|
|
50
|
-
* @property {number} [zip_code]
|
|
31
|
+
* @typedef StartRequest
|
|
32
|
+
* @property {string} file_name
|
|
33
|
+
* @property {string} content_type
|
|
34
|
+
* @property {number} size
|
|
35
|
+
* @property {string[]} [tags]
|
|
36
|
+
* @property {Object} [params]
|
|
37
|
+
*/
|
|
38
|
+
/**
|
|
39
|
+
* @typedef CreatedBy
|
|
40
|
+
* @property {string} [username]
|
|
51
41
|
*/
|
|
52
42
|
/**
|
|
53
43
|
* @typedef CompleteResponse
|
|
54
44
|
* @property {string} _id
|
|
55
|
-
* @property {CDN} cdn
|
|
56
|
-
* @property {number} company_id
|
|
57
|
-
* @property {string} content_type
|
|
58
|
-
* @property {CreatedBy} [created_by]
|
|
59
|
-
* @property {string} created_on
|
|
60
45
|
* @property {string} file_name
|
|
61
46
|
* @property {string} file_path
|
|
62
|
-
* @property {string}
|
|
47
|
+
* @property {string} content_type
|
|
63
48
|
* @property {string} namespace
|
|
64
49
|
* @property {string} operation
|
|
50
|
+
* @property {number} company_id
|
|
65
51
|
* @property {number} size
|
|
52
|
+
* @property {Upload} upload
|
|
53
|
+
* @property {CDN} cdn
|
|
66
54
|
* @property {boolean} success
|
|
67
55
|
* @property {string[]} [tags]
|
|
68
|
-
* @property {
|
|
56
|
+
* @property {string} created_on
|
|
57
|
+
* @property {string} modified_on
|
|
58
|
+
* @property {CreatedBy} [created_by]
|
|
59
|
+
*/
|
|
60
|
+
/**
|
|
61
|
+
* @typedef ProxyResponse
|
|
62
|
+
* @property {Object} [data]
|
|
63
|
+
* @property {Object} [support]
|
|
64
|
+
*/
|
|
65
|
+
/**
|
|
66
|
+
* @typedef DestinationNamespace
|
|
67
|
+
* @property {string} [namespace]
|
|
68
|
+
*/
|
|
69
|
+
/**
|
|
70
|
+
* @typedef CopyFiles
|
|
71
|
+
* @property {string[]} [urls]
|
|
72
|
+
* @property {DestinationNamespace} destination
|
|
73
|
+
*/
|
|
74
|
+
/**
|
|
75
|
+
* @typedef Urls
|
|
76
|
+
* @property {string} url
|
|
77
|
+
* @property {string} signed_url
|
|
78
|
+
* @property {number} expiry
|
|
79
|
+
*/
|
|
80
|
+
/**
|
|
81
|
+
* @typedef SignUrlResponse
|
|
82
|
+
* @property {Urls[]} urls
|
|
83
|
+
*/
|
|
84
|
+
/**
|
|
85
|
+
* @typedef SignUrlRequest
|
|
86
|
+
* @property {number} expiry
|
|
87
|
+
* @property {string[]} urls
|
|
88
|
+
*/
|
|
89
|
+
/**
|
|
90
|
+
* @typedef InvoiceTypesDataResponse
|
|
91
|
+
* @property {boolean} [status]
|
|
92
|
+
* @property {string} _id
|
|
93
|
+
* @property {number} pdf_type_id
|
|
94
|
+
* @property {string} name
|
|
95
|
+
* @property {string[]} format
|
|
96
|
+
* @property {number} __v
|
|
97
|
+
* @property {boolean} visibility
|
|
98
|
+
* @property {boolean} store_os
|
|
99
|
+
* @property {string} country_code
|
|
100
|
+
*/
|
|
101
|
+
/**
|
|
102
|
+
* @typedef InvoiceTypesResponse
|
|
103
|
+
* @property {InvoiceTypesDataResponse[]} data
|
|
104
|
+
* @property {boolean} success
|
|
69
105
|
*/
|
|
70
106
|
/**
|
|
71
107
|
* @typedef ConversionRate
|
|
@@ -74,320 +110,347 @@ export = FileStoragePlatformModel;
|
|
|
74
110
|
* @property {number} [timestamp]
|
|
75
111
|
*/
|
|
76
112
|
/**
|
|
77
|
-
* @typedef
|
|
78
|
-
* @property {
|
|
79
|
-
* @property {string
|
|
113
|
+
* @typedef DeliveryPartnerDetail
|
|
114
|
+
* @property {string} [name]
|
|
115
|
+
* @property {string} [awb_number_barcode]
|
|
116
|
+
* @property {string} [awb_number]
|
|
117
|
+
* @property {string} [origin]
|
|
118
|
+
* @property {string} [destination]
|
|
119
|
+
* @property {string} [eway_bill_number]
|
|
80
120
|
*/
|
|
81
121
|
/**
|
|
82
|
-
* @typedef
|
|
83
|
-
* @property {string} [
|
|
122
|
+
* @typedef Image
|
|
123
|
+
* @property {string} [sales_channel_logo]
|
|
84
124
|
*/
|
|
85
125
|
/**
|
|
86
|
-
* @typedef
|
|
126
|
+
* @typedef PaymentData
|
|
127
|
+
* @property {string} [payment_type]
|
|
128
|
+
* @property {number} [amount]
|
|
129
|
+
* @property {string} [date]
|
|
130
|
+
* @property {string} [transaction_id]
|
|
131
|
+
* @property {string} [time]
|
|
132
|
+
* @property {string} [mode]
|
|
133
|
+
* @property {string} [name]
|
|
134
|
+
* @property {Object} [meta]
|
|
135
|
+
*/
|
|
136
|
+
/**
|
|
137
|
+
* @typedef InvoiceDetail
|
|
138
|
+
* @property {string} [invoice_id]
|
|
139
|
+
* @property {string} [invoice_date]
|
|
140
|
+
* @property {string} [irn]
|
|
141
|
+
* @property {string} [external_order_id]
|
|
142
|
+
* @property {string} [shipment_id]
|
|
143
|
+
* @property {string} [signed_qrcode]
|
|
144
|
+
* @property {string} [upi_qrcode]
|
|
145
|
+
* @property {string} [device_id]
|
|
146
|
+
* @property {string} [marketplace_invoice_id]
|
|
147
|
+
* @property {string} [marketplace_shipment_id]
|
|
148
|
+
* @property {string} [channel_order_id]
|
|
149
|
+
*/
|
|
150
|
+
/**
|
|
151
|
+
* @typedef CompanyDetail
|
|
152
|
+
* @property {string} [name]
|
|
87
153
|
* @property {string} [address]
|
|
88
154
|
* @property {string} [city]
|
|
155
|
+
* @property {string} [state]
|
|
89
156
|
* @property {string} [country]
|
|
157
|
+
* @property {number} [zip_code]
|
|
158
|
+
* @property {string} [state_code]
|
|
90
159
|
* @property {string} [country_code]
|
|
91
|
-
* @property {string} [display_address]
|
|
92
|
-
* @property {string} [email]
|
|
93
160
|
* @property {string} [gstin]
|
|
94
|
-
* @property {string} [
|
|
161
|
+
* @property {string} [pan]
|
|
95
162
|
* @property {string} [phone_no]
|
|
163
|
+
* @property {string} [cin]
|
|
164
|
+
* @property {string} [website_url]
|
|
165
|
+
* @property {string} [email]
|
|
166
|
+
* @property {string} [display_address]
|
|
96
167
|
* @property {string} [sector]
|
|
168
|
+
* @property {Object} [phone]
|
|
169
|
+
* @property {string} [trn]
|
|
170
|
+
* @property {string} [vat]
|
|
171
|
+
* @property {string} [business_country_timezone]
|
|
172
|
+
* @property {Object} [business_country_currency]
|
|
173
|
+
*/
|
|
174
|
+
/**
|
|
175
|
+
* @typedef StoreDetail
|
|
176
|
+
* @property {string} [store_name]
|
|
177
|
+
* @property {string} [address]
|
|
178
|
+
* @property {string} [city]
|
|
97
179
|
* @property {string} [state]
|
|
98
|
-
* @property {string} [
|
|
180
|
+
* @property {string} [country]
|
|
181
|
+
* @property {string} [country_code]
|
|
99
182
|
* @property {string} [zip_code]
|
|
183
|
+
* @property {string} [state_code]
|
|
184
|
+
* @property {string} [gstin]
|
|
185
|
+
* @property {string} [display_address]
|
|
186
|
+
* @property {string} [sector]
|
|
187
|
+
* @property {string} [store_id]
|
|
100
188
|
*/
|
|
101
189
|
/**
|
|
102
|
-
* @typedef
|
|
190
|
+
* @typedef CustomerBillingDetail
|
|
191
|
+
* @property {string} [name]
|
|
192
|
+
* @property {string} [phone_no]
|
|
103
193
|
* @property {string} [address]
|
|
104
194
|
* @property {string} [city]
|
|
195
|
+
* @property {string} [state]
|
|
105
196
|
* @property {string} [country]
|
|
106
197
|
* @property {string} [country_code]
|
|
107
|
-
* @property {string} [
|
|
198
|
+
* @property {string} [zip_code]
|
|
199
|
+
* @property {string} [state_code]
|
|
108
200
|
* @property {string} [gstin]
|
|
201
|
+
* @property {string} [display_address]
|
|
202
|
+
* @property {string} [sector]
|
|
203
|
+
* @property {string} [email]
|
|
204
|
+
*/
|
|
205
|
+
/**
|
|
206
|
+
* @typedef CustomerShippingDetail
|
|
109
207
|
* @property {string} [name]
|
|
110
208
|
* @property {string} [phone_no]
|
|
111
|
-
* @property {string} [
|
|
209
|
+
* @property {string} [address]
|
|
210
|
+
* @property {string} [city]
|
|
112
211
|
* @property {string} [state]
|
|
212
|
+
* @property {string} [country]
|
|
213
|
+
* @property {string} [country_code]
|
|
214
|
+
* @property {string} [zip_code]
|
|
113
215
|
* @property {string} [state_code]
|
|
216
|
+
* @property {string} [gstin]
|
|
217
|
+
* @property {string} [display_address]
|
|
218
|
+
* @property {string} [sector]
|
|
219
|
+
*/
|
|
220
|
+
/**
|
|
221
|
+
* @typedef ReturnDetail
|
|
222
|
+
* @property {string} [address]
|
|
223
|
+
* @property {string} [city]
|
|
224
|
+
* @property {string} [state]
|
|
225
|
+
* @property {string} [country]
|
|
226
|
+
* @property {string} [country_code]
|
|
114
227
|
* @property {string} [zip_code]
|
|
228
|
+
* @property {string} [state_code]
|
|
229
|
+
* @property {string} [gstin]
|
|
230
|
+
* @property {string} [display_address]
|
|
231
|
+
* @property {string} [sector]
|
|
115
232
|
*/
|
|
116
233
|
/**
|
|
117
|
-
* @typedef
|
|
118
|
-
* @property {string} [
|
|
119
|
-
* @property {string} [awb_number_barcode]
|
|
120
|
-
* @property {string} [destination]
|
|
121
|
-
* @property {string} [eway_bill_number]
|
|
234
|
+
* @typedef Brand
|
|
235
|
+
* @property {string} [logo]
|
|
122
236
|
* @property {string} [name]
|
|
123
|
-
* @property {string} [origin]
|
|
124
237
|
*/
|
|
125
238
|
/**
|
|
126
|
-
* @typedef
|
|
127
|
-
* @property {
|
|
239
|
+
* @typedef Cgst
|
|
240
|
+
* @property {number} [value]
|
|
241
|
+
* @property {number} [percent]
|
|
128
242
|
*/
|
|
129
243
|
/**
|
|
130
|
-
* @typedef
|
|
131
|
-
* @property {
|
|
132
|
-
* @property {
|
|
244
|
+
* @typedef Sgst
|
|
245
|
+
* @property {number} [value]
|
|
246
|
+
* @property {number} [percent]
|
|
133
247
|
*/
|
|
134
248
|
/**
|
|
135
|
-
* @typedef
|
|
136
|
-
* @property {number} [
|
|
137
|
-
* @property {
|
|
138
|
-
|
|
139
|
-
* @property {string} [format]
|
|
140
|
-
* @property {number} [pdf_type_id]
|
|
141
|
-
* @property {string} [template]
|
|
142
|
-
*/
|
|
249
|
+
* @typedef Igst
|
|
250
|
+
* @property {number} [value]
|
|
251
|
+
* @property {number} [percent]
|
|
252
|
+
*/
|
|
143
253
|
/**
|
|
144
|
-
* @typedef
|
|
145
|
-
* @property {
|
|
146
|
-
* @property {
|
|
147
|
-
* @property {
|
|
148
|
-
* @property {DummyTemplateDataPayload} payload
|
|
149
|
-
* @property {number} [pdf_type_id]
|
|
254
|
+
* @typedef Tax
|
|
255
|
+
* @property {Cgst} [cgst]
|
|
256
|
+
* @property {Sgst} [sgst]
|
|
257
|
+
* @property {Igst} [igst]
|
|
150
258
|
*/
|
|
151
259
|
/**
|
|
152
|
-
* @typedef
|
|
153
|
-
* @property {
|
|
154
|
-
* @property {
|
|
260
|
+
* @typedef ItemsProductTable
|
|
261
|
+
* @property {string} [name]
|
|
262
|
+
* @property {string} [seller_identifier]
|
|
263
|
+
* @property {number} [total]
|
|
264
|
+
* @property {Brand} [brand]
|
|
265
|
+
* @property {string} [hsn_code]
|
|
266
|
+
* @property {string} [item_code]
|
|
267
|
+
* @property {number} [total_units]
|
|
268
|
+
* @property {string} [size]
|
|
269
|
+
* @property {number} [mrp]
|
|
270
|
+
* @property {number} [discount]
|
|
271
|
+
* @property {number} [taxable_amount]
|
|
272
|
+
* @property {number} [total_taxable_amount]
|
|
273
|
+
* @property {Tax} [tax]
|
|
274
|
+
* @property {Object} [meta]
|
|
275
|
+
* @property {string} [country_of_origin]
|
|
155
276
|
*/
|
|
156
277
|
/**
|
|
157
|
-
* @typedef
|
|
158
|
-
* @property {number} [amount_paid]
|
|
159
|
-
* @property {number} [amount_to_be_collected]
|
|
160
|
-
* @property {string} [app_domain_name]
|
|
161
|
-
* @property {string} [awb_number_barcode]
|
|
162
|
-
* @property {Object} [b2b_buyer_details]
|
|
163
|
-
* @property {string} [brand_logo]
|
|
164
|
-
* @property {CompanyDetail} [company_detail]
|
|
165
|
-
* @property {ConversionRate} [conversion_rate]
|
|
166
|
-
* @property {string} [credit_note_id]
|
|
167
|
-
* @property {string} [currency_code]
|
|
168
|
-
* @property {string} [current_date]
|
|
169
|
-
* @property {CustomerBillingDetail} [customer_billing_detail]
|
|
170
|
-
* @property {CustomerShippingDetail} [customer_shipping_detail]
|
|
171
|
-
* @property {string[]} [declaration_texts]
|
|
172
|
-
* @property {DeliveryPartnerDetail} [delivery_partner_detail]
|
|
173
|
-
* @property {string} [digitalsignature]
|
|
174
|
-
* @property {string} [disclaimer]
|
|
175
|
-
* @property {Image} [image]
|
|
176
|
-
* @property {InvoiceDetail} [invoice_detail]
|
|
177
|
-
* @property {boolean} [is_export]
|
|
178
|
-
* @property {boolean} [is_export_shipment]
|
|
179
|
-
* @property {Object} [is_qwik]
|
|
180
|
-
* @property {boolean} [is_self_pickup]
|
|
181
|
-
* @property {boolean} [is_self_ship]
|
|
182
|
-
* @property {Meta} [meta]
|
|
183
|
-
* @property {string} [mode]
|
|
184
|
-
* @property {string} [order_type]
|
|
185
|
-
* @property {PaymentData[]} [payments]
|
|
186
|
-
* @property {string} [platform_name]
|
|
187
|
-
* @property {string} [po_number]
|
|
188
|
-
* @property {ProductTable} [product_table]
|
|
189
|
-
* @property {RegisteredCompanyDetail} [registered_company_detail]
|
|
190
|
-
* @property {ReturnDetail} [return_detail]
|
|
191
|
-
* @property {string} [shipment_id]
|
|
192
|
-
* @property {string} [shipment_id_barcode]
|
|
193
|
-
* @property {string} [signed_qrcode]
|
|
194
|
-
* @property {StoreDetail} [store_detail]
|
|
195
|
-
* @property {TaxTable} [tax_table]
|
|
278
|
+
* @typedef ProductTable
|
|
196
279
|
* @property {number} [total_items]
|
|
280
|
+
* @property {ItemsProductTable[]} [products]
|
|
281
|
+
* @property {number} [grand_total]
|
|
282
|
+
* @property {number} [delivery_charges]
|
|
283
|
+
* @property {string} [delivery_charge_text]
|
|
284
|
+
* @property {number} [cod_charges]
|
|
285
|
+
* @property {number} [fynd_discounts]
|
|
286
|
+
* @property {string} [total_in_words]
|
|
287
|
+
* @property {number} [gift_price]
|
|
288
|
+
* @property {number} [total_quantity]
|
|
289
|
+
* @property {number} [sub_total]
|
|
290
|
+
* @property {number} [discount]
|
|
291
|
+
* @property {number} [promotion]
|
|
292
|
+
* @property {number} [coupon]
|
|
293
|
+
* @property {number} [reward]
|
|
294
|
+
* @property {number} [round_off]
|
|
197
295
|
* @property {number} [total_value_of_goods]
|
|
198
|
-
* @property {string} [txn_id]
|
|
199
|
-
* @property {string} [uid]
|
|
200
|
-
* @property {string} [upi_qrcode]
|
|
201
|
-
* @property {string} [utr]
|
|
202
|
-
* @property {Object[]} [waybills]
|
|
203
296
|
*/
|
|
204
297
|
/**
|
|
205
|
-
* @typedef
|
|
206
|
-
* @property {string} [
|
|
298
|
+
* @typedef Taxes
|
|
299
|
+
* @property {string} [hsn_code]
|
|
300
|
+
* @property {Tax} [tax]
|
|
301
|
+
* @property {number} [total_tax_value]
|
|
207
302
|
*/
|
|
208
303
|
/**
|
|
209
|
-
* @typedef
|
|
210
|
-
* @property {
|
|
304
|
+
* @typedef TaxTable
|
|
305
|
+
* @property {Taxes[]} [taxes]
|
|
306
|
+
* @property {number} [total_tax]
|
|
307
|
+
* @property {string} [tax_in_words]
|
|
211
308
|
*/
|
|
212
309
|
/**
|
|
213
|
-
* @typedef
|
|
214
|
-
* @property {
|
|
215
|
-
* @property {
|
|
310
|
+
* @typedef RegisteredCompanyDetail
|
|
311
|
+
* @property {string} [address]
|
|
312
|
+
* @property {string} [city]
|
|
313
|
+
* @property {string} [state]
|
|
314
|
+
* @property {string} [country]
|
|
315
|
+
* @property {string} [country_code]
|
|
316
|
+
* @property {number} [zip_code]
|
|
317
|
+
* @property {string} [state_code]
|
|
318
|
+
* @property {string} [display_address]
|
|
319
|
+
* @property {string} [sector]
|
|
216
320
|
*/
|
|
217
321
|
/**
|
|
218
|
-
* @typedef
|
|
219
|
-
* @property {string} [
|
|
322
|
+
* @typedef Kwargs
|
|
323
|
+
* @property {string} [value]
|
|
220
324
|
*/
|
|
221
325
|
/**
|
|
222
|
-
* @typedef
|
|
223
|
-
* @property {string} [
|
|
224
|
-
* @property {
|
|
225
|
-
* @property {string} [external_order_id]
|
|
226
|
-
* @property {string} [invoice_date]
|
|
227
|
-
* @property {string} [invoice_id]
|
|
228
|
-
* @property {string} [irn]
|
|
229
|
-
* @property {string} [marketplace_invoice_id]
|
|
230
|
-
* @property {string} [marketplace_shipment_id]
|
|
231
|
-
* @property {string} [shipment_id]
|
|
232
|
-
* @property {string} [signed_qrcode]
|
|
233
|
-
* @property {string} [upi_qrcode]
|
|
326
|
+
* @typedef ShipmentIdBarcodeGenerator
|
|
327
|
+
* @property {string} [method]
|
|
328
|
+
* @property {Kwargs} [kwargs]
|
|
234
329
|
*/
|
|
235
330
|
/**
|
|
236
|
-
* @typedef
|
|
237
|
-
* @property {
|
|
238
|
-
* @property {
|
|
239
|
-
* @property {string} country_code
|
|
240
|
-
* @property {string[]} format
|
|
241
|
-
* @property {string} name
|
|
242
|
-
* @property {number} pdf_type_id
|
|
243
|
-
* @property {boolean} [status]
|
|
244
|
-
* @property {boolean} visibility
|
|
331
|
+
* @typedef SignedQrcodeGenerator
|
|
332
|
+
* @property {string} [method]
|
|
333
|
+
* @property {Kwargs} [kwargs]
|
|
245
334
|
*/
|
|
246
335
|
/**
|
|
247
|
-
* @typedef
|
|
248
|
-
* @property {
|
|
249
|
-
* @property {
|
|
336
|
+
* @typedef KwargsUpiQrcode
|
|
337
|
+
* @property {string} [qr_data]
|
|
338
|
+
* @property {string} [qr_url]
|
|
250
339
|
*/
|
|
251
340
|
/**
|
|
252
|
-
* @typedef
|
|
253
|
-
* @property {
|
|
254
|
-
* @property {
|
|
255
|
-
* @property {number} [discount]
|
|
256
|
-
* @property {string} [hsn_code]
|
|
257
|
-
* @property {string} [item_code]
|
|
258
|
-
* @property {Object} [meta]
|
|
259
|
-
* @property {number} [mrp]
|
|
260
|
-
* @property {string} [name]
|
|
261
|
-
* @property {string} [seller_identifier]
|
|
262
|
-
* @property {string} [size]
|
|
263
|
-
* @property {Tax} [tax]
|
|
264
|
-
* @property {number} [taxable_amount]
|
|
265
|
-
* @property {number} [total]
|
|
266
|
-
* @property {number} [total_taxable_amount]
|
|
267
|
-
* @property {number} [total_units]
|
|
341
|
+
* @typedef UpiQrcodeGenerator
|
|
342
|
+
* @property {string} [method]
|
|
343
|
+
* @property {KwargsUpiQrcode} [kwargs]
|
|
268
344
|
*/
|
|
269
345
|
/**
|
|
270
|
-
* @typedef
|
|
271
|
-
* @property {string} [
|
|
346
|
+
* @typedef DigitalsignatureGenerator
|
|
347
|
+
* @property {string} [method]
|
|
348
|
+
* @property {Kwargs} [kwargs]
|
|
272
349
|
*/
|
|
273
350
|
/**
|
|
274
351
|
* @typedef KwargsAwbNumber
|
|
275
352
|
* @property {Object[]} [value]
|
|
276
353
|
*/
|
|
277
354
|
/**
|
|
278
|
-
* @typedef
|
|
279
|
-
* @property {string} [
|
|
280
|
-
* @property {
|
|
355
|
+
* @typedef AwbNumberLabelBarcodeGenerator
|
|
356
|
+
* @property {string} [method]
|
|
357
|
+
* @property {KwargsAwbNumber} [kwargs]
|
|
281
358
|
*/
|
|
282
359
|
/**
|
|
283
|
-
* @typedef
|
|
284
|
-
* @property {
|
|
360
|
+
* @typedef AwbNumberBarcodeGenerator
|
|
361
|
+
* @property {string} [method]
|
|
362
|
+
* @property {Kwargs} [kwargs]
|
|
285
363
|
*/
|
|
286
364
|
/**
|
|
287
365
|
* @typedef MetaProperty
|
|
288
|
-
* @property {AwbNumberBarcodeGenerator} [awb_number_barcode_generator]
|
|
289
|
-
* @property {AwbNumberLabelBarcodeGenerator} [awb_number_label_barcode_generator]
|
|
290
|
-
* @property {DigitalsignatureGenerator} [digitalsignature_generator]
|
|
291
366
|
* @property {ShipmentIdBarcodeGenerator} [shipment_id_barcode_generator]
|
|
292
367
|
* @property {SignedQrcodeGenerator} [signed_qrcode_generator]
|
|
293
368
|
* @property {UpiQrcodeGenerator} [upi_qrcode_generator]
|
|
369
|
+
* @property {DigitalsignatureGenerator} [digitalsignature_generator]
|
|
370
|
+
* @property {AwbNumberLabelBarcodeGenerator} [awb_number_label_barcode_generator]
|
|
371
|
+
* @property {AwbNumberBarcodeGenerator} [awb_number_barcode_generator]
|
|
294
372
|
*/
|
|
295
373
|
/**
|
|
296
|
-
* @typedef
|
|
297
|
-
* @property {
|
|
298
|
-
|
|
299
|
-
|
|
374
|
+
* @typedef Meta
|
|
375
|
+
* @property {MetaProperty} [generator]
|
|
376
|
+
*/
|
|
377
|
+
/**
|
|
378
|
+
* @typedef DummyTemplateDataPayload
|
|
379
|
+
* @property {boolean} [is_export]
|
|
380
|
+
* @property {boolean} [is_export_shipment]
|
|
381
|
+
* @property {string} [app_domain_name]
|
|
382
|
+
* @property {string} [txn_id]
|
|
383
|
+
* @property {string} [utr]
|
|
384
|
+
* @property {string} [po_number]
|
|
385
|
+
* @property {string} [credit_note_id]
|
|
386
|
+
* @property {string} [current_date]
|
|
387
|
+
* @property {number} [total_value_of_goods]
|
|
388
|
+
* @property {Object} [b2b_buyer_details]
|
|
389
|
+
* @property {Object} [is_qwik]
|
|
390
|
+
* @property {string} [order_type]
|
|
391
|
+
* @property {ConversionRate} [conversion_rate]
|
|
392
|
+
* @property {string} [currency_code]
|
|
393
|
+
* @property {string} [shipment_id]
|
|
394
|
+
* @property {DeliveryPartnerDetail} [delivery_partner_detail]
|
|
395
|
+
* @property {Image} [image]
|
|
396
|
+
* @property {PaymentData[]} [payments]
|
|
397
|
+
* @property {InvoiceDetail} [invoice_detail]
|
|
398
|
+
* @property {CompanyDetail} [company_detail]
|
|
399
|
+
* @property {StoreDetail} [store_detail]
|
|
400
|
+
* @property {CustomerBillingDetail} [customer_billing_detail]
|
|
401
|
+
* @property {CustomerShippingDetail} [customer_shipping_detail]
|
|
402
|
+
* @property {ReturnDetail} [return_detail]
|
|
403
|
+
* @property {ProductTable} [product_table]
|
|
404
|
+
* @property {TaxTable} [tax_table]
|
|
405
|
+
* @property {string[]} [declaration_texts]
|
|
406
|
+
* @property {RegisteredCompanyDetail} [registered_company_detail]
|
|
407
|
+
* @property {string} [disclaimer]
|
|
408
|
+
* @property {Meta} [meta]
|
|
409
|
+
* @property {boolean} [is_self_ship]
|
|
300
410
|
* @property {string} [mode]
|
|
301
|
-
* @property {
|
|
302
|
-
* @property {string} [
|
|
303
|
-
* @property {
|
|
304
|
-
* @property {
|
|
411
|
+
* @property {boolean} [is_self_pickup]
|
|
412
|
+
* @property {string} [platform_name]
|
|
413
|
+
* @property {number} [amount_to_be_collected]
|
|
414
|
+
* @property {number} [amount_paid]
|
|
415
|
+
* @property {Object[]} [waybills]
|
|
416
|
+
* @property {number} [total_items]
|
|
417
|
+
* @property {string} [brand_logo]
|
|
418
|
+
* @property {string} [shipment_id_barcode]
|
|
419
|
+
* @property {string} [signed_qrcode]
|
|
420
|
+
* @property {string} [upi_qrcode]
|
|
421
|
+
* @property {string} [digitalsignature]
|
|
422
|
+
* @property {string} [awb_number_barcode]
|
|
423
|
+
* @property {string} [uid]
|
|
305
424
|
*/
|
|
306
425
|
/**
|
|
307
|
-
* @typedef
|
|
308
|
-
* @property {string} [
|
|
309
|
-
* @property {
|
|
310
|
-
* @property {
|
|
311
|
-
* @property {string} [
|
|
312
|
-
* @property {
|
|
313
|
-
*/
|
|
314
|
-
/**
|
|
315
|
-
* @typedef PaymentReceiptFormat
|
|
316
|
-
* @property {string[]} [payment_receipt]
|
|
317
|
-
*/
|
|
318
|
-
/**
|
|
319
|
-
* @typedef PaymentReceiptMeta
|
|
320
|
-
* @property {string} [action]
|
|
321
|
-
* @property {string[]} [application_id]
|
|
322
|
-
* @property {number} [company_id]
|
|
323
|
-
* @property {number} [created_timestamp]
|
|
324
|
-
* @property {Object} [event]
|
|
325
|
-
* @property {Object} [event_trace_info]
|
|
326
|
-
* @property {PaymentReceiptFormat} [format]
|
|
327
|
-
* @property {string} [job_type]
|
|
328
|
-
* @property {string} [organizaton_id]
|
|
329
|
-
* @property {PaymentReceiptService} [service]
|
|
330
|
-
* @property {string} [trace]
|
|
331
|
-
* @property {string[]} [trace_id]
|
|
332
|
-
*/
|
|
333
|
-
/**
|
|
334
|
-
* @typedef PaymentReceiptOrderDetails
|
|
335
|
-
* @property {number} [final_amount]
|
|
336
|
-
* @property {string} [final_amount_in_words]
|
|
337
|
-
* @property {string} [jiomart_order_id]
|
|
338
|
-
* @property {string} [order_created_date]
|
|
339
|
-
* @property {string} [order_created_time]
|
|
340
|
-
* @property {string} [prm_id]
|
|
341
|
-
* @property {string} [receipt_no]
|
|
342
|
-
* @property {PaymentReceiptTaxes} [taxes]
|
|
343
|
-
* @property {number} [total_items]
|
|
344
|
-
*/
|
|
345
|
-
/**
|
|
346
|
-
* @typedef PaymentReceiptPayload
|
|
347
|
-
* @property {PaymentReceiptCustomerDetails} [customer_detail]
|
|
348
|
-
* @property {PaymentReceiptOrderDetails} [order_detail]
|
|
349
|
-
* @property {PaymentReceiptPayments[]} [payments]
|
|
350
|
-
* @property {string} [uid]
|
|
351
|
-
*/
|
|
352
|
-
/**
|
|
353
|
-
* @typedef PaymentReceiptPayments
|
|
354
|
-
* @property {string} [payment_desc]
|
|
355
|
-
* @property {string} [txn_date]
|
|
356
|
-
*/
|
|
357
|
-
/**
|
|
358
|
-
* @typedef PaymentReceiptRequestBody
|
|
359
|
-
* @property {PaymentReceiptMeta} [meta]
|
|
360
|
-
* @property {PaymentReceiptPayload} [payload]
|
|
361
|
-
*/
|
|
362
|
-
/**
|
|
363
|
-
* @typedef PaymentReceiptService
|
|
364
|
-
* @property {string} [name]
|
|
426
|
+
* @typedef DummyTemplateData
|
|
427
|
+
* @property {string} [_id]
|
|
428
|
+
* @property {number} [pdf_type_id]
|
|
429
|
+
* @property {DummyTemplateDataPayload} payload
|
|
430
|
+
* @property {string} [country_code]
|
|
431
|
+
* @property {number} [__v]
|
|
365
432
|
*/
|
|
366
433
|
/**
|
|
367
|
-
* @typedef
|
|
368
|
-
* @property {
|
|
369
|
-
* @property {
|
|
434
|
+
* @typedef DummyTemplateDataItems
|
|
435
|
+
* @property {DummyTemplateData[]} data
|
|
436
|
+
* @property {boolean} success
|
|
370
437
|
*/
|
|
371
438
|
/**
|
|
372
439
|
* @typedef PdfConfig
|
|
373
440
|
* @property {string} [format] - This is invoice document format such as A4, A6, POS
|
|
374
|
-
* @property {number} [pdf_type_id]
|
|
375
441
|
* @property {string} [template] - This is html template string
|
|
442
|
+
* @property {number} [pdf_type_id]
|
|
376
443
|
*/
|
|
377
444
|
/**
|
|
378
|
-
* @typedef
|
|
379
|
-
* @property {PdfConfigSaveSuccessData} [data]
|
|
380
|
-
* @property {boolean} [success]
|
|
381
|
-
*/
|
|
382
|
-
/**
|
|
383
|
-
* @typedef PdfConfigSaveSuccessData
|
|
384
|
-
* @property {number} [__v]
|
|
445
|
+
* @typedef PdfConfigSuccessData
|
|
385
446
|
* @property {string} [_id]
|
|
386
|
-
* @property {string} [application_id]
|
|
387
447
|
* @property {number} [company_id]
|
|
388
|
-
* @property {string} [
|
|
448
|
+
* @property {string} [application_id]
|
|
389
449
|
* @property {number} [pdf_type_id]
|
|
450
|
+
* @property {string} [format]
|
|
390
451
|
* @property {string} [template]
|
|
452
|
+
* @property {number} [__v]
|
|
453
|
+
* @property {string} [country_code]
|
|
391
454
|
*/
|
|
392
455
|
/**
|
|
393
456
|
* @typedef PdfConfigSuccess
|
|
@@ -395,15 +458,19 @@ export = FileStoragePlatformModel;
|
|
|
395
458
|
* @property {boolean} [success]
|
|
396
459
|
*/
|
|
397
460
|
/**
|
|
398
|
-
* @typedef
|
|
399
|
-
* @property {number} [__v]
|
|
461
|
+
* @typedef PdfConfigSaveSuccessData
|
|
400
462
|
* @property {string} [_id]
|
|
401
|
-
* @property {string} [application_id]
|
|
402
463
|
* @property {number} [company_id]
|
|
403
|
-
* @property {string} [
|
|
404
|
-
* @property {string} [format]
|
|
464
|
+
* @property {string} [application_id]
|
|
405
465
|
* @property {number} [pdf_type_id]
|
|
466
|
+
* @property {string} [format]
|
|
406
467
|
* @property {string} [template]
|
|
468
|
+
* @property {number} [__v]
|
|
469
|
+
*/
|
|
470
|
+
/**
|
|
471
|
+
* @typedef PdfConfigSaveSuccess
|
|
472
|
+
* @property {PdfConfigSaveSuccessData} [data]
|
|
473
|
+
* @property {boolean} [success]
|
|
407
474
|
*/
|
|
408
475
|
/**
|
|
409
476
|
* @typedef PdfDefaultTemplateSuccess
|
|
@@ -411,223 +478,206 @@ export = FileStoragePlatformModel;
|
|
|
411
478
|
* @property {boolean} [success] - Indicates if the request was successful.
|
|
412
479
|
*/
|
|
413
480
|
/**
|
|
414
|
-
* @typedef
|
|
415
|
-
* @property {
|
|
416
|
-
* @property {number} [
|
|
417
|
-
* @property {string} [
|
|
418
|
-
* @property {
|
|
419
|
-
* @property {number} [discount]
|
|
420
|
-
* @property {number} [fynd_discounts]
|
|
421
|
-
* @property {number} [gift_price]
|
|
422
|
-
* @property {number} [grand_total]
|
|
423
|
-
* @property {ItemsProductTable[]} [products]
|
|
424
|
-
* @property {number} [promotion]
|
|
425
|
-
* @property {number} [reward]
|
|
426
|
-
* @property {number} [round_off]
|
|
427
|
-
* @property {number} [sub_total]
|
|
428
|
-
* @property {string} [total_in_words]
|
|
429
|
-
* @property {number} [total_items]
|
|
430
|
-
* @property {number} [total_quantity]
|
|
431
|
-
* @property {number} [total_value_of_goods]
|
|
432
|
-
*/
|
|
433
|
-
/**
|
|
434
|
-
* @typedef RegisteredCompanyDetail
|
|
435
|
-
* @property {string} [address]
|
|
436
|
-
* @property {string} [city]
|
|
437
|
-
* @property {string} [country]
|
|
438
|
-
* @property {string} [country_code]
|
|
439
|
-
* @property {string} [display_address]
|
|
440
|
-
* @property {string} [sector]
|
|
441
|
-
* @property {string} [state]
|
|
442
|
-
* @property {string} [state_code]
|
|
443
|
-
* @property {number} [zip_code]
|
|
444
|
-
*/
|
|
445
|
-
/**
|
|
446
|
-
* @typedef ReturnDetail
|
|
447
|
-
* @property {string} [address]
|
|
448
|
-
* @property {string} [city]
|
|
449
|
-
* @property {string} [country]
|
|
481
|
+
* @typedef Document
|
|
482
|
+
* @property {string} [_id]
|
|
483
|
+
* @property {number} [pdf_type_id]
|
|
484
|
+
* @property {string} [format]
|
|
485
|
+
* @property {string} [template]
|
|
450
486
|
* @property {string} [country_code]
|
|
451
|
-
* @property {
|
|
452
|
-
* @property {string} [gstin]
|
|
453
|
-
* @property {string} [sector]
|
|
454
|
-
* @property {string} [state]
|
|
455
|
-
* @property {string} [state_code]
|
|
456
|
-
* @property {string} [zip_code]
|
|
457
|
-
*/
|
|
458
|
-
/**
|
|
459
|
-
* @typedef Sgst
|
|
460
|
-
* @property {number} [percent]
|
|
461
|
-
* @property {number} [value]
|
|
487
|
+
* @property {number} [__v]
|
|
462
488
|
*/
|
|
463
489
|
/**
|
|
464
|
-
* @typedef
|
|
465
|
-
* @property {
|
|
466
|
-
* @property {
|
|
490
|
+
* @typedef PaymentReceiptRequestBody
|
|
491
|
+
* @property {PaymentReceiptPayload} [payload]
|
|
492
|
+
* @property {PaymentReceiptMeta} [meta]
|
|
467
493
|
*/
|
|
468
494
|
/**
|
|
469
|
-
* @typedef
|
|
470
|
-
* @property {
|
|
471
|
-
* @property {
|
|
495
|
+
* @typedef PaymentReceiptOrderDetails
|
|
496
|
+
* @property {string} [jiomart_order_id]
|
|
497
|
+
* @property {number} [total_items]
|
|
498
|
+
* @property {number} [final_amount]
|
|
499
|
+
* @property {string} [final_amount_in_words]
|
|
500
|
+
* @property {string} [order_created_date]
|
|
501
|
+
* @property {string} [order_created_time]
|
|
502
|
+
* @property {string} [prm_id]
|
|
503
|
+
* @property {string} [receipt_no]
|
|
504
|
+
* @property {PaymentReceiptTaxes} [taxes]
|
|
472
505
|
*/
|
|
473
506
|
/**
|
|
474
|
-
* @typedef
|
|
475
|
-
* @property {
|
|
476
|
-
* @property {string[]
|
|
507
|
+
* @typedef PaymentReceiptCustomerDetails
|
|
508
|
+
* @property {string} [id]
|
|
509
|
+
* @property {string} [email_id]
|
|
510
|
+
* @property {string} [last_name]
|
|
511
|
+
* @property {string} [first_name]
|
|
512
|
+
* @property {string} [mobile_number]
|
|
477
513
|
*/
|
|
478
514
|
/**
|
|
479
|
-
* @typedef
|
|
480
|
-
* @property {
|
|
515
|
+
* @typedef PaymentReceiptPayments
|
|
516
|
+
* @property {string} [payment_desc]
|
|
517
|
+
* @property {string} [txn_date]
|
|
481
518
|
*/
|
|
482
519
|
/**
|
|
483
|
-
* @typedef
|
|
484
|
-
* @property {string}
|
|
485
|
-
* @property {string} file_name
|
|
486
|
-
* @property {Object} [params]
|
|
487
|
-
* @property {number} size
|
|
488
|
-
* @property {string[]} [tags]
|
|
520
|
+
* @typedef PaymentReceiptFormat
|
|
521
|
+
* @property {string[]} [payment_receipt]
|
|
489
522
|
*/
|
|
490
523
|
/**
|
|
491
|
-
* @typedef
|
|
492
|
-
* @property {
|
|
493
|
-
* @property {string} content_type
|
|
494
|
-
* @property {string} file_name
|
|
495
|
-
* @property {string} file_path
|
|
496
|
-
* @property {string} [method]
|
|
497
|
-
* @property {string} namespace
|
|
498
|
-
* @property {string} operation
|
|
499
|
-
* @property {number} size
|
|
500
|
-
* @property {string[]} [tags]
|
|
501
|
-
* @property {Upload} upload
|
|
524
|
+
* @typedef PaymentReceiptService
|
|
525
|
+
* @property {string} [name]
|
|
502
526
|
*/
|
|
503
527
|
/**
|
|
504
|
-
* @typedef
|
|
505
|
-
* @property {string} [address]
|
|
506
|
-
* @property {string} [city]
|
|
507
|
-
* @property {string} [country]
|
|
508
|
-
* @property {string} [country_code]
|
|
509
|
-
* @property {string} [display_address]
|
|
528
|
+
* @typedef PaymentReceiptTaxes
|
|
510
529
|
* @property {string} [gstin]
|
|
511
|
-
* @property {string} [
|
|
512
|
-
* @property {string} [state]
|
|
513
|
-
* @property {string} [state_code]
|
|
514
|
-
* @property {string} [store_id]
|
|
515
|
-
* @property {string} [store_name]
|
|
516
|
-
* @property {string} [zip_code]
|
|
517
|
-
*/
|
|
518
|
-
/**
|
|
519
|
-
* @typedef Tax
|
|
520
|
-
* @property {Cgst} [cgst]
|
|
521
|
-
* @property {Igst} [igst]
|
|
522
|
-
* @property {Sgst} [sgst]
|
|
530
|
+
* @property {string} [pancard]
|
|
523
531
|
*/
|
|
524
532
|
/**
|
|
525
|
-
* @typedef
|
|
526
|
-
* @property {string} [
|
|
527
|
-
* @property {
|
|
528
|
-
* @property {
|
|
533
|
+
* @typedef PaymentReceiptPayload
|
|
534
|
+
* @property {string} [uid]
|
|
535
|
+
* @property {PaymentReceiptOrderDetails} [order_detail]
|
|
536
|
+
* @property {PaymentReceiptCustomerDetails} [customer_detail]
|
|
537
|
+
* @property {PaymentReceiptPayments[]} [payments]
|
|
529
538
|
*/
|
|
530
539
|
/**
|
|
531
|
-
* @typedef
|
|
532
|
-
* @property {string} [
|
|
533
|
-
* @property {
|
|
534
|
-
* @property {
|
|
540
|
+
* @typedef PaymentReceiptMeta
|
|
541
|
+
* @property {string} [job_type]
|
|
542
|
+
* @property {string} [action]
|
|
543
|
+
* @property {Object} [event]
|
|
544
|
+
* @property {string} [organizaton_id]
|
|
545
|
+
* @property {number} [company_id]
|
|
546
|
+
* @property {string[]} [application_id]
|
|
547
|
+
* @property {PaymentReceiptFormat} [format]
|
|
548
|
+
* @property {string[]} [trace_id]
|
|
549
|
+
* @property {number} [created_timestamp]
|
|
550
|
+
* @property {PaymentReceiptService} [service]
|
|
551
|
+
* @property {Object} [event_trace_info]
|
|
552
|
+
* @property {string} [trace]
|
|
535
553
|
*/
|
|
536
554
|
/**
|
|
537
|
-
* @typedef
|
|
538
|
-
* @property {
|
|
539
|
-
* @property {string} [method]
|
|
540
|
-
*/
|
|
541
|
-
/**
|
|
542
|
-
* @typedef Upload
|
|
543
|
-
* @property {number} expiry
|
|
544
|
-
* @property {string} url
|
|
545
|
-
*/
|
|
546
|
-
/**
|
|
547
|
-
* @typedef Urls
|
|
548
|
-
* @property {number} expiry
|
|
549
|
-
* @property {string} signed_url
|
|
550
|
-
* @property {string} url
|
|
555
|
+
* @typedef ExtensionSlug
|
|
556
|
+
* @property {string} [extension_slug]
|
|
551
557
|
*/
|
|
552
558
|
declare class FileStoragePlatformModel {
|
|
553
559
|
}
|
|
554
560
|
declare namespace FileStoragePlatformModel {
|
|
555
|
-
export {
|
|
561
|
+
export { FailedResponse, CDN, Upload, StartResponse, StartRequest, CreatedBy, CompleteResponse, ProxyResponse, 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 };
|
|
556
562
|
}
|
|
557
|
-
/** @returns {
|
|
558
|
-
declare function
|
|
559
|
-
type
|
|
560
|
-
|
|
561
|
-
method?: string;
|
|
562
|
-
};
|
|
563
|
-
/** @returns {AwbNumberLabelBarcodeGenerator} */
|
|
564
|
-
declare function AwbNumberLabelBarcodeGenerator(): AwbNumberLabelBarcodeGenerator;
|
|
565
|
-
type AwbNumberLabelBarcodeGenerator = {
|
|
566
|
-
kwargs?: KwargsAwbNumber;
|
|
567
|
-
method?: string;
|
|
568
|
-
};
|
|
569
|
-
/** @returns {Brand} */
|
|
570
|
-
declare function Brand(): Brand;
|
|
571
|
-
type Brand = {
|
|
572
|
-
logo?: string;
|
|
573
|
-
name?: string;
|
|
563
|
+
/** @returns {FailedResponse} */
|
|
564
|
+
declare function FailedResponse(): FailedResponse;
|
|
565
|
+
type FailedResponse = {
|
|
566
|
+
message: string;
|
|
574
567
|
};
|
|
575
568
|
/** @returns {CDN} */
|
|
576
569
|
declare function CDN(): CDN;
|
|
577
570
|
type CDN = {
|
|
571
|
+
url: string;
|
|
578
572
|
absolute_url: string;
|
|
579
573
|
relative_url: string;
|
|
574
|
+
};
|
|
575
|
+
/** @returns {Upload} */
|
|
576
|
+
declare function Upload(): Upload;
|
|
577
|
+
type Upload = {
|
|
578
|
+
expiry: number;
|
|
580
579
|
url: string;
|
|
581
580
|
};
|
|
582
|
-
/** @returns {
|
|
583
|
-
declare function
|
|
584
|
-
type
|
|
585
|
-
|
|
586
|
-
|
|
581
|
+
/** @returns {StartResponse} */
|
|
582
|
+
declare function StartResponse(): StartResponse;
|
|
583
|
+
type StartResponse = {
|
|
584
|
+
file_name: string;
|
|
585
|
+
file_path: string;
|
|
586
|
+
content_type: string;
|
|
587
|
+
method?: string;
|
|
588
|
+
namespace: string;
|
|
589
|
+
operation: string;
|
|
590
|
+
size: number;
|
|
591
|
+
upload: Upload;
|
|
592
|
+
cdn: CDN;
|
|
593
|
+
tags?: string[];
|
|
587
594
|
};
|
|
588
|
-
/** @returns {
|
|
589
|
-
declare function
|
|
590
|
-
type
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
name?: string;
|
|
602
|
-
pan?: string;
|
|
603
|
-
phone?: any;
|
|
604
|
-
phone_no?: string;
|
|
605
|
-
sector?: string;
|
|
606
|
-
state?: string;
|
|
607
|
-
state_code?: string;
|
|
608
|
-
trn?: string;
|
|
609
|
-
vat?: string;
|
|
610
|
-
website_url?: string;
|
|
611
|
-
zip_code?: number;
|
|
595
|
+
/** @returns {StartRequest} */
|
|
596
|
+
declare function StartRequest(): StartRequest;
|
|
597
|
+
type StartRequest = {
|
|
598
|
+
file_name: string;
|
|
599
|
+
content_type: string;
|
|
600
|
+
size: number;
|
|
601
|
+
tags?: string[];
|
|
602
|
+
params?: any;
|
|
603
|
+
};
|
|
604
|
+
/** @returns {CreatedBy} */
|
|
605
|
+
declare function CreatedBy(): CreatedBy;
|
|
606
|
+
type CreatedBy = {
|
|
607
|
+
username?: string;
|
|
612
608
|
};
|
|
613
609
|
/** @returns {CompleteResponse} */
|
|
614
610
|
declare function CompleteResponse(): CompleteResponse;
|
|
615
611
|
type CompleteResponse = {
|
|
616
612
|
_id: string;
|
|
617
|
-
cdn: CDN;
|
|
618
|
-
company_id: number;
|
|
619
|
-
content_type: string;
|
|
620
|
-
created_by?: CreatedBy;
|
|
621
|
-
created_on: string;
|
|
622
613
|
file_name: string;
|
|
623
614
|
file_path: string;
|
|
624
|
-
|
|
615
|
+
content_type: string;
|
|
625
616
|
namespace: string;
|
|
626
617
|
operation: string;
|
|
618
|
+
company_id: number;
|
|
627
619
|
size: number;
|
|
620
|
+
upload: Upload;
|
|
621
|
+
cdn: CDN;
|
|
628
622
|
success: boolean;
|
|
629
623
|
tags?: string[];
|
|
630
|
-
|
|
624
|
+
created_on: string;
|
|
625
|
+
modified_on: string;
|
|
626
|
+
created_by?: CreatedBy;
|
|
627
|
+
};
|
|
628
|
+
/** @returns {ProxyResponse} */
|
|
629
|
+
declare function ProxyResponse(): ProxyResponse;
|
|
630
|
+
type ProxyResponse = {
|
|
631
|
+
data?: any;
|
|
632
|
+
support?: any;
|
|
633
|
+
};
|
|
634
|
+
/** @returns {DestinationNamespace} */
|
|
635
|
+
declare function DestinationNamespace(): DestinationNamespace;
|
|
636
|
+
type DestinationNamespace = {
|
|
637
|
+
namespace?: string;
|
|
638
|
+
};
|
|
639
|
+
/** @returns {CopyFiles} */
|
|
640
|
+
declare function CopyFiles(): CopyFiles;
|
|
641
|
+
type CopyFiles = {
|
|
642
|
+
urls?: string[];
|
|
643
|
+
destination: DestinationNamespace;
|
|
644
|
+
};
|
|
645
|
+
/** @returns {Urls} */
|
|
646
|
+
declare function Urls(): Urls;
|
|
647
|
+
type Urls = {
|
|
648
|
+
url: string;
|
|
649
|
+
signed_url: string;
|
|
650
|
+
expiry: number;
|
|
651
|
+
};
|
|
652
|
+
/** @returns {SignUrlResponse} */
|
|
653
|
+
declare function SignUrlResponse(): SignUrlResponse;
|
|
654
|
+
type SignUrlResponse = {
|
|
655
|
+
urls: Urls[];
|
|
656
|
+
};
|
|
657
|
+
/** @returns {SignUrlRequest} */
|
|
658
|
+
declare function SignUrlRequest(): SignUrlRequest;
|
|
659
|
+
type SignUrlRequest = {
|
|
660
|
+
expiry: number;
|
|
661
|
+
urls: string[];
|
|
662
|
+
};
|
|
663
|
+
/** @returns {InvoiceTypesDataResponse} */
|
|
664
|
+
declare function InvoiceTypesDataResponse(): InvoiceTypesDataResponse;
|
|
665
|
+
type InvoiceTypesDataResponse = {
|
|
666
|
+
status?: boolean;
|
|
667
|
+
_id: string;
|
|
668
|
+
pdf_type_id: number;
|
|
669
|
+
name: string;
|
|
670
|
+
format: string[];
|
|
671
|
+
__v: number;
|
|
672
|
+
visibility: boolean;
|
|
673
|
+
store_os: boolean;
|
|
674
|
+
country_code: string;
|
|
675
|
+
};
|
|
676
|
+
/** @returns {InvoiceTypesResponse} */
|
|
677
|
+
declare function InvoiceTypesResponse(): InvoiceTypesResponse;
|
|
678
|
+
type InvoiceTypesResponse = {
|
|
679
|
+
data: InvoiceTypesDataResponse[];
|
|
680
|
+
success: boolean;
|
|
631
681
|
};
|
|
632
682
|
/** @returns {ConversionRate} */
|
|
633
683
|
declare function ConversionRate(): ConversionRate;
|
|
@@ -636,227 +686,250 @@ type ConversionRate = {
|
|
|
636
686
|
rates?: any;
|
|
637
687
|
timestamp?: number;
|
|
638
688
|
};
|
|
639
|
-
/** @returns {
|
|
640
|
-
declare function
|
|
641
|
-
type
|
|
642
|
-
|
|
643
|
-
|
|
689
|
+
/** @returns {DeliveryPartnerDetail} */
|
|
690
|
+
declare function DeliveryPartnerDetail(): DeliveryPartnerDetail;
|
|
691
|
+
type DeliveryPartnerDetail = {
|
|
692
|
+
name?: string;
|
|
693
|
+
awb_number_barcode?: string;
|
|
694
|
+
awb_number?: string;
|
|
695
|
+
origin?: string;
|
|
696
|
+
destination?: string;
|
|
697
|
+
eway_bill_number?: string;
|
|
644
698
|
};
|
|
645
|
-
/** @returns {
|
|
646
|
-
declare function
|
|
647
|
-
type
|
|
648
|
-
|
|
699
|
+
/** @returns {Image} */
|
|
700
|
+
declare function Image(): Image;
|
|
701
|
+
type Image = {
|
|
702
|
+
sales_channel_logo?: string;
|
|
649
703
|
};
|
|
650
|
-
/** @returns {
|
|
651
|
-
declare function
|
|
652
|
-
type
|
|
704
|
+
/** @returns {PaymentData} */
|
|
705
|
+
declare function PaymentData(): PaymentData;
|
|
706
|
+
type PaymentData = {
|
|
707
|
+
payment_type?: string;
|
|
708
|
+
amount?: number;
|
|
709
|
+
date?: string;
|
|
710
|
+
transaction_id?: string;
|
|
711
|
+
time?: string;
|
|
712
|
+
mode?: string;
|
|
713
|
+
name?: string;
|
|
714
|
+
meta?: any;
|
|
715
|
+
};
|
|
716
|
+
/** @returns {InvoiceDetail} */
|
|
717
|
+
declare function InvoiceDetail(): InvoiceDetail;
|
|
718
|
+
type InvoiceDetail = {
|
|
719
|
+
invoice_id?: string;
|
|
720
|
+
invoice_date?: string;
|
|
721
|
+
irn?: string;
|
|
722
|
+
external_order_id?: string;
|
|
723
|
+
shipment_id?: string;
|
|
724
|
+
signed_qrcode?: string;
|
|
725
|
+
upi_qrcode?: string;
|
|
726
|
+
device_id?: string;
|
|
727
|
+
marketplace_invoice_id?: string;
|
|
728
|
+
marketplace_shipment_id?: string;
|
|
729
|
+
channel_order_id?: string;
|
|
730
|
+
};
|
|
731
|
+
/** @returns {CompanyDetail} */
|
|
732
|
+
declare function CompanyDetail(): CompanyDetail;
|
|
733
|
+
type CompanyDetail = {
|
|
734
|
+
name?: string;
|
|
653
735
|
address?: string;
|
|
654
736
|
city?: string;
|
|
737
|
+
state?: string;
|
|
655
738
|
country?: string;
|
|
739
|
+
zip_code?: number;
|
|
740
|
+
state_code?: string;
|
|
656
741
|
country_code?: string;
|
|
657
|
-
display_address?: string;
|
|
658
|
-
email?: string;
|
|
659
742
|
gstin?: string;
|
|
660
|
-
|
|
743
|
+
pan?: string;
|
|
661
744
|
phone_no?: string;
|
|
745
|
+
cin?: string;
|
|
746
|
+
website_url?: string;
|
|
747
|
+
email?: string;
|
|
748
|
+
display_address?: string;
|
|
662
749
|
sector?: string;
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
750
|
+
phone?: any;
|
|
751
|
+
trn?: string;
|
|
752
|
+
vat?: string;
|
|
753
|
+
business_country_timezone?: string;
|
|
754
|
+
business_country_currency?: any;
|
|
666
755
|
};
|
|
667
|
-
/** @returns {
|
|
668
|
-
declare function
|
|
669
|
-
type
|
|
756
|
+
/** @returns {StoreDetail} */
|
|
757
|
+
declare function StoreDetail(): StoreDetail;
|
|
758
|
+
type StoreDetail = {
|
|
759
|
+
store_name?: string;
|
|
670
760
|
address?: string;
|
|
671
761
|
city?: string;
|
|
762
|
+
state?: string;
|
|
672
763
|
country?: string;
|
|
673
764
|
country_code?: string;
|
|
674
|
-
|
|
765
|
+
zip_code?: string;
|
|
766
|
+
state_code?: string;
|
|
675
767
|
gstin?: string;
|
|
768
|
+
display_address?: string;
|
|
769
|
+
sector?: string;
|
|
770
|
+
store_id?: string;
|
|
771
|
+
};
|
|
772
|
+
/** @returns {CustomerBillingDetail} */
|
|
773
|
+
declare function CustomerBillingDetail(): CustomerBillingDetail;
|
|
774
|
+
type CustomerBillingDetail = {
|
|
676
775
|
name?: string;
|
|
677
776
|
phone_no?: string;
|
|
678
|
-
|
|
777
|
+
address?: string;
|
|
778
|
+
city?: string;
|
|
679
779
|
state?: string;
|
|
680
|
-
|
|
780
|
+
country?: string;
|
|
781
|
+
country_code?: string;
|
|
681
782
|
zip_code?: string;
|
|
783
|
+
state_code?: string;
|
|
784
|
+
gstin?: string;
|
|
785
|
+
display_address?: string;
|
|
786
|
+
sector?: string;
|
|
787
|
+
email?: string;
|
|
682
788
|
};
|
|
683
|
-
/** @returns {
|
|
684
|
-
declare function
|
|
685
|
-
type
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
};
|
|
693
|
-
/** @returns {DestinationNamespace} */
|
|
694
|
-
declare function DestinationNamespace(): DestinationNamespace;
|
|
695
|
-
type DestinationNamespace = {
|
|
696
|
-
namespace?: string;
|
|
697
|
-
};
|
|
698
|
-
/** @returns {DigitalsignatureGenerator} */
|
|
699
|
-
declare function DigitalsignatureGenerator(): DigitalsignatureGenerator;
|
|
700
|
-
type DigitalsignatureGenerator = {
|
|
701
|
-
kwargs?: Kwargs;
|
|
702
|
-
method?: string;
|
|
703
|
-
};
|
|
704
|
-
/** @returns {Document} */
|
|
705
|
-
declare function Document(): Document;
|
|
706
|
-
type Document = {
|
|
707
|
-
__v?: number;
|
|
708
|
-
_id?: string;
|
|
789
|
+
/** @returns {CustomerShippingDetail} */
|
|
790
|
+
declare function CustomerShippingDetail(): CustomerShippingDetail;
|
|
791
|
+
type CustomerShippingDetail = {
|
|
792
|
+
name?: string;
|
|
793
|
+
phone_no?: string;
|
|
794
|
+
address?: string;
|
|
795
|
+
city?: string;
|
|
796
|
+
state?: string;
|
|
797
|
+
country?: string;
|
|
709
798
|
country_code?: string;
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
799
|
+
zip_code?: string;
|
|
800
|
+
state_code?: string;
|
|
801
|
+
gstin?: string;
|
|
802
|
+
display_address?: string;
|
|
803
|
+
sector?: string;
|
|
713
804
|
};
|
|
714
|
-
/** @returns {
|
|
715
|
-
declare function
|
|
716
|
-
type
|
|
717
|
-
|
|
718
|
-
|
|
805
|
+
/** @returns {ReturnDetail} */
|
|
806
|
+
declare function ReturnDetail(): ReturnDetail;
|
|
807
|
+
type ReturnDetail = {
|
|
808
|
+
address?: string;
|
|
809
|
+
city?: string;
|
|
810
|
+
state?: string;
|
|
811
|
+
country?: string;
|
|
719
812
|
country_code?: string;
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
type DummyTemplateDataItems = {
|
|
726
|
-
data: DummyTemplateData[];
|
|
727
|
-
success: boolean;
|
|
813
|
+
zip_code?: string;
|
|
814
|
+
state_code?: string;
|
|
815
|
+
gstin?: string;
|
|
816
|
+
display_address?: string;
|
|
817
|
+
sector?: string;
|
|
728
818
|
};
|
|
729
|
-
/** @returns {
|
|
730
|
-
declare function
|
|
731
|
-
type
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
app_domain_name?: string;
|
|
735
|
-
awb_number_barcode?: string;
|
|
736
|
-
b2b_buyer_details?: any;
|
|
737
|
-
brand_logo?: string;
|
|
738
|
-
company_detail?: CompanyDetail;
|
|
739
|
-
conversion_rate?: ConversionRate;
|
|
740
|
-
credit_note_id?: string;
|
|
741
|
-
currency_code?: string;
|
|
742
|
-
current_date?: string;
|
|
743
|
-
customer_billing_detail?: CustomerBillingDetail;
|
|
744
|
-
customer_shipping_detail?: CustomerShippingDetail;
|
|
745
|
-
declaration_texts?: string[];
|
|
746
|
-
delivery_partner_detail?: DeliveryPartnerDetail;
|
|
747
|
-
digitalsignature?: string;
|
|
748
|
-
disclaimer?: string;
|
|
749
|
-
image?: Image;
|
|
750
|
-
invoice_detail?: InvoiceDetail;
|
|
751
|
-
is_export?: boolean;
|
|
752
|
-
is_export_shipment?: boolean;
|
|
753
|
-
is_qwik?: any;
|
|
754
|
-
is_self_pickup?: boolean;
|
|
755
|
-
is_self_ship?: boolean;
|
|
756
|
-
meta?: Meta;
|
|
757
|
-
mode?: string;
|
|
758
|
-
order_type?: string;
|
|
759
|
-
payments?: PaymentData[];
|
|
760
|
-
platform_name?: string;
|
|
761
|
-
po_number?: string;
|
|
762
|
-
product_table?: ProductTable;
|
|
763
|
-
registered_company_detail?: RegisteredCompanyDetail;
|
|
764
|
-
return_detail?: ReturnDetail;
|
|
765
|
-
shipment_id?: string;
|
|
766
|
-
shipment_id_barcode?: string;
|
|
767
|
-
signed_qrcode?: string;
|
|
768
|
-
store_detail?: StoreDetail;
|
|
769
|
-
tax_table?: TaxTable;
|
|
770
|
-
total_items?: number;
|
|
771
|
-
total_value_of_goods?: number;
|
|
772
|
-
txn_id?: string;
|
|
773
|
-
uid?: string;
|
|
774
|
-
upi_qrcode?: string;
|
|
775
|
-
utr?: string;
|
|
776
|
-
waybills?: any[];
|
|
819
|
+
/** @returns {Brand} */
|
|
820
|
+
declare function Brand(): Brand;
|
|
821
|
+
type Brand = {
|
|
822
|
+
logo?: string;
|
|
823
|
+
name?: string;
|
|
777
824
|
};
|
|
778
|
-
/** @returns {
|
|
779
|
-
declare function
|
|
780
|
-
type
|
|
781
|
-
|
|
825
|
+
/** @returns {Cgst} */
|
|
826
|
+
declare function Cgst(): Cgst;
|
|
827
|
+
type Cgst = {
|
|
828
|
+
value?: number;
|
|
829
|
+
percent?: number;
|
|
782
830
|
};
|
|
783
|
-
/** @returns {
|
|
784
|
-
declare function
|
|
785
|
-
type
|
|
786
|
-
|
|
831
|
+
/** @returns {Sgst} */
|
|
832
|
+
declare function Sgst(): Sgst;
|
|
833
|
+
type Sgst = {
|
|
834
|
+
value?: number;
|
|
835
|
+
percent?: number;
|
|
787
836
|
};
|
|
788
837
|
/** @returns {Igst} */
|
|
789
838
|
declare function Igst(): Igst;
|
|
790
839
|
type Igst = {
|
|
791
|
-
percent?: number;
|
|
792
840
|
value?: number;
|
|
841
|
+
percent?: number;
|
|
793
842
|
};
|
|
794
|
-
/** @returns {
|
|
795
|
-
declare function
|
|
796
|
-
type
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
declare function InvoiceDetail(): InvoiceDetail;
|
|
801
|
-
type InvoiceDetail = {
|
|
802
|
-
channel_order_id?: string;
|
|
803
|
-
device_id?: string;
|
|
804
|
-
external_order_id?: string;
|
|
805
|
-
invoice_date?: string;
|
|
806
|
-
invoice_id?: string;
|
|
807
|
-
irn?: string;
|
|
808
|
-
marketplace_invoice_id?: string;
|
|
809
|
-
marketplace_shipment_id?: string;
|
|
810
|
-
shipment_id?: string;
|
|
811
|
-
signed_qrcode?: string;
|
|
812
|
-
upi_qrcode?: string;
|
|
813
|
-
};
|
|
814
|
-
/** @returns {InvoiceTypesDataResponse} */
|
|
815
|
-
declare function InvoiceTypesDataResponse(): InvoiceTypesDataResponse;
|
|
816
|
-
type InvoiceTypesDataResponse = {
|
|
817
|
-
__v: number;
|
|
818
|
-
_id: string;
|
|
819
|
-
country_code: string;
|
|
820
|
-
format: string[];
|
|
821
|
-
name: string;
|
|
822
|
-
pdf_type_id: number;
|
|
823
|
-
status?: boolean;
|
|
824
|
-
visibility: boolean;
|
|
825
|
-
};
|
|
826
|
-
/** @returns {InvoiceTypesResponse} */
|
|
827
|
-
declare function InvoiceTypesResponse(): InvoiceTypesResponse;
|
|
828
|
-
type InvoiceTypesResponse = {
|
|
829
|
-
data: InvoiceTypesDataResponse[];
|
|
830
|
-
success: boolean;
|
|
843
|
+
/** @returns {Tax} */
|
|
844
|
+
declare function Tax(): Tax;
|
|
845
|
+
type Tax = {
|
|
846
|
+
cgst?: Cgst;
|
|
847
|
+
sgst?: Sgst;
|
|
848
|
+
igst?: Igst;
|
|
831
849
|
};
|
|
832
850
|
/** @returns {ItemsProductTable} */
|
|
833
851
|
declare function ItemsProductTable(): ItemsProductTable;
|
|
834
852
|
type ItemsProductTable = {
|
|
853
|
+
name?: string;
|
|
854
|
+
seller_identifier?: string;
|
|
855
|
+
total?: number;
|
|
835
856
|
brand?: Brand;
|
|
836
|
-
country_of_origin?: string;
|
|
837
|
-
discount?: number;
|
|
838
857
|
hsn_code?: string;
|
|
839
858
|
item_code?: string;
|
|
840
|
-
|
|
841
|
-
mrp?: number;
|
|
842
|
-
name?: string;
|
|
843
|
-
seller_identifier?: string;
|
|
859
|
+
total_units?: number;
|
|
844
860
|
size?: string;
|
|
845
|
-
|
|
861
|
+
mrp?: number;
|
|
862
|
+
discount?: number;
|
|
846
863
|
taxable_amount?: number;
|
|
847
|
-
total?: number;
|
|
848
864
|
total_taxable_amount?: number;
|
|
849
|
-
|
|
865
|
+
tax?: Tax;
|
|
866
|
+
meta?: any;
|
|
867
|
+
country_of_origin?: string;
|
|
868
|
+
};
|
|
869
|
+
/** @returns {ProductTable} */
|
|
870
|
+
declare function ProductTable(): ProductTable;
|
|
871
|
+
type ProductTable = {
|
|
872
|
+
total_items?: number;
|
|
873
|
+
products?: ItemsProductTable[];
|
|
874
|
+
grand_total?: number;
|
|
875
|
+
delivery_charges?: number;
|
|
876
|
+
delivery_charge_text?: string;
|
|
877
|
+
cod_charges?: number;
|
|
878
|
+
fynd_discounts?: number;
|
|
879
|
+
total_in_words?: string;
|
|
880
|
+
gift_price?: number;
|
|
881
|
+
total_quantity?: number;
|
|
882
|
+
sub_total?: number;
|
|
883
|
+
discount?: number;
|
|
884
|
+
promotion?: number;
|
|
885
|
+
coupon?: number;
|
|
886
|
+
reward?: number;
|
|
887
|
+
round_off?: number;
|
|
888
|
+
total_value_of_goods?: number;
|
|
889
|
+
};
|
|
890
|
+
/** @returns {Taxes} */
|
|
891
|
+
declare function Taxes(): Taxes;
|
|
892
|
+
type Taxes = {
|
|
893
|
+
hsn_code?: string;
|
|
894
|
+
tax?: Tax;
|
|
895
|
+
total_tax_value?: number;
|
|
896
|
+
};
|
|
897
|
+
/** @returns {TaxTable} */
|
|
898
|
+
declare function TaxTable(): TaxTable;
|
|
899
|
+
type TaxTable = {
|
|
900
|
+
taxes?: Taxes[];
|
|
901
|
+
total_tax?: number;
|
|
902
|
+
tax_in_words?: string;
|
|
903
|
+
};
|
|
904
|
+
/** @returns {RegisteredCompanyDetail} */
|
|
905
|
+
declare function RegisteredCompanyDetail(): RegisteredCompanyDetail;
|
|
906
|
+
type RegisteredCompanyDetail = {
|
|
907
|
+
address?: string;
|
|
908
|
+
city?: string;
|
|
909
|
+
state?: string;
|
|
910
|
+
country?: string;
|
|
911
|
+
country_code?: string;
|
|
912
|
+
zip_code?: number;
|
|
913
|
+
state_code?: string;
|
|
914
|
+
display_address?: string;
|
|
915
|
+
sector?: string;
|
|
850
916
|
};
|
|
851
917
|
/** @returns {Kwargs} */
|
|
852
918
|
declare function Kwargs(): Kwargs;
|
|
853
919
|
type Kwargs = {
|
|
854
920
|
value?: string;
|
|
855
921
|
};
|
|
856
|
-
/** @returns {
|
|
857
|
-
declare function
|
|
858
|
-
type
|
|
859
|
-
|
|
922
|
+
/** @returns {ShipmentIdBarcodeGenerator} */
|
|
923
|
+
declare function ShipmentIdBarcodeGenerator(): ShipmentIdBarcodeGenerator;
|
|
924
|
+
type ShipmentIdBarcodeGenerator = {
|
|
925
|
+
method?: string;
|
|
926
|
+
kwargs?: Kwargs;
|
|
927
|
+
};
|
|
928
|
+
/** @returns {SignedQrcodeGenerator} */
|
|
929
|
+
declare function SignedQrcodeGenerator(): SignedQrcodeGenerator;
|
|
930
|
+
type SignedQrcodeGenerator = {
|
|
931
|
+
method?: string;
|
|
932
|
+
kwargs?: Kwargs;
|
|
860
933
|
};
|
|
861
934
|
/** @returns {KwargsUpiQrcode} */
|
|
862
935
|
declare function KwargsUpiQrcode(): KwargsUpiQrcode;
|
|
@@ -864,106 +937,113 @@ type KwargsUpiQrcode = {
|
|
|
864
937
|
qr_data?: string;
|
|
865
938
|
qr_url?: string;
|
|
866
939
|
};
|
|
867
|
-
/** @returns {
|
|
868
|
-
declare function
|
|
869
|
-
type
|
|
870
|
-
|
|
940
|
+
/** @returns {UpiQrcodeGenerator} */
|
|
941
|
+
declare function UpiQrcodeGenerator(): UpiQrcodeGenerator;
|
|
942
|
+
type UpiQrcodeGenerator = {
|
|
943
|
+
method?: string;
|
|
944
|
+
kwargs?: KwargsUpiQrcode;
|
|
945
|
+
};
|
|
946
|
+
/** @returns {DigitalsignatureGenerator} */
|
|
947
|
+
declare function DigitalsignatureGenerator(): DigitalsignatureGenerator;
|
|
948
|
+
type DigitalsignatureGenerator = {
|
|
949
|
+
method?: string;
|
|
950
|
+
kwargs?: Kwargs;
|
|
951
|
+
};
|
|
952
|
+
/** @returns {KwargsAwbNumber} */
|
|
953
|
+
declare function KwargsAwbNumber(): KwargsAwbNumber;
|
|
954
|
+
type KwargsAwbNumber = {
|
|
955
|
+
value?: any[];
|
|
956
|
+
};
|
|
957
|
+
/** @returns {AwbNumberLabelBarcodeGenerator} */
|
|
958
|
+
declare function AwbNumberLabelBarcodeGenerator(): AwbNumberLabelBarcodeGenerator;
|
|
959
|
+
type AwbNumberLabelBarcodeGenerator = {
|
|
960
|
+
method?: string;
|
|
961
|
+
kwargs?: KwargsAwbNumber;
|
|
962
|
+
};
|
|
963
|
+
/** @returns {AwbNumberBarcodeGenerator} */
|
|
964
|
+
declare function AwbNumberBarcodeGenerator(): AwbNumberBarcodeGenerator;
|
|
965
|
+
type AwbNumberBarcodeGenerator = {
|
|
966
|
+
method?: string;
|
|
967
|
+
kwargs?: Kwargs;
|
|
871
968
|
};
|
|
872
969
|
/** @returns {MetaProperty} */
|
|
873
970
|
declare function MetaProperty(): MetaProperty;
|
|
874
971
|
type MetaProperty = {
|
|
875
|
-
awb_number_barcode_generator?: AwbNumberBarcodeGenerator;
|
|
876
|
-
awb_number_label_barcode_generator?: AwbNumberLabelBarcodeGenerator;
|
|
877
|
-
digitalsignature_generator?: DigitalsignatureGenerator;
|
|
878
972
|
shipment_id_barcode_generator?: ShipmentIdBarcodeGenerator;
|
|
879
973
|
signed_qrcode_generator?: SignedQrcodeGenerator;
|
|
880
974
|
upi_qrcode_generator?: UpiQrcodeGenerator;
|
|
975
|
+
digitalsignature_generator?: DigitalsignatureGenerator;
|
|
976
|
+
awb_number_label_barcode_generator?: AwbNumberLabelBarcodeGenerator;
|
|
977
|
+
awb_number_barcode_generator?: AwbNumberBarcodeGenerator;
|
|
881
978
|
};
|
|
882
|
-
/** @returns {
|
|
883
|
-
declare function
|
|
884
|
-
type
|
|
885
|
-
|
|
886
|
-
date?: string;
|
|
887
|
-
meta?: any;
|
|
888
|
-
mode?: string;
|
|
889
|
-
name?: string;
|
|
890
|
-
payment_type?: string;
|
|
891
|
-
time?: string;
|
|
892
|
-
transaction_id?: string;
|
|
893
|
-
};
|
|
894
|
-
/** @returns {PaymentReceiptCustomerDetails} */
|
|
895
|
-
declare function PaymentReceiptCustomerDetails(): PaymentReceiptCustomerDetails;
|
|
896
|
-
type PaymentReceiptCustomerDetails = {
|
|
897
|
-
email_id?: string;
|
|
898
|
-
first_name?: string;
|
|
899
|
-
id?: string;
|
|
900
|
-
last_name?: string;
|
|
901
|
-
mobile_number?: string;
|
|
902
|
-
};
|
|
903
|
-
/** @returns {PaymentReceiptFormat} */
|
|
904
|
-
declare function PaymentReceiptFormat(): PaymentReceiptFormat;
|
|
905
|
-
type PaymentReceiptFormat = {
|
|
906
|
-
payment_receipt?: string[];
|
|
907
|
-
};
|
|
908
|
-
/** @returns {PaymentReceiptMeta} */
|
|
909
|
-
declare function PaymentReceiptMeta(): PaymentReceiptMeta;
|
|
910
|
-
type PaymentReceiptMeta = {
|
|
911
|
-
action?: string;
|
|
912
|
-
application_id?: string[];
|
|
913
|
-
company_id?: number;
|
|
914
|
-
created_timestamp?: number;
|
|
915
|
-
event?: any;
|
|
916
|
-
event_trace_info?: any;
|
|
917
|
-
format?: PaymentReceiptFormat;
|
|
918
|
-
job_type?: string;
|
|
919
|
-
organizaton_id?: string;
|
|
920
|
-
service?: PaymentReceiptService;
|
|
921
|
-
trace?: string;
|
|
922
|
-
trace_id?: string[];
|
|
979
|
+
/** @returns {Meta} */
|
|
980
|
+
declare function Meta(): Meta;
|
|
981
|
+
type Meta = {
|
|
982
|
+
generator?: MetaProperty;
|
|
923
983
|
};
|
|
924
|
-
/** @returns {
|
|
925
|
-
declare function
|
|
926
|
-
type
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
984
|
+
/** @returns {DummyTemplateDataPayload} */
|
|
985
|
+
declare function DummyTemplateDataPayload(): DummyTemplateDataPayload;
|
|
986
|
+
type DummyTemplateDataPayload = {
|
|
987
|
+
is_export?: boolean;
|
|
988
|
+
is_export_shipment?: boolean;
|
|
989
|
+
app_domain_name?: string;
|
|
990
|
+
txn_id?: string;
|
|
991
|
+
utr?: string;
|
|
992
|
+
po_number?: string;
|
|
993
|
+
credit_note_id?: string;
|
|
994
|
+
current_date?: string;
|
|
995
|
+
total_value_of_goods?: number;
|
|
996
|
+
b2b_buyer_details?: any;
|
|
997
|
+
is_qwik?: any;
|
|
998
|
+
order_type?: string;
|
|
999
|
+
conversion_rate?: ConversionRate;
|
|
1000
|
+
currency_code?: string;
|
|
1001
|
+
shipment_id?: string;
|
|
1002
|
+
delivery_partner_detail?: DeliveryPartnerDetail;
|
|
1003
|
+
image?: Image;
|
|
1004
|
+
payments?: PaymentData[];
|
|
1005
|
+
invoice_detail?: InvoiceDetail;
|
|
1006
|
+
company_detail?: CompanyDetail;
|
|
1007
|
+
store_detail?: StoreDetail;
|
|
1008
|
+
customer_billing_detail?: CustomerBillingDetail;
|
|
1009
|
+
customer_shipping_detail?: CustomerShippingDetail;
|
|
1010
|
+
return_detail?: ReturnDetail;
|
|
1011
|
+
product_table?: ProductTable;
|
|
1012
|
+
tax_table?: TaxTable;
|
|
1013
|
+
declaration_texts?: string[];
|
|
1014
|
+
registered_company_detail?: RegisteredCompanyDetail;
|
|
1015
|
+
disclaimer?: string;
|
|
1016
|
+
meta?: Meta;
|
|
1017
|
+
is_self_ship?: boolean;
|
|
1018
|
+
mode?: string;
|
|
1019
|
+
is_self_pickup?: boolean;
|
|
1020
|
+
platform_name?: string;
|
|
1021
|
+
amount_to_be_collected?: number;
|
|
1022
|
+
amount_paid?: number;
|
|
1023
|
+
waybills?: any[];
|
|
935
1024
|
total_items?: number;
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
payments?: PaymentReceiptPayments[];
|
|
1025
|
+
brand_logo?: string;
|
|
1026
|
+
shipment_id_barcode?: string;
|
|
1027
|
+
signed_qrcode?: string;
|
|
1028
|
+
upi_qrcode?: string;
|
|
1029
|
+
digitalsignature?: string;
|
|
1030
|
+
awb_number_barcode?: string;
|
|
943
1031
|
uid?: string;
|
|
944
1032
|
};
|
|
945
|
-
/** @returns {
|
|
946
|
-
declare function
|
|
947
|
-
type
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
type PaymentReceiptRequestBody = {
|
|
954
|
-
meta?: PaymentReceiptMeta;
|
|
955
|
-
payload?: PaymentReceiptPayload;
|
|
956
|
-
};
|
|
957
|
-
/** @returns {PaymentReceiptService} */
|
|
958
|
-
declare function PaymentReceiptService(): PaymentReceiptService;
|
|
959
|
-
type PaymentReceiptService = {
|
|
960
|
-
name?: string;
|
|
1033
|
+
/** @returns {DummyTemplateData} */
|
|
1034
|
+
declare function DummyTemplateData(): DummyTemplateData;
|
|
1035
|
+
type DummyTemplateData = {
|
|
1036
|
+
_id?: string;
|
|
1037
|
+
pdf_type_id?: number;
|
|
1038
|
+
payload: DummyTemplateDataPayload;
|
|
1039
|
+
country_code?: string;
|
|
1040
|
+
__v?: number;
|
|
961
1041
|
};
|
|
962
|
-
/** @returns {
|
|
963
|
-
declare function
|
|
964
|
-
type
|
|
965
|
-
|
|
966
|
-
|
|
1042
|
+
/** @returns {DummyTemplateDataItems} */
|
|
1043
|
+
declare function DummyTemplateDataItems(): DummyTemplateDataItems;
|
|
1044
|
+
type DummyTemplateDataItems = {
|
|
1045
|
+
data: DummyTemplateData[];
|
|
1046
|
+
success: boolean;
|
|
967
1047
|
};
|
|
968
1048
|
/** @returns {PdfConfig} */
|
|
969
1049
|
declare function PdfConfig(): PdfConfig;
|
|
@@ -972,28 +1052,23 @@ type PdfConfig = {
|
|
|
972
1052
|
* - This is invoice document format such as A4, A6, POS
|
|
973
1053
|
*/
|
|
974
1054
|
format?: string;
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
};
|
|
981
|
-
/** @returns {PdfConfigSaveSuccess} */
|
|
982
|
-
declare function PdfConfigSaveSuccess(): PdfConfigSaveSuccess;
|
|
983
|
-
type PdfConfigSaveSuccess = {
|
|
984
|
-
data?: PdfConfigSaveSuccessData;
|
|
985
|
-
success?: boolean;
|
|
1055
|
+
/**
|
|
1056
|
+
* - This is html template string
|
|
1057
|
+
*/
|
|
1058
|
+
template?: string;
|
|
1059
|
+
pdf_type_id?: number;
|
|
986
1060
|
};
|
|
987
|
-
/** @returns {
|
|
988
|
-
declare function
|
|
989
|
-
type
|
|
990
|
-
__v?: number;
|
|
1061
|
+
/** @returns {PdfConfigSuccessData} */
|
|
1062
|
+
declare function PdfConfigSuccessData(): PdfConfigSuccessData;
|
|
1063
|
+
type PdfConfigSuccessData = {
|
|
991
1064
|
_id?: string;
|
|
992
|
-
application_id?: string;
|
|
993
1065
|
company_id?: number;
|
|
994
|
-
|
|
1066
|
+
application_id?: string;
|
|
995
1067
|
pdf_type_id?: number;
|
|
1068
|
+
format?: string;
|
|
996
1069
|
template?: string;
|
|
1070
|
+
__v?: number;
|
|
1071
|
+
country_code?: string;
|
|
997
1072
|
};
|
|
998
1073
|
/** @returns {PdfConfigSuccess} */
|
|
999
1074
|
declare function PdfConfigSuccess(): PdfConfigSuccess;
|
|
@@ -1001,17 +1076,22 @@ type PdfConfigSuccess = {
|
|
|
1001
1076
|
data?: PdfConfigSuccessData[];
|
|
1002
1077
|
success?: boolean;
|
|
1003
1078
|
};
|
|
1004
|
-
/** @returns {
|
|
1005
|
-
declare function
|
|
1006
|
-
type
|
|
1007
|
-
__v?: number;
|
|
1079
|
+
/** @returns {PdfConfigSaveSuccessData} */
|
|
1080
|
+
declare function PdfConfigSaveSuccessData(): PdfConfigSaveSuccessData;
|
|
1081
|
+
type PdfConfigSaveSuccessData = {
|
|
1008
1082
|
_id?: string;
|
|
1009
|
-
application_id?: string;
|
|
1010
1083
|
company_id?: number;
|
|
1011
|
-
|
|
1012
|
-
format?: string;
|
|
1084
|
+
application_id?: string;
|
|
1013
1085
|
pdf_type_id?: number;
|
|
1086
|
+
format?: string;
|
|
1014
1087
|
template?: string;
|
|
1088
|
+
__v?: number;
|
|
1089
|
+
};
|
|
1090
|
+
/** @returns {PdfConfigSaveSuccess} */
|
|
1091
|
+
declare function PdfConfigSaveSuccess(): PdfConfigSaveSuccess;
|
|
1092
|
+
type PdfConfigSaveSuccess = {
|
|
1093
|
+
data?: PdfConfigSaveSuccessData;
|
|
1094
|
+
success?: boolean;
|
|
1015
1095
|
};
|
|
1016
1096
|
/** @returns {PdfDefaultTemplateSuccess} */
|
|
1017
1097
|
declare function PdfDefaultTemplateSuccess(): PdfDefaultTemplateSuccess;
|
|
@@ -1022,159 +1102,92 @@ type PdfDefaultTemplateSuccess = {
|
|
|
1022
1102
|
*/
|
|
1023
1103
|
success?: boolean;
|
|
1024
1104
|
};
|
|
1025
|
-
/** @returns {
|
|
1026
|
-
declare function
|
|
1027
|
-
type
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
discount?: number;
|
|
1033
|
-
fynd_discounts?: number;
|
|
1034
|
-
gift_price?: number;
|
|
1035
|
-
grand_total?: number;
|
|
1036
|
-
products?: ItemsProductTable[];
|
|
1037
|
-
promotion?: number;
|
|
1038
|
-
reward?: number;
|
|
1039
|
-
round_off?: number;
|
|
1040
|
-
sub_total?: number;
|
|
1041
|
-
total_in_words?: string;
|
|
1042
|
-
total_items?: number;
|
|
1043
|
-
total_quantity?: number;
|
|
1044
|
-
total_value_of_goods?: number;
|
|
1045
|
-
};
|
|
1046
|
-
/** @returns {RegisteredCompanyDetail} */
|
|
1047
|
-
declare function RegisteredCompanyDetail(): RegisteredCompanyDetail;
|
|
1048
|
-
type RegisteredCompanyDetail = {
|
|
1049
|
-
address?: string;
|
|
1050
|
-
city?: string;
|
|
1051
|
-
country?: string;
|
|
1052
|
-
country_code?: string;
|
|
1053
|
-
display_address?: string;
|
|
1054
|
-
sector?: string;
|
|
1055
|
-
state?: string;
|
|
1056
|
-
state_code?: string;
|
|
1057
|
-
zip_code?: number;
|
|
1058
|
-
};
|
|
1059
|
-
/** @returns {ReturnDetail} */
|
|
1060
|
-
declare function ReturnDetail(): ReturnDetail;
|
|
1061
|
-
type ReturnDetail = {
|
|
1062
|
-
address?: string;
|
|
1063
|
-
city?: string;
|
|
1064
|
-
country?: string;
|
|
1105
|
+
/** @returns {Document} */
|
|
1106
|
+
declare function Document(): Document;
|
|
1107
|
+
type Document = {
|
|
1108
|
+
_id?: string;
|
|
1109
|
+
pdf_type_id?: number;
|
|
1110
|
+
format?: string;
|
|
1111
|
+
template?: string;
|
|
1065
1112
|
country_code?: string;
|
|
1066
|
-
|
|
1067
|
-
gstin?: string;
|
|
1068
|
-
sector?: string;
|
|
1069
|
-
state?: string;
|
|
1070
|
-
state_code?: string;
|
|
1071
|
-
zip_code?: string;
|
|
1072
|
-
};
|
|
1073
|
-
/** @returns {Sgst} */
|
|
1074
|
-
declare function Sgst(): Sgst;
|
|
1075
|
-
type Sgst = {
|
|
1076
|
-
percent?: number;
|
|
1077
|
-
value?: number;
|
|
1113
|
+
__v?: number;
|
|
1078
1114
|
};
|
|
1079
|
-
/** @returns {
|
|
1080
|
-
declare function
|
|
1081
|
-
type
|
|
1082
|
-
|
|
1083
|
-
|
|
1115
|
+
/** @returns {PaymentReceiptRequestBody} */
|
|
1116
|
+
declare function PaymentReceiptRequestBody(): PaymentReceiptRequestBody;
|
|
1117
|
+
type PaymentReceiptRequestBody = {
|
|
1118
|
+
payload?: PaymentReceiptPayload;
|
|
1119
|
+
meta?: PaymentReceiptMeta;
|
|
1084
1120
|
};
|
|
1085
|
-
/** @returns {
|
|
1086
|
-
declare function
|
|
1087
|
-
type
|
|
1088
|
-
|
|
1089
|
-
|
|
1121
|
+
/** @returns {PaymentReceiptOrderDetails} */
|
|
1122
|
+
declare function PaymentReceiptOrderDetails(): PaymentReceiptOrderDetails;
|
|
1123
|
+
type PaymentReceiptOrderDetails = {
|
|
1124
|
+
jiomart_order_id?: string;
|
|
1125
|
+
total_items?: number;
|
|
1126
|
+
final_amount?: number;
|
|
1127
|
+
final_amount_in_words?: string;
|
|
1128
|
+
order_created_date?: string;
|
|
1129
|
+
order_created_time?: string;
|
|
1130
|
+
prm_id?: string;
|
|
1131
|
+
receipt_no?: string;
|
|
1132
|
+
taxes?: PaymentReceiptTaxes;
|
|
1090
1133
|
};
|
|
1091
|
-
/** @returns {
|
|
1092
|
-
declare function
|
|
1093
|
-
type
|
|
1094
|
-
|
|
1095
|
-
|
|
1134
|
+
/** @returns {PaymentReceiptCustomerDetails} */
|
|
1135
|
+
declare function PaymentReceiptCustomerDetails(): PaymentReceiptCustomerDetails;
|
|
1136
|
+
type PaymentReceiptCustomerDetails = {
|
|
1137
|
+
id?: string;
|
|
1138
|
+
email_id?: string;
|
|
1139
|
+
last_name?: string;
|
|
1140
|
+
first_name?: string;
|
|
1141
|
+
mobile_number?: string;
|
|
1096
1142
|
};
|
|
1097
|
-
/** @returns {
|
|
1098
|
-
declare function
|
|
1099
|
-
type
|
|
1100
|
-
|
|
1143
|
+
/** @returns {PaymentReceiptPayments} */
|
|
1144
|
+
declare function PaymentReceiptPayments(): PaymentReceiptPayments;
|
|
1145
|
+
type PaymentReceiptPayments = {
|
|
1146
|
+
payment_desc?: string;
|
|
1147
|
+
txn_date?: string;
|
|
1101
1148
|
};
|
|
1102
|
-
/** @returns {
|
|
1103
|
-
declare function
|
|
1104
|
-
type
|
|
1105
|
-
|
|
1106
|
-
file_name: string;
|
|
1107
|
-
params?: any;
|
|
1108
|
-
size: number;
|
|
1109
|
-
tags?: string[];
|
|
1149
|
+
/** @returns {PaymentReceiptFormat} */
|
|
1150
|
+
declare function PaymentReceiptFormat(): PaymentReceiptFormat;
|
|
1151
|
+
type PaymentReceiptFormat = {
|
|
1152
|
+
payment_receipt?: string[];
|
|
1110
1153
|
};
|
|
1111
|
-
/** @returns {
|
|
1112
|
-
declare function
|
|
1113
|
-
type
|
|
1114
|
-
|
|
1115
|
-
content_type: string;
|
|
1116
|
-
file_name: string;
|
|
1117
|
-
file_path: string;
|
|
1118
|
-
method?: string;
|
|
1119
|
-
namespace: string;
|
|
1120
|
-
operation: string;
|
|
1121
|
-
size: number;
|
|
1122
|
-
tags?: string[];
|
|
1123
|
-
upload: Upload;
|
|
1154
|
+
/** @returns {PaymentReceiptService} */
|
|
1155
|
+
declare function PaymentReceiptService(): PaymentReceiptService;
|
|
1156
|
+
type PaymentReceiptService = {
|
|
1157
|
+
name?: string;
|
|
1124
1158
|
};
|
|
1125
|
-
/** @returns {
|
|
1126
|
-
declare function
|
|
1127
|
-
type
|
|
1128
|
-
address?: string;
|
|
1129
|
-
city?: string;
|
|
1130
|
-
country?: string;
|
|
1131
|
-
country_code?: string;
|
|
1132
|
-
display_address?: string;
|
|
1159
|
+
/** @returns {PaymentReceiptTaxes} */
|
|
1160
|
+
declare function PaymentReceiptTaxes(): PaymentReceiptTaxes;
|
|
1161
|
+
type PaymentReceiptTaxes = {
|
|
1133
1162
|
gstin?: string;
|
|
1134
|
-
|
|
1135
|
-
state?: string;
|
|
1136
|
-
state_code?: string;
|
|
1137
|
-
store_id?: string;
|
|
1138
|
-
store_name?: string;
|
|
1139
|
-
zip_code?: string;
|
|
1140
|
-
};
|
|
1141
|
-
/** @returns {Tax} */
|
|
1142
|
-
declare function Tax(): Tax;
|
|
1143
|
-
type Tax = {
|
|
1144
|
-
cgst?: Cgst;
|
|
1145
|
-
igst?: Igst;
|
|
1146
|
-
sgst?: Sgst;
|
|
1147
|
-
};
|
|
1148
|
-
/** @returns {Taxes} */
|
|
1149
|
-
declare function Taxes(): Taxes;
|
|
1150
|
-
type Taxes = {
|
|
1151
|
-
hsn_code?: string;
|
|
1152
|
-
tax?: Tax;
|
|
1153
|
-
total_tax_value?: number;
|
|
1154
|
-
};
|
|
1155
|
-
/** @returns {TaxTable} */
|
|
1156
|
-
declare function TaxTable(): TaxTable;
|
|
1157
|
-
type TaxTable = {
|
|
1158
|
-
tax_in_words?: string;
|
|
1159
|
-
taxes?: Taxes[];
|
|
1160
|
-
total_tax?: number;
|
|
1163
|
+
pancard?: string;
|
|
1161
1164
|
};
|
|
1162
|
-
/** @returns {
|
|
1163
|
-
declare function
|
|
1164
|
-
type
|
|
1165
|
-
|
|
1166
|
-
|
|
1165
|
+
/** @returns {PaymentReceiptPayload} */
|
|
1166
|
+
declare function PaymentReceiptPayload(): PaymentReceiptPayload;
|
|
1167
|
+
type PaymentReceiptPayload = {
|
|
1168
|
+
uid?: string;
|
|
1169
|
+
order_detail?: PaymentReceiptOrderDetails;
|
|
1170
|
+
customer_detail?: PaymentReceiptCustomerDetails;
|
|
1171
|
+
payments?: PaymentReceiptPayments[];
|
|
1167
1172
|
};
|
|
1168
|
-
/** @returns {
|
|
1169
|
-
declare function
|
|
1170
|
-
type
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
+
/** @returns {PaymentReceiptMeta} */
|
|
1174
|
+
declare function PaymentReceiptMeta(): PaymentReceiptMeta;
|
|
1175
|
+
type PaymentReceiptMeta = {
|
|
1176
|
+
job_type?: string;
|
|
1177
|
+
action?: string;
|
|
1178
|
+
event?: any;
|
|
1179
|
+
organizaton_id?: string;
|
|
1180
|
+
company_id?: number;
|
|
1181
|
+
application_id?: string[];
|
|
1182
|
+
format?: PaymentReceiptFormat;
|
|
1183
|
+
trace_id?: string[];
|
|
1184
|
+
created_timestamp?: number;
|
|
1185
|
+
service?: PaymentReceiptService;
|
|
1186
|
+
event_trace_info?: any;
|
|
1187
|
+
trace?: string;
|
|
1173
1188
|
};
|
|
1174
|
-
/** @returns {
|
|
1175
|
-
declare function
|
|
1176
|
-
type
|
|
1177
|
-
|
|
1178
|
-
signed_url: string;
|
|
1179
|
-
url: string;
|
|
1189
|
+
/** @returns {ExtensionSlug} */
|
|
1190
|
+
declare function ExtensionSlug(): ExtensionSlug;
|
|
1191
|
+
type ExtensionSlug = {
|
|
1192
|
+
extension_slug?: string;
|
|
1180
1193
|
};
|