@rewloy/node 0.1.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.
- package/CHANGELOG.md +34 -0
- package/LICENSE +21 -0
- package/README.md +453 -0
- package/dist/client.d.ts +120 -0
- package/dist/client.js +404 -0
- package/dist/errors.d.ts +73 -0
- package/dist/errors.js +81 -0
- package/dist/generated/methods.d.ts +3297 -0
- package/dist/generated/methods.js +3793 -0
- package/dist/generated/operations.d.ts +12 -0
- package/dist/generated/operations.js +368 -0
- package/dist/generated/types.d.ts +13164 -0
- package/dist/generated/types.js +3 -0
- package/dist/index.d.ts +22 -0
- package/dist/index.js +16 -0
- package/dist/sse.d.ts +68 -0
- package/dist/sse.js +251 -0
- package/dist/types.d.ts +104 -0
- package/dist/types.js +5 -0
- package/dist/version.d.ts +2 -0
- package/dist/version.js +2 -0
- package/dist/webhooks.d.ts +91 -0
- package/dist/webhooks.js +98 -0
- package/package.json +56 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { OperationMeta } from '../types.js';
|
|
2
|
+
import type { OperationId } from './types.js';
|
|
3
|
+
/** The version of the API document this was generated from (`info.version`). */
|
|
4
|
+
export declare const API_VERSION = "1.0.0";
|
|
5
|
+
/** The metadata table: per operation, its method and path, the credential kinds it accepts, whether it takes `Rewloy-Merchant` and `Idempotency-Key`, how its answer is read and whether it is paged, streams or is deprecated. */
|
|
6
|
+
export declare const OPERATIONS: {
|
|
7
|
+
readonly [K in OperationId]: OperationMeta;
|
|
8
|
+
};
|
|
9
|
+
/** Each error code's one-line title in the catalogue (https://rewloy.com/gelistiriciler/hatalar). */
|
|
10
|
+
export declare const ERROR_TITLES: {
|
|
11
|
+
readonly [code: string]: string;
|
|
12
|
+
};
|
|
@@ -0,0 +1,368 @@
|
|
|
1
|
+
// Generated by scripts/generate.ts from the Rewloy OpenAPI document
|
|
2
|
+
// (openapi/openapi.json, API 1.0.0). Do not edit: run `npm run generate`.
|
|
3
|
+
/** The version of the API document this was generated from (`info.version`). */
|
|
4
|
+
export const API_VERSION = '1.0.0';
|
|
5
|
+
/** The metadata table: per operation, its method and path, the credential kinds it accepts, whether it takes `Rewloy-Merchant` and `Idempotency-Key`, how its answer is read and whether it is paged, streams or is deprecated. */
|
|
6
|
+
export const OPERATIONS = {
|
|
7
|
+
issuePass: { method: 'POST', path: '/v1/passes', auth: ['key', 'staff'], merchant: true, idempotency: 'optional', body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
8
|
+
getPass: { method: 'GET', path: '/v1/passes/{serial}', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
9
|
+
getPassTill: { method: 'GET', path: '/v1/passes/{serial}/till', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
10
|
+
passAction: { method: 'POST', path: '/v1/passes/{serial}/actions', auth: ['key', 'staff'], merchant: true, idempotency: 'required', body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
11
|
+
publicProgram: { method: 'GET', path: '/v1/public/programs/{id}', auth: ['public', 'holder', 'staff', 'key'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
12
|
+
joinProgram: { method: 'POST', path: '/v1/public/programs/{id}/join', auth: ['public', 'holder', 'staff', 'key'], merchant: true, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
13
|
+
publicCode: { method: 'GET', path: '/v1/public/codes/{code}', auth: ['public', 'holder', 'staff', 'key'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
14
|
+
claimCode: { method: 'POST', path: '/v1/public/codes/{code}/claim', auth: ['public', 'holder', 'staff', 'key'], merchant: true, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
15
|
+
emailCardLink: { method: 'POST', path: '/v1/public/cards/{serial}/email-link', auth: ['public', 'holder', 'staff', 'key'], merchant: true, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
16
|
+
openapi: { method: 'GET', path: '/v1/openapi.json', auth: ['public'], merchant: false, idempotency: null, body: false, response: 'raw-json', paged: false, stream: false, deprecated: null },
|
|
17
|
+
login: { method: 'POST', path: '/v1/auth/login', auth: ['public'], merchant: false, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
18
|
+
proveMfa: { method: 'POST', path: '/v1/auth/mfa', auth: ['staff'], merchant: true, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
19
|
+
logout: { method: 'POST', path: '/v1/auth/logout', auth: ['staff'], merchant: true, idempotency: null, body: false, response: 'none', paged: false, stream: false, deprecated: null },
|
|
20
|
+
me: { method: 'GET', path: '/v1/me', auth: ['staff', 'key'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
21
|
+
holderLogin: { method: 'POST', path: '/v1/holder/login', auth: ['public'], merchant: false, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
22
|
+
holderSession: { method: 'POST', path: '/v1/holder/sessions', auth: ['public'], merchant: false, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
23
|
+
holderPasskeySignInOptions: { method: 'POST', path: '/v1/holder/sessions/passkey/options', auth: ['public'], merchant: false, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
24
|
+
holderPasskeySession: { method: 'POST', path: '/v1/holder/sessions/passkey', auth: ['public'], merchant: false, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
25
|
+
holderProviderNonce: { method: 'POST', path: '/v1/holder/sessions/nonce', auth: ['public', 'holder'], merchant: false, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
26
|
+
holderGoogleSession: { method: 'POST', path: '/v1/holder/sessions/google', auth: ['public'], merchant: false, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
27
|
+
holderAppleSession: { method: 'POST', path: '/v1/holder/sessions/apple', auth: ['public'], merchant: false, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
28
|
+
holderLogout: { method: 'DELETE', path: '/v1/holder/sessions/current', auth: ['holder'], merchant: false, idempotency: null, body: false, response: 'none', paged: false, stream: false, deprecated: null },
|
|
29
|
+
signup: { method: 'POST', path: '/v1/auth/signup', auth: ['public'], merchant: false, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
30
|
+
verifyEmail: { method: 'POST', path: '/v1/auth/verify-email', auth: ['public', 'staff'], merchant: true, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
31
|
+
forgotPassword: { method: 'POST', path: '/v1/auth/password/forgot', auth: ['public'], merchant: false, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
32
|
+
checkResetToken: { method: 'GET', path: '/v1/auth/password/reset/{token}', auth: ['public'], merchant: false, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
33
|
+
resetPassword: { method: 'POST', path: '/v1/auth/password/reset', auth: ['public'], merchant: false, idempotency: null, body: true, response: 'none', paged: false, stream: false, deprecated: null },
|
|
34
|
+
invitePreview: { method: 'GET', path: '/v1/auth/invites/{code}', auth: ['public'], merchant: false, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
35
|
+
acceptInvite: { method: 'POST', path: '/v1/auth/invites/{code}/accept', auth: ['public'], merchant: false, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
36
|
+
changePassword: { method: 'POST', path: '/v1/me/password', auth: ['staff'], merchant: true, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
37
|
+
listSessions: { method: 'GET', path: '/v1/me/sessions', auth: ['staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
38
|
+
closeOtherSessions: { method: 'DELETE', path: '/v1/me/sessions', auth: ['staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
39
|
+
closeSession: { method: 'DELETE', path: '/v1/me/sessions/{id}', auth: ['staff'], merchant: true, idempotency: null, body: false, response: 'none', paged: false, stream: false, deprecated: null },
|
|
40
|
+
getMfa: { method: 'GET', path: '/v1/me/2fa', auth: ['staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
41
|
+
startMfa: { method: 'POST', path: '/v1/me/2fa/start', auth: ['staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
42
|
+
confirmMfa: { method: 'POST', path: '/v1/me/2fa/confirm', auth: ['staff'], merchant: true, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
43
|
+
disableMfa: { method: 'POST', path: '/v1/me/2fa/disable', auth: ['staff'], merchant: true, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
44
|
+
regenerateRecoveryCodes: { method: 'POST', path: '/v1/me/2fa/recovery-codes', auth: ['staff'], merchant: true, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
45
|
+
resendVerification: { method: 'POST', path: '/v1/me/verify-email', auth: ['staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
46
|
+
getPlan: { method: 'GET', path: '/v1/plan', auth: ['staff', 'key'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
47
|
+
setTeam2fa: { method: 'PUT', path: '/v1/business/2fa-policy', auth: ['staff'], merchant: true, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
48
|
+
listPrograms: { method: 'GET', path: '/v1/programs', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
49
|
+
createProgram: { method: 'POST', path: '/v1/programs', auth: ['key', 'staff'], merchant: true, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
50
|
+
programDesignOptions: { method: 'GET', path: '/v1/programs/design-options', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
51
|
+
getProgram: { method: 'GET', path: '/v1/programs/{id}', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
52
|
+
updateProgram: { method: 'PATCH', path: '/v1/programs/{id}', auth: ['key', 'staff'], merchant: true, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
53
|
+
deleteProgram: { method: 'DELETE', path: '/v1/programs/{id}', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'none', paged: false, stream: false, deprecated: null },
|
|
54
|
+
previewProgram: { method: 'POST', path: '/v1/programs/preview', auth: ['key', 'staff'], merchant: true, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
55
|
+
setProgramLogo: { method: 'PUT', path: '/v1/programs/{id}/images/logo', auth: ['key', 'staff'], merchant: true, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
56
|
+
setProgramIcon: { method: 'PUT', path: '/v1/programs/{id}/images/icon', auth: ['key', 'staff'], merchant: true, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
57
|
+
setProgramBanner: { method: 'PUT', path: '/v1/programs/{id}/images/banner', auth: ['key', 'staff'], merchant: true, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
58
|
+
removeProgramImage: { method: 'DELETE', path: '/v1/programs/{id}/images/{kind}', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'none', paged: false, stream: false, deprecated: null },
|
|
59
|
+
programImpact: { method: 'GET', path: '/v1/programs/{id}/impact', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
60
|
+
archiveProgram: { method: 'POST', path: '/v1/programs/{id}/archive', auth: ['key', 'staff'], merchant: true, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
61
|
+
restoreProgram: { method: 'POST', path: '/v1/programs/{id}/restore', auth: ['key', 'staff'], merchant: true, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
62
|
+
programJoinQr: { method: 'GET', path: '/v1/programs/{id}/join-qr', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'blob', paged: false, stream: false, deprecated: null },
|
|
63
|
+
listCustomers: { method: 'GET', path: '/v1/customers', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: true, stream: false, deprecated: null },
|
|
64
|
+
listCustomerCards: { method: 'GET', path: '/v1/customers/cards', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: true, stream: false, deprecated: null },
|
|
65
|
+
getCustomer: { method: 'GET', path: '/v1/customers/{id}', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
66
|
+
customerTimeline: { method: 'GET', path: '/v1/customers/{id}/timeline', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: true, stream: false, deprecated: null },
|
|
67
|
+
sendCustomerCardLink: { method: 'POST', path: '/v1/customers/{id}/cards/{passId}/send-link', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
68
|
+
blockCustomer: { method: 'POST', path: '/v1/customers/{id}/block', auth: ['key', 'staff'], merchant: true, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
69
|
+
eraseCustomer: { method: 'POST', path: '/v1/customers/{id}/erase', auth: ['staff'], merchant: true, idempotency: null, body: true, response: 'none', paged: false, stream: false, deprecated: null },
|
|
70
|
+
listBlockedEmails: { method: 'GET', path: '/v1/blocked-emails', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: true, stream: false, deprecated: null },
|
|
71
|
+
blockEmail: { method: 'POST', path: '/v1/blocked-emails', auth: ['key', 'staff'], merchant: true, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
72
|
+
checkBlockedEmail: { method: 'GET', path: '/v1/blocked-emails/check', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
73
|
+
unblockEmail: { method: 'DELETE', path: '/v1/blocked-emails/{hash}', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'none', paged: false, stream: false, deprecated: null },
|
|
74
|
+
listBlockedPhones: { method: 'GET', path: '/v1/blocked-phones', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: true, stream: false, deprecated: null },
|
|
75
|
+
blockPhone: { method: 'POST', path: '/v1/blocked-phones', auth: ['key', 'staff'], merchant: true, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
76
|
+
checkBlockedPhone: { method: 'GET', path: '/v1/blocked-phones/check', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
77
|
+
unblockPhone: { method: 'DELETE', path: '/v1/blocked-phones/{hash}', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'none', paged: false, stream: false, deprecated: null },
|
|
78
|
+
listBatches: { method: 'GET', path: '/v1/programs/{id}/batches', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
79
|
+
createBatch: { method: 'POST', path: '/v1/programs/{id}/batches', auth: ['key', 'staff'], merchant: true, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
80
|
+
getBatch: { method: 'GET', path: '/v1/batches/{id}', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
81
|
+
listBatchCards: { method: 'GET', path: '/v1/batches/{id}/cards', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: true, stream: false, deprecated: null },
|
|
82
|
+
sendBatchLink: { method: 'POST', path: '/v1/batches/{id}/send', auth: ['key', 'staff'], merchant: true, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
83
|
+
closeBatch: { method: 'POST', path: '/v1/batches/{id}/close', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
84
|
+
voidBatchCard: { method: 'POST', path: '/v1/batches/{id}/cards/{passId}/void', auth: ['key', 'staff'], merchant: true, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
85
|
+
batchQr: { method: 'GET', path: '/v1/batches/{id}/qr', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'blob', paged: false, stream: false, deprecated: null },
|
|
86
|
+
listSegments: { method: 'GET', path: '/v1/segments', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
87
|
+
createSegment: { method: 'POST', path: '/v1/segments', auth: ['key', 'staff'], merchant: true, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
88
|
+
previewSegment: { method: 'POST', path: '/v1/segments/preview', auth: ['key', 'staff'], merchant: true, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
89
|
+
getSegment: { method: 'GET', path: '/v1/segments/{slug}', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
90
|
+
updateSegment: { method: 'PATCH', path: '/v1/segments/{slug}', auth: ['key', 'staff'], merchant: true, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
91
|
+
archiveSegment: { method: 'DELETE', path: '/v1/segments/{slug}', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'none', paged: false, stream: false, deprecated: null },
|
|
92
|
+
listSegmentCards: { method: 'GET', path: '/v1/segments/{slug}/cards', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: true, stream: false, deprecated: null },
|
|
93
|
+
resetSegment: { method: 'POST', path: '/v1/segments/{slug}/reset', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
94
|
+
listCampaigns: { method: 'GET', path: '/v1/campaigns', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: true, stream: false, deprecated: null },
|
|
95
|
+
sendCampaign: { method: 'POST', path: '/v1/campaigns', auth: ['key', 'staff'], merchant: true, idempotency: 'required', body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
96
|
+
campaignSummary: { method: 'GET', path: '/v1/campaigns/summary', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
97
|
+
campaignAudience: { method: 'GET', path: '/v1/campaigns/audience', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
98
|
+
getCampaign: { method: 'GET', path: '/v1/campaigns/{id}', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
99
|
+
listCampaignRecipients: { method: 'GET', path: '/v1/campaigns/{id}/recipients', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: true, stream: false, deprecated: null },
|
|
100
|
+
cancelCampaign: { method: 'POST', path: '/v1/campaigns/{id}/cancel', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
101
|
+
listAutomations: { method: 'GET', path: '/v1/automations', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
102
|
+
getAutomation: { method: 'GET', path: '/v1/automations/{id}', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
103
|
+
updateAutomation: { method: 'PATCH', path: '/v1/automations/{id}', auth: ['key', 'staff'], merchant: true, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
104
|
+
listAutomationRecipients: { method: 'GET', path: '/v1/automations/{id}/recipients', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: true, stream: false, deprecated: null },
|
|
105
|
+
saveAutomation: { method: 'PUT', path: '/v1/automations/{kind}', auth: ['key', 'staff'], merchant: true, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
106
|
+
listSequences: { method: 'GET', path: '/v1/sequences', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
107
|
+
createSequence: { method: 'POST', path: '/v1/sequences', auth: ['key', 'staff'], merchant: true, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
108
|
+
getSequence: { method: 'GET', path: '/v1/sequences/{id}', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
109
|
+
setSequenceState: { method: 'PATCH', path: '/v1/sequences/{id}', auth: ['key', 'staff'], merchant: true, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
110
|
+
archiveSequence: { method: 'DELETE', path: '/v1/sequences/{id}', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'none', paged: false, stream: false, deprecated: null },
|
|
111
|
+
listSequenceRecipients: { method: 'GET', path: '/v1/sequences/{id}/recipients', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: true, stream: false, deprecated: null },
|
|
112
|
+
listPromotions: { method: 'GET', path: '/v1/promotions', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
113
|
+
createPromotion: { method: 'POST', path: '/v1/promotions', auth: ['key', 'staff'], merchant: true, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
114
|
+
getPromotion: { method: 'GET', path: '/v1/promotions/{id}', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
115
|
+
endPromotion: { method: 'POST', path: '/v1/promotions/{id}/end', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
116
|
+
getHome: { method: 'GET', path: '/v1/home', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
117
|
+
getAnalytics: { method: 'GET', path: '/v1/analytics', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
118
|
+
listActivity: { method: 'GET', path: '/v1/activity', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: true, stream: false, deprecated: null },
|
|
119
|
+
listAccessLog: { method: 'GET', path: '/v1/activity/access', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: true, stream: false, deprecated: null },
|
|
120
|
+
liveFeed: { method: 'GET', path: '/v1/live', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'stream', paged: false, stream: true, deprecated: null },
|
|
121
|
+
listExports: { method: 'GET', path: '/v1/exports', auth: ['staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
122
|
+
createExport: { method: 'POST', path: '/v1/exports', auth: ['staff'], merchant: true, idempotency: null, body: true, response: 'blob', paged: false, stream: false, deprecated: null },
|
|
123
|
+
getBusiness: { method: 'GET', path: '/v1/business', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
124
|
+
updateBusiness: { method: 'PATCH', path: '/v1/business', auth: ['key', 'staff'], merchant: true, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
125
|
+
businessOptions: { method: 'GET', path: '/v1/business/options', auth: ['key', 'staff', 'public'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
126
|
+
getSetup: { method: 'GET', path: '/v1/business/setup', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
127
|
+
listLocations: { method: 'GET', path: '/v1/locations', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
128
|
+
createLocation: { method: 'POST', path: '/v1/locations', auth: ['key', 'staff'], merchant: true, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
129
|
+
getLocation: { method: 'GET', path: '/v1/locations/{id}', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
130
|
+
updateLocation: { method: 'PATCH', path: '/v1/locations/{id}', auth: ['key', 'staff'], merchant: true, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
131
|
+
archiveLocation: { method: 'POST', path: '/v1/locations/{id}/archive', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
132
|
+
restoreLocation: { method: 'POST', path: '/v1/locations/{id}/restore', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
133
|
+
locationMap: { method: 'GET', path: '/v1/locations/{id}/map.png', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'blob', paged: false, stream: false, deprecated: null },
|
|
134
|
+
suggestPlaces: { method: 'GET', path: '/v1/places/suggest', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
135
|
+
listLocationGroups: { method: 'GET', path: '/v1/location-groups', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
136
|
+
createLocationGroup: { method: 'POST', path: '/v1/location-groups', auth: ['key', 'staff'], merchant: true, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
137
|
+
updateLocationGroup: { method: 'PUT', path: '/v1/location-groups/{id}', auth: ['key', 'staff'], merchant: true, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
138
|
+
deleteLocationGroup: { method: 'DELETE', path: '/v1/location-groups/{id}', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'none', paged: false, stream: false, deprecated: null },
|
|
139
|
+
getEmbed: { method: 'GET', path: '/v1/embed', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
140
|
+
setEmbedHosts: { method: 'PUT', path: '/v1/embed', auth: ['key', 'staff'], merchant: true, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
141
|
+
listShops: { method: 'GET', path: '/v1/shops', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
142
|
+
createShop: { method: 'POST', path: '/v1/shops', auth: ['key', 'staff'], merchant: true, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
143
|
+
getShop: { method: 'GET', path: '/v1/shops/{id}', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
144
|
+
setShopEnabled: { method: 'PATCH', path: '/v1/shops/{id}', auth: ['key', 'staff'], merchant: true, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
145
|
+
deleteShop: { method: 'DELETE', path: '/v1/shops/{id}', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'none', paged: false, stream: false, deprecated: null },
|
|
146
|
+
listShopOrders: { method: 'GET', path: '/v1/shops/{id}/orders', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: true, stream: false, deprecated: null },
|
|
147
|
+
listShopConnectTokens: { method: 'GET', path: '/v1/shops/connect-tokens', auth: ['staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
148
|
+
createShopConnectToken: { method: 'POST', path: '/v1/shops/connect-tokens', auth: ['staff'], merchant: true, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
149
|
+
revokeShopConnectToken: { method: 'DELETE', path: '/v1/shops/connect-tokens/{id}', auth: ['staff'], merchant: true, idempotency: null, body: false, response: 'none', paged: false, stream: false, deprecated: null },
|
|
150
|
+
connectShop: { method: 'POST', path: '/v1/shops/connect', auth: ['public'], merchant: false, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
151
|
+
listTeam: { method: 'GET', path: '/v1/team', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
152
|
+
listRoles: { method: 'GET', path: '/v1/team/roles', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
153
|
+
getMember: { method: 'GET', path: '/v1/team/{seatId}', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
154
|
+
removeMember: { method: 'DELETE', path: '/v1/team/{seatId}', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'none', paged: false, stream: false, deprecated: null },
|
|
155
|
+
inviteMember: { method: 'POST', path: '/v1/team/invites', auth: ['key', 'staff'], merchant: true, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
156
|
+
revokeInvite: { method: 'DELETE', path: '/v1/team/invites/{id}', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'none', paged: false, stream: false, deprecated: null },
|
|
157
|
+
grantRole: { method: 'POST', path: '/v1/team/{seatId}/grants', auth: ['key', 'staff'], merchant: true, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
158
|
+
revokeGrant: { method: 'DELETE', path: '/v1/team/{seatId}/grants/{grantId}', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'none', paged: false, stream: false, deprecated: null },
|
|
159
|
+
suspendMember: { method: 'POST', path: '/v1/team/{seatId}/suspend', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
160
|
+
unsuspendMember: { method: 'POST', path: '/v1/team/{seatId}/unsuspend', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
161
|
+
locationTeam: { method: 'GET', path: '/v1/locations/{id}/team', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
162
|
+
listApiKeys: { method: 'GET', path: '/v1/developers/keys', auth: ['staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
163
|
+
createApiKey: { method: 'POST', path: '/v1/developers/keys', auth: ['staff'], merchant: true, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
164
|
+
getApiKey: { method: 'GET', path: '/v1/developers/keys/{id}', auth: ['staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
165
|
+
revokeApiKey: { method: 'DELETE', path: '/v1/developers/keys/{id}', auth: ['staff'], merchant: true, idempotency: null, body: false, response: 'none', paged: false, stream: false, deprecated: null },
|
|
166
|
+
listApiKeyRequests: { method: 'GET', path: '/v1/developers/keys/{id}/requests', auth: ['staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: true, stream: false, deprecated: null },
|
|
167
|
+
webhookEvents: { method: 'GET', path: '/v1/developers/webhooks/events', auth: ['staff', 'key', 'public'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
168
|
+
listWebhooks: { method: 'GET', path: '/v1/developers/webhooks', auth: ['staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
169
|
+
createWebhook: { method: 'POST', path: '/v1/developers/webhooks', auth: ['staff'], merchant: true, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
170
|
+
getWebhook: { method: 'GET', path: '/v1/developers/webhooks/{id}', auth: ['staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
171
|
+
setWebhookStatus: { method: 'PATCH', path: '/v1/developers/webhooks/{id}', auth: ['staff'], merchant: true, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
172
|
+
listWebhookDeliveries: { method: 'GET', path: '/v1/developers/webhooks/{id}/deliveries', auth: ['staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: true, stream: false, deprecated: null },
|
|
173
|
+
testWebhook: { method: 'POST', path: '/v1/developers/webhooks/{id}/test', auth: ['staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
174
|
+
getTestEnvironment: { method: 'GET', path: '/v1/test/environment', auth: ['staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
175
|
+
openTestEnvironment: { method: 'POST', path: '/v1/test/environment', auth: ['staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
176
|
+
resetTestEnvironment: { method: 'POST', path: '/v1/test/environment/reset', auth: ['staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
177
|
+
listTestMessages: { method: 'GET', path: '/v1/test/messages', auth: ['key', 'staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: true, stream: false, deprecated: null },
|
|
178
|
+
listNotifications: { method: 'GET', path: '/v1/notifications', auth: ['staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: true, stream: false, deprecated: null },
|
|
179
|
+
notificationSummary: { method: 'GET', path: '/v1/notifications/summary', auth: ['staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
180
|
+
markNotificationRead: { method: 'POST', path: '/v1/notifications/{id}/read', auth: ['staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
181
|
+
markAllNotificationsRead: { method: 'POST', path: '/v1/notifications/read-all', auth: ['staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
182
|
+
listTickets: { method: 'GET', path: '/v1/support/tickets', auth: ['staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: true, stream: false, deprecated: null },
|
|
183
|
+
openTicket: { method: 'POST', path: '/v1/support/tickets', auth: ['staff'], merchant: true, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
184
|
+
supportSummary: { method: 'GET', path: '/v1/support/summary', auth: ['staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
185
|
+
getTicket: { method: 'GET', path: '/v1/support/tickets/{id}', auth: ['staff'], merchant: true, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
186
|
+
replyTicket: { method: 'POST', path: '/v1/support/tickets/{id}/messages', auth: ['staff'], merchant: true, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
187
|
+
reportBug: { method: 'POST', path: '/v1/bug-reports', auth: ['staff'], merchant: true, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
188
|
+
holderCards: { method: 'GET', path: '/v1/holder/cards', auth: ['holder'], merchant: false, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
189
|
+
addHolderCard: { method: 'POST', path: '/v1/holder/cards', auth: ['holder'], merchant: false, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
190
|
+
holderCard: { method: 'GET', path: '/v1/holder/cards/{serial}', auth: ['holder'], merchant: false, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
191
|
+
holderCardEvents: { method: 'GET', path: '/v1/holder/cards/{serial}/events', auth: ['holder'], merchant: false, idempotency: null, body: false, response: 'stream', paged: false, stream: true, deprecated: null },
|
|
192
|
+
holderApplePass: { method: 'GET', path: '/v1/holder/cards/{serial}/apple.pkpass', auth: ['holder'], merchant: false, idempotency: null, body: false, response: 'blob', paged: false, stream: false, deprecated: null },
|
|
193
|
+
holderGooglePass: { method: 'POST', path: '/v1/holder/cards/{serial}/google', auth: ['holder'], merchant: false, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
194
|
+
holderSamsungPass: { method: 'POST', path: '/v1/holder/cards/{serial}/samsung', auth: ['holder'], merchant: false, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
195
|
+
holderCardLink: { method: 'POST', path: '/v1/holder/cards/{serial}/link', auth: ['holder'], merchant: false, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
196
|
+
holderLeaderboard: { method: 'PUT', path: '/v1/holder/cards/{serial}/leaderboard', auth: ['holder'], merchant: false, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
197
|
+
hideHolderCard: { method: 'PUT', path: '/v1/holder/cards/{serial}/hidden', auth: ['holder'], merchant: false, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
198
|
+
unhideHolderCard: { method: 'DELETE', path: '/v1/holder/cards/{serial}/hidden', auth: ['holder'], merchant: false, idempotency: null, body: false, response: 'none', paged: false, stream: false, deprecated: null },
|
|
199
|
+
holderMerchantPrograms: { method: 'GET', path: '/v1/holder/merchants/{slug}/programs', auth: ['holder'], merchant: false, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
200
|
+
holderFavorites: { method: 'GET', path: '/v1/holder/favorites', auth: ['holder'], merchant: false, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
201
|
+
orderHolderFavorites: { method: 'PUT', path: '/v1/holder/favorites/order', auth: ['holder'], merchant: false, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
202
|
+
starHolderCard: { method: 'PUT', path: '/v1/holder/favorites/{serial}', auth: ['holder'], merchant: false, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
203
|
+
unstarHolderCard: { method: 'DELETE', path: '/v1/holder/favorites/{serial}', auth: ['holder'], merchant: false, idempotency: null, body: false, response: 'none', paged: false, stream: false, deprecated: null },
|
|
204
|
+
holderProgram: { method: 'GET', path: '/v1/holder/programs/{id}', auth: ['holder'], merchant: false, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
205
|
+
joinHolderProgram: { method: 'POST', path: '/v1/holder/programs/{id}/join', auth: ['holder'], merchant: false, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
206
|
+
claimHolderCode: { method: 'POST', path: '/v1/holder/codes/{code}/claim', auth: ['holder'], merchant: false, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
207
|
+
holderAccount: { method: 'GET', path: '/v1/holder/account', auth: ['holder'], merchant: false, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
208
|
+
deleteHolderAccount: { method: 'DELETE', path: '/v1/holder/account', auth: ['holder'], merchant: false, idempotency: null, body: false, response: 'none', paged: false, stream: false, deprecated: null },
|
|
209
|
+
holderPasskeyOptions: { method: 'POST', path: '/v1/holder/passkeys/options', auth: ['holder'], merchant: false, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
210
|
+
addHolderPasskey: { method: 'POST', path: '/v1/holder/passkeys', auth: ['holder'], merchant: false, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
211
|
+
removeHolderPasskey: { method: 'DELETE', path: '/v1/holder/passkeys/{id}', auth: ['holder'], merchant: false, idempotency: null, body: false, response: 'none', paged: false, stream: false, deprecated: null },
|
|
212
|
+
addHolderEmail: { method: 'POST', path: '/v1/holder/identities/email', auth: ['holder'], merchant: false, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
213
|
+
verifyHolderEmail: { method: 'POST', path: '/v1/holder/identities/email/verify', auth: ['holder'], merchant: false, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
214
|
+
addHolderPhone: { method: 'POST', path: '/v1/holder/identities/phone', auth: ['holder'], merchant: false, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
215
|
+
verifyHolderPhone: { method: 'POST', path: '/v1/holder/identities/phone/verify', auth: ['holder'], merchant: false, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
216
|
+
mergeHolderAccounts: { method: 'POST', path: '/v1/holder/merge', auth: ['holder'], merchant: false, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
217
|
+
removeHolderEmail: { method: 'DELETE', path: '/v1/holder/identities/{id}', auth: ['holder'], merchant: false, idempotency: null, body: false, response: 'none', paged: false, stream: false, deprecated: null },
|
|
218
|
+
replaceHolderIdentity: { method: 'POST', path: '/v1/holder/identities/{id}/replace', auth: ['holder'], merchant: false, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
219
|
+
verifyHolderIdentityReplace: { method: 'POST', path: '/v1/holder/identities/{id}/replace/verify', auth: ['holder'], merchant: false, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
220
|
+
cancelHolderChange: { method: 'DELETE', path: '/v1/holder/changes/{id}', auth: ['holder'], merchant: false, idempotency: null, body: false, response: 'none', paged: false, stream: false, deprecated: null },
|
|
221
|
+
addHolderGoogle: { method: 'POST', path: '/v1/holder/identities/google', auth: ['holder'], merchant: false, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
222
|
+
addHolderApple: { method: 'POST', path: '/v1/holder/identities/apple', auth: ['holder'], merchant: false, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
223
|
+
holderDevices: { method: 'GET', path: '/v1/holder/devices', auth: ['holder'], merchant: false, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
224
|
+
removeHolderDevice: { method: 'DELETE', path: '/v1/holder/devices/{id}', auth: ['holder'], merchant: false, idempotency: null, body: false, response: 'none', paged: false, stream: false, deprecated: null },
|
|
225
|
+
signOutOtherHolderDevices: { method: 'POST', path: '/v1/holder/devices/sign-out-others', auth: ['holder'], merchant: false, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
226
|
+
holderPreferences: { method: 'GET', path: '/v1/holder/preferences', auth: ['holder'], merchant: false, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
227
|
+
setHolderPreferences: { method: 'PATCH', path: '/v1/holder/preferences/{personId}', auth: ['holder'], merchant: false, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
228
|
+
holderProfiles: { method: 'GET', path: '/v1/holder/profiles', auth: ['holder'], merchant: false, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
229
|
+
correctHolderProfile: { method: 'PATCH', path: '/v1/holder/profiles/{personId}', auth: ['holder'], merchant: false, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
230
|
+
holderConsents: { method: 'GET', path: '/v1/holder/consents', auth: ['holder'], merchant: false, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
231
|
+
holderData: { method: 'GET', path: '/v1/holder/data', auth: ['holder'], merchant: false, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
232
|
+
holderErasure: { method: 'GET', path: '/v1/holder/erasure', auth: ['holder'], merchant: false, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
233
|
+
requestHolderErasure: { method: 'POST', path: '/v1/holder/erasure', auth: ['holder'], merchant: false, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
234
|
+
cancelHolderErasure: { method: 'DELETE', path: '/v1/holder/erasure', auth: ['holder'], merchant: false, idempotency: null, body: false, response: 'none', paged: false, stream: false, deprecated: null },
|
|
235
|
+
holderNotifications: { method: 'GET', path: '/v1/holder/notifications', auth: ['holder'], merchant: false, idempotency: null, body: false, response: 'json', paged: true, stream: false, deprecated: null },
|
|
236
|
+
holderNotificationSettings: { method: 'GET', path: '/v1/holder/notifications/settings', auth: ['holder'], merchant: false, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
237
|
+
setHolderNotificationSettings: { method: 'PATCH', path: '/v1/holder/notifications/settings', auth: ['holder'], merchant: false, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
238
|
+
setHolderDevicePush: { method: 'PUT', path: '/v1/holder/devices/current/push', auth: ['holder'], merchant: false, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
239
|
+
removeHolderDevicePush: { method: 'DELETE', path: '/v1/holder/devices/current/push', auth: ['holder'], merchant: false, idempotency: null, body: false, response: 'none', paged: false, stream: false, deprecated: null },
|
|
240
|
+
testHolderDevicePush: { method: 'POST', path: '/v1/holder/devices/current/push/test', auth: ['holder'], merchant: false, idempotency: null, body: false, response: 'json', paged: false, stream: false, deprecated: null },
|
|
241
|
+
startHolderRecovery: { method: 'POST', path: '/v1/holder/recovery', auth: ['public'], merchant: false, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
242
|
+
verifyHolderRecovery: { method: 'POST', path: '/v1/holder/recovery/verify', auth: ['public'], merchant: false, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
243
|
+
holderRecoveryStatus: { method: 'POST', path: '/v1/holder/recovery/status', auth: ['public'], merchant: false, idempotency: null, body: true, response: 'json', paged: false, stream: false, deprecated: null },
|
|
244
|
+
};
|
|
245
|
+
/** Each error code's one-line title in the catalogue (https://rewloy.com/gelistiriciler/hatalar). */
|
|
246
|
+
export const ERROR_TITLES = {
|
|
247
|
+
VALIDATION: 'Gönderilen bilgiler geçersiz',
|
|
248
|
+
IDEMPOTENCY_KEY_REQUIRED: 'Idempotency-Key başlığı gerekli',
|
|
249
|
+
IDEMPOTENCY_KEY_REUSED: 'Anahtar başka bir istekte kullanılmış',
|
|
250
|
+
IDEMPOTENCY_IN_PROGRESS: 'Aynı istek hâlâ işleniyor',
|
|
251
|
+
CONFIRM_REQUIRED: 'Onay gerekli',
|
|
252
|
+
NOT_FOUND: 'Bulunamadı',
|
|
253
|
+
RATE_LIMITED: 'İstek sınırı aşıldı',
|
|
254
|
+
INTERNAL: 'Beklenmeyen hata',
|
|
255
|
+
UNAUTHENTICATED: 'Kimlik gerekli',
|
|
256
|
+
INVALID_API_KEY: 'API anahtarı geçersiz',
|
|
257
|
+
TOKEN_INVALID: 'Oturum ya da bağlantı geçersiz',
|
|
258
|
+
FLOW_EXPIRED: 'Bu adımın süresi doldu',
|
|
259
|
+
PASSKEY_REFUSED: 'Passkey doğrulanamadı',
|
|
260
|
+
CODE_INVALID: 'Giriş kodu yanlış',
|
|
261
|
+
CODE_LOCKED: 'Bu adres ya da numara için kod girişi kapandı',
|
|
262
|
+
PHONE_BUSY: 'Bu yoldan kod gönderimi bugün için dolu',
|
|
263
|
+
LAST_WAY_IN: 'Hesaba girmenin son yolu',
|
|
264
|
+
CHANGE_PENDING: 'Bu cihazın istediği değişiklik bekliyor',
|
|
265
|
+
WAY_IN_TOO_NEW: 'Kalan giriş yolları henüz yeni',
|
|
266
|
+
NOT_ENABLED: 'Bu özellik bu ortamda açık değil',
|
|
267
|
+
PUSH_DEVICE_REFUSED: 'Bu cihazda bildirim açılmaz',
|
|
268
|
+
PUSH_NOT_SUBSCRIBED: 'Bu cihazda bildirimler kapalı',
|
|
269
|
+
PROVIDER_REFUSED: 'Google ya da Apple girişi doğrulanamadı',
|
|
270
|
+
PROVIDER_UNAVAILABLE: 'Google ya da Apple yanıt vermiyor',
|
|
271
|
+
MERGE_REQUIRED: 'Bu e-posta, numara ya da giriş başka bir cüzdan hesabında',
|
|
272
|
+
IDENT_SAME: 'Yeni adres ya da numara zaten hesabın',
|
|
273
|
+
LOGIN_FAILED: 'E-posta ya da şifre yanlış',
|
|
274
|
+
MFA_REQUIRED: 'İki adımlı doğrulama kodu gerekli',
|
|
275
|
+
MFA_INVALID: 'Kod geçersiz',
|
|
276
|
+
MFA_NOT_SET: 'İki adımlı doğrulama kurulmamış',
|
|
277
|
+
MFA_ALREADY_ENABLED: 'İki adımlı doğrulama zaten açık',
|
|
278
|
+
MFA_REQUIRED_BY_TEAM: 'İşletme iki adımlı doğrulamayı zorunlu tutuyor',
|
|
279
|
+
MFA_OWNER_FIRST: 'Önce kendi hesabınızda açın',
|
|
280
|
+
STEP_UP_FAILED: 'Şifre doğrulanamadı',
|
|
281
|
+
CREDENTIAL_NOT_ALLOWED: 'Bu kimlik türü bu uç noktayı kullanamaz',
|
|
282
|
+
MERCHANT_REQUIRED: 'Hangi işletme?',
|
|
283
|
+
FORBIDDEN: 'Yetki yok',
|
|
284
|
+
OUT_OF_SCOPE: 'Bu şube kapsamınız dışında',
|
|
285
|
+
PLAN_FEATURE_MISSING: 'Planınızda yok',
|
|
286
|
+
READ_ONLY: 'Hesap salt-okunur',
|
|
287
|
+
SEAT_LIMIT: 'Koltuk sınırı doldu',
|
|
288
|
+
LIMIT: 'Sınıra ulaşıldı',
|
|
289
|
+
PROGRAM_NOT_FOUND: 'Program bulunamadı',
|
|
290
|
+
PASS_NOT_FOUND: 'Kart bulunamadı',
|
|
291
|
+
CUSTOMER_NOT_FOUND: 'Müşteri bulunamadı',
|
|
292
|
+
SEGMENT_NOT_FOUND: 'Segment bulunamadı',
|
|
293
|
+
CAMPAIGN_NOT_FOUND: 'Kampanya bulunamadı',
|
|
294
|
+
AUTOMATION_NOT_FOUND: 'Otomasyon bulunamadı',
|
|
295
|
+
SEQUENCE_NOT_FOUND: 'Dizi bulunamadı',
|
|
296
|
+
LOCATION_NOT_FOUND: 'Şube bulunamadı',
|
|
297
|
+
GROUP_NOT_FOUND: 'Şube grubu bulunamadı',
|
|
298
|
+
SEAT_NOT_FOUND: 'Ekip üyesi bulunamadı',
|
|
299
|
+
ERASURE_NOT_FOUND: 'Bekleyen silme talebi yok',
|
|
300
|
+
JOIN_CLOSED: 'Katılım kapalı',
|
|
301
|
+
INVITE_NOT_FOUND: 'Davet bulunamadı',
|
|
302
|
+
GRANT_NOT_FOUND: 'Yetki bulunamadı',
|
|
303
|
+
BATCH_NOT_FOUND: 'Kod bulunamadı',
|
|
304
|
+
KEY_NOT_FOUND: 'API anahtarı bulunamadı',
|
|
305
|
+
WEBHOOK_NOT_FOUND: 'Webhook bulunamadı',
|
|
306
|
+
SHOP_NOT_FOUND: 'Mağaza bağlantısı bulunamadı',
|
|
307
|
+
SHOP_PROGRAM_MISMATCH: 'Bağlantı bu programın değil',
|
|
308
|
+
CONNECT_TOKEN_INVALID: 'Bağlantı kodu geçersiz',
|
|
309
|
+
CONNECT_TOKEN_NOT_FOUND: 'Bekleyen bağlantı kodu bulunamadı',
|
|
310
|
+
TICKET_NOT_FOUND: 'Destek talebi bulunamadı',
|
|
311
|
+
NOTIFICATION_NOT_FOUND: 'Bildirim bulunamadı',
|
|
312
|
+
SESSION_NOT_FOUND: 'Oturum bulunamadı',
|
|
313
|
+
PASS_REFUSED: 'Kart bu işlemi kabul etmedi',
|
|
314
|
+
PASS_INACTIVE: 'Kart etkin değil',
|
|
315
|
+
PASS_EXPIRED: 'Kartın süresi dolmuş',
|
|
316
|
+
PASS_USED_UP: 'Kullanım hakkı doldu',
|
|
317
|
+
WRONG_CARD_TYPE: 'Bu işlem bu kart türünde yok',
|
|
318
|
+
INSUFFICIENT_BALANCE: 'Bakiye yetersiz',
|
|
319
|
+
REWARD_NOT_READY: 'Ödül henüz hazır değil',
|
|
320
|
+
WRONG_LOCATION: 'Kart bu şubede geçerli değil',
|
|
321
|
+
INVALID_PROMOTION: 'Kasa kampanyası geçersiz',
|
|
322
|
+
PROMOTION_NOT_FOUND: 'Kasa kampanyası bulunamadı',
|
|
323
|
+
VISIT_ALREADY_COUNTED: 'Ziyaret zaten sayıldı',
|
|
324
|
+
ALREADY_ENDED: 'Kart zaten kapanmış',
|
|
325
|
+
PASS_STILL_ACTIVE: 'Kart hâlâ geçerli',
|
|
326
|
+
CONSENT_REQUIRED: 'Aydınlatma beyanı gerekli',
|
|
327
|
+
LEADERBOARD_OFF: 'Sıralama tablosu kapalı',
|
|
328
|
+
WALLET_UNAVAILABLE: 'Cüzdan şu an kullanılamıyor',
|
|
329
|
+
INVALID_CONFIG: 'Kart ayarı geçersiz',
|
|
330
|
+
BAD_IMAGE: 'Görsel uygun değil',
|
|
331
|
+
PROGRAM_HAS_CARDS: 'Kart verilmiş program silinemez',
|
|
332
|
+
ALREADY_ARCHIVED: 'Program zaten arşivde',
|
|
333
|
+
NOT_ARCHIVED: 'Program arşivde değil',
|
|
334
|
+
NOT_AN_INSTRUMENT: 'Bu program kodla dağıtılmaz',
|
|
335
|
+
INVALID_BATCH: 'Kod ayarı geçersiz',
|
|
336
|
+
BATCH_CLOSED: 'Kodla kayıt kapandı',
|
|
337
|
+
BATCH_EXPIRED: 'Kodun süresi doldu',
|
|
338
|
+
BATCH_FULL: 'Kodun kartları bitti',
|
|
339
|
+
ALREADY_CLAIMED: 'Bu e-postayla zaten alındı',
|
|
340
|
+
CURRENCY_LOCKED: 'Para birimi değiştirilemez',
|
|
341
|
+
INVALID_CUSTOMER: 'Müşteri bilgisi geçersiz',
|
|
342
|
+
FIELD_REQUIRED: 'Zorunlu alan eksik',
|
|
343
|
+
INVALID_BIRTHDAY: 'Doğum tarihi geçersiz',
|
|
344
|
+
INVALID_PHONE: 'Telefon geçersiz',
|
|
345
|
+
EMAIL_BLOCKED: 'Bu e-postayla kart alınamaz',
|
|
346
|
+
PHONE_BLOCKED: 'Bu numarayla kart alınamaz',
|
|
347
|
+
CUSTOMER_BLOCKED: 'Bu kişi bu işletmede kart alamaz',
|
|
348
|
+
NO_EMAIL: 'Müşterinin e-postası ya da doğrulanmış numarası yok',
|
|
349
|
+
INVALID_SEGMENT: 'Segment kuralı geçersiz',
|
|
350
|
+
CAMPAIGN_REFUSED: 'Kampanya kabul edilmedi',
|
|
351
|
+
NOT_CANCELLABLE: 'Kampanya iptal edilemez',
|
|
352
|
+
AUTOMATION_REFUSED: 'Otomasyon kabul edilmedi',
|
|
353
|
+
SEQUENCE_REFUSED: 'Dizi kabul edilmedi',
|
|
354
|
+
TEAM_REFUSED: 'Ekip işlemi reddedildi',
|
|
355
|
+
GROUP_IN_USE: 'Grup bir yetkide kullanılıyor',
|
|
356
|
+
LAST_LOCATION: 'Son şube arşivlenemez',
|
|
357
|
+
PLACES_OFF: 'Adres araması kapalı',
|
|
358
|
+
PLACES_UNAVAILABLE: 'Adres araması yanıt vermiyor',
|
|
359
|
+
PLACE_CHOICE: 'Birden fazla yer eşleşti',
|
|
360
|
+
ACCOUNT_EXISTS: 'Bu e-postayla hesap var',
|
|
361
|
+
TICKET_CLOSED: 'Talep kapandı',
|
|
362
|
+
TEST_MODE_MISMATCH: 'Test ortamı ile gerçek işletme karışmaz',
|
|
363
|
+
TEST_ENV_ONLY: 'Yalnız test ortamında',
|
|
364
|
+
TEST_ENV_NESTED: 'Test ortamı gerçek işletmeden açılır',
|
|
365
|
+
TEST_LIMIT_REACHED: 'Test ortamı dolu',
|
|
366
|
+
INVALID_KEY: 'Anahtar ayarı geçersiz',
|
|
367
|
+
BAD_WEBHOOK_URL: 'Webhook adresi kabul edilmedi',
|
|
368
|
+
};
|