@shoplygg/node 0.11.3 → 0.11.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/generated/api.d.ts +105 -1
- package/index.js +1 -1
- package/package.json +1 -1
package/generated/api.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ export type KeyShowResult = {
|
|
|
20
20
|
createdAt: string;
|
|
21
21
|
lastUsedAt: unknown;
|
|
22
22
|
revokedAt: unknown;
|
|
23
|
+
version: string;
|
|
23
24
|
};
|
|
24
25
|
app: unknown;
|
|
25
26
|
store: {
|
|
@@ -44,6 +45,7 @@ export type KeyDestroyResult = {
|
|
|
44
45
|
createdAt: string;
|
|
45
46
|
lastUsedAt: string;
|
|
46
47
|
revokedAt: string;
|
|
48
|
+
version: string;
|
|
47
49
|
};
|
|
48
50
|
|
|
49
51
|
/** What get the store answers: `store.show`. */
|
|
@@ -1569,6 +1571,7 @@ export type RoutingShowResult = {
|
|
|
1569
1571
|
guardDeclines: number;
|
|
1570
1572
|
guardWindow: number;
|
|
1571
1573
|
disputeAlert: number;
|
|
1574
|
+
version: string;
|
|
1572
1575
|
};
|
|
1573
1576
|
processors: {
|
|
1574
1577
|
provider: string;
|
|
@@ -1586,6 +1589,7 @@ export type RoutingShowResult = {
|
|
|
1586
1589
|
approved: unknown;
|
|
1587
1590
|
disputes: unknown;
|
|
1588
1591
|
fee: unknown;
|
|
1592
|
+
version: string;
|
|
1589
1593
|
}[];
|
|
1590
1594
|
rules: {
|
|
1591
1595
|
id: string;
|
|
@@ -1595,6 +1599,7 @@ export type RoutingShowResult = {
|
|
|
1595
1599
|
amount: unknown;
|
|
1596
1600
|
action: string;
|
|
1597
1601
|
provider: string;
|
|
1602
|
+
version: string;
|
|
1598
1603
|
}[];
|
|
1599
1604
|
available: unknown[] | Record<string, unknown>;
|
|
1600
1605
|
figures: {
|
|
@@ -1649,6 +1654,7 @@ export type RoutingUpdateResult = {
|
|
|
1649
1654
|
guardDeclines: number;
|
|
1650
1655
|
guardWindow: number;
|
|
1651
1656
|
disputeAlert: number;
|
|
1657
|
+
version: string;
|
|
1652
1658
|
};
|
|
1653
1659
|
processors: {
|
|
1654
1660
|
provider: string;
|
|
@@ -1666,6 +1672,7 @@ export type RoutingUpdateResult = {
|
|
|
1666
1672
|
approved: unknown;
|
|
1667
1673
|
disputes: unknown;
|
|
1668
1674
|
fee: unknown;
|
|
1675
|
+
version: string;
|
|
1669
1676
|
}[];
|
|
1670
1677
|
rules: {
|
|
1671
1678
|
id: string;
|
|
@@ -1675,6 +1682,7 @@ export type RoutingUpdateResult = {
|
|
|
1675
1682
|
amount: unknown;
|
|
1676
1683
|
action: string;
|
|
1677
1684
|
provider: string;
|
|
1685
|
+
version: string;
|
|
1678
1686
|
}[];
|
|
1679
1687
|
available: unknown[] | Record<string, unknown>;
|
|
1680
1688
|
figures: {
|
|
@@ -1715,6 +1723,7 @@ export type RoutingAddProcessorResult = {
|
|
|
1715
1723
|
guardDeclines: number;
|
|
1716
1724
|
guardWindow: number;
|
|
1717
1725
|
disputeAlert: number;
|
|
1726
|
+
version: string;
|
|
1718
1727
|
};
|
|
1719
1728
|
processors: {
|
|
1720
1729
|
provider: string;
|
|
@@ -1732,6 +1741,7 @@ export type RoutingAddProcessorResult = {
|
|
|
1732
1741
|
approved: unknown;
|
|
1733
1742
|
disputes: unknown;
|
|
1734
1743
|
fee: unknown;
|
|
1744
|
+
version: string;
|
|
1735
1745
|
}[];
|
|
1736
1746
|
rules: unknown[] | Record<string, unknown>;
|
|
1737
1747
|
available: {
|
|
@@ -1785,6 +1795,7 @@ export type RoutingUpdateProcessorResult = {
|
|
|
1785
1795
|
guardDeclines: number;
|
|
1786
1796
|
guardWindow: number;
|
|
1787
1797
|
disputeAlert: number;
|
|
1798
|
+
version: string;
|
|
1788
1799
|
};
|
|
1789
1800
|
processors: {
|
|
1790
1801
|
provider: string;
|
|
@@ -1802,6 +1813,7 @@ export type RoutingUpdateProcessorResult = {
|
|
|
1802
1813
|
approved: unknown;
|
|
1803
1814
|
disputes: unknown;
|
|
1804
1815
|
fee: unknown;
|
|
1816
|
+
version: string;
|
|
1805
1817
|
}[];
|
|
1806
1818
|
rules: unknown[] | Record<string, unknown>;
|
|
1807
1819
|
available: unknown[] | Record<string, unknown>;
|
|
@@ -1837,6 +1849,7 @@ export type RoutingRemoveProcessorResult = {
|
|
|
1837
1849
|
guardDeclines: number;
|
|
1838
1850
|
guardWindow: number;
|
|
1839
1851
|
disputeAlert: number;
|
|
1852
|
+
version: string;
|
|
1840
1853
|
};
|
|
1841
1854
|
processors: {
|
|
1842
1855
|
provider: string;
|
|
@@ -1854,6 +1867,7 @@ export type RoutingRemoveProcessorResult = {
|
|
|
1854
1867
|
approved: unknown;
|
|
1855
1868
|
disputes: unknown;
|
|
1856
1869
|
fee: unknown;
|
|
1870
|
+
version: string;
|
|
1857
1871
|
}[];
|
|
1858
1872
|
rules: unknown[] | Record<string, unknown>;
|
|
1859
1873
|
available: {
|
|
@@ -1893,6 +1907,7 @@ export type RoutingResumeProcessorResult = {
|
|
|
1893
1907
|
guardDeclines: number;
|
|
1894
1908
|
guardWindow: number;
|
|
1895
1909
|
disputeAlert: number;
|
|
1910
|
+
version: string;
|
|
1896
1911
|
};
|
|
1897
1912
|
processors: {
|
|
1898
1913
|
provider: string;
|
|
@@ -1910,6 +1925,7 @@ export type RoutingResumeProcessorResult = {
|
|
|
1910
1925
|
approved: unknown;
|
|
1911
1926
|
disputes: unknown;
|
|
1912
1927
|
fee: unknown;
|
|
1928
|
+
version: string;
|
|
1913
1929
|
}[];
|
|
1914
1930
|
rules: {
|
|
1915
1931
|
id: string;
|
|
@@ -1919,6 +1935,7 @@ export type RoutingResumeProcessorResult = {
|
|
|
1919
1935
|
amount: unknown;
|
|
1920
1936
|
action: string;
|
|
1921
1937
|
provider: string;
|
|
1938
|
+
version: string;
|
|
1922
1939
|
}[];
|
|
1923
1940
|
available: unknown[] | Record<string, unknown>;
|
|
1924
1941
|
figures: {
|
|
@@ -1959,6 +1976,7 @@ export type RoutingSortProcessorsResult = {
|
|
|
1959
1976
|
guardDeclines: number;
|
|
1960
1977
|
guardWindow: number;
|
|
1961
1978
|
disputeAlert: number;
|
|
1979
|
+
version: string;
|
|
1962
1980
|
};
|
|
1963
1981
|
processors: {
|
|
1964
1982
|
provider: string;
|
|
@@ -1976,6 +1994,7 @@ export type RoutingSortProcessorsResult = {
|
|
|
1976
1994
|
approved: unknown;
|
|
1977
1995
|
disputes: unknown;
|
|
1978
1996
|
fee: unknown;
|
|
1997
|
+
version: string;
|
|
1979
1998
|
}[];
|
|
1980
1999
|
rules: unknown[] | Record<string, unknown>;
|
|
1981
2000
|
available: unknown[] | Record<string, unknown>;
|
|
@@ -2027,6 +2046,7 @@ export type RoutingAddRuleResult = {
|
|
|
2027
2046
|
guardDeclines: number;
|
|
2028
2047
|
guardWindow: number;
|
|
2029
2048
|
disputeAlert: number;
|
|
2049
|
+
version: string;
|
|
2030
2050
|
};
|
|
2031
2051
|
processors: {
|
|
2032
2052
|
provider: string;
|
|
@@ -2044,6 +2064,7 @@ export type RoutingAddRuleResult = {
|
|
|
2044
2064
|
approved: unknown;
|
|
2045
2065
|
disputes: unknown;
|
|
2046
2066
|
fee: unknown;
|
|
2067
|
+
version: string;
|
|
2047
2068
|
}[];
|
|
2048
2069
|
rules: Array<{
|
|
2049
2070
|
id: string;
|
|
@@ -2053,6 +2074,7 @@ export type RoutingAddRuleResult = {
|
|
|
2053
2074
|
amount: number;
|
|
2054
2075
|
action: string;
|
|
2055
2076
|
provider: string;
|
|
2077
|
+
version: string;
|
|
2056
2078
|
}>;
|
|
2057
2079
|
available: unknown[] | Record<string, unknown>;
|
|
2058
2080
|
figures: {
|
|
@@ -2103,6 +2125,7 @@ export type RoutingUpdateRuleResult = {
|
|
|
2103
2125
|
guardDeclines: number;
|
|
2104
2126
|
guardWindow: number;
|
|
2105
2127
|
disputeAlert: number;
|
|
2128
|
+
version: string;
|
|
2106
2129
|
};
|
|
2107
2130
|
processors: {
|
|
2108
2131
|
provider: string;
|
|
@@ -2120,6 +2143,7 @@ export type RoutingUpdateRuleResult = {
|
|
|
2120
2143
|
approved: unknown;
|
|
2121
2144
|
disputes: unknown;
|
|
2122
2145
|
fee: unknown;
|
|
2146
|
+
version: string;
|
|
2123
2147
|
}[];
|
|
2124
2148
|
rules: {
|
|
2125
2149
|
id: string;
|
|
@@ -2129,6 +2153,7 @@ export type RoutingUpdateRuleResult = {
|
|
|
2129
2153
|
amount: unknown;
|
|
2130
2154
|
action: string;
|
|
2131
2155
|
provider: string;
|
|
2156
|
+
version: string;
|
|
2132
2157
|
}[];
|
|
2133
2158
|
available: unknown[] | Record<string, unknown>;
|
|
2134
2159
|
figures: {
|
|
@@ -2163,6 +2188,7 @@ export type RoutingDeleteRuleResult = {
|
|
|
2163
2188
|
guardDeclines: number;
|
|
2164
2189
|
guardWindow: number;
|
|
2165
2190
|
disputeAlert: number;
|
|
2191
|
+
version: string;
|
|
2166
2192
|
};
|
|
2167
2193
|
processors: {
|
|
2168
2194
|
provider: string;
|
|
@@ -2180,6 +2206,7 @@ export type RoutingDeleteRuleResult = {
|
|
|
2180
2206
|
approved: unknown;
|
|
2181
2207
|
disputes: unknown;
|
|
2182
2208
|
fee: unknown;
|
|
2209
|
+
version: string;
|
|
2183
2210
|
}[];
|
|
2184
2211
|
rules: unknown[] | Record<string, unknown>;
|
|
2185
2212
|
available: unknown[] | Record<string, unknown>;
|
|
@@ -2221,6 +2248,7 @@ export type RoutingSortRulesResult = {
|
|
|
2221
2248
|
guardDeclines: number;
|
|
2222
2249
|
guardWindow: number;
|
|
2223
2250
|
disputeAlert: number;
|
|
2251
|
+
version: string;
|
|
2224
2252
|
};
|
|
2225
2253
|
processors: {
|
|
2226
2254
|
provider: string;
|
|
@@ -2238,6 +2266,7 @@ export type RoutingSortRulesResult = {
|
|
|
2238
2266
|
approved: unknown;
|
|
2239
2267
|
disputes: unknown;
|
|
2240
2268
|
fee: unknown;
|
|
2269
|
+
version: string;
|
|
2241
2270
|
}[];
|
|
2242
2271
|
rules: {
|
|
2243
2272
|
id: string;
|
|
@@ -2247,6 +2276,7 @@ export type RoutingSortRulesResult = {
|
|
|
2247
2276
|
amount: unknown;
|
|
2248
2277
|
action: string;
|
|
2249
2278
|
provider: string;
|
|
2279
|
+
version: string;
|
|
2250
2280
|
}[];
|
|
2251
2281
|
available: unknown[] | Record<string, unknown>;
|
|
2252
2282
|
figures: {
|
|
@@ -2281,6 +2311,7 @@ export type CustomMethodsListResult = {
|
|
|
2281
2311
|
asksProof: boolean;
|
|
2282
2312
|
requiresPicture: boolean;
|
|
2283
2313
|
enabled: boolean;
|
|
2314
|
+
version: string;
|
|
2284
2315
|
}[];
|
|
2285
2316
|
|
|
2286
2317
|
/** What create a custom payment method takes: `customMethods.create`. */
|
|
@@ -2315,6 +2346,7 @@ export type CustomMethodsCreateResult = {
|
|
|
2315
2346
|
asksProof: boolean;
|
|
2316
2347
|
requiresPicture: boolean;
|
|
2317
2348
|
enabled: boolean;
|
|
2349
|
+
version: string;
|
|
2318
2350
|
};
|
|
2319
2351
|
|
|
2320
2352
|
/** What update a custom payment method takes: `customMethods.update`. */
|
|
@@ -2349,6 +2381,7 @@ export type CustomMethodsUpdateResult = {
|
|
|
2349
2381
|
asksProof: boolean;
|
|
2350
2382
|
requiresPicture: boolean;
|
|
2351
2383
|
enabled: boolean;
|
|
2384
|
+
version: string;
|
|
2352
2385
|
}[];
|
|
2353
2386
|
|
|
2354
2387
|
/** What delete a custom payment method answers: `customMethods.delete`. */
|
|
@@ -2363,6 +2396,7 @@ export type CustomMethodsDeleteResult = {
|
|
|
2363
2396
|
asksProof: boolean;
|
|
2364
2397
|
requiresPicture: boolean;
|
|
2365
2398
|
enabled: boolean;
|
|
2399
|
+
version: string;
|
|
2366
2400
|
}[];
|
|
2367
2401
|
|
|
2368
2402
|
/** What switch a custom payment method on or off takes: `customMethods.setEnabled`. */
|
|
@@ -2383,6 +2417,7 @@ export type CustomMethodsSetEnabledResult = {
|
|
|
2383
2417
|
asksProof: boolean;
|
|
2384
2418
|
requiresPicture: boolean;
|
|
2385
2419
|
enabled: boolean;
|
|
2420
|
+
version: string;
|
|
2386
2421
|
}[];
|
|
2387
2422
|
|
|
2388
2423
|
/** What sort custom payment methods takes: `customMethods.sort`. */
|
|
@@ -2403,6 +2438,7 @@ export type CustomMethodsSortResult = {
|
|
|
2403
2438
|
asksProof: boolean;
|
|
2404
2439
|
requiresPicture: boolean;
|
|
2405
2440
|
enabled: boolean;
|
|
2441
|
+
version: string;
|
|
2406
2442
|
}[];
|
|
2407
2443
|
|
|
2408
2444
|
/** What upload a custom payment method's icon answers: `customMethods.uploadIcon`. */
|
|
@@ -3742,6 +3778,7 @@ export type SubscriptionsSettingsResult = {
|
|
|
3742
3778
|
autoOn: boolean;
|
|
3743
3779
|
cardChangeOn: boolean;
|
|
3744
3780
|
chargeTries: number;
|
|
3781
|
+
version: string;
|
|
3745
3782
|
};
|
|
3746
3783
|
|
|
3747
3784
|
/** What change subscription settings takes: `subscriptions.updateSettings`. */
|
|
@@ -3789,6 +3826,7 @@ export type SubscriptionsUpdateSettingsResult = {
|
|
|
3789
3826
|
autoOn: boolean;
|
|
3790
3827
|
cardChangeOn: boolean;
|
|
3791
3828
|
chargeTries: number;
|
|
3829
|
+
version: string;
|
|
3792
3830
|
};
|
|
3793
3831
|
|
|
3794
3832
|
/** What list subscription plans answers: `subscriptions.plans`. */
|
|
@@ -3802,6 +3840,7 @@ export type SubscriptionsPlansResult = {
|
|
|
3802
3840
|
unit: string;
|
|
3803
3841
|
running: number;
|
|
3804
3842
|
automatic: number;
|
|
3843
|
+
version: string;
|
|
3805
3844
|
}[];
|
|
3806
3845
|
|
|
3807
3846
|
/** What sell options as subscriptions takes: `subscriptions.savePlans`. */
|
|
@@ -3828,6 +3867,7 @@ export type SubscriptionsSavePlansResult = {
|
|
|
3828
3867
|
unit: string;
|
|
3829
3868
|
running: number;
|
|
3830
3869
|
automatic: number;
|
|
3870
|
+
version: string;
|
|
3831
3871
|
}[];
|
|
3832
3872
|
|
|
3833
3873
|
/** What sell an option once again answers: `subscriptions.removePlan`. */
|
|
@@ -5386,6 +5426,7 @@ export type BlogListResult = {
|
|
|
5386
5426
|
path: string;
|
|
5387
5427
|
description: string;
|
|
5388
5428
|
imageUrl: unknown;
|
|
5429
|
+
version: string;
|
|
5389
5430
|
posts: {
|
|
5390
5431
|
id: string;
|
|
5391
5432
|
categoryId: string;
|
|
@@ -5418,6 +5459,7 @@ export type BlogCategoriesCreateResult = {
|
|
|
5418
5459
|
path: string;
|
|
5419
5460
|
description: string;
|
|
5420
5461
|
imageUrl: unknown;
|
|
5462
|
+
version: string;
|
|
5421
5463
|
posts: unknown[] | Record<string, unknown>;
|
|
5422
5464
|
};
|
|
5423
5465
|
|
|
@@ -5439,6 +5481,7 @@ export type BlogCategoriesUpdateResult = {
|
|
|
5439
5481
|
path: string;
|
|
5440
5482
|
description: string;
|
|
5441
5483
|
imageUrl: unknown;
|
|
5484
|
+
version: string;
|
|
5442
5485
|
};
|
|
5443
5486
|
|
|
5444
5487
|
/** What delete a blog category answers: `blogCategories.delete`. */
|
|
@@ -5498,6 +5541,7 @@ export type BlogPostsCreateResult = {
|
|
|
5498
5541
|
text: string;
|
|
5499
5542
|
}[];
|
|
5500
5543
|
};
|
|
5544
|
+
version: string;
|
|
5501
5545
|
};
|
|
5502
5546
|
|
|
5503
5547
|
/** What get a blog post answers: `blogPosts.show`. */
|
|
@@ -5526,6 +5570,7 @@ export type BlogPostsShowResult = {
|
|
|
5526
5570
|
text: string;
|
|
5527
5571
|
}[];
|
|
5528
5572
|
};
|
|
5573
|
+
version: string;
|
|
5529
5574
|
};
|
|
5530
5575
|
|
|
5531
5576
|
/** What update a blog post takes: `blogPosts.update`. */
|
|
@@ -5574,6 +5619,7 @@ export type BlogPostsUpdateResult = {
|
|
|
5574
5619
|
text: string;
|
|
5575
5620
|
}[];
|
|
5576
5621
|
};
|
|
5622
|
+
version: string;
|
|
5577
5623
|
};
|
|
5578
5624
|
|
|
5579
5625
|
/** What delete a blog post answers: `blogPosts.delete`. */
|
|
@@ -5634,6 +5680,7 @@ export type SeoShowResult = {
|
|
|
5634
5680
|
measurementId: string;
|
|
5635
5681
|
hasSecret: boolean;
|
|
5636
5682
|
};
|
|
5683
|
+
version: string;
|
|
5637
5684
|
};
|
|
5638
5685
|
|
|
5639
5686
|
/** What update search settings takes: `seo.update`. */
|
|
@@ -5662,6 +5709,7 @@ export type SeoUpdateResult = {
|
|
|
5662
5709
|
measurementId: string;
|
|
5663
5710
|
hasSecret: boolean;
|
|
5664
5711
|
};
|
|
5712
|
+
version: string;
|
|
5665
5713
|
};
|
|
5666
5714
|
|
|
5667
5715
|
/** What list redirects and broken links answers: `redirects.list`. */
|
|
@@ -5672,6 +5720,7 @@ export type RedirectsListResult = {
|
|
|
5672
5720
|
hits: number;
|
|
5673
5721
|
createdAt: string;
|
|
5674
5722
|
live: boolean;
|
|
5723
|
+
version: string;
|
|
5675
5724
|
}[];
|
|
5676
5725
|
|
|
5677
5726
|
/** What create a redirect takes: `redirects.create`. */
|
|
@@ -5690,6 +5739,7 @@ export type RedirectsCreateResult = {
|
|
|
5690
5739
|
hits: number;
|
|
5691
5740
|
createdAt: string;
|
|
5692
5741
|
live: boolean;
|
|
5742
|
+
version: string;
|
|
5693
5743
|
}[];
|
|
5694
5744
|
|
|
5695
5745
|
/** What update a redirect takes: `redirects.update`. */
|
|
@@ -5708,6 +5758,7 @@ export type RedirectsUpdateResult = {
|
|
|
5708
5758
|
hits: number;
|
|
5709
5759
|
createdAt: string;
|
|
5710
5760
|
live: boolean;
|
|
5761
|
+
version: string;
|
|
5711
5762
|
}[];
|
|
5712
5763
|
|
|
5713
5764
|
/** What delete a redirect answers: `redirects.delete`. */
|
|
@@ -5735,6 +5786,7 @@ export type SitemapShowResult = {
|
|
|
5735
5786
|
listed: boolean;
|
|
5736
5787
|
priority: string;
|
|
5737
5788
|
changefreq: string;
|
|
5789
|
+
version: string;
|
|
5738
5790
|
entries: {
|
|
5739
5791
|
ref: string;
|
|
5740
5792
|
name: string;
|
|
@@ -5743,6 +5795,7 @@ export type SitemapShowResult = {
|
|
|
5743
5795
|
on: boolean;
|
|
5744
5796
|
priority: string;
|
|
5745
5797
|
changefreq: string;
|
|
5798
|
+
version: string;
|
|
5746
5799
|
}[];
|
|
5747
5800
|
}[];
|
|
5748
5801
|
};
|
|
@@ -5770,6 +5823,7 @@ export type SitemapUpdateKindResult = {
|
|
|
5770
5823
|
listed: boolean;
|
|
5771
5824
|
priority: string;
|
|
5772
5825
|
changefreq: string;
|
|
5826
|
+
version: string;
|
|
5773
5827
|
entries: {
|
|
5774
5828
|
ref: string;
|
|
5775
5829
|
name: string;
|
|
@@ -5778,6 +5832,7 @@ export type SitemapUpdateKindResult = {
|
|
|
5778
5832
|
on: boolean;
|
|
5779
5833
|
priority: string;
|
|
5780
5834
|
changefreq: string;
|
|
5835
|
+
version: string;
|
|
5781
5836
|
}[];
|
|
5782
5837
|
}[];
|
|
5783
5838
|
};
|
|
@@ -5828,6 +5883,7 @@ export type CartRecoveryShowResult = {
|
|
|
5828
5883
|
secondMinutes: number;
|
|
5829
5884
|
secondSubject: string;
|
|
5830
5885
|
secondPercent: number;
|
|
5886
|
+
version: string;
|
|
5831
5887
|
};
|
|
5832
5888
|
|
|
5833
5889
|
/** What change Cart Recovery takes: `cartRecovery.update`. */
|
|
@@ -5869,6 +5925,7 @@ export type CartRecoveryUpdateResult = {
|
|
|
5869
5925
|
secondMinutes: number;
|
|
5870
5926
|
secondSubject: string;
|
|
5871
5927
|
secondPercent: number;
|
|
5928
|
+
version: string;
|
|
5872
5929
|
};
|
|
5873
5930
|
|
|
5874
5931
|
/** What list carts takes: `cartRecovery.carts`. */
|
|
@@ -5964,6 +6021,7 @@ export type WinBackShowResult = {
|
|
|
5964
6021
|
secondSubject: string;
|
|
5965
6022
|
secondPercent: number;
|
|
5966
6023
|
audience: string;
|
|
6024
|
+
version: string;
|
|
5967
6025
|
};
|
|
5968
6026
|
|
|
5969
6027
|
/** What change Win-Back takes: `winBack.update`. */
|
|
@@ -5999,6 +6057,7 @@ export type WinBackUpdateResult = {
|
|
|
5999
6057
|
secondSubject: string;
|
|
6000
6058
|
secondPercent: number;
|
|
6001
6059
|
audience: string;
|
|
6060
|
+
version: string;
|
|
6002
6061
|
};
|
|
6003
6062
|
|
|
6004
6063
|
/** What list Win-Back buyers takes: `winBack.buyers`. */
|
|
@@ -6733,6 +6792,7 @@ export type CustomerTagsListResult = {
|
|
|
6733
6792
|
automatic: boolean;
|
|
6734
6793
|
customers: number;
|
|
6735
6794
|
coupons: number;
|
|
6795
|
+
version: string;
|
|
6736
6796
|
}[];
|
|
6737
6797
|
|
|
6738
6798
|
/** What add a customer tag takes: `customerTags.create`. */
|
|
@@ -6753,6 +6813,7 @@ export type CustomerTagsCreateResult = {
|
|
|
6753
6813
|
name: string;
|
|
6754
6814
|
tone: string;
|
|
6755
6815
|
automatic: boolean;
|
|
6816
|
+
version: string;
|
|
6756
6817
|
};
|
|
6757
6818
|
|
|
6758
6819
|
/** What change VIP and Disputed Before takes: `customerTags.automatic`. */
|
|
@@ -6777,6 +6838,7 @@ export type CustomerTagsAutomaticResult = {
|
|
|
6777
6838
|
automatic: boolean;
|
|
6778
6839
|
customers: number;
|
|
6779
6840
|
coupons: number;
|
|
6841
|
+
version: string;
|
|
6780
6842
|
}[];
|
|
6781
6843
|
|
|
6782
6844
|
/** What change a customer tag takes: `customerTags.update`. */
|
|
@@ -6793,6 +6855,7 @@ export type CustomerTagsUpdateResult = {
|
|
|
6793
6855
|
name: string;
|
|
6794
6856
|
tone: string;
|
|
6795
6857
|
automatic: boolean;
|
|
6858
|
+
version: string;
|
|
6796
6859
|
};
|
|
6797
6860
|
|
|
6798
6861
|
/** What delete a customer tag answers: `customerTags.delete`. */
|
|
@@ -6843,6 +6906,7 @@ export type AffiliatesListResult = {
|
|
|
6843
6906
|
paidAsCredit: number;
|
|
6844
6907
|
joinedThemselves: boolean;
|
|
6845
6908
|
dateCreated: string;
|
|
6909
|
+
version: string;
|
|
6846
6910
|
}[];
|
|
6847
6911
|
|
|
6848
6912
|
/** What create an affiliate takes: `affiliates.create`. */
|
|
@@ -6883,6 +6947,7 @@ export type AffiliatesCreateResult = {
|
|
|
6883
6947
|
paidAsCredit: number;
|
|
6884
6948
|
joinedThemselves: boolean;
|
|
6885
6949
|
dateCreated: string;
|
|
6950
|
+
version: string;
|
|
6886
6951
|
};
|
|
6887
6952
|
|
|
6888
6953
|
/** What update an affiliate takes: `affiliates.update`. */
|
|
@@ -6921,6 +6986,7 @@ export type AffiliatesUpdateResult = {
|
|
|
6921
6986
|
paidAsCredit: number;
|
|
6922
6987
|
joinedThemselves: boolean;
|
|
6923
6988
|
dateCreated: string;
|
|
6989
|
+
version: string;
|
|
6924
6990
|
};
|
|
6925
6991
|
|
|
6926
6992
|
/** What delete an affiliate answers: `affiliates.delete`. */
|
|
@@ -6943,6 +7009,7 @@ export type AffiliatesDeleteResult = {
|
|
|
6943
7009
|
paidAsCredit: number;
|
|
6944
7010
|
joinedThemselves: boolean;
|
|
6945
7011
|
dateCreated: string;
|
|
7012
|
+
version: string;
|
|
6946
7013
|
}[];
|
|
6947
7014
|
|
|
6948
7015
|
/** What change an affiliate's balance takes: `affiliates.setBalance`. */
|
|
@@ -6975,6 +7042,7 @@ export type AffiliatesSetBalanceResult = {
|
|
|
6975
7042
|
paidAsCredit: number;
|
|
6976
7043
|
joinedThemselves: boolean;
|
|
6977
7044
|
dateCreated: string;
|
|
7045
|
+
version: string;
|
|
6978
7046
|
};
|
|
6979
7047
|
|
|
6980
7048
|
/** What get an affiliate's history answers: `affiliates.history`. */
|
|
@@ -7426,6 +7494,7 @@ export type TeamGetResult = {
|
|
|
7426
7494
|
waiting: number;
|
|
7427
7495
|
createdAt: string;
|
|
7428
7496
|
updatedAt: string;
|
|
7497
|
+
version: string;
|
|
7429
7498
|
}[];
|
|
7430
7499
|
invites: {
|
|
7431
7500
|
id: string;
|
|
@@ -7527,6 +7596,7 @@ export type TeamsCreateResult = {
|
|
|
7527
7596
|
waiting: number;
|
|
7528
7597
|
createdAt: string;
|
|
7529
7598
|
updatedAt: string;
|
|
7599
|
+
version: string;
|
|
7530
7600
|
};
|
|
7531
7601
|
|
|
7532
7602
|
/** What update a team takes: `teams.update`. */
|
|
@@ -7548,6 +7618,7 @@ export type TeamsUpdateResult = {
|
|
|
7548
7618
|
waiting: number;
|
|
7549
7619
|
createdAt: string;
|
|
7550
7620
|
updatedAt: string;
|
|
7621
|
+
version: string;
|
|
7551
7622
|
};
|
|
7552
7623
|
|
|
7553
7624
|
/** What delete a team answers: `teams.delete`. */
|
|
@@ -7672,6 +7743,7 @@ export type ResellersOverviewResult = {
|
|
|
7672
7743
|
lastOrderAt: string;
|
|
7673
7744
|
joinedAt: string;
|
|
7674
7745
|
removedAt: unknown;
|
|
7746
|
+
version: string;
|
|
7675
7747
|
}[];
|
|
7676
7748
|
};
|
|
7677
7749
|
|
|
@@ -7779,7 +7851,7 @@ export interface ResellerProductsBadgesParams {
|
|
|
7779
7851
|
|
|
7780
7852
|
/** What set a product's status and labels on the panel answers: `resellerProducts.badges`. */
|
|
7781
7853
|
export type ResellerProductsBadgesResult = {
|
|
7782
|
-
"
|
|
7854
|
+
"5553d50f-7e0b-405b-9a29-b30b84627a91": {
|
|
7783
7855
|
label: string;
|
|
7784
7856
|
color: string;
|
|
7785
7857
|
kind: string;
|
|
@@ -7793,6 +7865,7 @@ export type ResellerTiersListResult = {
|
|
|
7793
7865
|
discount: number;
|
|
7794
7866
|
resellers: number;
|
|
7795
7867
|
spent30: number;
|
|
7868
|
+
version: string;
|
|
7796
7869
|
}[];
|
|
7797
7870
|
|
|
7798
7871
|
/** What create a tier takes: `resellerTiers.create`. */
|
|
@@ -7810,6 +7883,7 @@ export type ResellerTiersCreateResult = {
|
|
|
7810
7883
|
discount: number;
|
|
7811
7884
|
resellers: number;
|
|
7812
7885
|
spent30: number;
|
|
7886
|
+
version: string;
|
|
7813
7887
|
};
|
|
7814
7888
|
|
|
7815
7889
|
/** What update a tier takes: `resellerTiers.update`. */
|
|
@@ -7827,6 +7901,7 @@ export type ResellerTiersUpdateResult = {
|
|
|
7827
7901
|
discount: number;
|
|
7828
7902
|
resellers: number;
|
|
7829
7903
|
spent30: number;
|
|
7904
|
+
version: string;
|
|
7830
7905
|
};
|
|
7831
7906
|
|
|
7832
7907
|
/** What delete a tier answers: `resellerTiers.delete`. */
|
|
@@ -7844,6 +7919,7 @@ export type ResellerInvitesListResult = {
|
|
|
7844
7919
|
endsAt: string;
|
|
7845
7920
|
enabled: boolean;
|
|
7846
7921
|
live: boolean;
|
|
7922
|
+
version: string;
|
|
7847
7923
|
}[];
|
|
7848
7924
|
|
|
7849
7925
|
/** What create an invite link takes: `resellerInvites.create`. */
|
|
@@ -7876,6 +7952,7 @@ export type ResellerInvitesCreateResult = {
|
|
|
7876
7952
|
endsAt: unknown;
|
|
7877
7953
|
enabled: boolean;
|
|
7878
7954
|
live: boolean;
|
|
7955
|
+
version: string;
|
|
7879
7956
|
};
|
|
7880
7957
|
|
|
7881
7958
|
/** What update an invite link takes: `resellerInvites.update`. */
|
|
@@ -7908,6 +7985,7 @@ export type ResellerInvitesUpdateResult = {
|
|
|
7908
7985
|
endsAt: string;
|
|
7909
7986
|
enabled: boolean;
|
|
7910
7987
|
live: boolean;
|
|
7988
|
+
version: string;
|
|
7911
7989
|
};
|
|
7912
7990
|
|
|
7913
7991
|
/** What delete an invite link answers: `resellerInvites.delete`. */
|
|
@@ -7922,6 +8000,7 @@ export type ResellerAnnouncementsListResult = {
|
|
|
7922
8000
|
createdAt: string;
|
|
7923
8001
|
updatedAt: string;
|
|
7924
8002
|
closes: number;
|
|
8003
|
+
version: string;
|
|
7925
8004
|
}[];
|
|
7926
8005
|
|
|
7927
8006
|
/** What post an announcement takes: `resellerAnnouncements.create`. */
|
|
@@ -7947,6 +8026,7 @@ export type ResellerAnnouncementsCreateResult = {
|
|
|
7947
8026
|
createdAt: string;
|
|
7948
8027
|
updatedAt: string;
|
|
7949
8028
|
closes: number;
|
|
8029
|
+
version: string;
|
|
7950
8030
|
};
|
|
7951
8031
|
|
|
7952
8032
|
/** What update an announcement takes: `resellerAnnouncements.update`. */
|
|
@@ -7972,6 +8052,7 @@ export type ResellerAnnouncementsUpdateResult = {
|
|
|
7972
8052
|
createdAt: string;
|
|
7973
8053
|
updatedAt: string;
|
|
7974
8054
|
closes: number;
|
|
8055
|
+
version: string;
|
|
7975
8056
|
};
|
|
7976
8057
|
|
|
7977
8058
|
/** What delete an announcement answers: `resellerAnnouncements.delete`. */
|
|
@@ -8149,6 +8230,7 @@ export type ResellersListResult = {
|
|
|
8149
8230
|
lastOrderAt: unknown;
|
|
8150
8231
|
joinedAt: string;
|
|
8151
8232
|
removedAt: unknown;
|
|
8233
|
+
version: string;
|
|
8152
8234
|
}[];
|
|
8153
8235
|
|
|
8154
8236
|
/** What get a reseller answers: `resellers.get`. */
|
|
@@ -8169,6 +8251,7 @@ export type ResellersGetResult = {
|
|
|
8169
8251
|
lastOrderAt: string;
|
|
8170
8252
|
joinedAt: string;
|
|
8171
8253
|
removedAt: unknown;
|
|
8254
|
+
version: string;
|
|
8172
8255
|
inviteName: unknown;
|
|
8173
8256
|
team: {
|
|
8174
8257
|
id: string;
|
|
@@ -8185,6 +8268,7 @@ export type ResellersGetResult = {
|
|
|
8185
8268
|
verified: boolean;
|
|
8186
8269
|
lastSeenAt: unknown;
|
|
8187
8270
|
joinedAt: string;
|
|
8271
|
+
version: string;
|
|
8188
8272
|
}[];
|
|
8189
8273
|
catalogue: Array<{
|
|
8190
8274
|
id: string;
|
|
@@ -8226,6 +8310,7 @@ export type ResellersUpdateResult = {
|
|
|
8226
8310
|
lastOrderAt: unknown;
|
|
8227
8311
|
joinedAt: string;
|
|
8228
8312
|
removedAt: unknown;
|
|
8313
|
+
version: string;
|
|
8229
8314
|
inviteName: unknown;
|
|
8230
8315
|
team: {
|
|
8231
8316
|
id: string;
|
|
@@ -8242,6 +8327,7 @@ export type ResellersUpdateResult = {
|
|
|
8242
8327
|
verified: boolean;
|
|
8243
8328
|
lastSeenAt: unknown;
|
|
8244
8329
|
joinedAt: string;
|
|
8330
|
+
version: string;
|
|
8245
8331
|
}[];
|
|
8246
8332
|
catalogue: Array<{
|
|
8247
8333
|
id: string;
|
|
@@ -8288,6 +8374,7 @@ export type ResellersSetBalanceResult = {
|
|
|
8288
8374
|
lastOrderAt: unknown;
|
|
8289
8375
|
joinedAt: string;
|
|
8290
8376
|
removedAt: unknown;
|
|
8377
|
+
version: string;
|
|
8291
8378
|
inviteName: unknown;
|
|
8292
8379
|
team: {
|
|
8293
8380
|
id: string;
|
|
@@ -8304,6 +8391,7 @@ export type ResellersSetBalanceResult = {
|
|
|
8304
8391
|
verified: boolean;
|
|
8305
8392
|
lastSeenAt: unknown;
|
|
8306
8393
|
joinedAt: string;
|
|
8394
|
+
version: string;
|
|
8307
8395
|
}[];
|
|
8308
8396
|
catalogue: Array<{
|
|
8309
8397
|
id: string;
|
|
@@ -8341,6 +8429,7 @@ export type ResellersUpdateMemberResult = {
|
|
|
8341
8429
|
lastOrderAt: unknown;
|
|
8342
8430
|
joinedAt: string;
|
|
8343
8431
|
removedAt: unknown;
|
|
8432
|
+
version: string;
|
|
8344
8433
|
inviteName: unknown;
|
|
8345
8434
|
team: {
|
|
8346
8435
|
id: string;
|
|
@@ -8357,6 +8446,7 @@ export type ResellersUpdateMemberResult = {
|
|
|
8357
8446
|
verified: boolean;
|
|
8358
8447
|
lastSeenAt: unknown;
|
|
8359
8448
|
joinedAt: string;
|
|
8449
|
+
version: string;
|
|
8360
8450
|
}[];
|
|
8361
8451
|
catalogue: Array<{
|
|
8362
8452
|
id: string;
|
|
@@ -8388,6 +8478,7 @@ export type ResellersRemoveMemberResult = {
|
|
|
8388
8478
|
lastOrderAt: string;
|
|
8389
8479
|
joinedAt: string;
|
|
8390
8480
|
removedAt: unknown;
|
|
8481
|
+
version: string;
|
|
8391
8482
|
inviteName: unknown;
|
|
8392
8483
|
team: {
|
|
8393
8484
|
id: string;
|
|
@@ -8404,6 +8495,7 @@ export type ResellersRemoveMemberResult = {
|
|
|
8404
8495
|
verified: boolean;
|
|
8405
8496
|
lastSeenAt: unknown;
|
|
8406
8497
|
joinedAt: string;
|
|
8498
|
+
version: string;
|
|
8407
8499
|
}[];
|
|
8408
8500
|
catalogue: Array<{
|
|
8409
8501
|
id: string;
|
|
@@ -9323,6 +9415,7 @@ export type DisputesSettingsResult = {
|
|
|
9323
9415
|
discordRoles: string;
|
|
9324
9416
|
discordRolesBack: boolean;
|
|
9325
9417
|
currency: string;
|
|
9418
|
+
version: string;
|
|
9326
9419
|
};
|
|
9327
9420
|
|
|
9328
9421
|
/** What change dispute settings takes: `disputes.updateSettings`. */
|
|
@@ -9368,6 +9461,7 @@ export type DisputesUpdateSettingsResult = {
|
|
|
9368
9461
|
discordRoles: string;
|
|
9369
9462
|
discordRolesBack: boolean;
|
|
9370
9463
|
currency: string;
|
|
9464
|
+
version: string;
|
|
9371
9465
|
};
|
|
9372
9466
|
|
|
9373
9467
|
/** What get finance access answers: `finance.access`. */
|
|
@@ -9605,6 +9699,7 @@ export type FinancePaymentCostsResult = {
|
|
|
9605
9699
|
percent: number;
|
|
9606
9700
|
fixed: number;
|
|
9607
9701
|
};
|
|
9702
|
+
version: string;
|
|
9608
9703
|
};
|
|
9609
9704
|
|
|
9610
9705
|
/** What set payment fee rates takes: `finance.setPaymentCosts`. */
|
|
@@ -9907,6 +10002,8 @@ export type TaxShowResult = {
|
|
|
9907
10002
|
};
|
|
9908
10003
|
limit: number;
|
|
9909
10004
|
maxRate: number;
|
|
10005
|
+
version: string;
|
|
10006
|
+
ratesVersion: string;
|
|
9910
10007
|
};
|
|
9911
10008
|
|
|
9912
10009
|
/** What update tax settings takes: `tax.update`. */
|
|
@@ -10190,6 +10287,8 @@ export type TaxUpdateResult = {
|
|
|
10190
10287
|
};
|
|
10191
10288
|
limit: number;
|
|
10192
10289
|
maxRate: number;
|
|
10290
|
+
version: string;
|
|
10291
|
+
ratesVersion: string;
|
|
10193
10292
|
};
|
|
10194
10293
|
|
|
10195
10294
|
/** What add or change tax rates takes: `tax.setRates`. */
|
|
@@ -10484,6 +10583,8 @@ export type TaxSetRatesResult = {
|
|
|
10484
10583
|
};
|
|
10485
10584
|
limit: number;
|
|
10486
10585
|
maxRate: number;
|
|
10586
|
+
version: string;
|
|
10587
|
+
ratesVersion: string;
|
|
10487
10588
|
};
|
|
10488
10589
|
|
|
10489
10590
|
/** What remove a tax rate takes: `tax.deleteRate`. */
|
|
@@ -10773,6 +10874,8 @@ export type TaxDeleteRateResult = {
|
|
|
10773
10874
|
};
|
|
10774
10875
|
limit: number;
|
|
10775
10876
|
maxRate: number;
|
|
10877
|
+
version: string;
|
|
10878
|
+
ratesVersion: string;
|
|
10776
10879
|
};
|
|
10777
10880
|
|
|
10778
10881
|
/** What list expenses takes: `expenses.list`. */
|
|
@@ -11596,6 +11699,7 @@ export type CustomerOrdersShowResult = {
|
|
|
11596
11699
|
instructions: string;
|
|
11597
11700
|
files: unknown[] | Record<string, unknown>;
|
|
11598
11701
|
};
|
|
11702
|
+
addons: unknown[] | Record<string, unknown>;
|
|
11599
11703
|
}>;
|
|
11600
11704
|
general: string;
|
|
11601
11705
|
discord: unknown;
|
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shoplygg/node",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.4",
|
|
4
4
|
"description": "Shoply's API from your own server: every route as a typed method, safe retries, pages, checking webhooks, and OAuth for apps.",
|
|
5
5
|
"keywords": ["shoply", "api", "sdk", "ecommerce", "webhooks", "digital-goods"],
|
|
6
6
|
"homepage": "https://docs.shoply.gg/api-reference/node",
|