@deliverart/sdk-js-integration 2.22.0 → 2.23.2
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/README.md +23 -1
- package/dist/index.cjs +489 -256
- package/dist/index.d.cts +633 -1
- package/dist/index.d.ts +633 -1
- package/dist/index.js +552 -316
- package/package.json +11 -11
package/README.md
CHANGED
|
@@ -85,6 +85,29 @@ const cancellation = await sdk.call(new CancelIntegration({
|
|
|
85
85
|
|
|
86
86
|
---
|
|
87
87
|
|
|
88
|
+
### Deliveroo Manual Portal Activation
|
|
89
|
+
|
|
90
|
+
Deliveroo integrations expose `manualActivationCompleted` and `manualActivationCompletedAt` so operator tools can track whether the final manual activation step has been completed in the Deliveroo portal.
|
|
91
|
+
|
|
92
|
+
```typescript
|
|
93
|
+
import {
|
|
94
|
+
GetIntegrationDeliverooList,
|
|
95
|
+
UpdateIntegrationDeliveroo,
|
|
96
|
+
} from '@deliverart/sdk-js-integration';
|
|
97
|
+
|
|
98
|
+
const pending = await sdk.call(new GetIntegrationDeliverooList({
|
|
99
|
+
query: {
|
|
100
|
+
manualActivationCompleted: false,
|
|
101
|
+
},
|
|
102
|
+
}));
|
|
103
|
+
|
|
104
|
+
await sdk.call(new UpdateIntegrationDeliveroo('deliveroo-integration-id', {
|
|
105
|
+
manualActivationCompleted: true,
|
|
106
|
+
}));
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
---
|
|
110
|
+
|
|
88
111
|
## Complete Usage Example
|
|
89
112
|
|
|
90
113
|
```typescript
|
|
@@ -125,4 +148,3 @@ async function integrationManagement() {
|
|
|
125
148
|
## License
|
|
126
149
|
|
|
127
150
|
MIT
|
|
128
|
-
|