Commit Graph

122 Commits

Author SHA1 Message Date
Alex Lushpai
9c7c641217
Trim base URL in the constructor 2022-04-18 12:57:35 +03:00
31ede381e4 trim base URL in the constructor 2022-04-18 12:23:18 +03:00
cd567755e7
Fix for the UpdateScopes method 2022-04-13 17:32:26 +03:00
735103b9bd
Сorrect implementation for update-scopes method
* correct implementation for update-scopes method
* update CI
2022-04-12 15:37:15 +03:00
tishmaria90
1309825638
Add update scopes method (#61)
* add update scopes method

* apiKey field

* example fix

Co-authored-by: Maria Tyschitskaya <tyschitskaya@retailcrm.ru>
2022-04-01 17:22:53 +03:00
Akolzin Dmitry
54810c21cd
APISystemInfo method (#60) 2022-02-03 18:09:33 +03:00
Alex Gridnev
1e51894cf4
Add BillingInfo model to ResponseInfo (#59) 2021-12-15 13:09:57 +03:00
cdbf1d6e33
Structures for the one-step connection (#58) 2021-11-17 16:57:35 +03:00
Alex Lushpai
8cfe7034e6
fix order[items][][properties][] unmarshaling for empty values 2021-11-08 13:42:26 +03:00
726f90f29c fix order[items][][properties][] unmarshaling for empty values 2021-11-08 13:25:56 +03:00
Alex Lushpai
e9b2a04a4a
Fix incorrect marshaling for some string maps 2021-10-27 17:25:15 +03:00
2ffbcde857 fix incorrect marshaling for some string maps 2021-10-27 17:18:50 +03:00
97b1abf470
Correct v2 (#55)
* refactor library and upgrade version
* remove useless environment variable
* remove unsupported versions from go.mod
* fixes for error handling & data types
* different improvements for errors
* fixes for types and tests
* better coverage, fix error with the unmarshalers
2021-10-27 15:49:06 +03:00
Alex Lushpai
269764175e
Update gock 2021-10-26 15:56:23 +03:00
a3314c4bfa update gock 2021-10-26 15:45:16 +03:00
Alex Lushpai
a6cbd20518
Add scopes to credentials method response 2021-10-26 13:39:25 +03:00
Akolzin Dmitry
2b9f12f262 add scopes to credentials method response 2021-10-26 13:16:58 +03:00
Alex Lushpai
8b0e5dafc2
Merge pull request #52 from Neur0toxine/update-test-matrix
add go 1.17 to test matrix
2021-09-06 16:47:15 +03:00
Alex Lushpai
c9bc7892bc
Merge pull request #51 from Neur0toxine/add-housing-field
closes #50 - add housing field to Address struct
2021-09-06 16:44:51 +03:00
5ca00138b2 add go 1.17 to test matrix 2021-09-06 16:39:14 +03:00
0daa3fe879 closes #50 - add housing field to Address struct 2021-09-06 16:37:43 +03:00
RenCurs
baddbe95b2
Remove errs package, change logic for error processing (#48) 2021-04-26 12:09:21 +03:00
03fc70d679
Switch to go modules & update linter config (#49)
* update linter action config & fix for tests
* removed deprecate linters from the config
* switch to go modules
2021-04-16 14:25:25 +03:00
Yura
d551e91985
Serializating the Tag structure (#47)
closes #46
2021-03-05 14:49:13 +03:00
Alex Lushpai
e68199efb3
Static code analysis 2021-02-09 22:20:23 +03:00
58dfe0f16f Static code analysis 2021-02-09 16:10:58 +03:00
Akolzin Dmitry
7fc96e5542
fixes DeliveryTracking method (#44) 2021-01-29 14:29:44 +03:00
Alex Lushpai
3d71115827
Update product name, cleanup annotations (#43) 2020-12-15 13:33:24 +03:00
Akolzin Dmitry
c24cb50d9e
Move CI to GitHub Actions (#42) 2020-11-26 13:28:34 +03:00
Alex Lushpai
3a3b4590c3
Enhanced the capabilities of OrderDeliveryData 2020-08-06 14:09:56 +03:00
Daniel Weiser
56a053a61d UnmarshalJSON refactoring 2020-08-05 19:29:25 +03:00
Daniel Weiser
3be09aff75 Closes #33; New error messages 2020-08-05 17:54:47 +03:00
Daniel Weiser
f46bffa9b3 Enhanced the capabilities of OrderDeliveryData 2020-08-05 17:34:38 +03:00
Alex Lushpai
e9c6bf7474
New field Tags in Customer struct 2020-08-04 15:49:06 +03:00
Daniel Weiser
05ac38e199 fix Customer struct 2020-08-04 13:13:52 +03:00
Daniel Weiser
84a002991f new field Tags in Customer struct 2020-08-04 13:09:42 +03:00
Alex Lushpai
d105cf9dee
pass parameter 'by' in payment edit method 2020-08-03 13:16:57 +03:00
Daniel Weiser
13ec136ef0 closes #38; OrderPaymentEdit test 2020-08-03 12:56:15 +03:00
Daniel Weiser
c6d33b527a pass parameter 'by' in payment edit method 2020-07-29 17:27:52 +03:00
Alex Lushpai
a975815296
Return order data with orderCreate 2020-07-14 12:29:16 +03:00
aa1745c13a Closes #34 return order data with orderCreate 2020-07-14 12:18:22 +03:00
Alex Lushpai
2245c40212
Settings method 2020-07-14 11:36:57 +03:00
12ae59c7b1 settings method 2020-07-14 10:22:36 +03:00
Alex Lushpai
38acbef244
Fixes OrdersStatuses method description 2020-06-29 17:16:50 +03:00
Akolzin Dmitry
e9bfb72faf fixes OrdersStatuses method description 2020-06-29 16:34:01 +03:00
Alex Lushpai
a293f7235e
Orders statuses method 2020-06-29 16:28:19 +03:00
Akolzin Dmitry
1ede044644 fixes #30, orders statuses method 2020-06-29 16:26:10 +03:00
Alex Lushpai
03084ba3b8
Update README.md 2020-02-19 12:24:40 +03:00
Alex Lushpai
1963eeb727
Update README.md 2020-02-19 12:21:26 +03:00
Ilyas Salikhov
e8e8fb526c
Merge pull request #29 from Neur0toxine/master
[improvement] corporate customers
2019-11-26 10:42:51 +03:00