n8n-nodes-ritsa-crm 2.0.0 → 2.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.
@@ -5,15 +5,15 @@ const n8n_workflow_1 = require("n8n-workflow");
5
5
  class RitsaTools {
6
6
  constructor() {
7
7
  this.description = {
8
- displayName: 'Ritsa CRM Tools',
8
+ displayName: 'Ritsa CRM',
9
9
  name: 'ritsaTools',
10
- icon: 'file:ritsa.svg',
10
+ icon: 'file:logo.png',
11
11
  group: ['transform'],
12
- version: 2,
12
+ version: 2.1,
13
13
  subtitle: '={{$parameter["operation"]}}',
14
- description: 'Interact with Ritsa CRM API for ALL operations (V2)',
14
+ description: 'Ritsa CRM API işlemleri',
15
15
  defaults: {
16
- name: 'Ritsa CRM Tools',
16
+ name: 'Ritsa CRM',
17
17
  },
18
18
  inputs: ['main'],
19
19
  outputs: ['main'],
@@ -25,222 +25,244 @@ class RitsaTools {
25
25
  ],
26
26
  properties: [
27
27
  {
28
- displayName: 'Resource',
28
+ displayName: 'Modül (Kaynak)',
29
29
  name: 'resource',
30
30
  type: 'options',
31
31
  noDataExpression: true,
32
32
  options: [
33
- { name: 'Appointment', value: 'appointment' },
34
- { name: 'Automation', value: 'automation' },
35
- { name: 'Callback', value: 'callback' },
36
- { name: 'Customer', value: 'customer' },
37
- { name: 'Dashboard', value: 'dashboard' },
38
- { name: 'Inventory / Product', value: 'product' },
39
- { name: 'Message', value: 'message' },
40
- { name: 'Opportunity / Kanban', value: 'opportunity' },
41
- { name: 'Payment', value: 'payment' },
42
- { name: 'POS / Sales', value: 'pos' },
43
- { name: 'Service', value: 'service' },
44
- { name: 'Staff & Branch', value: 'staff' },
33
+ { name: 'Geri Aramalar (Callbacks)', value: 'callback' },
34
+ { name: 'Hizmetler', value: 'service' },
35
+ { name: 'Kasa ve Satış (POS)', value: 'pos' },
36
+ { name: 'Mesajlar', value: 'message' },
37
+ { name: 'Müşteriler', value: 'customer' },
38
+ { name: 'Otomasyonlar', value: 'automation' },
39
+ { name: 'Ödemeler', value: 'payment' },
40
+ { name: 'Randevular', value: 'appointment' },
41
+ { name: 'Satış Fırsatları (Kanban)', value: 'opportunity' },
42
+ { name: 'Stok ve Ürünler', value: 'product' },
43
+ { name: 'Şube ve Personel', value: 'staff' },
44
+ { name: 'Özet (Dashboard)', value: 'dashboard' },
45
45
  ],
46
46
  default: 'customer',
47
+ description: 'İşlem yapmak istediğiniz CRM modülünü seçin',
47
48
  },
48
49
  // ---------------------------------------------------------------------------
49
50
  // CUSTOMER OPERATIONS
50
51
  // ---------------------------------------------------------------------------
51
52
  {
52
- displayName: 'Operation',
53
+ displayName: 'İşlem',
53
54
  name: 'operation',
54
55
  type: 'options',
55
56
  noDataExpression: true,
56
57
  displayOptions: { show: { resource: ['customer'] } },
57
58
  options: [
58
- { name: 'Create Customer', value: 'createCustomer' },
59
- { name: 'Get Customer Details', value: 'getCustomerDetails' },
60
- { name: 'Get Customers (Search)', value: 'getCustomers' },
61
- { name: 'Update Customer', value: 'updateCustomer' },
59
+ { name: 'Müşteri Detaylarını Getir', value: 'getCustomerDetails', action: 'Müşteri detaylarını getir' },
60
+ { name: 'Müşteri Ekle', value: 'createCustomer', action: 'Yeni müşteri oluştur' },
61
+ { name: 'Müşteri Güncelle', value: 'updateCustomer', action: 'Müşteri bilgilerini güncelle' },
62
+ { name: 'Müşterileri Ara / Listele', value: 'getCustomers', action: 'Müşterileri listele' },
62
63
  ],
63
64
  default: 'getCustomers',
64
65
  },
65
66
  {
66
- displayName: 'Search Query',
67
+ displayName: 'Arama Sorgusu',
67
68
  name: 'searchQuery',
68
69
  type: 'string',
69
70
  default: '',
71
+ description: 'Örn: "Ahmet", "+905551234567" veya e-posta adresi ile müşteri arayın',
70
72
  displayOptions: { show: { resource: ['customer'], operation: ['getCustomers'] } },
71
73
  },
72
74
  {
73
- displayName: 'Customer ID',
75
+ displayName: 'Müşteri ID',
74
76
  name: 'customerId',
75
77
  type: 'string',
76
78
  required: true,
77
79
  default: '',
80
+ description: 'Örn: "15" (CRM üzerindeki müşteri numarası)',
78
81
  displayOptions: { show: { resource: ['customer'], operation: ['getCustomerDetails', 'updateCustomer'] } },
79
82
  },
80
83
  {
81
- displayName: 'First Name',
84
+ displayName: 'Ad (First Name)',
82
85
  name: 'firstName',
83
86
  type: 'string',
84
87
  default: '',
88
+ description: 'Örn: "Ayşe"',
85
89
  displayOptions: { show: { resource: ['customer'], operation: ['createCustomer', 'updateCustomer'] } },
86
90
  },
87
91
  {
88
- displayName: 'Last Name',
92
+ displayName: 'Soyad (Last Name)',
89
93
  name: 'lastName',
90
94
  type: 'string',
91
95
  default: '',
96
+ description: 'Örn: "Yılmaz"',
92
97
  displayOptions: { show: { resource: ['customer'], operation: ['createCustomer', 'updateCustomer'] } },
93
98
  },
94
99
  {
95
- displayName: 'Phone',
100
+ displayName: 'Telefon',
96
101
  name: 'phone',
97
102
  type: 'string',
98
103
  default: '',
104
+ description: 'Örn: "+905551234567" (Ülke koduyla birlikte)',
99
105
  displayOptions: { show: { resource: ['customer'], operation: ['createCustomer', 'updateCustomer'] } },
100
106
  },
101
107
  // ---------------------------------------------------------------------------
102
108
  // APPOINTMENT OPERATIONS
103
109
  // ---------------------------------------------------------------------------
104
110
  {
105
- displayName: 'Operation',
111
+ displayName: 'İşlem',
106
112
  name: 'operation',
107
113
  type: 'options',
108
114
  noDataExpression: true,
109
115
  displayOptions: { show: { resource: ['appointment'] } },
110
116
  options: [
111
- { name: 'Create Appointment', value: 'createAppointment' },
112
- { name: 'Get Appointments', value: 'getAppointments' },
113
- { name: 'Update Appointment Status', value: 'updateAppointmentStatus' },
117
+ { name: 'Randevu Durumunu Güncelle', value: 'updateAppointmentStatus', action: 'Randevu iptal / onay' },
118
+ { name: 'Randevu Oluştur', value: 'createAppointment', action: 'Yeni randevu oluştur' },
119
+ { name: 'Randevuları Listele', value: 'getAppointments', action: 'Randevuları getir' },
114
120
  ],
115
121
  default: 'getAppointments',
116
122
  },
117
123
  {
118
- displayName: 'Date (YYYY-MM-DD)',
124
+ displayName: 'Tarih (Yıl-Ay-Gün)',
119
125
  name: 'date',
120
126
  type: 'string',
121
127
  default: '',
128
+ description: 'Örn: "2026-06-25". Boş bırakılırsa bugünün randevuları gelir.',
122
129
  displayOptions: { show: { resource: ['appointment'], operation: ['getAppointments', 'createAppointment'] } },
123
130
  },
124
131
  {
125
- displayName: 'Time (HH:MM)',
132
+ displayName: 'Saat (Saat:Dakika)',
126
133
  name: 'time',
127
134
  type: 'string',
128
135
  default: '',
136
+ description: 'Örn: "14:30" veya "09:00"',
129
137
  displayOptions: { show: { resource: ['appointment'], operation: ['createAppointment'] } },
130
138
  },
131
139
  {
132
- displayName: 'Customer ID',
140
+ displayName: 'Müşteri ID',
133
141
  name: 'customerId',
134
142
  type: 'string',
135
143
  default: '',
144
+ description: 'Randevu alınacak müşterinin ID numarası. Örn: "42"',
136
145
  displayOptions: { show: { resource: ['appointment'], operation: ['createAppointment'] } },
137
146
  },
138
147
  {
139
- displayName: 'Appointment ID',
148
+ displayName: 'Randevu ID',
140
149
  name: 'appointmentId',
141
150
  type: 'string',
142
151
  default: '',
152
+ description: 'Güncellenecek randevunun ID numarası. Örn: "105"',
143
153
  displayOptions: { show: { resource: ['appointment'], operation: ['updateAppointmentStatus'] } },
144
154
  },
145
155
  {
146
- displayName: 'New Status',
156
+ displayName: 'Yeni Durum',
147
157
  name: 'newStatus',
148
- type: 'string',
149
- default: '',
158
+ type: 'options',
159
+ options: [
160
+ { name: 'Onaylandı (Confirmed)', value: 'confirmed' },
161
+ { name: 'Bekliyor (Pending)', value: 'pending' },
162
+ { name: 'İptal Edildi (Cancelled)', value: 'cancelled' },
163
+ { name: 'Tamamlandı (Completed)', value: 'completed' },
164
+ ],
165
+ default: 'confirmed',
150
166
  displayOptions: { show: { resource: ['appointment'], operation: ['updateAppointmentStatus'] } },
151
167
  },
152
168
  // ---------------------------------------------------------------------------
153
169
  // MESSAGE OPERATIONS
154
170
  // ---------------------------------------------------------------------------
155
171
  {
156
- displayName: 'Operation',
172
+ displayName: 'İşlem',
157
173
  name: 'operation',
158
174
  type: 'options',
159
175
  noDataExpression: true,
160
176
  displayOptions: { show: { resource: ['message'] } },
161
177
  options: [
162
- { name: 'Get Messages', value: 'getMessages' },
163
- { name: 'Send Message', value: 'sendMessage' },
178
+ { name: 'Mesaj Gönder', value: 'sendMessage', action: 'Mesaj gönder' },
179
+ { name: 'Son Mesajları Oku', value: 'getMessages', action: 'Mesajları getir' },
164
180
  ],
165
181
  default: 'sendMessage',
166
182
  },
167
183
  {
168
- displayName: 'Customer Phone / ID',
184
+ displayName: 'Müşteri Telefonu veya ID',
169
185
  name: 'customerId',
170
186
  type: 'string',
171
187
  required: true,
172
188
  default: '',
189
+ description: 'Örn: "+905551234567" veya CRM Müşteri ID "15"',
173
190
  displayOptions: { show: { resource: ['message'], operation: ['sendMessage', 'getMessages'] } },
174
191
  },
175
192
  {
176
- displayName: 'Message Content',
193
+ displayName: 'Gönderilecek Mesaj',
177
194
  name: 'messageContent',
178
195
  type: 'string',
196
+ typeOptions: { alwaysOpenEditWindow: true },
179
197
  default: '',
198
+ description: 'Müşteriye iletilecek WhatsApp / SMS mesajı metni',
180
199
  displayOptions: { show: { resource: ['message'], operation: ['sendMessage'] } },
181
200
  },
182
201
  // ---------------------------------------------------------------------------
183
202
  // OPPORTUNITY / KANBAN OPERATIONS
184
203
  // ---------------------------------------------------------------------------
185
204
  {
186
- displayName: 'Operation',
205
+ displayName: 'İşlem',
187
206
  name: 'operation',
188
207
  type: 'options',
189
208
  noDataExpression: true,
190
209
  displayOptions: { show: { resource: ['opportunity'] } },
191
210
  options: [
192
- { name: 'Create Opportunity', value: 'createOpportunity' },
193
- { name: 'Get Opportunities', value: 'getOpportunities' },
194
- { name: 'Update Lead Status', value: 'updateLeadStatus' },
211
+ { name: 'Fırsat Aşaması Güncelle', value: 'updateLeadStatus', action: 'Pipeline aşaması güncelle' },
212
+ { name: 'Fırsat Ekle', value: 'createOpportunity', action: 'Yeni fırsat oluştur' },
213
+ { name: 'Fırsatları / Leadleri Listele', value: 'getOpportunities', action: 'Aktif fırsatları listele' },
195
214
  ],
196
215
  default: 'getOpportunities',
197
216
  },
198
217
  {
199
- displayName: 'Lead / Opportunity ID',
218
+ displayName: 'Fırsat (Lead) ID',
200
219
  name: 'leadId',
201
220
  type: 'string',
202
221
  default: '',
222
+ description: 'Örn: "7". Kanban panosundaki kartın numarası.',
203
223
  displayOptions: { show: { resource: ['opportunity'], operation: ['updateLeadStatus'] } },
204
224
  },
205
225
  {
206
- displayName: 'New Stage / Status',
226
+ displayName: 'Yeni Aşama (Durum)',
207
227
  name: 'newStatus',
208
228
  type: 'string',
209
229
  default: '',
230
+ description: 'Örn: "Ön Görüşme Yapıldı" veya "Satışa Döndü"',
210
231
  displayOptions: { show: { resource: ['opportunity'], operation: ['updateLeadStatus'] } },
211
232
  },
212
233
  // ---------------------------------------------------------------------------
213
234
  // INVENTORY / PRODUCT OPERATIONS
214
235
  // ---------------------------------------------------------------------------
215
236
  {
216
- displayName: 'Operation',
237
+ displayName: 'İşlem',
217
238
  name: 'operation',
218
239
  type: 'options',
219
240
  noDataExpression: true,
220
241
  displayOptions: { show: { resource: ['product'] } },
221
242
  options: [
222
- { name: 'Check Stock', value: 'checkStock' },
243
+ { name: 'Stok ve Fiyat Sorgula', value: 'checkStock', action: 'Stok ve fiyat bilgisi çek' },
223
244
  ],
224
245
  default: 'checkStock',
225
246
  },
226
247
  {
227
- displayName: 'Product Name / Barcode',
248
+ displayName: 'Ürün Adı / Barkodu',
228
249
  name: 'productQuery',
229
250
  type: 'string',
230
251
  default: '',
252
+ description: 'Örn: "Lazer Başlığı" veya "869123456"',
231
253
  displayOptions: { show: { resource: ['product'], operation: ['checkStock'] } },
232
254
  },
233
255
  // ---------------------------------------------------------------------------
234
256
  // SERVICE OPERATIONS
235
257
  // ---------------------------------------------------------------------------
236
258
  {
237
- displayName: 'Operation',
259
+ displayName: 'İşlem',
238
260
  name: 'operation',
239
261
  type: 'options',
240
262
  noDataExpression: true,
241
263
  displayOptions: { show: { resource: ['service'] } },
242
264
  options: [
243
- { name: 'Get Services', value: 'getServices' },
265
+ { name: 'Hizmetleri ve Fiyatları Listele', value: 'getServices', action: 'Hizmetleri getir' },
244
266
  ],
245
267
  default: 'getServices',
246
268
  },
@@ -248,126 +270,131 @@ class RitsaTools {
248
270
  // POS / SALES OPERATIONS
249
271
  // ---------------------------------------------------------------------------
250
272
  {
251
- displayName: 'Operation',
273
+ displayName: 'İşlem',
252
274
  name: 'operation',
253
275
  type: 'options',
254
276
  noDataExpression: true,
255
277
  displayOptions: { show: { resource: ['pos'] } },
256
278
  options: [
257
- { name: 'Collect Receivable', value: 'collectReceivable' },
258
- { name: 'Get Current Session', value: 'getCurrentSession' },
259
- { name: 'Get Receivables', value: 'getReceivables' },
260
- { name: 'Make Sale', value: 'makeSale' },
261
- { name: 'Open / Close Session', value: 'toggleSession' },
279
+ { name: 'Açık Alacakları Getir', value: 'getReceivables' },
280
+ { name: 'Alacak Tahsilatı Gir', value: 'collectReceivable' },
281
+ { name: 'Kasa Aç / Kapat', value: 'toggleSession' },
282
+ { name: 'Mevcut Kasa Oturumu', value: 'getCurrentSession' },
283
+ { name: 'Serbest Satış Yap', value: 'makeSale' },
262
284
  ],
263
285
  default: 'getCurrentSession',
264
286
  },
265
287
  {
266
- displayName: 'Session Action',
288
+ displayName: 'Kasa Aksiyonu',
267
289
  name: 'sessionAction',
268
290
  type: 'options',
269
291
  options: [
270
- { name: 'Open', value: 'open' },
271
- { name: 'Close', value: 'close' },
292
+ { name: 'Kasayı Aç', value: 'open' },
293
+ { name: 'Kasayı Kapat', value: 'close' },
272
294
  ],
273
295
  default: 'open',
274
296
  displayOptions: { show: { resource: ['pos'], operation: ['toggleSession'] } },
275
297
  },
276
298
  {
277
- displayName: 'Sale Items (JSON Array)',
299
+ displayName: 'Satış Kalemleri (JSON Array)',
278
300
  name: 'saleItems',
279
301
  type: 'json',
280
- default: '[]',
302
+ default: '[{ "name": "Örnek Hizmet", "quantity": 1, "unit_price": 200 }]',
303
+ description: 'Sepete eklenecek ürün/hizmetleri JSON dizisi olarak girin.',
281
304
  displayOptions: { show: { resource: ['pos'], operation: ['makeSale'] } },
282
305
  },
283
306
  {
284
- displayName: 'Receivable ID',
307
+ displayName: 'Alacak (Receivable) ID',
285
308
  name: 'receivableId',
286
309
  type: 'string',
287
310
  default: '',
311
+ description: 'Örn: "15". Tahsilatı yapılacak açık hesabın numarası.',
288
312
  displayOptions: { show: { resource: ['pos'], operation: ['collectReceivable'] } },
289
313
  },
290
314
  // ---------------------------------------------------------------------------
291
315
  // AUTOMATION OPERATIONS
292
316
  // ---------------------------------------------------------------------------
293
317
  {
294
- displayName: 'Operation',
318
+ displayName: 'İşlem',
295
319
  name: 'operation',
296
320
  type: 'options',
297
321
  noDataExpression: true,
298
322
  displayOptions: { show: { resource: ['automation'] } },
299
323
  options: [
300
- { name: 'Get Automation Rules', value: 'getAutomationRules' },
301
- { name: 'Run Automation Manually', value: 'runAutomation' },
302
- { name: 'Toggle Automation', value: 'toggleAutomation' },
324
+ { name: 'Otomasyon Kurallarını Listele', value: 'getAutomationRules' },
325
+ { name: 'Otomasyonu / Kapat', value: 'toggleAutomation' },
326
+ { name: 'Otomasyonu Manuel Çalıştır (Tetikle)', value: 'runAutomation' },
303
327
  ],
304
328
  default: 'getAutomationRules',
305
329
  },
306
330
  {
307
- displayName: 'Rule ID',
331
+ displayName: 'Kural (Rule) ID',
308
332
  name: 'ruleId',
309
333
  type: 'string',
310
334
  default: '',
335
+ description: 'Örn: "1". Tetiklenecek veya ayarlanacak otomasyon ID numarası.',
311
336
  displayOptions: { show: { resource: ['automation'], operation: ['toggleAutomation', 'runAutomation'] } },
312
337
  },
313
338
  // ---------------------------------------------------------------------------
314
339
  // PAYMENT OPERATIONS
315
340
  // ---------------------------------------------------------------------------
316
341
  {
317
- displayName: 'Operation',
342
+ displayName: 'İşlem',
318
343
  name: 'operation',
319
344
  type: 'options',
320
345
  noDataExpression: true,
321
346
  displayOptions: { show: { resource: ['payment'] } },
322
347
  options: [
323
- { name: 'Create Payment', value: 'createPayment' },
324
- { name: 'Get Daily Summary', value: 'getDailySummary' },
325
- { name: 'Refund Payment', value: 'refundPayment' },
348
+ { name: 'Günlük Ciro / Kasa Özeti', value: 'getDailySummary' },
349
+ { name: 'Ödeme (Tahsilat) Oluştur', value: 'createPayment' },
350
+ { name: 'Ödeme İade / İptal Et', value: 'refundPayment' },
326
351
  ],
327
352
  default: 'getDailySummary',
328
353
  },
329
354
  {
330
- displayName: 'Payment ID',
355
+ displayName: 'Ödeme ID',
331
356
  name: 'paymentId',
332
357
  type: 'string',
333
358
  default: '',
359
+ description: 'Örn: "55". İade edilecek ödemenin numarası.',
334
360
  displayOptions: { show: { resource: ['payment'], operation: ['refundPayment'] } },
335
361
  },
336
362
  // ---------------------------------------------------------------------------
337
363
  // CALLBACK OPERATIONS
338
364
  // ---------------------------------------------------------------------------
339
365
  {
340
- displayName: 'Operation',
366
+ displayName: 'İşlem',
341
367
  name: 'operation',
342
368
  type: 'options',
343
369
  noDataExpression: true,
344
370
  displayOptions: { show: { resource: ['callback'] } },
345
371
  options: [
346
- { name: 'Create Callback', value: 'createCallback' },
347
- { name: 'Get Callbacks', value: 'getCallbacks' },
348
- { name: 'Mark as Called', value: 'markAsCalled' },
372
+ { name: 'Geri Arama Görevi Oluştur', value: 'createCallback' },
373
+ { name: 'Geri Aramaları Listele', value: 'getCallbacks' },
374
+ { name: 'Tamamlandı (Arandı) İşaretle', value: 'markAsCalled' },
349
375
  ],
350
376
  default: 'getCallbacks',
351
377
  },
352
378
  {
353
- displayName: 'Callback ID',
379
+ displayName: 'Arama (Callback) ID',
354
380
  name: 'callbackId',
355
381
  type: 'string',
356
382
  default: '',
383
+ description: 'Örn: "3". Arandı olarak işaretlenecek görevin numarası.',
357
384
  displayOptions: { show: { resource: ['callback'], operation: ['markAsCalled'] } },
358
385
  },
359
386
  // ---------------------------------------------------------------------------
360
387
  // DASHBOARD OPERATIONS
361
388
  // ---------------------------------------------------------------------------
362
389
  {
363
- displayName: 'Operation',
390
+ displayName: 'İşlem',
364
391
  name: 'operation',
365
392
  type: 'options',
366
393
  noDataExpression: true,
367
394
  displayOptions: { show: { resource: ['dashboard'] } },
368
395
  options: [
369
- { name: 'Get Dashboard Summary', value: 'getDashboardSummary' },
370
- { name: 'Get Nav Badges', value: 'getNavBadges' },
396
+ { name: 'Ana Özet Verilerini Getir', value: 'getDashboardSummary' },
397
+ { name: 'Menü Bildirim Sayılarını Getir', value: 'getNavBadges' },
371
398
  ],
372
399
  default: 'getDashboardSummary',
373
400
  },
@@ -375,16 +402,16 @@ class RitsaTools {
375
402
  // STAFF & BRANCH OPERATIONS
376
403
  // ---------------------------------------------------------------------------
377
404
  {
378
- displayName: 'Operation',
405
+ displayName: 'İşlem',
379
406
  name: 'operation',
380
407
  type: 'options',
381
408
  noDataExpression: true,
382
409
  displayOptions: { show: { resource: ['staff'] } },
383
410
  options: [
384
- { name: 'Create Branch', value: 'createBranch' },
385
- { name: 'Create Staff', value: 'createStaff' },
386
- { name: 'Get Branches', value: 'getBranches' },
387
- { name: 'Get Staff', value: 'getStaff' },
411
+ { name: 'Personelleri Getir', value: 'getStaff' },
412
+ { name: 'Personel Ekle', value: 'createStaff' },
413
+ { name: 'Şubeleri Getir', value: 'getBranches' },
414
+ { name: 'Şube Ekle', value: 'createBranch' },
388
415
  ],
389
416
  default: 'getStaff',
390
417
  },
@@ -404,7 +431,7 @@ class RitsaTools {
404
431
  success: true,
405
432
  resource,
406
433
  operation,
407
- message: 'Mock implementation executed successfully. HTTP requests would hit: ' + baseUrl,
434
+ message: 'N8N CRM Entegrasyonu - Örnek Yanıt. Gerçek ortamda burası API isteği atar.',
408
435
  };
409
436
  // E.g., customer ops
410
437
  if (resource === 'customer') {
@@ -1 +1 @@
1
- {"version":3,"file":"RitsaTools.node.js","sourceRoot":"","sources":["../../../nodes/R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AI,QAAQ,KAAK,YAAY,IAAI,CAAC,kBAAkB,EAAE,eAAe,CAAC,CAAC,QAAQ,CAAC,SAAS,CAAC,EAAE,CAAC;oBAC5F,YAAY,CAAC,MAAM,GAAG,IAAI,CAAC,gBAAgB,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;gBAC1D,CAAC;gBAED,UAAU,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC,CAAC;YACzC,CAAC;YAAC,OAAO,KAAK,EAAE,CAAC;gBAChB,IAAI,IAAI,CAAC,cAAc,EAAE,EAAE,CAAC;oBAC3B,UAAU,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,EAAE,KAAK,EAAG,KAAe,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;gBAChE,CAAC;qBAAM,CAAC;oBACP,MAAM,IAAI,2BAAY,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,KAAY,CAAC,CAAC;gBACtD,CAAC;YACF,CAAC;QACF,CAAC;QAED,OAAO,CAAC,UAAU,CAAC,CAAC;IACrB,CAAC;CACD;AAzdD,gCAydC"}
Binary file
@@ -8,15 +8,15 @@ import {
8
8
 
9
9
  export class RitsaTools implements INodeType {
10
10
  description: INodeTypeDescription = {
11
- displayName: 'Ritsa CRM Tools',
11
+ displayName: 'Ritsa CRM',
12
12
  name: 'ritsaTools',
13
- icon: 'file:ritsa.svg',
13
+ icon: 'file:logo.png',
14
14
  group: ['transform'],
15
- version: 2,
15
+ version: 2.1,
16
16
  subtitle: '={{$parameter["operation"]}}',
17
- description: 'Interact with Ritsa CRM API for ALL operations (V2)',
17
+ description: 'Ritsa CRM API işlemleri',
18
18
  defaults: {
19
- name: 'Ritsa CRM Tools',
19
+ name: 'Ritsa CRM',
20
20
  },
21
21
  inputs: ['main'],
22
22
  outputs: ['main'],
@@ -28,78 +28,84 @@ export class RitsaTools implements INodeType {
28
28
  ],
29
29
  properties: [
30
30
  {
31
- displayName: 'Resource',
31
+ displayName: 'Modül (Kaynak)',
32
32
  name: 'resource',
33
33
  type: 'options',
34
34
  noDataExpression: true,
35
35
  options: [
36
- { name: 'Appointment', value: 'appointment' },
37
- { name: 'Automation', value: 'automation' },
38
- { name: 'Callback', value: 'callback' },
39
- { name: 'Customer', value: 'customer' },
40
- { name: 'Dashboard', value: 'dashboard' },
41
- { name: 'Inventory / Product', value: 'product' },
42
- { name: 'Message', value: 'message' },
43
- { name: 'Opportunity / Kanban', value: 'opportunity' },
44
- { name: 'Payment', value: 'payment' },
45
- { name: 'POS / Sales', value: 'pos' },
46
- { name: 'Service', value: 'service' },
47
- { name: 'Staff & Branch', value: 'staff' },
36
+ { name: 'Geri Aramalar (Callbacks)', value: 'callback' },
37
+ { name: 'Hizmetler', value: 'service' },
38
+ { name: 'Kasa ve Satış (POS)', value: 'pos' },
39
+ { name: 'Mesajlar', value: 'message' },
40
+ { name: 'Müşteriler', value: 'customer' },
41
+ { name: 'Otomasyonlar', value: 'automation' },
42
+ { name: 'Ödemeler', value: 'payment' },
43
+ { name: 'Randevular', value: 'appointment' },
44
+ { name: 'Satış Fırsatları (Kanban)', value: 'opportunity' },
45
+ { name: 'Stok ve Ürünler', value: 'product' },
46
+ { name: 'Şube ve Personel', value: 'staff' },
47
+ { name: 'Özet (Dashboard)', value: 'dashboard' },
48
48
  ],
49
49
  default: 'customer',
50
+ description: 'İşlem yapmak istediğiniz CRM modülünü seçin',
50
51
  },
51
52
 
52
53
  // ---------------------------------------------------------------------------
53
54
  // CUSTOMER OPERATIONS
54
55
  // ---------------------------------------------------------------------------
55
56
  {
56
- displayName: 'Operation',
57
+ displayName: 'İşlem',
57
58
  name: 'operation',
58
59
  type: 'options',
59
60
  noDataExpression: true,
60
61
  displayOptions: { show: { resource: ['customer'] } },
61
62
  options: [
62
- { name: 'Create Customer', value: 'createCustomer' },
63
- { name: 'Get Customer Details', value: 'getCustomerDetails' },
64
- { name: 'Get Customers (Search)', value: 'getCustomers' },
65
- { name: 'Update Customer', value: 'updateCustomer' },
63
+ { name: 'Müşteri Detaylarını Getir', value: 'getCustomerDetails', action: 'Müşteri detaylarını getir' },
64
+ { name: 'Müşteri Ekle', value: 'createCustomer', action: 'Yeni müşteri oluştur' },
65
+ { name: 'Müşteri Güncelle', value: 'updateCustomer', action: 'Müşteri bilgilerini güncelle' },
66
+ { name: 'Müşterileri Ara / Listele', value: 'getCustomers', action: 'Müşterileri listele' },
66
67
  ],
67
68
  default: 'getCustomers',
68
69
  },
69
70
  {
70
- displayName: 'Search Query',
71
+ displayName: 'Arama Sorgusu',
71
72
  name: 'searchQuery',
72
73
  type: 'string',
73
74
  default: '',
75
+ description: 'Örn: "Ahmet", "+905551234567" veya e-posta adresi ile müşteri arayın',
74
76
  displayOptions: { show: { resource: ['customer'], operation: ['getCustomers'] } },
75
77
  },
76
78
  {
77
- displayName: 'Customer ID',
79
+ displayName: 'Müşteri ID',
78
80
  name: 'customerId',
79
81
  type: 'string',
80
82
  required: true,
81
83
  default: '',
84
+ description: 'Örn: "15" (CRM üzerindeki müşteri numarası)',
82
85
  displayOptions: { show: { resource: ['customer'], operation: ['getCustomerDetails', 'updateCustomer'] } },
83
86
  },
84
87
  {
85
- displayName: 'First Name',
88
+ displayName: 'Ad (First Name)',
86
89
  name: 'firstName',
87
90
  type: 'string',
88
91
  default: '',
92
+ description: 'Örn: "Ayşe"',
89
93
  displayOptions: { show: { resource: ['customer'], operation: ['createCustomer', 'updateCustomer'] } },
90
94
  },
91
95
  {
92
- displayName: 'Last Name',
96
+ displayName: 'Soyad (Last Name)',
93
97
  name: 'lastName',
94
98
  type: 'string',
95
99
  default: '',
100
+ description: 'Örn: "Yılmaz"',
96
101
  displayOptions: { show: { resource: ['customer'], operation: ['createCustomer', 'updateCustomer'] } },
97
102
  },
98
103
  {
99
- displayName: 'Phone',
104
+ displayName: 'Telefon',
100
105
  name: 'phone',
101
106
  type: 'string',
102
107
  default: '',
108
+ description: 'Örn: "+905551234567" (Ülke koduyla birlikte)',
103
109
  displayOptions: { show: { resource: ['customer'], operation: ['createCustomer', 'updateCustomer'] } },
104
110
  },
105
111
 
@@ -107,51 +113,61 @@ export class RitsaTools implements INodeType {
107
113
  // APPOINTMENT OPERATIONS
108
114
  // ---------------------------------------------------------------------------
109
115
  {
110
- displayName: 'Operation',
116
+ displayName: 'İşlem',
111
117
  name: 'operation',
112
118
  type: 'options',
113
119
  noDataExpression: true,
114
120
  displayOptions: { show: { resource: ['appointment'] } },
115
121
  options: [
116
- { name: 'Create Appointment', value: 'createAppointment' },
117
- { name: 'Get Appointments', value: 'getAppointments' },
118
- { name: 'Update Appointment Status', value: 'updateAppointmentStatus' },
122
+ { name: 'Randevu Durumunu Güncelle', value: 'updateAppointmentStatus', action: 'Randevu iptal / onay' },
123
+ { name: 'Randevu Oluştur', value: 'createAppointment', action: 'Yeni randevu oluştur' },
124
+ { name: 'Randevuları Listele', value: 'getAppointments', action: 'Randevuları getir' },
119
125
  ],
120
126
  default: 'getAppointments',
121
127
  },
122
128
  {
123
- displayName: 'Date (YYYY-MM-DD)',
129
+ displayName: 'Tarih (Yıl-Ay-Gün)',
124
130
  name: 'date',
125
131
  type: 'string',
126
132
  default: '',
133
+ description: 'Örn: "2026-06-25". Boş bırakılırsa bugünün randevuları gelir.',
127
134
  displayOptions: { show: { resource: ['appointment'], operation: ['getAppointments', 'createAppointment'] } },
128
135
  },
129
136
  {
130
- displayName: 'Time (HH:MM)',
137
+ displayName: 'Saat (Saat:Dakika)',
131
138
  name: 'time',
132
139
  type: 'string',
133
140
  default: '',
141
+ description: 'Örn: "14:30" veya "09:00"',
134
142
  displayOptions: { show: { resource: ['appointment'], operation: ['createAppointment'] } },
135
143
  },
136
144
  {
137
- displayName: 'Customer ID',
145
+ displayName: 'Müşteri ID',
138
146
  name: 'customerId',
139
147
  type: 'string',
140
148
  default: '',
149
+ description: 'Randevu alınacak müşterinin ID numarası. Örn: "42"',
141
150
  displayOptions: { show: { resource: ['appointment'], operation: ['createAppointment'] } },
142
151
  },
143
152
  {
144
- displayName: 'Appointment ID',
153
+ displayName: 'Randevu ID',
145
154
  name: 'appointmentId',
146
155
  type: 'string',
147
156
  default: '',
157
+ description: 'Güncellenecek randevunun ID numarası. Örn: "105"',
148
158
  displayOptions: { show: { resource: ['appointment'], operation: ['updateAppointmentStatus'] } },
149
159
  },
150
160
  {
151
- displayName: 'New Status',
161
+ displayName: 'Yeni Durum',
152
162
  name: 'newStatus',
153
- type: 'string',
154
- default: '',
163
+ type: 'options',
164
+ options: [
165
+ { name: 'Onaylandı (Confirmed)', value: 'confirmed' },
166
+ { name: 'Bekliyor (Pending)', value: 'pending' },
167
+ { name: 'İptal Edildi (Cancelled)', value: 'cancelled' },
168
+ { name: 'Tamamlandı (Completed)', value: 'completed' },
169
+ ],
170
+ default: 'confirmed',
155
171
  displayOptions: { show: { resource: ['appointment'], operation: ['updateAppointmentStatus'] } },
156
172
  },
157
173
 
@@ -159,30 +175,33 @@ export class RitsaTools implements INodeType {
159
175
  // MESSAGE OPERATIONS
160
176
  // ---------------------------------------------------------------------------
161
177
  {
162
- displayName: 'Operation',
178
+ displayName: 'İşlem',
163
179
  name: 'operation',
164
180
  type: 'options',
165
181
  noDataExpression: true,
166
182
  displayOptions: { show: { resource: ['message'] } },
167
183
  options: [
168
- { name: 'Get Messages', value: 'getMessages' },
169
- { name: 'Send Message', value: 'sendMessage' },
184
+ { name: 'Mesaj Gönder', value: 'sendMessage', action: 'Mesaj gönder' },
185
+ { name: 'Son Mesajları Oku', value: 'getMessages', action: 'Mesajları getir' },
170
186
  ],
171
187
  default: 'sendMessage',
172
188
  },
173
189
  {
174
- displayName: 'Customer Phone / ID',
190
+ displayName: 'Müşteri Telefonu veya ID',
175
191
  name: 'customerId',
176
192
  type: 'string',
177
193
  required: true,
178
194
  default: '',
195
+ description: 'Örn: "+905551234567" veya CRM Müşteri ID "15"',
179
196
  displayOptions: { show: { resource: ['message'], operation: ['sendMessage', 'getMessages'] } },
180
197
  },
181
198
  {
182
- displayName: 'Message Content',
199
+ displayName: 'Gönderilecek Mesaj',
183
200
  name: 'messageContent',
184
201
  type: 'string',
202
+ typeOptions: { alwaysOpenEditWindow: true },
185
203
  default: '',
204
+ description: 'Müşteriye iletilecek WhatsApp / SMS mesajı metni',
186
205
  displayOptions: { show: { resource: ['message'], operation: ['sendMessage'] } },
187
206
  },
188
207
 
@@ -190,30 +209,32 @@ export class RitsaTools implements INodeType {
190
209
  // OPPORTUNITY / KANBAN OPERATIONS
191
210
  // ---------------------------------------------------------------------------
192
211
  {
193
- displayName: 'Operation',
212
+ displayName: 'İşlem',
194
213
  name: 'operation',
195
214
  type: 'options',
196
215
  noDataExpression: true,
197
216
  displayOptions: { show: { resource: ['opportunity'] } },
198
217
  options: [
199
- { name: 'Create Opportunity', value: 'createOpportunity' },
200
- { name: 'Get Opportunities', value: 'getOpportunities' },
201
- { name: 'Update Lead Status', value: 'updateLeadStatus' },
218
+ { name: 'Fırsat Aşaması Güncelle', value: 'updateLeadStatus', action: 'Pipeline aşaması güncelle' },
219
+ { name: 'Fırsat Ekle', value: 'createOpportunity', action: 'Yeni fırsat oluştur' },
220
+ { name: 'Fırsatları / Leadleri Listele', value: 'getOpportunities', action: 'Aktif fırsatları listele' },
202
221
  ],
203
222
  default: 'getOpportunities',
204
223
  },
205
224
  {
206
- displayName: 'Lead / Opportunity ID',
225
+ displayName: 'Fırsat (Lead) ID',
207
226
  name: 'leadId',
208
227
  type: 'string',
209
228
  default: '',
229
+ description: 'Örn: "7". Kanban panosundaki kartın numarası.',
210
230
  displayOptions: { show: { resource: ['opportunity'], operation: ['updateLeadStatus'] } },
211
231
  },
212
232
  {
213
- displayName: 'New Stage / Status',
233
+ displayName: 'Yeni Aşama (Durum)',
214
234
  name: 'newStatus',
215
235
  type: 'string',
216
236
  default: '',
237
+ description: 'Örn: "Ön Görüşme Yapıldı" veya "Satışa Döndü"',
217
238
  displayOptions: { show: { resource: ['opportunity'], operation: ['updateLeadStatus'] } },
218
239
  },
219
240
 
@@ -221,21 +242,22 @@ export class RitsaTools implements INodeType {
221
242
  // INVENTORY / PRODUCT OPERATIONS
222
243
  // ---------------------------------------------------------------------------
223
244
  {
224
- displayName: 'Operation',
245
+ displayName: 'İşlem',
225
246
  name: 'operation',
226
247
  type: 'options',
227
248
  noDataExpression: true,
228
249
  displayOptions: { show: { resource: ['product'] } },
229
250
  options: [
230
- { name: 'Check Stock', value: 'checkStock' },
251
+ { name: 'Stok ve Fiyat Sorgula', value: 'checkStock', action: 'Stok ve fiyat bilgisi çek' },
231
252
  ],
232
253
  default: 'checkStock',
233
254
  },
234
255
  {
235
- displayName: 'Product Name / Barcode',
256
+ displayName: 'Ürün Adı / Barkodu',
236
257
  name: 'productQuery',
237
258
  type: 'string',
238
259
  default: '',
260
+ description: 'Örn: "Lazer Başlığı" veya "869123456"',
239
261
  displayOptions: { show: { resource: ['product'], operation: ['checkStock'] } },
240
262
  },
241
263
 
@@ -243,13 +265,13 @@ export class RitsaTools implements INodeType {
243
265
  // SERVICE OPERATIONS
244
266
  // ---------------------------------------------------------------------------
245
267
  {
246
- displayName: 'Operation',
268
+ displayName: 'İşlem',
247
269
  name: 'operation',
248
270
  type: 'options',
249
271
  noDataExpression: true,
250
272
  displayOptions: { show: { resource: ['service'] } },
251
273
  options: [
252
- { name: 'Get Services', value: 'getServices' },
274
+ { name: 'Hizmetleri ve Fiyatları Listele', value: 'getServices', action: 'Hizmetleri getir' },
253
275
  ],
254
276
  default: 'getServices',
255
277
  },
@@ -258,43 +280,45 @@ export class RitsaTools implements INodeType {
258
280
  // POS / SALES OPERATIONS
259
281
  // ---------------------------------------------------------------------------
260
282
  {
261
- displayName: 'Operation',
283
+ displayName: 'İşlem',
262
284
  name: 'operation',
263
285
  type: 'options',
264
286
  noDataExpression: true,
265
287
  displayOptions: { show: { resource: ['pos'] } },
266
288
  options: [
267
- { name: 'Collect Receivable', value: 'collectReceivable' },
268
- { name: 'Get Current Session', value: 'getCurrentSession' },
269
- { name: 'Get Receivables', value: 'getReceivables' },
270
- { name: 'Make Sale', value: 'makeSale' },
271
- { name: 'Open / Close Session', value: 'toggleSession' },
289
+ { name: 'Açık Alacakları Getir', value: 'getReceivables' },
290
+ { name: 'Alacak Tahsilatı Gir', value: 'collectReceivable' },
291
+ { name: 'Kasa Aç / Kapat', value: 'toggleSession' },
292
+ { name: 'Mevcut Kasa Oturumu', value: 'getCurrentSession' },
293
+ { name: 'Serbest Satış Yap', value: 'makeSale' },
272
294
  ],
273
295
  default: 'getCurrentSession',
274
296
  },
275
297
  {
276
- displayName: 'Session Action',
298
+ displayName: 'Kasa Aksiyonu',
277
299
  name: 'sessionAction',
278
300
  type: 'options',
279
301
  options: [
280
- { name: 'Open', value: 'open' },
281
- { name: 'Close', value: 'close' },
302
+ { name: 'Kasayı Aç', value: 'open' },
303
+ { name: 'Kasayı Kapat', value: 'close' },
282
304
  ],
283
305
  default: 'open',
284
306
  displayOptions: { show: { resource: ['pos'], operation: ['toggleSession'] } },
285
307
  },
286
308
  {
287
- displayName: 'Sale Items (JSON Array)',
309
+ displayName: 'Satış Kalemleri (JSON Array)',
288
310
  name: 'saleItems',
289
311
  type: 'json',
290
- default: '[]',
312
+ default: '[{ "name": "Örnek Hizmet", "quantity": 1, "unit_price": 200 }]',
313
+ description: 'Sepete eklenecek ürün/hizmetleri JSON dizisi olarak girin.',
291
314
  displayOptions: { show: { resource: ['pos'], operation: ['makeSale'] } },
292
315
  },
293
316
  {
294
- displayName: 'Receivable ID',
317
+ displayName: 'Alacak (Receivable) ID',
295
318
  name: 'receivableId',
296
319
  type: 'string',
297
320
  default: '',
321
+ description: 'Örn: "15". Tahsilatı yapılacak açık hesabın numarası.',
298
322
  displayOptions: { show: { resource: ['pos'], operation: ['collectReceivable'] } },
299
323
  },
300
324
 
@@ -302,23 +326,24 @@ export class RitsaTools implements INodeType {
302
326
  // AUTOMATION OPERATIONS
303
327
  // ---------------------------------------------------------------------------
304
328
  {
305
- displayName: 'Operation',
329
+ displayName: 'İşlem',
306
330
  name: 'operation',
307
331
  type: 'options',
308
332
  noDataExpression: true,
309
333
  displayOptions: { show: { resource: ['automation'] } },
310
334
  options: [
311
- { name: 'Get Automation Rules', value: 'getAutomationRules' },
312
- { name: 'Run Automation Manually', value: 'runAutomation' },
313
- { name: 'Toggle Automation', value: 'toggleAutomation' },
335
+ { name: 'Otomasyon Kurallarını Listele', value: 'getAutomationRules' },
336
+ { name: 'Otomasyonu / Kapat', value: 'toggleAutomation' },
337
+ { name: 'Otomasyonu Manuel Çalıştır (Tetikle)', value: 'runAutomation' },
314
338
  ],
315
339
  default: 'getAutomationRules',
316
340
  },
317
341
  {
318
- displayName: 'Rule ID',
342
+ displayName: 'Kural (Rule) ID',
319
343
  name: 'ruleId',
320
344
  type: 'string',
321
345
  default: '',
346
+ description: 'Örn: "1". Tetiklenecek veya ayarlanacak otomasyon ID numarası.',
322
347
  displayOptions: { show: { resource: ['automation'], operation: ['toggleAutomation', 'runAutomation'] } },
323
348
  },
324
349
 
@@ -326,23 +351,24 @@ export class RitsaTools implements INodeType {
326
351
  // PAYMENT OPERATIONS
327
352
  // ---------------------------------------------------------------------------
328
353
  {
329
- displayName: 'Operation',
354
+ displayName: 'İşlem',
330
355
  name: 'operation',
331
356
  type: 'options',
332
357
  noDataExpression: true,
333
358
  displayOptions: { show: { resource: ['payment'] } },
334
359
  options: [
335
- { name: 'Create Payment', value: 'createPayment' },
336
- { name: 'Get Daily Summary', value: 'getDailySummary' },
337
- { name: 'Refund Payment', value: 'refundPayment' },
360
+ { name: 'Günlük Ciro / Kasa Özeti', value: 'getDailySummary' },
361
+ { name: 'Ödeme (Tahsilat) Oluştur', value: 'createPayment' },
362
+ { name: 'Ödeme İade / İptal Et', value: 'refundPayment' },
338
363
  ],
339
364
  default: 'getDailySummary',
340
365
  },
341
366
  {
342
- displayName: 'Payment ID',
367
+ displayName: 'Ödeme ID',
343
368
  name: 'paymentId',
344
369
  type: 'string',
345
370
  default: '',
371
+ description: 'Örn: "55". İade edilecek ödemenin numarası.',
346
372
  displayOptions: { show: { resource: ['payment'], operation: ['refundPayment'] } },
347
373
  },
348
374
 
@@ -350,23 +376,24 @@ export class RitsaTools implements INodeType {
350
376
  // CALLBACK OPERATIONS
351
377
  // ---------------------------------------------------------------------------
352
378
  {
353
- displayName: 'Operation',
379
+ displayName: 'İşlem',
354
380
  name: 'operation',
355
381
  type: 'options',
356
382
  noDataExpression: true,
357
383
  displayOptions: { show: { resource: ['callback'] } },
358
384
  options: [
359
- { name: 'Create Callback', value: 'createCallback' },
360
- { name: 'Get Callbacks', value: 'getCallbacks' },
361
- { name: 'Mark as Called', value: 'markAsCalled' },
385
+ { name: 'Geri Arama Görevi Oluştur', value: 'createCallback' },
386
+ { name: 'Geri Aramaları Listele', value: 'getCallbacks' },
387
+ { name: 'Tamamlandı (Arandı) İşaretle', value: 'markAsCalled' },
362
388
  ],
363
389
  default: 'getCallbacks',
364
390
  },
365
391
  {
366
- displayName: 'Callback ID',
392
+ displayName: 'Arama (Callback) ID',
367
393
  name: 'callbackId',
368
394
  type: 'string',
369
395
  default: '',
396
+ description: 'Örn: "3". Arandı olarak işaretlenecek görevin numarası.',
370
397
  displayOptions: { show: { resource: ['callback'], operation: ['markAsCalled'] } },
371
398
  },
372
399
 
@@ -374,14 +401,14 @@ export class RitsaTools implements INodeType {
374
401
  // DASHBOARD OPERATIONS
375
402
  // ---------------------------------------------------------------------------
376
403
  {
377
- displayName: 'Operation',
404
+ displayName: 'İşlem',
378
405
  name: 'operation',
379
406
  type: 'options',
380
407
  noDataExpression: true,
381
408
  displayOptions: { show: { resource: ['dashboard'] } },
382
409
  options: [
383
- { name: 'Get Dashboard Summary', value: 'getDashboardSummary' },
384
- { name: 'Get Nav Badges', value: 'getNavBadges' },
410
+ { name: 'Ana Özet Verilerini Getir', value: 'getDashboardSummary' },
411
+ { name: 'Menü Bildirim Sayılarını Getir', value: 'getNavBadges' },
385
412
  ],
386
413
  default: 'getDashboardSummary',
387
414
  },
@@ -390,16 +417,16 @@ export class RitsaTools implements INodeType {
390
417
  // STAFF & BRANCH OPERATIONS
391
418
  // ---------------------------------------------------------------------------
392
419
  {
393
- displayName: 'Operation',
420
+ displayName: 'İşlem',
394
421
  name: 'operation',
395
422
  type: 'options',
396
423
  noDataExpression: true,
397
424
  displayOptions: { show: { resource: ['staff'] } },
398
425
  options: [
399
- { name: 'Create Branch', value: 'createBranch' },
400
- { name: 'Create Staff', value: 'createStaff' },
401
- { name: 'Get Branches', value: 'getBranches' },
402
- { name: 'Get Staff', value: 'getStaff' },
426
+ { name: 'Personelleri Getir', value: 'getStaff' },
427
+ { name: 'Personel Ekle', value: 'createStaff' },
428
+ { name: 'Şubeleri Getir', value: 'getBranches' },
429
+ { name: 'Şube Ekle', value: 'createBranch' },
403
430
  ],
404
431
  default: 'getStaff',
405
432
  },
@@ -421,7 +448,7 @@ export class RitsaTools implements INodeType {
421
448
  success: true,
422
449
  resource,
423
450
  operation,
424
- message: 'Mock implementation executed successfully. HTTP requests would hit: ' + baseUrl,
451
+ message: 'N8N CRM Entegrasyonu - Örnek Yanıt. Gerçek ortamda burası API isteği atar.',
425
452
  };
426
453
 
427
454
  // E.g., customer ops
Binary file
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "n8n-nodes-ritsa-crm",
3
- "version": "2.0.0",
3
+ "version": "2.1.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
- "build": "tsc",
7
+ "build": "tsc && copy nodes\\RitsaTools\\logo.png dist\\nodes\\RitsaTools\\logo.png",
8
8
  "dev": "tsc --watch"
9
9
  },
10
10
  "n8n": {