Commit Graph

144 Commits

Author SHA1 Message Date
Ruslan Efanov
ddc2b3f785 add /api/v5/loyalty/loyalties, /api/v5/loyalty/loyalties/{id}
add field in `deliveryPaymentTypes` for ` /api/v5/reference/delivery-types`
2022-12-08 13:32:54 +03:00
Ruslan Efanov
90f790e148 add /api/v5/loyalty/accounts 2022-12-07 17:40:52 +03:00
Ruslan Efanov
921d4c1295 Add/edit methods
add `/api/v5/store/products/batch/create`, `/api/v5/store/products/batch/edit`
add fields `isError` and `isPreprocessing` for statuses of integration delivery
add field `deliveryType` for response of creating integration module with inegration delivery
add `/api/v5/loyalty/account/create`, `/api/v5/loyalty/account/{id}`, `/api/v5/loyalty/account/{id}/edit`
add `/api/v5/loyalty/account/{id}/activate`, `/api/v5/loyalty/account/{id}/bonus/credit`
add `/api/v5/loyalty/account/{id}/bonus/{status}/details`
2022-12-07 15:06:59 +03:00
Ruslan Efanov
2f6ab28d85 add method of batch products operations 2022-12-07 15:06:59 +03:00
573cbb9679
remove omitempty for active field in json tag for IntegrationModule 2022-12-07 09:38:59 +03:00
Ruslan Efanov
50e25d61bc change type on active field 2022-12-06 22:27:56 +03:00
Ruslan Efanov
a29e2419ff remove omitempty for active field in json tag for IntegrationModule struct 2022-12-06 17:35:32 +03:00
37df181264
/api/v5/loyalty/bonus/operations method 2022-08-09 17:06:34 +03:00
26e66ab630
paidAtFrom and paidAtTo order filter fields 2022-08-09 17:04:49 +03:00
c482546e07
remove unnecessary spaces from tags 2022-08-09 16:50:06 +03:00
Tyschitskaya Maria
2117664f1f fix docs for loyalty bonus operations methods 2022-08-09 15:27:01 +03:00
Tyschitskaya Maria
5e45297368 loyalty bonus operations methods 2022-08-09 13:45:11 +03:00
defernest
6f7fb5ceb9 add 'paidAt<From|To>' filter for orders request 2022-06-15 18:53:33 +03:00
Alex Lushpai
f6b4a15f78
'Ordering' field to 'Site' definition 2022-05-24 12:28:19 +03:00
Alexander Kozlov
e316e3565c added 'Ordering' field to 'Site' definition 2022-05-23 11:38:20 +03:00
Alex Lushpai
995d19007d
В метод Setting добавлены настройки рабочего времени 2022-04-29 13:13:38 +03:00
Vragov Roman
1355012c58 В метод Setting добавлены настройки рабочего времени 2022-04-29 12:27:47 +03:00
pm14kas
06433b7c19
updated Site definition (#66)
Co-authored-by: Alexander Kozlov <kozlov_a@intaro.email>
2022-04-28 11:18:18 +03:00
Alex Lushpai
b39f9d3f69
Remove omitempty from SuccessfulResponse type 2022-04-27 17:11:47 +03:00
gridnev
3b5f7826ba Remove omitempty from SuccessfulResponse type 2022-04-27 16:25:34 +03:00
Alex Lushpai
b0a082d2bc
disable unused linter for tests 2022-04-22 09:38:38 +03:00
Tyschitskaya Maria
94d281d2c8 disable unused linter for tests 2022-04-21 12:26:07 +03:00
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