@maxim_mazurok/gapi.client.merchantapi-notifications_v1 0.0.20250804
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/index.d.ts +296 -0
- package/package.json +20 -0
- package/readme.md +73 -0
package/index.d.ts
ADDED
|
@@ -0,0 +1,296 @@
|
|
|
1
|
+
/* Type definitions for non-npm package Merchant API notifications_v1 0.0 */
|
|
2
|
+
// Project: https://developers.google.com/merchant/api
|
|
3
|
+
// Definitions by: Maxim Mazurok <https://github.com/Maxim-Mazurok>
|
|
4
|
+
// Nick Amoscato <https://github.com/namoscato>
|
|
5
|
+
// Declan Vong <https://github.com/declanvong>
|
|
6
|
+
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
7
|
+
|
|
8
|
+
// IMPORTANT
|
|
9
|
+
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
|
+
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
|
+
// Generated from: https://merchantapi.googleapis.com/$discovery/rest?version=notifications_v1
|
|
12
|
+
// Revision: 20250804
|
|
13
|
+
|
|
14
|
+
/// <reference types="gapi.client" />
|
|
15
|
+
|
|
16
|
+
declare namespace gapi.client {
|
|
17
|
+
/** Load Merchant API notifications_v1 */
|
|
18
|
+
function load(
|
|
19
|
+
urlOrObject: 'https://merchantapi.googleapis.com/$discovery/rest?version=notifications_v1',
|
|
20
|
+
): Promise<void>;
|
|
21
|
+
/** @deprecated Please load APIs with discovery documents. */
|
|
22
|
+
function load(
|
|
23
|
+
name: 'merchantapi',
|
|
24
|
+
version: 'notifications_v1',
|
|
25
|
+
): Promise<void>;
|
|
26
|
+
/** @deprecated Please load APIs with discovery documents. */
|
|
27
|
+
function load(
|
|
28
|
+
name: 'merchantapi',
|
|
29
|
+
version: 'notifications_v1',
|
|
30
|
+
callback: () => any,
|
|
31
|
+
): void;
|
|
32
|
+
|
|
33
|
+
namespace merchantapi {
|
|
34
|
+
interface Empty {}
|
|
35
|
+
interface ListNotificationSubscriptionsResponse {
|
|
36
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
37
|
+
nextPageToken?: string;
|
|
38
|
+
/** The list of notification subscriptions requested by the merchant. */
|
|
39
|
+
notificationSubscriptions?: NotificationSubscription[];
|
|
40
|
+
}
|
|
41
|
+
interface NotificationSubscription {
|
|
42
|
+
/** If this value is true, the requesting account is notified of the specified event for all managed accounts (can be subaccounts or other linked accounts) including newly added accounts on a daily basis. */
|
|
43
|
+
allManagedAccounts?: boolean;
|
|
44
|
+
/** URL to be used to push the notification to the merchant. */
|
|
45
|
+
callBackUri?: string;
|
|
46
|
+
/** Output only. The `name` of the notification configuration. Generated by the Content API upon creation of a new `NotificationSubscription`. The `account` represents the merchant ID of the merchant that owns the configuration. Format: `accounts/{account}/notificationsubscriptions/{notification_subscription}` */
|
|
47
|
+
name?: string;
|
|
48
|
+
/** The event that the merchant wants to be notified about. */
|
|
49
|
+
registeredEvent?: string;
|
|
50
|
+
/** The `name` of the account you want to receive notifications for. Format: `accounts/{account}` */
|
|
51
|
+
targetAccount?: string;
|
|
52
|
+
}
|
|
53
|
+
interface ProductChange {
|
|
54
|
+
/** The new value of the changed resource or attribute. If empty, it means that the product was deleted. Will have one of these values : (`approved`, `pending`, `disapproved`, ``) */
|
|
55
|
+
newValue?: string;
|
|
56
|
+
/** The old value of the changed resource or attribute. If empty, it means that the product was created. Will have one of these values : (`approved`, `pending`, `disapproved`, ``) */
|
|
57
|
+
oldValue?: string;
|
|
58
|
+
/** Countries that have the change (if applicable). Represented in the ISO 3166 format. */
|
|
59
|
+
regionCode?: string;
|
|
60
|
+
/** Reporting contexts that have the change (if applicable). Currently this field supports only (`SHOPPING_ADS`, `LOCAL_INVENTORY_ADS`, `YOUTUBE_SHOPPING`, `YOUTUBE_CHECKOUT`, `YOUTUBE_AFFILIATE`) from the enum value [ReportingContextEnum](/merchant/api/reference/rest/Shared.Types/ReportingContextEnum) */
|
|
61
|
+
reportingContext?: string;
|
|
62
|
+
}
|
|
63
|
+
interface ProductStatusChangeMessage {
|
|
64
|
+
/** The target account that owns the entity that changed. Format : `accounts/{merchant_id}` */
|
|
65
|
+
account?: string;
|
|
66
|
+
/** The attribute in the resource that changed, in this case it will be always `Status`. */
|
|
67
|
+
attribute?: string;
|
|
68
|
+
/** A message to describe the change that happened to the product */
|
|
69
|
+
changes?: ProductChange[];
|
|
70
|
+
/** The time at which the event was generated. If you want to order the notification messages you receive you should rely on this field not on the order of receiving the notifications. */
|
|
71
|
+
eventTime?: string;
|
|
72
|
+
/** Optional. The product expiration time. This field will not be set if the notification is sent for a product deletion event. */
|
|
73
|
+
expirationTime?: string;
|
|
74
|
+
/** The account that manages the merchant's account. can be the same as merchant id if it is standalone account. Format : `accounts/{service_provider_id}` */
|
|
75
|
+
managingAccount?: string;
|
|
76
|
+
/** The product name. Format: `accounts/{account}/products/{product}` */
|
|
77
|
+
resource?: string;
|
|
78
|
+
/** The product id. */
|
|
79
|
+
resourceId?: string;
|
|
80
|
+
/** The resource that changed, in this case it will always be `Product`. */
|
|
81
|
+
resourceType?: string;
|
|
82
|
+
}
|
|
83
|
+
interface NotificationsubscriptionsResource {
|
|
84
|
+
/** Creates a notification subscription for a business. For standalone or subaccounts accounts, the business can create a subscription for self. For MCAs, the business can create a subscription for all managed accounts or for a specific subaccount. We will allow the following types of notification subscriptions to exist together (per business as a subscriber per event type): 1. Subscription for all managed accounts + subscription for self. 2. Multiple "partial" subscriptions for managed accounts + subscription for self. we will not allow (per business as a subscriber per event type): 1. Multiple self subscriptions. 2. Multiple "all managed accounts" subscriptions. 3. "All managed accounts" subscription and partial subscriptions at the same time. 4. Multiple partial subscriptions for the same target account. */
|
|
85
|
+
create(request: {
|
|
86
|
+
/** V1 error format. */
|
|
87
|
+
'$.xgafv'?: string;
|
|
88
|
+
/** OAuth access token. */
|
|
89
|
+
access_token?: string;
|
|
90
|
+
/** Data format for response. */
|
|
91
|
+
alt?: string;
|
|
92
|
+
/** JSONP */
|
|
93
|
+
callback?: string;
|
|
94
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
95
|
+
fields?: string;
|
|
96
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
97
|
+
key?: string;
|
|
98
|
+
/** OAuth 2.0 token for the current user. */
|
|
99
|
+
oauth_token?: string;
|
|
100
|
+
/** Required. The merchant account that owns the new notification subscription. Format: `accounts/{account}` */
|
|
101
|
+
parent: string;
|
|
102
|
+
/** Returns response with indentations and line breaks. */
|
|
103
|
+
prettyPrint?: boolean;
|
|
104
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
105
|
+
quotaUser?: string;
|
|
106
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
107
|
+
upload_protocol?: string;
|
|
108
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
109
|
+
uploadType?: string;
|
|
110
|
+
/** Request body */
|
|
111
|
+
resource: NotificationSubscription;
|
|
112
|
+
}): Request<NotificationSubscription>;
|
|
113
|
+
create(
|
|
114
|
+
request: {
|
|
115
|
+
/** V1 error format. */
|
|
116
|
+
'$.xgafv'?: string;
|
|
117
|
+
/** OAuth access token. */
|
|
118
|
+
access_token?: string;
|
|
119
|
+
/** Data format for response. */
|
|
120
|
+
alt?: string;
|
|
121
|
+
/** JSONP */
|
|
122
|
+
callback?: string;
|
|
123
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
124
|
+
fields?: string;
|
|
125
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
126
|
+
key?: string;
|
|
127
|
+
/** OAuth 2.0 token for the current user. */
|
|
128
|
+
oauth_token?: string;
|
|
129
|
+
/** Required. The merchant account that owns the new notification subscription. Format: `accounts/{account}` */
|
|
130
|
+
parent: string;
|
|
131
|
+
/** Returns response with indentations and line breaks. */
|
|
132
|
+
prettyPrint?: boolean;
|
|
133
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
134
|
+
quotaUser?: string;
|
|
135
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
136
|
+
upload_protocol?: string;
|
|
137
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
138
|
+
uploadType?: string;
|
|
139
|
+
},
|
|
140
|
+
body: NotificationSubscription,
|
|
141
|
+
): Request<NotificationSubscription>;
|
|
142
|
+
/** Deletes a notification subscription for a merchant. */
|
|
143
|
+
delete(request?: {
|
|
144
|
+
/** V1 error format. */
|
|
145
|
+
'$.xgafv'?: string;
|
|
146
|
+
/** OAuth access token. */
|
|
147
|
+
access_token?: string;
|
|
148
|
+
/** Data format for response. */
|
|
149
|
+
alt?: string;
|
|
150
|
+
/** JSONP */
|
|
151
|
+
callback?: string;
|
|
152
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
153
|
+
fields?: string;
|
|
154
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
155
|
+
key?: string;
|
|
156
|
+
/** Required. The name of the notification subscription to be deleted. */
|
|
157
|
+
name: string;
|
|
158
|
+
/** OAuth 2.0 token for the current user. */
|
|
159
|
+
oauth_token?: string;
|
|
160
|
+
/** Returns response with indentations and line breaks. */
|
|
161
|
+
prettyPrint?: boolean;
|
|
162
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
163
|
+
quotaUser?: string;
|
|
164
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
165
|
+
upload_protocol?: string;
|
|
166
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
167
|
+
uploadType?: string;
|
|
168
|
+
}): Request<{}>;
|
|
169
|
+
/** Gets notification subscriptions for an account. */
|
|
170
|
+
get(request?: {
|
|
171
|
+
/** V1 error format. */
|
|
172
|
+
'$.xgafv'?: string;
|
|
173
|
+
/** OAuth access token. */
|
|
174
|
+
access_token?: string;
|
|
175
|
+
/** Data format for response. */
|
|
176
|
+
alt?: string;
|
|
177
|
+
/** JSONP */
|
|
178
|
+
callback?: string;
|
|
179
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
180
|
+
fields?: string;
|
|
181
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
182
|
+
key?: string;
|
|
183
|
+
/** Required. The `name` of the notification subscription. */
|
|
184
|
+
name: string;
|
|
185
|
+
/** OAuth 2.0 token for the current user. */
|
|
186
|
+
oauth_token?: string;
|
|
187
|
+
/** Returns response with indentations and line breaks. */
|
|
188
|
+
prettyPrint?: boolean;
|
|
189
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
190
|
+
quotaUser?: string;
|
|
191
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
192
|
+
upload_protocol?: string;
|
|
193
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
194
|
+
uploadType?: string;
|
|
195
|
+
}): Request<NotificationSubscription>;
|
|
196
|
+
/** Gets all the notification subscriptions for a merchant. */
|
|
197
|
+
list(request?: {
|
|
198
|
+
/** V1 error format. */
|
|
199
|
+
'$.xgafv'?: string;
|
|
200
|
+
/** OAuth access token. */
|
|
201
|
+
access_token?: string;
|
|
202
|
+
/** Data format for response. */
|
|
203
|
+
alt?: string;
|
|
204
|
+
/** JSONP */
|
|
205
|
+
callback?: string;
|
|
206
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
207
|
+
fields?: string;
|
|
208
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
209
|
+
key?: string;
|
|
210
|
+
/** OAuth 2.0 token for the current user. */
|
|
211
|
+
oauth_token?: string;
|
|
212
|
+
/** The maximum number of notification subscriptions to return in a page. The default value for `page_size` is 100. The maximum value is `200`. Values above `200` will be coerced to `200`. */
|
|
213
|
+
pageSize?: number;
|
|
214
|
+
/** Token (if provided) to retrieve the subsequent page. All other parameters must match the original call that provided the page token. */
|
|
215
|
+
pageToken?: string;
|
|
216
|
+
/** Required. The merchant account who owns the notification subscriptions. Format: `accounts/{account}` */
|
|
217
|
+
parent: string;
|
|
218
|
+
/** Returns response with indentations and line breaks. */
|
|
219
|
+
prettyPrint?: boolean;
|
|
220
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
221
|
+
quotaUser?: string;
|
|
222
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
223
|
+
upload_protocol?: string;
|
|
224
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
225
|
+
uploadType?: string;
|
|
226
|
+
}): Request<ListNotificationSubscriptionsResponse>;
|
|
227
|
+
/** Updates an existing notification subscription for a merchant. */
|
|
228
|
+
patch(request: {
|
|
229
|
+
/** V1 error format. */
|
|
230
|
+
'$.xgafv'?: string;
|
|
231
|
+
/** OAuth access token. */
|
|
232
|
+
access_token?: string;
|
|
233
|
+
/** Data format for response. */
|
|
234
|
+
alt?: string;
|
|
235
|
+
/** JSONP */
|
|
236
|
+
callback?: string;
|
|
237
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
238
|
+
fields?: string;
|
|
239
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
240
|
+
key?: string;
|
|
241
|
+
/** Output only. The `name` of the notification configuration. Generated by the Content API upon creation of a new `NotificationSubscription`. The `account` represents the merchant ID of the merchant that owns the configuration. Format: `accounts/{account}/notificationsubscriptions/{notification_subscription}` */
|
|
242
|
+
name: string;
|
|
243
|
+
/** OAuth 2.0 token for the current user. */
|
|
244
|
+
oauth_token?: string;
|
|
245
|
+
/** Returns response with indentations and line breaks. */
|
|
246
|
+
prettyPrint?: boolean;
|
|
247
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
248
|
+
quotaUser?: string;
|
|
249
|
+
/** List of fields being updated. */
|
|
250
|
+
updateMask?: string;
|
|
251
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
252
|
+
upload_protocol?: string;
|
|
253
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
254
|
+
uploadType?: string;
|
|
255
|
+
/** Request body */
|
|
256
|
+
resource: NotificationSubscription;
|
|
257
|
+
}): Request<NotificationSubscription>;
|
|
258
|
+
patch(
|
|
259
|
+
request: {
|
|
260
|
+
/** V1 error format. */
|
|
261
|
+
'$.xgafv'?: string;
|
|
262
|
+
/** OAuth access token. */
|
|
263
|
+
access_token?: string;
|
|
264
|
+
/** Data format for response. */
|
|
265
|
+
alt?: string;
|
|
266
|
+
/** JSONP */
|
|
267
|
+
callback?: string;
|
|
268
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
269
|
+
fields?: string;
|
|
270
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
271
|
+
key?: string;
|
|
272
|
+
/** Output only. The `name` of the notification configuration. Generated by the Content API upon creation of a new `NotificationSubscription`. The `account` represents the merchant ID of the merchant that owns the configuration. Format: `accounts/{account}/notificationsubscriptions/{notification_subscription}` */
|
|
273
|
+
name: string;
|
|
274
|
+
/** OAuth 2.0 token for the current user. */
|
|
275
|
+
oauth_token?: string;
|
|
276
|
+
/** Returns response with indentations and line breaks. */
|
|
277
|
+
prettyPrint?: boolean;
|
|
278
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
279
|
+
quotaUser?: string;
|
|
280
|
+
/** List of fields being updated. */
|
|
281
|
+
updateMask?: string;
|
|
282
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
283
|
+
upload_protocol?: string;
|
|
284
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
285
|
+
uploadType?: string;
|
|
286
|
+
},
|
|
287
|
+
body: NotificationSubscription,
|
|
288
|
+
): Request<NotificationSubscription>;
|
|
289
|
+
}
|
|
290
|
+
interface AccountsResource {
|
|
291
|
+
notificationsubscriptions: NotificationsubscriptionsResource;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
const accounts: AccountsResource;
|
|
295
|
+
}
|
|
296
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@maxim_mazurok/gapi.client.merchantapi-notifications_v1",
|
|
3
|
+
"version": "0.0.20250804",
|
|
4
|
+
"description": "TypeScript typings for Merchant API notifications_v1",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "https://github.com/Maxim-Mazurok/google-api-typings-generator.git"
|
|
8
|
+
},
|
|
9
|
+
"license": "MIT",
|
|
10
|
+
"author": {
|
|
11
|
+
"name": "Maxim Mazurok",
|
|
12
|
+
"email": "maxim@mazurok.com",
|
|
13
|
+
"url": "https://maxim.mazurok.com"
|
|
14
|
+
},
|
|
15
|
+
"types": "index.d.ts",
|
|
16
|
+
"dependencies": {
|
|
17
|
+
"@types/gapi.client": "*",
|
|
18
|
+
"@types/gapi.client.discovery-v1": "*"
|
|
19
|
+
}
|
|
20
|
+
}
|
package/readme.md
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
# TypeScript typings for Merchant API notifications_v1
|
|
2
|
+
|
|
3
|
+
Programmatically manage your Merchant Center Accounts.
|
|
4
|
+
For detailed description please check [documentation](https://developers.google.com/merchant/api).
|
|
5
|
+
|
|
6
|
+
## Installing
|
|
7
|
+
|
|
8
|
+
Install typings for Merchant API:
|
|
9
|
+
|
|
10
|
+
```
|
|
11
|
+
npm install @types/gapi.client.merchantapi-notifications_v1 --save-dev
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Usage
|
|
15
|
+
|
|
16
|
+
You need to initialize Google API client in your code:
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
gapi.load('client', () => {
|
|
20
|
+
// now we can use gapi.client
|
|
21
|
+
// ...
|
|
22
|
+
});
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Then load api client wrapper:
|
|
26
|
+
|
|
27
|
+
```typescript
|
|
28
|
+
gapi.client.load(
|
|
29
|
+
'https://merchantapi.googleapis.com/$discovery/rest?version=notifications_v1',
|
|
30
|
+
() => {
|
|
31
|
+
// now we can use:
|
|
32
|
+
// gapi.client.merchantapi
|
|
33
|
+
},
|
|
34
|
+
);
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
```typescript
|
|
38
|
+
// Deprecated, use discovery document URL, see https://github.com/google/google-api-javascript-client/blob/master/docs/reference.md#----gapiclientloadname----version----callback--
|
|
39
|
+
gapi.client.load('merchantapi', 'notifications_v1', () => {
|
|
40
|
+
// now we can use:
|
|
41
|
+
// gapi.client.merchantapi
|
|
42
|
+
});
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
Don't forget to authenticate your client before sending any request to resources:
|
|
46
|
+
|
|
47
|
+
```typescript
|
|
48
|
+
// declare client_id registered in Google Developers Console
|
|
49
|
+
var client_id = '',
|
|
50
|
+
scope = [
|
|
51
|
+
// Manage your product listings and accounts for Google Shopping
|
|
52
|
+
'https://www.googleapis.com/auth/content',
|
|
53
|
+
],
|
|
54
|
+
immediate = true;
|
|
55
|
+
// ...
|
|
56
|
+
|
|
57
|
+
gapi.auth.authorize(
|
|
58
|
+
{client_id: client_id, scope: scope, immediate: immediate},
|
|
59
|
+
authResult => {
|
|
60
|
+
if (authResult && !authResult.error) {
|
|
61
|
+
/* handle successful authorization */
|
|
62
|
+
} else {
|
|
63
|
+
/* handle authorization error */
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
);
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
After that you can use Merchant API resources: <!-- TODO: make this work for multiple namespaces -->
|
|
70
|
+
|
|
71
|
+
```typescript
|
|
72
|
+
|
|
73
|
+
```
|