@marteye/studiojs 1.1.48-beta.1 → 1.1.49-beta.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.
@@ -1,8 +1,7 @@
1
- /// <reference types="node" />
2
1
  import type { HttpClient } from "./net/http";
3
2
  export default function resources(httpClient: HttpClient): {
4
3
  activity: {
5
- list: (marketId: string, params?: import("./resources/activity").ActivityListParams | undefined) => Promise<import("./resources/activity").ActivityListResponse>;
4
+ list: (marketId: string, params?: import("./resources/activity").ActivityListParams) => Promise<import("./resources/activity").ActivityListResponse>;
6
5
  get: (marketId: string, activityId: string) => Promise<import("./types").ActivityLog>;
7
6
  };
8
7
  broadcast: {
@@ -10,17 +9,17 @@ export default function resources(httpClient: HttpClient): {
10
9
  get: (marketId: string, type: import("./types").BroadcastType, taskId: string) => Promise<import("./types").BroadcastTask>;
11
10
  };
12
11
  markets: {
13
- get: (marketId: string, options?: import("./types").ReadOptions | undefined) => Promise<import("./types").Market>;
12
+ get: (marketId: string, options?: import("./types").ReadOptions) => Promise<import("./types").Market>;
14
13
  };
15
14
  members: {
16
- list: (marketId: string, params?: import("./resources/members").MembersListParams | undefined) => Promise<import("./resources/members").MembersListResponse>;
15
+ list: (marketId: string, params?: import("./resources/members").MembersListParams) => Promise<import("./resources/members").MembersListResponse>;
17
16
  get: (marketId: string, memberId: string) => Promise<import("./resources/members").Member>;
18
17
  };
19
18
  sales: {
20
- get: (marketId: string, saleId: string, options?: import("./types").ReadOptions | undefined) => Promise<import("./types").Sale>;
19
+ get: (marketId: string, saleId: string, options?: import("./types").ReadOptions) => Promise<import("./types").Sale>;
21
20
  list: (marketId: string, opts: {
22
- start?: string | undefined;
23
- end?: string | undefined;
21
+ start?: string;
22
+ end?: string;
24
23
  }) => Promise<{
25
24
  start: string;
26
25
  end: string;
@@ -30,128 +29,128 @@ export default function resources(httpClient: HttpClient): {
30
29
  name: string;
31
30
  startsAt: string;
32
31
  availableProductCodes: string[];
33
- recurring?: "Weekly" | "Bi-weekly" | "Monthly" | null | undefined;
34
- martEyeSaleType?: "LIVE" | "TIMED" | null | undefined;
35
- location?: string | null | undefined;
36
- description?: string | null | undefined;
37
- image?: string | null | undefined;
38
- cover?: string | null | undefined;
39
- templateId?: string | null | undefined;
40
- enableLotGrouping?: boolean | undefined;
32
+ recurring?: null | "Weekly" | "Bi-weekly" | "Monthly";
33
+ martEyeSaleType?: "LIVE" | "TIMED" | null;
34
+ location?: string | null;
35
+ description?: string | null;
36
+ image?: string | null;
37
+ cover?: string | null;
38
+ templateId?: string | null;
39
+ enableLotGrouping?: boolean;
41
40
  attributeDefaults?: {
42
41
  [attributekey: string]: string | number | boolean;
43
- } | undefined;
42
+ };
44
43
  }) => Promise<{
45
44
  saleId: string;
46
45
  }>;
47
46
  update: (marketId: string, saleId: string, data: {
48
- name?: string | undefined;
49
- startsAt?: string | undefined;
50
- recurring?: "Weekly" | "Bi-weekly" | "Monthly" | null | undefined;
51
- defaultProductCode?: string | undefined;
52
- attributeDefaults?: Record<string, any> | undefined;
53
- publishStatus?: import("./types").SalePublishStatus | undefined;
54
- enableLotGrouping?: boolean | undefined;
47
+ name?: string;
48
+ startsAt?: string;
49
+ recurring?: "Weekly" | "Bi-weekly" | "Monthly" | null;
50
+ defaultProductCode?: string;
51
+ attributeDefaults?: Record<string, any>;
52
+ publishStatus?: import("./types").SalePublishStatus;
53
+ enableLotGrouping?: boolean;
55
54
  marteyeSettings?: {
56
- description?: string | undefined;
57
- image?: string | undefined;
58
- logo?: string | undefined;
55
+ description?: string;
56
+ image?: string;
57
+ logo?: string;
59
58
  type: "LIVE" | "TIMED";
60
- location?: string | null | undefined;
61
- descriptionLines?: string[] | undefined;
62
- descriptionLink?: string | undefined;
63
- deposit?: number | undefined;
64
- hidePrices?: boolean | undefined;
65
- hideReplay?: boolean | undefined;
66
- labels?: string[] | undefined;
67
- tags?: string[] | undefined;
68
- details?: {
59
+ location?: string | null;
60
+ descriptionLines?: string[];
61
+ descriptionLink?: string;
62
+ deposit?: number;
63
+ hidePrices?: boolean;
64
+ hideReplay?: boolean;
65
+ labels?: string[];
66
+ tags?: string[];
67
+ details?: Array<{
69
68
  markdownBase64: string;
70
69
  title: string;
71
- }[] | undefined;
72
- cover?: string | undefined;
73
- primaryColour?: string | undefined;
74
- secondaryColour?: string | undefined;
75
- foregroundColour?: string | undefined;
76
- extensionTime?: number | undefined;
77
- incrementLadder?: {
70
+ }>;
71
+ cover?: string;
72
+ primaryColour?: string;
73
+ secondaryColour?: string;
74
+ foregroundColour?: string;
75
+ extensionTime?: number;
76
+ incrementLadder?: Array<{
78
77
  max: number;
79
78
  increment: number;
80
- }[] | undefined;
81
- hideNav?: boolean | undefined;
82
- signInOverrideLink?: string | undefined;
83
- published?: boolean | undefined;
84
- pin?: boolean | undefined;
85
- cascade?: boolean | undefined;
86
- reportEmail?: string | undefined;
87
- queueLots?: boolean | undefined;
88
- markSubjectLotsAsSold?: boolean | undefined;
89
- } | null | undefined;
79
+ }>;
80
+ hideNav?: boolean;
81
+ signInOverrideLink?: string;
82
+ published?: boolean;
83
+ pin?: boolean;
84
+ cascade?: boolean;
85
+ reportEmail?: string;
86
+ queueLots?: boolean;
87
+ markSubjectLotsAsSold?: boolean;
88
+ } | null;
90
89
  }) => Promise<import("./types").Sale>;
91
90
  };
92
91
  lots: {
93
- get: (marketId: string, saleId: string, lotId: string, options?: import("./types").ReadOptions | undefined) => Promise<import("./types").Lot>;
92
+ get: (marketId: string, saleId: string, lotId: string, options?: import("./types").ReadOptions) => Promise<import("./types").Lot>;
94
93
  list: (marketId: string, saleId: string, filters?: {
95
- group?: string | undefined;
96
- productCode?: string | undefined;
97
- saleStatus?: import("./types").LotSaleStatus | undefined;
98
- sellerCustomerId?: string | undefined;
99
- buyerCustomerId?: string | undefined;
100
- } | undefined) => Promise<import("./types").Lot[]>;
94
+ group?: string;
95
+ productCode?: string;
96
+ saleStatus?: import("./types").LotSaleStatus;
97
+ sellerCustomerId?: string;
98
+ buyerCustomerId?: string;
99
+ }) => Promise<import("./types").Lot[]>;
101
100
  create: (marketId: string, saleId: string, data: {
102
- index?: number | undefined;
103
- lotNumber?: string | undefined;
104
- group?: string | undefined;
105
- productCode?: string | undefined;
106
- sellerCustomerId?: string | undefined;
107
- attributes?: Record<string, any> | undefined;
108
- metadata?: Record<string, any> | undefined;
109
- buyerCustomerId?: string | undefined;
110
- unitPriceInCents?: number | undefined;
111
- reservePriceInCents?: number | undefined;
112
- startingPriceInCents?: number | undefined;
113
- startAt?: string | undefined;
114
- endAt?: string | undefined;
115
- previousLotNumber?: string | undefined;
116
- saleStatus?: import("./types").LotSaleStatus | undefined;
101
+ index?: number;
102
+ lotNumber?: string;
103
+ group?: string;
104
+ productCode?: string;
105
+ sellerCustomerId?: string;
106
+ attributes?: Record<string, any>;
107
+ metadata?: Record<string, any>;
108
+ buyerCustomerId?: string;
109
+ unitPriceInCents?: number;
110
+ reservePriceInCents?: number;
111
+ startingPriceInCents?: number;
112
+ startAt?: string;
113
+ endAt?: string;
114
+ previousLotNumber?: string;
115
+ saleStatus?: import("./types").LotSaleStatus;
117
116
  }) => Promise<import("./types").Lot>;
118
117
  update: (marketId: string, saleId: string, lotId: string, data: {
119
- productCode?: string | undefined;
120
- attributes?: Record<string, any> | undefined;
121
- sellerCasual?: string | null | undefined;
122
- sellerCustomerId?: string | null | undefined;
123
- lotNumber?: string | null | undefined;
124
- remarks?: string | undefined;
125
- notes?: string | undefined;
126
- unitOfSale?: "Per KG" | "Per Item" | "Per Lot" | "Per 1000KG" | undefined;
127
- unitPriceInCents?: number | undefined;
128
- reservePriceInCents?: number | undefined;
129
- startingPriceInCents?: number | undefined;
130
- buyerCasual?: string | null | undefined;
131
- buyerCustomerId?: string | null | undefined;
132
- startAt?: string | null | undefined;
133
- endAt?: string | null | undefined;
134
- saleStatus?: import("./types").LotSaleStatus | undefined;
135
- metadata?: Record<string, any> | undefined;
136
- inputAccessories?: Record<string, any> | undefined;
118
+ productCode?: string;
119
+ attributes?: Record<string, any>;
120
+ sellerCasual?: string | null;
121
+ sellerCustomerId?: string | null;
122
+ lotNumber?: string | null;
123
+ remarks?: string;
124
+ notes?: string;
125
+ unitOfSale?: "Per KG" | "Per Item" | "Per Lot" | "Per 1000KG";
126
+ unitPriceInCents?: number;
127
+ reservePriceInCents?: number;
128
+ startingPriceInCents?: number;
129
+ buyerCasual?: string | null;
130
+ buyerCustomerId?: string | null;
131
+ startAt?: string | null;
132
+ endAt?: string | null;
133
+ saleStatus?: import("./types").LotSaleStatus;
134
+ metadata?: Record<string, any>;
135
+ inputAccessories?: Record<string, any>;
137
136
  }) => Promise<import("./types").Lot>;
138
137
  delete: (marketId: string, saleId: string, lotId: string) => Promise<unknown>;
139
138
  deletePreflight: (marketId: string, saleId: string, lotId: string) => Promise<import("./types").LotDeletePreflightResponse>;
140
139
  deletePreflightBatch: (marketId: string, saleId: string, lotIds: string[]) => Promise<import("./types").DeleteLotsResponse>;
141
- deleteBatch: (marketId: string, saleId: string, lotIds: string[], confirmedLotIds?: string[] | undefined) => Promise<import("./types").DeleteLotsResponse>;
140
+ deleteBatch: (marketId: string, saleId: string, lotIds: string[], confirmedLotIds?: string[]) => Promise<import("./types").DeleteLotsResponse>;
142
141
  };
143
142
  lotitems: {
144
143
  create: (marketId: string, saleId: string, lotId: string, data: {
145
- attributes?: Record<string, any> | undefined;
146
- notes?: {
144
+ attributes?: Record<string, any>;
145
+ notes?: Array<{
147
146
  text: string;
148
- }[] | undefined;
149
- metadata?: Record<string, any> | undefined;
147
+ }>;
148
+ metadata?: Record<string, any>;
150
149
  }) => Promise<import("./types").LotItem>;
151
150
  update: (marketId: string, saleId: string, lotId: string, itemId: string, data: {
152
- attributes?: Record<string, any> | undefined;
153
- index?: number | undefined;
154
- metadata?: Record<string, any> | undefined;
151
+ attributes?: Record<string, any>;
152
+ index?: number;
153
+ metadata?: Record<string, any>;
155
154
  }) => Promise<import("./types").LotItem>;
156
155
  delete: (marketId: string, saleId: string, lotId: string, itemId: string) => Promise<unknown>;
157
156
  };
@@ -164,27 +163,27 @@ export default function resources(httpClient: HttpClient): {
164
163
  lookup: (marketId: string, cph: string) => Promise<import("./types").CphLookupResponse>;
165
164
  };
166
165
  webhooks: {
167
- constructEvent: <T extends unknown>(bodyAsBuffer: Buffer, signature: string | null | undefined, endpointSecret: string | null | undefined) => Promise<import("./types").WebhookEvent<T>>;
166
+ constructEvent: <T extends unknown>(bodyAsBuffer: Buffer, signature: string | undefined | null, endpointSecret: string | undefined | null) => Promise<import("./types").WebhookEvent<T>>;
168
167
  };
169
168
  actions: {
170
169
  constructAction: (bodyAsBuffer: Buffer, signature: string, endpointSecret: string) => Promise<any>;
171
170
  };
172
171
  bidderApplications: {
173
- list: (marketId: string, options?: import("./resources/bidderApplications").ListApplicationsOptions | undefined) => Promise<import("./resources/bidderApplications").ListApplicationsResponse>;
172
+ list: (marketId: string, options?: import("./resources/bidderApplications").ListApplicationsOptions) => Promise<import("./resources/bidderApplications").ListApplicationsResponse>;
174
173
  get: (marketId: string, applicationId: string) => Promise<import("./types").Application>;
175
174
  create: (marketId: string, applicationData: import("./resources/bidderApplications").CreateApplicationPayload) => Promise<import("./types").Application>;
176
175
  update: (marketId: string, applicationId: string, updateData: import("./resources/bidderApplications").UpdateApplicationPayload) => Promise<import("./types").Application>;
177
- approve: (marketId: string, applicationId: string, notes?: string | undefined) => Promise<import("./types").Application>;
178
- reject: (marketId: string, applicationId: string, notes?: string | undefined) => Promise<import("./types").Application>;
176
+ approve: (marketId: string, applicationId: string, notes?: string) => Promise<import("./types").Application>;
177
+ reject: (marketId: string, applicationId: string, notes?: string) => Promise<import("./types").Application>;
179
178
  unlink: (marketId: string, applicationId: string) => Promise<import("./types").Application>;
180
179
  delete: (marketId: string, applicationId: string) => Promise<void>;
181
180
  };
182
181
  settings: {
183
- get: (marketId: string, options?: import("./types").ReadOptions | undefined) => Promise<import("./types").SettingsMarketDefaults>;
182
+ get: (marketId: string, options?: import("./types").ReadOptions) => Promise<import("./types").SettingsMarketDefaults>;
184
183
  };
185
184
  adjustments: {
186
185
  list: (marketId: string) => Promise<import("./types").AdjustmentsConfiguration[]>;
187
- get: (marketId: string, id: string, options?: import("./types").ReadOptions | undefined) => Promise<import("./types").AdjustmentsConfiguration>;
186
+ get: (marketId: string, id: string, options?: import("./types").ReadOptions) => Promise<import("./types").AdjustmentsConfiguration>;
188
187
  create: (marketId: string, data: Partial<import("./types").AdjustmentsConfiguration>) => Promise<import("./types").AdjustmentsConfiguration>;
189
188
  update: (marketId: string, id: string, data: Partial<import("./types").AdjustmentsConfiguration>) => Promise<import("./types").AdjustmentsConfiguration>;
190
189
  };
@@ -195,8 +194,10 @@ export default function resources(httpClient: HttpClient): {
195
194
  update: (marketId: string, id: string, data: import("./resources/extras").UpdateExtraPayload) => Promise<import("./types").Product>;
196
195
  };
197
196
  productCodes: {
198
- list: (marketId: string) => Promise<import("./types").ProductCodeConfiguration[]>;
199
- get: (marketId: string, id: string, options?: import("./types").ReadOptions | undefined) => Promise<import("./types").ProductCodeConfiguration>;
197
+ list: (marketId: string, options?: {
198
+ includeArchived?: boolean;
199
+ }) => Promise<import("./types").ProductCodeConfiguration[]>;
200
+ get: (marketId: string, id: string, options?: import("./types").ReadOptions) => Promise<import("./types").ProductCodeConfiguration>;
200
201
  create: (marketId: string, data: Partial<import("./types").ProductCodeConfiguration>) => Promise<import("./types").ProductCodeConfiguration>;
201
202
  update: (marketId: string, id: string, data: Partial<import("./types").ProductCodeConfiguration>) => Promise<import("./types").ProductCodeConfiguration>;
202
203
  };
@@ -210,13 +211,13 @@ export default function resources(httpClient: HttpClient): {
210
211
  create: (marketId: string, body: {
211
212
  saleId: string;
212
213
  name: string;
213
- description?: string | null | undefined;
214
+ description?: string | null;
214
215
  }) => Promise<{
215
216
  templateId: string;
216
217
  }>;
217
218
  update: (marketId: string, templateId: string, body: {
218
- name?: string | undefined;
219
- description?: string | null | undefined;
219
+ name?: string;
220
+ description?: string | null;
220
221
  }) => Promise<{
221
222
  template: import("./types").SaleTemplate;
222
223
  }>;
@@ -229,8 +230,8 @@ export default function resources(httpClient: HttpClient): {
229
230
  get: (marketId: string, id: string) => Promise<import("./types").TaxRate>;
230
231
  };
231
232
  customers: {
232
- list: (marketId: string, lastId?: string | null | undefined) => Promise<import("./resources/customers").CustomersListResponse>;
233
- get: (marketId: string, customerId: string, options?: import("./types").ReadOptions | undefined) => Promise<import("./types").Customer>;
233
+ list: (marketId: string, lastId?: string | null) => Promise<import("./resources/customers").CustomersListResponse>;
234
+ get: (marketId: string, customerId: string, options?: import("./types").ReadOptions) => Promise<import("./types").Customer>;
234
235
  avatar: (marketId: string, customerId: string) => Promise<import("./types").Customer>;
235
236
  create: (marketId: string, customerData: import("./resources/customers").CreateCustomerPayload) => Promise<import("./types").Customer>;
236
237
  update: (marketId: string, customerId: string, customerData: import("./resources/customers").UpdateCustomerPayload) => Promise<import("./types").Customer>;
@@ -238,32 +239,32 @@ export default function resources(httpClient: HttpClient): {
238
239
  getByMartEyeUid: (marketId: string, marteyeUid: string) => Promise<import("./types").Customer | null>;
239
240
  };
240
241
  customerLists: {
241
- list: (marketId: string, options?: import("./resources/customerLists").CustomerListsListOptions | undefined) => Promise<import("./resources/customerLists").CustomerListsListResponse>;
242
- listAll: (marketId: string, options?: Omit<import("./resources/customerLists").CustomerListsListOptions, "offset"> | undefined) => Promise<import("./resources/customerLists").CustomerList[]>;
242
+ list: (marketId: string, options?: import("./resources/customerLists").CustomerListsListOptions) => Promise<import("./resources/customerLists").CustomerListsListResponse>;
243
+ listAll: (marketId: string, options?: Omit<import("./resources/customerLists").CustomerListsListOptions, "offset">) => Promise<import("./resources/customerLists").CustomerList[]>;
243
244
  get: (marketId: string, listId: string) => Promise<import("./resources/customerLists").CustomerList>;
244
245
  getBySlug: (marketId: string, slug: string) => Promise<import("./resources/customerLists").CustomerList>;
245
246
  create: (marketId: string, payload: import("./resources/customerLists").CreateCustomerListPayload) => Promise<import("./resources/customerLists").CustomerList>;
246
247
  update: (marketId: string, listId: string, payload: import("./resources/customerLists").UpdateCustomerListPayload) => Promise<import("./resources/customerLists").CustomerList>;
247
248
  delete: (marketId: string, listId: string) => Promise<import("./resources/customerLists").CustomerListDeleteResponse>;
248
249
  refresh: (marketId: string, listId: string) => Promise<import("./resources/customerLists").CustomerListRefreshResponse>;
249
- getMembers: (marketId: string, listId: string, options?: import("./resources/customerLists").CustomerListMembersOptions | undefined) => Promise<import("./resources/customerLists").CustomerListMembersResponse>;
250
- getAllMembers: (marketId: string, listId: string, options?: Omit<import("./resources/customerLists").CustomerListMembersOptions, "offset"> | undefined) => Promise<import("./resources/customerLists").CustomerListMember[]>;
250
+ getMembers: (marketId: string, listId: string, options?: import("./resources/customerLists").CustomerListMembersOptions) => Promise<import("./resources/customerLists").CustomerListMembersResponse>;
251
+ getAllMembers: (marketId: string, listId: string, options?: Omit<import("./resources/customerLists").CustomerListMembersOptions, "offset">) => Promise<import("./resources/customerLists").CustomerListMember[]>;
251
252
  addMembers: (marketId: string, listId: string, customerIds: string[]) => Promise<import("./resources/customerLists").CustomerListAddMembersResponse>;
252
253
  removeMember: (marketId: string, listId: string, customerId: string) => Promise<import("./resources/customerLists").CustomerListRemoveMemberResponse>;
253
254
  preview: (marketId: string, filters: import("./resources/customerLists").CustomerListFilters) => Promise<import("./resources/customerLists").CustomerListPreviewResponse>;
254
255
  listProductCodes: (marketId: string) => Promise<import("./resources/customerLists").CustomerListProductCodesResponse>;
255
- view: (marketId: string, listIdOrSlug: string, options?: import("./resources/customerLists").CustomerListViewOptions | undefined) => Promise<import("./resources/customerLists").CustomerListViewResult>;
256
+ view: (marketId: string, listIdOrSlug: string, options?: import("./resources/customerLists").CustomerListViewOptions) => Promise<import("./resources/customerLists").CustomerListViewResult>;
256
257
  };
257
258
  invoices: {
258
- list: (marketId: string, lastId?: string | null | undefined) => Promise<import("./resources/invoices").InvoicesListResponse>;
259
- get: (marketId: string, invoiceId: string, options?: import("./types").ReadOptions | undefined) => Promise<import("./types").Invoice>;
259
+ list: (marketId: string, lastId?: string | null) => Promise<import("./resources/invoices").InvoicesListResponse>;
260
+ get: (marketId: string, invoiceId: string, options?: import("./types").ReadOptions) => Promise<import("./types").Invoice>;
260
261
  };
261
262
  payments: {
262
- list: (marketId: string, lastId?: string | null | undefined) => Promise<import("./resources/payments").PaymentsListResponse>;
263
+ list: (marketId: string, lastId?: string | null) => Promise<import("./resources/payments").PaymentsListResponse>;
263
264
  get: (marketId: string, paymentId: string) => Promise<import("./types").Payment>;
264
265
  };
265
266
  payouts: {
266
- list: (marketId: string, lastId?: string | null | undefined) => Promise<import("./resources/payouts").PayoutsListResponse>;
267
+ list: (marketId: string, lastId?: string | null) => Promise<import("./resources/payouts").PayoutsListResponse>;
267
268
  get: (marketId: string, payoutId: string) => Promise<import("./types").Payout>;
268
269
  create: (marketId: string, data: import("./resources/payouts").CreatePayoutRequest) => Promise<import("./resources/payouts").PayoutCreateResponse>;
269
270
  };
@@ -271,11 +272,11 @@ export default function resources(httpClient: HttpClient): {
271
272
  query: (marketId: string, query: string) => Promise<import("./resources/search").SearchResult>;
272
273
  };
273
274
  files: {
274
- uploadSingleFile: (input: import("./utils/multipart-upload").SingleFileInput, token: string) => Promise<{
275
+ uploadSingleFile: (input: Parameters<typeof import("./utils/multipart-upload").uploadSingleFile>[0], token: string) => Promise<{
275
276
  message: string;
276
277
  data: import("./types").Media;
277
278
  }>;
278
- uploadMultipartFile: (input: import("./index.common").FileInput | import("./index.common").ChunkedInput, token: string) => Promise<{
279
+ uploadMultipartFile: (input: Parameters<typeof import("./utils/multipart-upload").uploadMultipartFile>[0], token: string) => Promise<{
279
280
  message: string;
280
281
  mediaType: string;
281
282
  process: import("./utils/multipart-upload").VariantProcessingState;
@@ -286,9 +287,9 @@ export default function resources(httpClient: HttpClient): {
286
287
  };
287
288
  contacts: {
288
289
  list: (marketId: string, customerId: string, params?: {
289
- lastId?: string | undefined;
290
- limit?: number | undefined;
291
- } | undefined) => Promise<import("./resources/contacts").ListContactsResponse>;
290
+ lastId?: string;
291
+ limit?: number;
292
+ }) => Promise<import("./resources/contacts").ListContactsResponse>;
292
293
  get: (marketId: string, customerId: string, contactId: string) => Promise<import("./types").CustomerContact>;
293
294
  create: (marketId: string, customerId: string, payload: import("./resources/contacts").CreateOrUpdateContactPayload) => Promise<import("./types").CustomerContact>;
294
295
  update: (marketId: string, customerId: string, contactId: string, payload: import("./resources/contacts").CreateOrUpdateContactPayload) => Promise<import("./types").CustomerContact>;