@whiplashmerch/whiplash-api-client 0.4.77 → 0.4.78

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.
Files changed (92) hide show
  1. package/dist/client.esm.js +18494 -2141
  2. package/dist/client.esm.js.map +1 -1
  3. package/dist/constants/index.d.ts +1 -0
  4. package/dist/constants/search.d.ts +9 -0
  5. package/dist/generated/AccountTransactions.d.ts +56 -0
  6. package/dist/generated/Accounts.d.ts +171 -0
  7. package/dist/generated/Allocations.d.ts +38 -0
  8. package/dist/generated/Broadcasts.d.ts +164 -0
  9. package/dist/generated/Cache.d.ts +56 -0
  10. package/dist/generated/CarrierAccounts.d.ts +191 -0
  11. package/dist/generated/Carriers.d.ts +20 -0
  12. package/dist/generated/Chromalists.d.ts +56 -0
  13. package/dist/generated/ConsumerReturns.d.ts +89 -1
  14. package/dist/generated/Currencies.d.ts +56 -0
  15. package/dist/generated/Customers.d.ts +172 -1
  16. package/dist/generated/CustomsInfos.d.ts +56 -0
  17. package/dist/generated/Dashboards.d.ts +38 -0
  18. package/dist/generated/Documents.d.ts +37 -1
  19. package/dist/generated/ExtApp.d.ts +30 -0
  20. package/dist/generated/FilterSets.d.ts +288 -0
  21. package/dist/generated/ImporterOfRecords.d.ts +92 -0
  22. package/dist/generated/Incidents.d.ts +128 -0
  23. package/dist/generated/InvoiceItems.d.ts +56 -0
  24. package/dist/generated/Invoices.d.ts +110 -0
  25. package/dist/generated/Items.d.ts +260 -1
  26. package/dist/generated/Locales.d.ts +19 -0
  27. package/dist/generated/LocationAdjustments.d.ts +65 -0
  28. package/dist/generated/LocationAudits.d.ts +162 -0
  29. package/dist/generated/LocationTransfers.d.ts +162 -0
  30. package/dist/generated/Locations.d.ts +207 -0
  31. package/dist/generated/Lots.d.ts +119 -0
  32. package/dist/generated/Manifests.d.ts +128 -0
  33. package/dist/generated/Me.d.ts +20 -0
  34. package/dist/generated/Nav.d.ts +20 -0
  35. package/dist/generated/NavItems.d.ts +20 -0
  36. package/dist/generated/OrderBatchItems.d.ts +54 -0
  37. package/dist/generated/OrderBatchRequests.d.ts +38 -0
  38. package/dist/generated/OrderBatches.d.ts +315 -0
  39. package/dist/generated/OrderDocuments.d.ts +37 -0
  40. package/dist/generated/OrderItems.d.ts +98 -1
  41. package/dist/generated/OrderTotes.d.ts +20 -0
  42. package/dist/generated/Orders.d.ts +468 -1
  43. package/dist/generated/Originators.d.ts +28 -1
  44. package/dist/generated/Packages.d.ts +205 -0
  45. package/dist/generated/Partners.d.ts +110 -0
  46. package/dist/generated/Prepacks.d.ts +11 -0
  47. package/dist/generated/ProjectTasks.d.ts +56 -0
  48. package/dist/generated/Projects.d.ts +163 -1
  49. package/dist/generated/Rates.d.ts +119 -0
  50. package/dist/generated/ReasonCodes.d.ts +20 -0
  51. package/dist/generated/ReturnAddresses.d.ts +92 -0
  52. package/dist/generated/RuleDismissals.d.ts +19 -0
  53. package/dist/generated/Rules.d.ts +155 -0
  54. package/dist/generated/Scancodes.d.ts +20 -0
  55. package/dist/generated/SerialNumbers.d.ts +56 -0
  56. package/dist/generated/ShipnoticeItems.d.ts +197 -1
  57. package/dist/generated/Shipnotices.d.ts +242 -1
  58. package/dist/generated/ShippingAliases.d.ts +119 -0
  59. package/dist/generated/ShippingBlacklistedMethods.d.ts +110 -0
  60. package/dist/generated/ShippingMethodMarkups.d.ts +11 -0
  61. package/dist/generated/ShippingMethods.d.ts +110 -0
  62. package/dist/generated/Shops.d.ts +47 -0
  63. package/dist/generated/Stats.d.ts +54 -0
  64. package/dist/generated/SurchargeMarkups.d.ts +56 -0
  65. package/dist/generated/TemplateTypes.d.ts +20 -0
  66. package/dist/generated/Templates.d.ts +82 -1
  67. package/dist/generated/Transactions.d.ts +11 -0
  68. package/dist/generated/TransportationMarkups.d.ts +56 -0
  69. package/dist/generated/Users.d.ts +245 -0
  70. package/dist/generated/Utilities.d.ts +38 -0
  71. package/dist/generated/WarehouseFeatures.d.ts +110 -0
  72. package/dist/generated/Warehouses.d.ts +245 -0
  73. package/dist/generated/Wholesales.d.ts +56 -0
  74. package/dist/generated/data-contracts.d.ts +20237 -4725
  75. package/dist/generated/index.d.ts +57 -0
  76. package/dist/index.d.ts +3 -0
  77. package/dist/mocks/customer.d.ts +2 -0
  78. package/dist/mocks/index.d.ts +4 -0
  79. package/dist/mocks/nav.d.ts +2 -0
  80. package/dist/mocks/user.d.ts +2 -0
  81. package/dist/mocks/warehouse.d.ts +2 -0
  82. package/dist/utils/errorHandler.d.ts +2 -0
  83. package/dist/utils/index.d.ts +9 -0
  84. package/dist/utils/nav.d.ts +9 -0
  85. package/dist/utils/orderBatch.d.ts +19 -0
  86. package/dist/utils/orders.d.ts +54 -0
  87. package/dist/utils/pusher.d.ts +25 -0
  88. package/dist/utils/rules.d.ts +8 -0
  89. package/dist/utils/user.d.ts +19 -0
  90. package/dist/utils/utilities.d.ts +8 -0
  91. package/dist/utils/warehouse.d.ts +26 -0
  92. package/package.json +1 -1
@@ -0,0 +1 @@
1
+ export * from './search';
@@ -0,0 +1,9 @@
1
+ export declare enum searchTypes {
2
+ orders = "orders",
3
+ items = "items",
4
+ shipNotices = "shipnotices",
5
+ returns = "consumer_returns",
6
+ customers = "customers",
7
+ all = "all"
8
+ }
9
+ export declare const labeledSearchTypes: Map<searchTypes, string>;
@@ -0,0 +1,56 @@
1
+ import { APIV21EntitiesAccountTransaction, APIV2EntitiesAccountTransaction, APIV2EntitiesCount, GetApiV21AccountTransactionsCountParams, GetApiV21AccountTransactionsParams, GetApiV2AccountTransactionsCountParams, GetApiV2AccountTransactionsParams } from "./data-contracts";
2
+ import { HttpClient, RequestParams } from "./http-client";
3
+ /**
4
+ * No description
5
+ *
6
+ * @tags account_transactions
7
+ * @name GetApiV2AccountTransactions
8
+ * @summary List all account transactions
9
+ * @request GET:/api/v2/account_transactions
10
+ */
11
+ export declare const getApiV2AccountTransactions: (client: HttpClient, query: GetApiV2AccountTransactionsParams, params?: RequestParams) => Promise<APIV2EntitiesAccountTransaction[]>;
12
+ /**
13
+ * No description
14
+ *
15
+ * @tags account_transactions
16
+ * @name GetApiV2AccountTransactionsCount
17
+ * @summary Count account transactions
18
+ * @request GET:/api/v2/account_transactions/count
19
+ */
20
+ export declare const getApiV2AccountTransactionsCount: (client: HttpClient, query: GetApiV2AccountTransactionsCountParams, params?: RequestParams) => Promise<APIV2EntitiesCount>;
21
+ /**
22
+ * @description Get an account transaction
23
+ *
24
+ * @tags account_transactions
25
+ * @name GetApiV2AccountTransactionsId
26
+ * @summary Retrieve an account transaction
27
+ * @request GET:/api/v2/account_transactions/{id}
28
+ */
29
+ export declare const getApiV2AccountTransactionsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<APIV2EntitiesAccountTransaction>;
30
+ /**
31
+ * No description
32
+ *
33
+ * @tags account_transactions
34
+ * @name GetApiV21AccountTransactions
35
+ * @summary List all account transactions
36
+ * @request GET:/api/v2.1/account_transactions
37
+ */
38
+ export declare const getApiV21AccountTransactions: (client: HttpClient, query: GetApiV21AccountTransactionsParams, params?: RequestParams) => Promise<APIV21EntitiesAccountTransaction[]>;
39
+ /**
40
+ * No description
41
+ *
42
+ * @tags account_transactions
43
+ * @name GetApiV21AccountTransactionsCount
44
+ * @summary Count account transactions
45
+ * @request GET:/api/v2.1/account_transactions/count
46
+ */
47
+ export declare const getApiV21AccountTransactionsCount: (client: HttpClient, query: GetApiV21AccountTransactionsCountParams, params?: RequestParams) => Promise<APIV2EntitiesCount>;
48
+ /**
49
+ * @description Get an account transaction
50
+ *
51
+ * @tags account_transactions
52
+ * @name GetApiV21AccountTransactionsId
53
+ * @summary Retrieve an account transaction
54
+ * @request GET:/api/v2.1/account_transactions/{id}
55
+ */
56
+ export declare const getApiV21AccountTransactionsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<APIV21EntitiesAccountTransaction>;
@@ -0,0 +1,171 @@
1
+ import { APIV21EntitiesAccount, APIV21EntitiesAccountTransaction, APIV21EntitiesPostResponse, APIV2EntitiesAccount, APIV2EntitiesAccountTransaction, APIV2EntitiesAudits, APIV2EntitiesCount, APIV2EntitiesFloatNum, GetApiV21AccountsCountParams, GetApiV21AccountsIdAccountTransactionsParams, GetApiV21AccountsParams, GetApiV2AccountsCountParams, GetApiV2AccountsIdAccountTransactionsParams, GetApiV2AccountsParams, PostApiV21Accounts, PostApiV21AccountsIdAccountTransactions, PostApiV2Accounts, PostApiV2AccountsIdAccountTransactions, PutApiV21AccountsId, PutApiV2AccountsId } from "./data-contracts";
2
+ import { HttpClient, RequestParams } from "./http-client";
3
+ /**
4
+ * No description
5
+ *
6
+ * @tags accounts
7
+ * @name GetApiV2AccountsIdAudits
8
+ * @summary Retrieve audit info for users
9
+ * @request GET:/api/v2/accounts/{id}/audits
10
+ */
11
+ export declare const getApiV2AccountsIdAudits: (client: HttpClient, id: number, params?: RequestParams) => Promise<APIV2EntitiesAudits>;
12
+ /**
13
+ * @description Get an account
14
+ *
15
+ * @tags accounts
16
+ * @name GetApiV2AccountsId
17
+ * @summary Retrieve an account
18
+ * @request GET:/api/v2/accounts/{id}
19
+ */
20
+ export declare const getApiV2AccountsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<APIV2EntitiesAccount>;
21
+ /**
22
+ * @description Update an account
23
+ *
24
+ * @tags accounts
25
+ * @name PutApiV2AccountsId
26
+ * @summary Update an account
27
+ * @request PUT:/api/v2/accounts/{id}
28
+ */
29
+ export declare const putApiV2AccountsId: (client: HttpClient, id: number, putApiV2AccountsId: PutApiV2AccountsId, params?: RequestParams) => Promise<APIV2EntitiesAccount>;
30
+ /**
31
+ * @description Destroy an account
32
+ *
33
+ * @tags accounts
34
+ * @name DeleteApiV2AccountsId
35
+ * @summary Destroy an account
36
+ * @request DELETE:/api/v2/accounts/{id}
37
+ */
38
+ export declare const deleteApiV2AccountsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<void>;
39
+ /**
40
+ * @description Get the suggested_refill for an order
41
+ *
42
+ * @tags accounts
43
+ * @name GetApiV2AccountsIdSuggestedRefill
44
+ * @summary Retrieve the suggested refill for an order
45
+ * @request GET:/api/v2/accounts/{id}/suggested_refill
46
+ */
47
+ export declare const getApiV2AccountsIdSuggestedRefill: (client: HttpClient, id: number, params?: RequestParams) => Promise<APIV2EntitiesFloatNum>;
48
+ /**
49
+ * @description Get all accounts
50
+ *
51
+ * @tags accounts
52
+ * @name GetApiV2Accounts
53
+ * @request GET:/api/v2/accounts
54
+ */
55
+ export declare const getApiV2Accounts: (client: HttpClient, query: GetApiV2AccountsParams, params?: RequestParams) => Promise<APIV2EntitiesAccount[]>;
56
+ /**
57
+ * @description Create an account
58
+ *
59
+ * @tags accounts
60
+ * @name PostApiV2Accounts
61
+ * @summary Create an accout
62
+ * @request POST:/api/v2/accounts
63
+ */
64
+ export declare const postApiV2Accounts: (client: HttpClient, postApiV2Accounts: PostApiV2Accounts, params?: RequestParams) => Promise<APIV2EntitiesAccount>;
65
+ /**
66
+ * @description Returns count of accounts
67
+ *
68
+ * @tags accounts
69
+ * @name GetApiV2AccountsCount
70
+ * @summary Count accounts
71
+ * @request GET:/api/v2/accounts/count
72
+ */
73
+ export declare const getApiV2AccountsCount: (client: HttpClient, query: GetApiV2AccountsCountParams, params?: RequestParams) => Promise<APIV2EntitiesCount>;
74
+ /**
75
+ * No description
76
+ *
77
+ * @tags accounts
78
+ * @name GetApiV2AccountsIdAccountTransactions
79
+ * @summary List all account transactions for an account
80
+ * @request GET:/api/v2/accounts/{id}/account_transactions
81
+ */
82
+ export declare const getApiV2AccountsIdAccountTransactions: (client: HttpClient, { id, ...query }: GetApiV2AccountsIdAccountTransactionsParams, params?: RequestParams) => Promise<APIV2EntitiesAccountTransaction[]>;
83
+ /**
84
+ * No description
85
+ *
86
+ * @tags accounts
87
+ * @name PostApiV2AccountsIdAccountTransactions
88
+ * @summary Create an account transaction
89
+ * @request POST:/api/v2/accounts/{id}/account_transactions
90
+ */
91
+ export declare const postApiV2AccountsIdAccountTransactions: (client: HttpClient, id: number, postApiV2AccountsIdAccountTransactions: PostApiV2AccountsIdAccountTransactions, params?: RequestParams) => Promise<APIV2EntitiesAccountTransaction>;
92
+ /**
93
+ * @description Get all accounts
94
+ *
95
+ * @tags accounts
96
+ * @name GetApiV21Accounts
97
+ * @request GET:/api/v2.1/accounts
98
+ */
99
+ export declare const getApiV21Accounts: (client: HttpClient, query: GetApiV21AccountsParams, params?: RequestParams) => Promise<APIV21EntitiesAccount[]>;
100
+ /**
101
+ * @description Create an account
102
+ *
103
+ * @tags accounts
104
+ * @name PostApiV21Accounts
105
+ * @summary Create an accout
106
+ * @request POST:/api/v2.1/accounts
107
+ */
108
+ export declare const postApiV21Accounts: (client: HttpClient, postApiV21Accounts: PostApiV21Accounts, params?: RequestParams) => Promise<APIV21EntitiesPostResponse>;
109
+ /**
110
+ * @description Returns count of accounts
111
+ *
112
+ * @tags accounts
113
+ * @name GetApiV21AccountsCount
114
+ * @summary Count accounts
115
+ * @request GET:/api/v2.1/accounts/count
116
+ */
117
+ export declare const getApiV21AccountsCount: (client: HttpClient, query: GetApiV21AccountsCountParams, params?: RequestParams) => Promise<APIV2EntitiesCount>;
118
+ /**
119
+ * @description Get an account
120
+ *
121
+ * @tags accounts
122
+ * @name GetApiV21AccountsId
123
+ * @summary Retrieve an account
124
+ * @request GET:/api/v2.1/accounts/{id}
125
+ */
126
+ export declare const getApiV21AccountsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<APIV21EntitiesAccount>;
127
+ /**
128
+ * @description Update an account
129
+ *
130
+ * @tags accounts
131
+ * @name PutApiV21AccountsId
132
+ * @summary Update an account
133
+ * @request PUT:/api/v2.1/accounts/{id}
134
+ */
135
+ export declare const putApiV21AccountsId: (client: HttpClient, id: number, putApiV21AccountsId: PutApiV21AccountsId, params?: RequestParams) => Promise<void>;
136
+ /**
137
+ * @description Destroy an account
138
+ *
139
+ * @tags accounts
140
+ * @name DeleteApiV21AccountsId
141
+ * @summary Destroy an account
142
+ * @request DELETE:/api/v2.1/accounts/{id}
143
+ */
144
+ export declare const deleteApiV21AccountsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<void>;
145
+ /**
146
+ * @description Get the suggested_refill for an order
147
+ *
148
+ * @tags accounts
149
+ * @name GetApiV21AccountsIdSuggestedRefill
150
+ * @summary Retrieve the suggested refill for an order
151
+ * @request GET:/api/v2.1/accounts/{id}/suggested_refill
152
+ */
153
+ export declare const getApiV21AccountsIdSuggestedRefill: (client: HttpClient, id: number, params?: RequestParams) => Promise<APIV2EntitiesFloatNum>;
154
+ /**
155
+ * No description
156
+ *
157
+ * @tags accounts
158
+ * @name GetApiV21AccountsIdAccountTransactions
159
+ * @summary List all account transactions for an account
160
+ * @request GET:/api/v2.1/accounts/{id}/account_transactions
161
+ */
162
+ export declare const getApiV21AccountsIdAccountTransactions: (client: HttpClient, { id, ...query }: GetApiV21AccountsIdAccountTransactionsParams, params?: RequestParams) => Promise<APIV21EntitiesAccountTransaction[]>;
163
+ /**
164
+ * No description
165
+ *
166
+ * @tags accounts
167
+ * @name PostApiV21AccountsIdAccountTransactions
168
+ * @summary Create an account transaction
169
+ * @request POST:/api/v2.1/accounts/{id}/account_transactions
170
+ */
171
+ export declare const postApiV21AccountsIdAccountTransactions: (client: HttpClient, id: number, postApiV21AccountsIdAccountTransactions: PostApiV21AccountsIdAccountTransactions, params?: RequestParams) => Promise<APIV21EntitiesPostResponse>;
@@ -0,0 +1,38 @@
1
+ import { APIV21EntitiesAllocation, APIV2EntitiesAllocation, GetApiV21AllocationsParams, GetApiV2AllocationsParams } from "./data-contracts";
2
+ import { HttpClient, RequestParams } from "./http-client";
3
+ /**
4
+ * @description Get all allocations
5
+ *
6
+ * @tags allocations
7
+ * @name GetApiV2Allocations
8
+ * @summary List allocations
9
+ * @request GET:/api/v2/allocations
10
+ */
11
+ export declare const getApiV2Allocations: (client: HttpClient, query: GetApiV2AllocationsParams, params?: RequestParams) => Promise<APIV2EntitiesAllocation[]>;
12
+ /**
13
+ * @description Destroy an allocation
14
+ *
15
+ * @tags allocations
16
+ * @name DeleteApiV2AllocationsId
17
+ * @summary Destroy an alloation
18
+ * @request DELETE:/api/v2/allocations/{id}
19
+ */
20
+ export declare const deleteApiV2AllocationsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<void>;
21
+ /**
22
+ * @description Get all allocations
23
+ *
24
+ * @tags allocations
25
+ * @name GetApiV21Allocations
26
+ * @summary List allocations
27
+ * @request GET:/api/v2.1/allocations
28
+ */
29
+ export declare const getApiV21Allocations: (client: HttpClient, query: GetApiV21AllocationsParams, params?: RequestParams) => Promise<APIV21EntitiesAllocation[]>;
30
+ /**
31
+ * @description Destroy an allocation
32
+ *
33
+ * @tags allocations
34
+ * @name DeleteApiV21AllocationsId
35
+ * @summary Destroy an alloation
36
+ * @request DELETE:/api/v2.1/allocations/{id}
37
+ */
38
+ export declare const deleteApiV21AllocationsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<void>;
@@ -0,0 +1,164 @@
1
+ import { APIV21EntitiesBroadcast, APIV21EntitiesPostResponse, APIV2EntitiesBroadcast, APIV2EntitiesCount, GetApiV21BroadcastsCountParams, GetApiV21BroadcastsParams, GetApiV2BroadcastsCountParams, GetApiV2BroadcastsParams, PostApiV21Broadcasts, PostApiV2Broadcasts, PutApiV21BroadcastsId, PutApiV2BroadcastsId } from "./data-contracts";
2
+ import { HttpClient, RequestParams } from "./http-client";
3
+ /**
4
+ * @description Get all broadcasts
5
+ *
6
+ * @tags broadcasts
7
+ * @name GetApiV2Broadcasts
8
+ * @summary List broadcasts
9
+ * @request GET:/api/v2/broadcasts
10
+ */
11
+ export declare const getApiV2Broadcasts: (client: HttpClient, query: GetApiV2BroadcastsParams, params?: RequestParams) => Promise<APIV2EntitiesBroadcast[]>;
12
+ /**
13
+ * No description
14
+ *
15
+ * @tags broadcasts
16
+ * @name PostApiV2Broadcasts
17
+ * @summary Create broadcasts
18
+ * @request POST:/api/v2/broadcasts
19
+ */
20
+ export declare const postApiV2Broadcasts: (client: HttpClient, postApiV2Broadcasts: PostApiV2Broadcasts, params?: RequestParams) => Promise<APIV2EntitiesBroadcast>;
21
+ /**
22
+ * @description Returns count of broadcasts
23
+ *
24
+ * @tags broadcasts
25
+ * @name GetApiV2BroadcastsCount
26
+ * @summary Count broadcasts
27
+ * @request GET:/api/v2/broadcasts/count
28
+ */
29
+ export declare const getApiV2BroadcastsCount: (client: HttpClient, query: GetApiV2BroadcastsCountParams, params?: RequestParams) => Promise<APIV2EntitiesCount>;
30
+ /**
31
+ * No description
32
+ *
33
+ * @tags broadcasts
34
+ * @name GetApiV2BroadcastsLevels
35
+ * @summary Retrieve broadcast levels
36
+ * @request GET:/api/v2/broadcasts/levels
37
+ */
38
+ export declare const getApiV2BroadcastsLevels: (client: HttpClient, params?: RequestParams) => Promise<void>;
39
+ /**
40
+ * No description
41
+ *
42
+ * @tags broadcasts
43
+ * @name GetApiV2BroadcastsId
44
+ * @summary Retrieve a broadcast
45
+ * @request GET:/api/v2/broadcasts/{id}
46
+ */
47
+ export declare const getApiV2BroadcastsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<APIV2EntitiesBroadcast[]>;
48
+ /**
49
+ * No description
50
+ *
51
+ * @tags broadcasts
52
+ * @name PutApiV2BroadcastsId
53
+ * @summary Update a broadcast
54
+ * @request PUT:/api/v2/broadcasts/{id}
55
+ */
56
+ export declare const putApiV2BroadcastsId: (client: HttpClient, id: number, putApiV2BroadcastsId: PutApiV2BroadcastsId, params?: RequestParams) => Promise<APIV2EntitiesBroadcast>;
57
+ /**
58
+ * @description Destroy a broadcast
59
+ *
60
+ * @tags broadcasts
61
+ * @name DeleteApiV2BroadcastsId
62
+ * @summary Destroy a broadcast
63
+ * @request DELETE:/api/v2/broadcasts/{id}
64
+ */
65
+ export declare const deleteApiV2BroadcastsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<void>;
66
+ /**
67
+ * No description
68
+ *
69
+ * @tags broadcasts
70
+ * @name PutApiV2BroadcastsIdExpire
71
+ * @summary Expire a broadcast
72
+ * @request PUT:/api/v2/broadcasts/{id}/expire
73
+ */
74
+ export declare const putApiV2BroadcastsIdExpire: (client: HttpClient, id: number, params?: RequestParams) => Promise<APIV2EntitiesBroadcast>;
75
+ /**
76
+ * No description
77
+ *
78
+ * @tags broadcasts
79
+ * @name PutApiV2BroadcastsIdConsume
80
+ * @summary Consume a broadcast
81
+ * @request PUT:/api/v2/broadcasts/{id}/consume
82
+ */
83
+ export declare const putApiV2BroadcastsIdConsume: (client: HttpClient, id: number, params?: RequestParams) => Promise<APIV2EntitiesBroadcast>;
84
+ /**
85
+ * @description Get all broadcasts
86
+ *
87
+ * @tags broadcasts
88
+ * @name GetApiV21Broadcasts
89
+ * @summary List broadcasts
90
+ * @request GET:/api/v2.1/broadcasts
91
+ */
92
+ export declare const getApiV21Broadcasts: (client: HttpClient, query: GetApiV21BroadcastsParams, params?: RequestParams) => Promise<APIV21EntitiesBroadcast[]>;
93
+ /**
94
+ * No description
95
+ *
96
+ * @tags broadcasts
97
+ * @name PostApiV21Broadcasts
98
+ * @summary Create broadcasts
99
+ * @request POST:/api/v2.1/broadcasts
100
+ */
101
+ export declare const postApiV21Broadcasts: (client: HttpClient, postApiV21Broadcasts: PostApiV21Broadcasts, params?: RequestParams) => Promise<APIV21EntitiesPostResponse>;
102
+ /**
103
+ * @description Returns count of broadcasts
104
+ *
105
+ * @tags broadcasts
106
+ * @name GetApiV21BroadcastsCount
107
+ * @summary Count broadcasts
108
+ * @request GET:/api/v2.1/broadcasts/count
109
+ */
110
+ export declare const getApiV21BroadcastsCount: (client: HttpClient, query: GetApiV21BroadcastsCountParams, params?: RequestParams) => Promise<APIV2EntitiesCount>;
111
+ /**
112
+ * No description
113
+ *
114
+ * @tags broadcasts
115
+ * @name GetApiV21BroadcastsLevels
116
+ * @summary Retrieve broadcast levels
117
+ * @request GET:/api/v2.1/broadcasts/levels
118
+ */
119
+ export declare const getApiV21BroadcastsLevels: (client: HttpClient, params?: RequestParams) => Promise<void>;
120
+ /**
121
+ * No description
122
+ *
123
+ * @tags broadcasts
124
+ * @name GetApiV21BroadcastsId
125
+ * @summary Retrieve a broadcast
126
+ * @request GET:/api/v2.1/broadcasts/{id}
127
+ */
128
+ export declare const getApiV21BroadcastsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<APIV21EntitiesBroadcast[]>;
129
+ /**
130
+ * No description
131
+ *
132
+ * @tags broadcasts
133
+ * @name PutApiV21BroadcastsId
134
+ * @summary Update a broadcast
135
+ * @request PUT:/api/v2.1/broadcasts/{id}
136
+ */
137
+ export declare const putApiV21BroadcastsId: (client: HttpClient, id: number, putApiV21BroadcastsId: PutApiV21BroadcastsId, params?: RequestParams) => Promise<void>;
138
+ /**
139
+ * @description Destroy a broadcast
140
+ *
141
+ * @tags broadcasts
142
+ * @name DeleteApiV21BroadcastsId
143
+ * @summary Destroy a broadcast
144
+ * @request DELETE:/api/v2.1/broadcasts/{id}
145
+ */
146
+ export declare const deleteApiV21BroadcastsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<void>;
147
+ /**
148
+ * No description
149
+ *
150
+ * @tags broadcasts
151
+ * @name PutApiV21BroadcastsIdExpire
152
+ * @summary Expire a broadcast
153
+ * @request PUT:/api/v2.1/broadcasts/{id}/expire
154
+ */
155
+ export declare const putApiV21BroadcastsIdExpire: (client: HttpClient, id: number, params?: RequestParams) => Promise<void>;
156
+ /**
157
+ * No description
158
+ *
159
+ * @tags broadcasts
160
+ * @name PutApiV21BroadcastsIdConsume
161
+ * @summary Consume a broadcast
162
+ * @request PUT:/api/v2.1/broadcasts/{id}/consume
163
+ */
164
+ export declare const putApiV21BroadcastsIdConsume: (client: HttpClient, id: number, params?: RequestParams) => Promise<void>;
@@ -0,0 +1,56 @@
1
+ import { PostApiV21Cache, PostApiV2Cache } from "./data-contracts";
2
+ import { HttpClient, RequestParams } from "./http-client";
3
+ /**
4
+ * @description adds a key to the shared cache
5
+ *
6
+ * @tags cache
7
+ * @name PostApiV2Cache
8
+ * @summary Add a key to the shared cache
9
+ * @request POST:/api/v2/cache
10
+ */
11
+ export declare const postApiV2Cache: (client: HttpClient, postApiV2Cache: PostApiV2Cache, params?: RequestParams) => Promise<void>;
12
+ /**
13
+ * @description gets a key from the shared cache
14
+ *
15
+ * @tags cache
16
+ * @name GetApiV2CacheKey
17
+ * @summary Retrieve a key from the shared cache
18
+ * @request GET:/api/v2/cache/{key}
19
+ */
20
+ export declare const getApiV2CacheKey: (client: HttpClient, key: number, params?: RequestParams) => Promise<void>;
21
+ /**
22
+ * @description deletes a key from the shared cache
23
+ *
24
+ * @tags cache
25
+ * @name DeleteApiV2CacheKey
26
+ * @summary Delete a key from the shared cache
27
+ * @request DELETE:/api/v2/cache/{key}
28
+ */
29
+ export declare const deleteApiV2CacheKey: (client: HttpClient, key: number, params?: RequestParams) => Promise<void>;
30
+ /**
31
+ * @description adds a key to the shared cache
32
+ *
33
+ * @tags cache
34
+ * @name PostApiV21Cache
35
+ * @summary Add a key to the shared cache
36
+ * @request POST:/api/v2.1/cache
37
+ */
38
+ export declare const postApiV21Cache: (client: HttpClient, postApiV21Cache: PostApiV21Cache, params?: RequestParams) => Promise<void>;
39
+ /**
40
+ * @description gets a key from the shared cache
41
+ *
42
+ * @tags cache
43
+ * @name GetApiV21CacheKey
44
+ * @summary Retrieve a key from the shared cache
45
+ * @request GET:/api/v2.1/cache/{key}
46
+ */
47
+ export declare const getApiV21CacheKey: (client: HttpClient, key: number, params?: RequestParams) => Promise<void>;
48
+ /**
49
+ * @description deletes a key from the shared cache
50
+ *
51
+ * @tags cache
52
+ * @name DeleteApiV21CacheKey
53
+ * @summary Delete a key from the shared cache
54
+ * @request DELETE:/api/v2.1/cache/{key}
55
+ */
56
+ export declare const deleteApiV21CacheKey: (client: HttpClient, key: number, params?: RequestParams) => Promise<void>;