@or-sdk/billing 11.5.0 → 11.6.0

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 (2) hide show
  1. package/package.json +3 -3
  2. package/CHANGELOG.md +0 -423
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@or-sdk/billing",
3
- "version": "11.5.0",
3
+ "version": "11.6.0",
4
4
  "license": "Apache-2.0",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -15,8 +15,8 @@
15
15
  "dev": "pnpm build:watch:esm"
16
16
  },
17
17
  "dependencies": {
18
- "@onereach/billing-dto": "^11.5.0",
19
- "@onereach/billing-shared": "^11.5.0",
18
+ "@onereach/billing-dto": "^11.6.0",
19
+ "@onereach/billing-shared": "^11.6.0",
20
20
  "@or-sdk/base": "^0.42.3",
21
21
  "@or-sdk/discovery": "1.10.4",
22
22
  "@types/qs": "6.14.0",
package/CHANGELOG.md DELETED
@@ -1,423 +0,0 @@
1
- # Change Log
2
-
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
-
6
- ## [4.15.0](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/compare/@or-sdk/billing@4.14.3...@or-sdk/billing@4.15.0) (2025-05-12)
7
-
8
-
9
- ### Features
10
-
11
- * **billing:** add billing engineApi and getExpenses method ([dcd2c8b](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/commit/dcd2c8b1b49e6dbb5bf4f6c5d392f853f50f0597))
12
-
13
-
14
-
15
- ## [4.14.3](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/compare/@or-sdk/billing@4.14.2...@or-sdk/billing@4.14.3) (2025-05-10)
16
-
17
- **Note:** Version bump only for package @or-sdk/billing
18
-
19
-
20
-
21
-
22
-
23
- ## [4.14.2](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/compare/@or-sdk/billing@4.14.1...@or-sdk/billing@4.14.2) (2025-05-07)
24
-
25
- **Note:** Version bump only for package @or-sdk/billing
26
-
27
-
28
-
29
-
30
-
31
- ## [4.14.1](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/compare/@or-sdk/billing@4.14.0...@or-sdk/billing@4.14.1) (2025-05-07)
32
-
33
-
34
- ### Bug Fixes
35
-
36
- * **payments:** change get customer response type, delete 'deleteCustomer()' method ([06ce3f0](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/commit/06ce3f0f44991cd1be6062428a1fd7aac2a3fb68))
37
-
38
-
39
-
40
- ## [4.14.0](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/compare/@or-sdk/billing@4.13.2...@or-sdk/billing@4.14.0) (2025-04-28)
41
-
42
-
43
- ### Features
44
-
45
- * **@or-sdk/sku-builder:** change sku builder according to the new mapping data ([c53e7af](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/commit/c53e7af118a4eb99229bc4b672eabd175771a696))
46
-
47
-
48
-
49
- ## [4.13.2](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/compare/@or-sdk/billing@4.13.1...@or-sdk/billing@4.13.2) (2025-04-24)
50
-
51
- **Note:** Version bump only for package @or-sdk/billing
52
-
53
-
54
-
55
-
56
-
57
- ## [4.13.1](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/compare/@or-sdk/billing@4.13.0...@or-sdk/billing@4.13.1) (2025-04-23)
58
-
59
-
60
- ### Bug Fixes
61
-
62
- * **billing:** updated sku mapping response ([a7465bf](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/commit/a7465bfa46a5f364188e7020b9ad0455e77a4f35))
63
-
64
-
65
-
66
- ## [4.13.0](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/compare/@or-sdk/billing@4.12.1...@or-sdk/billing@4.13.0) (2025-04-16)
67
-
68
-
69
- ### Features
70
-
71
- * added/fixed sdk for contracts ([208bb29](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/commit/208bb29f884951328fa8599dcddb66f7b87450eb))
72
-
73
-
74
-
75
- ## [4.12.1](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/compare/@or-sdk/billing@4.12.0...@or-sdk/billing@4.12.1) (2025-04-15)
76
-
77
-
78
- ### Bug Fixes
79
-
80
- * **@or-sdk/billing:** CustomerUsageApi improvments ([de35b55](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/commit/de35b55b033e1545f1d0986371f042c76d0d7675))
81
-
82
-
83
-
84
- ## [4.12.0](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/compare/@or-sdk/billing@4.11.0...@or-sdk/billing@4.12.0) (2025-04-01)
85
-
86
-
87
- ### Features
88
-
89
- * **@or-sdk/billing:** sku mapping API ([8c1d63b](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/commit/8c1d63b3454566acd71354d4bacf2e97277ae0e5))
90
-
91
-
92
-
93
- ## [4.11.0](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/compare/@or-sdk/billing@4.10.0...@or-sdk/billing@4.11.0) (2025-03-28)
94
-
95
-
96
- ### Features
97
-
98
- * **billing:** add credits api functions ([af5116e](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/commit/af5116ecf6ae38f2d178239020315196a727614b))
99
-
100
-
101
-
102
- ## [4.10.0](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/compare/@or-sdk/billing@4.9.0...@or-sdk/billing@4.10.0) (2025-03-25)
103
-
104
-
105
- ### Features
106
-
107
- * **@or-sdk/billing:** subscriptions API ([05df93a](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/commit/05df93abe16d3259cc0376f6e0184dde6e05d92e))
108
-
109
-
110
-
111
- ## [4.9.0](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/compare/@or-sdk/billing@4.8.2...@or-sdk/billing@4.9.0) (2025-03-25)
112
-
113
-
114
- ### Features
115
-
116
- * **@or-sdk/billing:** billing plans API ([15bb7cd](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/commit/15bb7cdafa42edfc7298ed136a09a6fb7ddcdd8b))
117
-
118
-
119
-
120
- ## [4.8.2](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/compare/@or-sdk/billing@4.8.1...@or-sdk/billing@4.8.2) (2025-03-25)
121
-
122
-
123
- ### Bug Fixes
124
-
125
- * **billing:** fixed types in sku to number ([ce4fc14](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/commit/ce4fc14836e9f8a0f28f7b94cfaa1096110d3bd1))
126
-
127
-
128
-
129
- ## [4.8.1](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/compare/@or-sdk/billing@4.8.0...@or-sdk/billing@4.8.1) (2025-03-24)
130
-
131
-
132
- ### Bug Fixes
133
-
134
- * **billing:** switched account type to enum due to accounts sdk requirements ([da19cde](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/commit/da19cdecc5796468c2492d8965bddc9938dc080d))
135
-
136
-
137
-
138
- ## [4.8.0](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/compare/@or-sdk/billing@4.7.0...@or-sdk/billing@4.8.0) (2025-03-18)
139
-
140
-
141
- ### Features
142
-
143
- * **billing:** added customerName and search for contracts ([7ae5e82](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/commit/7ae5e823900c02f443066e4d79a2d12933c39cc2))
144
-
145
-
146
-
147
- ## [4.7.0](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/compare/@or-sdk/billing@4.6.0...@or-sdk/billing@4.7.0) (2025-03-03)
148
-
149
-
150
- ### Features
151
-
152
- * **billing:** allowed to update adjustmentId for tier ([20844ba](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/commit/20844ba0ec78a72eb8aa73111cda14c093cad3ec))
153
-
154
-
155
-
156
- ## [4.6.0](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/compare/@or-sdk/billing@4.5.2...@or-sdk/billing@4.6.0) (2025-02-28)
157
-
158
-
159
- ### Features
160
-
161
- * **@or-sdk/billing:** add customers usage API ([dae7e65](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/commit/dae7e65aeaf50ab0bb9fa0b7e69d333c5eb6dbd0))
162
-
163
-
164
-
165
- ## [4.5.2](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/compare/@or-sdk/billing@4.5.1...@or-sdk/billing@4.5.2) (2025-02-27)
166
-
167
-
168
- ### Bug Fixes
169
-
170
- * **@or-sdk/billing:** refactor api ([2a06ccd](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/commit/2a06ccdaa08bb26441bc30845c638761143f218b))
171
-
172
-
173
-
174
- ## [4.5.1](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/compare/@or-sdk/billing@4.5.0...@or-sdk/billing@4.5.1) (2025-02-25)
175
-
176
- **Note:** Version bump only for package @or-sdk/billing
177
-
178
-
179
-
180
-
181
-
182
- ## [4.5.0](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/compare/@or-sdk/billing@4.4.0...@or-sdk/billing@4.5.0) (2025-02-13)
183
-
184
-
185
- ### Features
186
-
187
- * **billing:** added tiers ([695fe79](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/commit/695fe790df5a1f550ec1879d9cbff23ae8fe4294))
188
-
189
-
190
-
191
- ## [4.4.0](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/compare/@or-sdk/billing@4.3.0...@or-sdk/billing@4.4.0) (2025-02-11)
192
-
193
-
194
- ### Features
195
-
196
- * **billing:** added prepayments sdk ([199e907](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/commit/199e907116483cbcec63637e542972fd8821f68b))
197
-
198
-
199
-
200
- ## [4.3.0](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/compare/@or-sdk/billing@4.2.1...@or-sdk/billing@4.3.0) (2025-02-10)
201
-
202
-
203
- ### Features
204
-
205
- * **@or-sdk/billing:** flows api ([111f234](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/commit/111f2348ca693cbe30d0d64d5453daf188ac8877))
206
-
207
-
208
-
209
- ## [4.2.1](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/compare/@or-sdk/billing@4.2.0...@or-sdk/billing@4.2.1) (2025-02-10)
210
-
211
-
212
- ### Bug Fixes
213
-
214
- * **@or-sdk/billing:** add discovery url to environment dto ([55178c5](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/commit/55178c5901539e0981d6aefaf81a4efc74222807))
215
-
216
-
217
-
218
- ## [4.2.0](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/compare/@or-sdk/billing@4.1.0...@or-sdk/billing@4.2.0) (2025-02-10)
219
-
220
-
221
- ### Features
222
-
223
- * **billing:** Add sageApi, employeesApi ([dcfbfe9](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/commit/dcfbfe9c439f65b577608283664e1feffa8c2c20))
224
-
225
-
226
-
227
- ## [4.1.0](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/compare/@or-sdk/billing@4.0.0...@or-sdk/billing@4.1.0) (2025-02-06)
228
-
229
-
230
- ### Features
231
-
232
- * **billing:** added custom sku sdk ([4d395ee](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/commit/4d395eeb306b83d673fd2b8fb70c3c26d7945850))
233
-
234
-
235
-
236
- ## [4.0.0](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/compare/@or-sdk/billing@3.3.1...@or-sdk/billing@4.0.0) (2025-02-04)
237
-
238
-
239
- ### ⚠ BREAKING CHANGES
240
-
241
- * renamed provider to vendor
242
-
243
- ### Bug Fixes
244
-
245
- * renamed provider to vendor ([4fa209b](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/commit/4fa209bfea7a2bf346f72fbe4b4965089c5e565c))
246
-
247
-
248
-
249
- ## [3.3.1](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/compare/@or-sdk/billing@3.3.0...@or-sdk/billing@3.3.1) (2025-01-15)
250
-
251
-
252
- ### Bug Fixes
253
-
254
- * **@or-sdk/billing:** fixed accounts dto for get ([e91b2fa](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/commit/e91b2faaca973439e21025e51346b32d243e3485))
255
-
256
-
257
-
258
- ## [3.3.0](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/compare/@or-sdk/billing@3.2.1...@or-sdk/billing@3.3.0) (2025-01-14)
259
-
260
-
261
- ### Features
262
-
263
- * **@or-sdk/billing:** add accounts sdk ([c14cf90](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/commit/c14cf90ca8a7aa1eb5533c4879be8f5d32b12dd5))
264
-
265
-
266
-
267
- ## [3.2.1](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/compare/@or-sdk/billing@3.2.0...@or-sdk/billing@3.2.1) (2025-01-13)
268
-
269
-
270
- ### Bug Fixes
271
-
272
- * **@or-sdk/billing:** add getEnvironmentsV2 ([493825a](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/commit/493825a9cf1cf0c3735157926c0d183299679752))
273
-
274
-
275
-
276
- ## [3.2.0](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/compare/@or-sdk/billing@3.1.1...@or-sdk/billing@3.2.0) (2024-12-20)
277
-
278
-
279
- ### Features
280
-
281
- * **@or-sdk/billing:** billing custom authorization ([1fa6944](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/commit/1fa694423f45537a876426ef5b6ed0db4c4da0e1))
282
-
283
-
284
-
285
- ## [3.1.1](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/compare/@or-sdk/billing@3.1.0...@or-sdk/billing@3.1.1) (2024-12-18)
286
-
287
- **Note:** Version bump only for package @or-sdk/billing
288
-
289
-
290
-
291
-
292
-
293
- ## [3.1.0](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/compare/@or-sdk/billing@3.0.0...@or-sdk/billing@3.1.0) (2024-12-06)
294
-
295
-
296
- ### Features
297
-
298
- * **@or-sdk/billing:** added pattern sdk ([0574b15](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/commit/0574b15c3aea46576a771cecd12ac04b86dc5982))
299
-
300
-
301
-
302
- ## [3.0.0](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/compare/@or-sdk/billing@2.0.0...@or-sdk/billing@3.0.0) (2024-11-29)
303
-
304
-
305
- ### ⚠ BREAKING CHANGES
306
-
307
- * **@or-sdk/billing:** fix variable naming for SKU sdk
308
-
309
- ### Styles
310
-
311
- * **@or-sdk/billing:** fix variable naming for SKU sdk ([d2f5447](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/commit/d2f5447877e9d11d830a742ae892da579a68ff9a))
312
-
313
-
314
-
315
- ## [2.0.0](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/compare/@or-sdk/billing@1.10.0...@or-sdk/billing@2.0.0) (2024-11-28)
316
-
317
-
318
- ### ⚠ BREAKING CHANGES
319
-
320
- * **@or-sdk/billing:** fix variable naming for env API
321
-
322
- ### Styles
323
-
324
- * **@or-sdk/billing:** fix variable naming for env API ([17a5171](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/commit/17a5171d0fd34f01263d897c910d98b903438c5d))
325
-
326
-
327
-
328
- ## [1.10.0](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/compare/@or-sdk/billing@1.9.0...@or-sdk/billing@1.10.0) (2024-11-19)
329
-
330
-
331
- ### Features
332
-
333
- * **billing_api:** add contracts feature to billing api ([d5b4266](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/commit/d5b42667f96083666598a404d3dd2bbe6982ca95))
334
-
335
-
336
-
337
- ## [1.9.0](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/compare/@or-sdk/billing@1.8.1...@or-sdk/billing@1.9.0) (2024-11-18)
338
-
339
-
340
- ### Features
341
-
342
- * **@or-sdk/billing:** add reporting databases SDK API ([710f32e](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/commit/710f32e29c5466b75391b3081462c34d3493a16f))
343
-
344
-
345
-
346
- ## [1.8.1](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/compare/@or-sdk/billing@1.8.0...@or-sdk/billing@1.8.1) (2024-11-18)
347
-
348
-
349
- ### Bug Fixes
350
-
351
- * **billing:** change types ([b05866e](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/commit/b05866ecf34c5f508a9327974fcccb264d2e41e1))
352
-
353
-
354
-
355
- ## [1.8.0](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/compare/@or-sdk/billing@1.7.0...@or-sdk/billing@1.8.0) (2024-11-08)
356
-
357
-
358
- ### Features
359
-
360
- * **@or-sdk/billing:** add SKU mapping ([95e0d60](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/commit/95e0d60a3d2779f0b1ac92a5e5625399a3687a8b))
361
-
362
-
363
-
364
- ## [1.7.0](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/compare/@or-sdk/billing@1.6.0...@or-sdk/billing@1.7.0) (2024-10-28)
365
-
366
-
367
- ### Features
368
-
369
- * **billing:** added environments sdk ([f9345c8](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/commit/f9345c84143c08dfd33a7f20fb81b7b51791d2e4))
370
-
371
-
372
-
373
- ## [1.6.0](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/compare/@or-sdk/billing@1.5.0...@or-sdk/billing@1.6.0) (2024-10-28)
374
-
375
-
376
- ### Features
377
-
378
- * **billing:** added sku ([30b24e7](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/commit/30b24e77fc1c6707d889db152b19b3f2abfb9222))
379
-
380
-
381
-
382
- ## [1.5.0](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/compare/@or-sdk/billing@1.4.0...@or-sdk/billing@1.5.0) (2024-10-25)
383
-
384
-
385
- ### Features
386
-
387
- * **@or-sdk/billing:** added payment providers methods ([a16e42e](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/commit/a16e42ec953cc92eb0c84c1c5a8315c5aa206729))
388
-
389
-
390
-
391
- ## [1.4.0](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/compare/@or-sdk/billing@1.3.0...@or-sdk/billing@1.4.0) (2024-10-17)
392
-
393
-
394
- ### Features
395
-
396
- * **billing:** added provider customer mapping methods ([4278d9c](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/commit/4278d9cc1507dcd96c965f3ce548adef7e2f9dea))
397
-
398
-
399
-
400
- ## [1.3.0](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/compare/@or-sdk/billing@1.2.0...@or-sdk/billing@1.3.0) (2024-10-11)
401
-
402
-
403
- ### Features
404
-
405
- * **billing_sdk:** added providers ([60e5f78](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/commit/60e5f78b9e7b91e3a85c90d97fe7cfef9bfea4cc))
406
-
407
-
408
-
409
- ## [1.2.0](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/compare/@or-sdk/billing@1.1.0...@or-sdk/billing@1.2.0) (2024-10-10)
410
-
411
-
412
- ### Features
413
-
414
- * **billing-sdk:** implemented customers in billing-sdk ([b7326a4](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/commit/b7326a4880f62ce55b81fda2a41418f28afdda6f))
415
-
416
-
417
-
418
- ## 1.1.0 (2024-09-25)
419
-
420
-
421
- ### Features
422
-
423
- * **billing:** init billing-sdk ([c469402](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/commit/c469402bb172dc50c434ea489fd668452de0ad8d))